/* ============================================================
   styles/navbar.css  —  Bottom tab bar (ArabSeed-style)
   Top navbar hidden; fixed bottom bar replaces it.
   ============================================================ */

/* Font is loaded via <link rel="preconnect"/"stylesheet"> in index.html
   <head> instead of @import — see base.css for why. */

/* ── Hide old top navbar completely ──────────────────────── */
.navbar { display: none !important; }

/* ── Body padding so content isn't hidden behind bar ─────── */
body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}

/* ══════════════════════════════════════════════════════════
   BOTTOM BAR
══════════════════════════════════════════════════════════ */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 400;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 -4px 28px rgba(0,0,0,0.55);
    display: flex;
    align-items: stretch;
    /* Shifts up above the install/update banner when one is showing (see
       _syncBottomBarOffset in scripts/pwa.js) — same easing as the banner's
       own slide-in so both move together, not one snapping into place. */
    transition: bottom 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.bottom-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 4px;
    /* Left to right: cart, order-btn, logo, my-orders, account */
    direction: ltr;
}

/* ══════════════════════════════════════════════════════════
   ALL TAB BUTTONS — unified orange style
   Cart · اطلب · طلباتي · Account
   Same size, same color, proportional & consistent
══════════════════════════════════════════════════════════ */

/* ── Shared base for all four tab buttons ─────────────────── */
.bb-tab,
.bb-order-btn,
.bb-account-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 2px 4px;
    border-radius: 12px;
    color: var(--clr-orange, #FF5C00);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}
.bb-tab:hover,
.bb-order-btn:hover,
.bb-account-btn:hover  { background: rgba(255,92,0,0.08); }

.bb-tab:active,
.bb-order-btn:active,
.bb-account-btn:active { background: rgba(255,92,0,0.15); }

/* ── Shared icon wrapper ──────────────────────────────────── */
.bb-tab__icon,
.bb-order-btn__icon,
.bb-account-btn__icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

/* ── Shared SVG style — all icons orange, same stroke width ── */
.bb-tab__icon svg,
.bb-order-btn__icon svg,
.bb-account-btn__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--clr-orange, #FF5C00);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Account icon: bolder, slightly bigger ────────────────── */
.bb-account-btn__icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.2;   /* bolder than the rest */
}

/* ── Shared label style ───────────────────────────────────── */
.bb-tab__label,
.bb-order-btn__label,
.bb-account-btn__label {
    font-size: 0.63rem;
    font-weight: 800;
    white-space: nowrap;
    color: var(--clr-orange, #FF5C00);
    letter-spacing: 0.01em;
    line-height: 1;
}

/* ── Cart badge ───────────────────────────────────────────── */
#bb-cart-badge {
    position: absolute;
    top: -4px;
    right: -5px;
    background: var(--clr-orange);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    padding: 0 3px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #0d0d0d;
}

/* ══════════════════════════════════════════════════════════
   CENTER LOGO BUTTON — elevated circle (like ArabSeed)
══════════════════════════════════════════════════════════ */
.bb-logo-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 0 0 auto;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    top: -14px;         /* lifts the circle above the bar */
}

.bb-logo-btn__circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 -4px 20px rgba(255,92,0,0.45), 0 2px 12px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s;
    overflow: hidden;
    position: relative;
}
.bb-logo-btn:hover  .bb-logo-btn__circle {
    box-shadow: 0 -4px 24px rgba(255,92,0,0.65), 0 2px 14px rgba(0,0,0,0.4);
}
.bb-logo-btn:active .bb-logo-btn__circle { transform: scale(0.93); }

/* img is INSIDE bb-state-logo, so it hides/shows with that span */
.bb-logo-btn__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    display: block;
}

.bb-logo-btn__label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 0.62rem;
    letter-spacing: -0.3px;
    background: linear-gradient(130deg, #ffffff 35%, #FF5C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* PWA install/update labels ("ثبّت تطبيقك" / "حدّث تطبيقك") use the site's
   own official font (Almarai, set on <body> in base.css) instead of the
   stylized italic Latin wordmark font above — that one was designed for
   the literal "Delivo" logotype, not for real Arabic UI copy. */
.bb-logo-btn__label--pwa {
    font-family: 'Almarai', sans-serif;
    font-style: normal;
    letter-spacing: 0;
}



/* ── Account: logged-in dot indicator ────────────────────── */
.bb-account-btn__icon {
    position: relative;
}
.bb-account-btn.logged-in .bb-account-btn__icon::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-orange, #FF5C00);
    box-shadow: 0 0 0 2px #0d0d0d;
}
/* ══════════════════════════════════════════════════════════════
   CENTER LOGO — 5 states (home, track, multi, install, update)
══════════════════════════════════════════════════════════════ */

.bb-logo-state {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.bb-logo-state--hidden {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

/* Active circle — orange when tracking */
.bb-logo-btn__circle--active {
    background: #FF5C00 !important;
    box-shadow: 0 0 0 4px rgba(255,92,0,0.25), 0 4px 18px rgba(255,92,0,0.45) !important;
}

/* Pulse ring on single-track state */
.bb-track-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255,92,0,0.5);
    animation: bbPulse 1.6s ease-out infinite;
    pointer-events: none;
}

@keyframes bbPulse {
    0%   { transform: scale(1);    opacity: 0.8; }
    100% { transform: scale(1.55); opacity: 0;   }
}

/* Multi-order badge */
.bb-multi-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #fff;
    color: #FF5C00;
    font-size: 0.6rem;
    font-weight: 900;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FF5C00;
}

/* ── PWA install / update — center logo's 4th & 5th states ──────────
   Own color language (green = fresh install, indigo = update ready) so
   they read distinctly from the orange "order tracking" states above,
   while reusing the exact same pulse-ring mechanics for visual consistency. */
.bb-logo-btn__circle--install {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.22), 0 4px 18px rgba(22,163,74,0.45) !important;
}
.bb-logo-btn__circle--update {
    background: linear-gradient(135deg, #4f46e5, #818cf8) !important;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.22), 0 4px 18px rgba(79,70,229,0.45) !important;
}
.bb-pwa-pulse--install { border-color: rgba(34,197,94,0.55); }
.bb-pwa-pulse--update  { border-color: rgba(99,102,241,0.6); }

/* ══════════════════════════════════════════════════════════════
   ACTIVE ORDERS PICKER SHEET
══════════════════════════════════════════════════════════════ */

.bb-track-sheet {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
}

.bb-track-sheet.open { pointer-events: all; }

.bb-track-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.3s;
}

.bb-track-sheet.open .bb-track-sheet__backdrop { opacity: 1; }

.bb-track-sheet__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 60vh;
    display: flex;
    flex-direction: column;
}

.bb-track-sheet.open .bb-track-sheet__panel { transform: translateY(0); }

.bb-track-sheet__handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 10px auto 4px;
    flex-shrink: 0;
}

.bb-track-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 12px;
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    direction: rtl;
    flex-shrink: 0;
    border-bottom: 1px solid #f0f0f0;
}

.bb-track-sheet__header button {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
}

.bb-track-sheet__list {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0 16px;
    direction: rtl;
}

.bb-track-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s;
    direction: rtl;
}

.bb-track-item:hover,
.bb-track-item:active { background: #fff5f0; }

.bb-track-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bb-track-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bb-track-item__body strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
}

.bb-track-item__body small {
    font-size: 0.72rem;
    color: #888;
}

.bb-track-item__arrow {
    font-size: 1.3rem;
    color: #FF5C00;
    font-weight: 900;
}

/* ══════════════════════════════════════════════════════════════
   ORDER CHOICE SHEET — "اطلب" now asks otlob vs WhatsApp first
══════════════════════════════════════════════════════════════ */
.bb-order-choice {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
}
.bb-order-choice.open { pointer-events: all; }

.bb-order-choice__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.3s;
}
.bb-order-choice.open .bb-order-choice__backdrop { opacity: 1; }

.bb-order-choice__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    direction: rtl;
}
.bb-order-choice.open .bb-order-choice__panel { transform: translateY(0); }

.bb-order-choice__handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 10px auto 4px;
}

.bb-order-choice__title {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    padding: 6px 16px 16px;
}

.bb-order-choice__options {
    display: flex;
    gap: 12px;
    padding: 0 16px 6px;
}

.bb-order-choice__opt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--clr-gray-50, #f7f7f8);
    border: 1.5px solid var(--clr-gray-100, #f0f0f2);
    border-radius: 16px;
    padding: 18px 10px 14px;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.bb-order-choice__opt:active { transform: scale(0.96); }
.bb-order-choice__opt:hover  { border-color: var(--clr-gray-200, #e2e2e6); }

.bb-order-choice__opt-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bb-order-choice__opt-icon svg { width: 28px; height: 28px; }

.bb-order-choice__opt-icon--orange {
    background: var(--clr-orange-light, #fff3ed);
    color: var(--clr-orange, #FF5C00);
}
.bb-order-choice__opt-icon--orange svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bb-order-choice__opt-icon--whatsapp {
    background: #e7f9ef;
    color: #25D366;
}

.bb-order-choice__opt-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #111;
}

.bb-order-choice__opt-desc {
    font-size: 0.66rem;
    font-weight: 600;
    color: #9898a6;
    text-align: center;
    line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════
   SEARCH OVERLAY
══════════════════════════════════════════════════════════════ */
#bb-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 8000;
    pointer-events: none;
}
#bb-search-overlay.bbs--open { pointer-events: all; }

/* Backdrop */
.bbs__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.32s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
#bb-search-overlay.bbs--open .bbs__backdrop { opacity: 1; }

/* Slide-up panel */
.bbs__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 92dvh;
    max-height: 92vh;
    background: #111;
    border-radius: 22px 22px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 48px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 80px);
}
#bb-search-overlay.bbs--open .bbs__panel { transform: translateY(0); }

/* Header row */
.bbs__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px 12px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Search input wrapper */
.bbs__input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #1e1e1e;
    border: 1.5px solid rgba(255,92,0,0.25);
    border-radius: 14px;
    padding: 0 12px;
    gap: 8px;
    transition: border-color 0.2s;
}
.bbs__input-wrap:focus-within {
    border-color: rgba(255,92,0,0.7);
    box-shadow: 0 0 0 3px rgba(255,92,0,0.1);
}
.bbs__icon { color: rgba(255,92,0,0.7); flex-shrink: 0; display: flex; align-items: center; }
.bbs__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Almarai', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 0;
    direction: rtl;
    min-width: 0;
}
.bbs__input::placeholder { color: rgba(255,255,255,0.3); }
.bbs__input::-webkit-search-cancel-button { display: none; }

.bbs__clear {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

/* Cancel button */
.bbs__cancel {
    background: none;
    border: none;
    color: var(--clr-orange, #FF5C00);
    font-family: 'Almarai', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    padding: 8px 4px;
    flex-shrink: 0;
}

/* Scrollable body */
.bbs__body {
    overflow-y: auto;
    flex: 1;
    padding: 18px 16px 0;
    -webkit-overflow-scrolling: touch;
}

/* Section label */
.bbs__section-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 12px;
    direction: rtl;
}

/* Trending chips */
.bbs__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    direction: rtl;
}
.bbs__chip {
    background: rgba(255,92,0,0.1);
    border: 1.5px solid rgba(255,92,0,0.25);
    border-radius: 50px;
    color: rgba(255,255,255,0.85);
    font-family: 'Almarai', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.bbs__chip:hover, .bbs__chip:active {
    background: rgba(255,92,0,0.22);
    border-color: rgba(255,92,0,0.6);
    color: #fff;
}

/* Quick grid */
.bbs__quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    direction: rtl;
}
.bbs__quick-card {
    background: #1a1a1a;
    border: 1.5px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.12s;
    font-size: 1.5rem;
    -webkit-tap-highlight-color: transparent;
}
.bbs__quick-card span {
    font-family: 'Almarai', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}
.bbs__quick-card:hover, .bbs__quick-card:active {
    background: rgba(255,92,0,0.1);
    border-color: rgba(255,92,0,0.35);
    transform: scale(0.96);
}

/* Results */
.bbs__results-list { display: flex; flex-direction: column; gap: 2px; direction: rtl; }
.bbs__result-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s;
}
.bbs__result-row:hover, .bbs__result-row:active { background: rgba(255,255,255,0.05); }
.bbs__result-icon { font-size: 1.4rem; flex-shrink: 0; }
.bbs__result-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bbs__result-name { font-size: 0.9rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbs__result-sub  { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.bbs__result-arrow { color: rgba(255,92,0,0.7); font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }

/* Empty state */
.bbs__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 8px;
}
.bbs__empty-icon { font-size: 2.8rem; opacity: 0.5; }
.bbs__empty-title { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.6); margin: 0; }
.bbs__empty-sub   { font-size: 0.8rem; color: rgba(255,255,255,0.3); margin: 0; }

/* ── Search results — grouped comparison cards ───────────── */
.bbs__group {
    margin-bottom: 18px;
    background: #161616;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
}
.bbs__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px 9px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    direction: rtl;
}
.bbs__group-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}
.bbs__group-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,92,0,0.85);
    background: rgba(255,92,0,0.1);
    border: 1px solid rgba(255,92,0,0.2);
    border-radius: 50px;
    padding: 2px 9px;
}
.bbs__item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
    direction: rtl;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.bbs__item-row:last-child { border-bottom: none; }
.bbs__item-row:active { background: rgba(255,255,255,0.05); }
.bbs__item-row--best { background: rgba(34,197,94,0.05); }
.bbs__item-row--best:active { background: rgba(34,197,94,0.1); }

.bbs__item-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #222;
    position: relative;
}
.bbs__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bbs__item-img-fb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.bbs__item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.bbs__item-store {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bbs__item-cat {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
}
.bbs__item-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}
.bbs__item-price {
    font-size: 0.92rem;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.bbs__item-price--sale { color: #4ade80; }
.bbs__item-price-old {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3);
    text-decoration: line-through;
}
.bbs__item-sale-badge {
    font-size: 0.6rem;
    font-weight: 800;
    background: rgba(239,68,68,0.15);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 50px;
    padding: 1px 7px;
}
.bbs__item-best-tag {
    font-size: 0.6rem;
    font-weight: 800;
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 50px;
    padding: 1px 7px;
}
.bbs__result-arrow {
    color: rgba(255,92,0,0.5);
    font-size: 1.3rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-right: -4px;
}

/* Loading dots */
.bbs__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 20px;
}
.bbs__loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,92,0,0.7);
    animation: bbsDotPulse 1.2s ease-in-out infinite;
}
.bbs__loading-dot:nth-child(2) { animation-delay: 0.2s; }
.bbs__loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bbsDotPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%            { transform: scale(1.0); opacity: 1;   }
}

/* Quick card active state */
.bbs__quick-card--active {
    background: rgba(255,92,0,0.15) !important;
    border-color: rgba(255,92,0,0.6) !important;
    transform: scale(0.96);
}
.bbs__quick-card--active span { color: #FF5C00 !important; }
/* ── Search: store-name match rows ──────────────────────────── */
.bbs__store-section {
    margin-bottom: 20px;
    background: #161616;
    border: 1px solid rgba(255,92,0,0.18);
    border-radius: 16px;
    overflow: hidden;
    padding: 12px 14px 6px;
}
.bbs__store-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    direction: rtl;
    transition: background 0.15s;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
}
.bbs__store-row:last-child { border-bottom: none; }
.bbs__store-row:active { background: rgba(255,92,0,0.07); }
.bbs__store-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #222;
}
.bbs__store-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bbs__store-img-fb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: #222;
}