/* ═══════════════════════════════════════════════════════════════
   QUICKBIKE - UNIVERSAL NAVIGATION SYSTEM (Desktop & Mobile)
   Clean, modern, professional. Zero emojis. 100% SVG icons.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --qb-nav-h: 68px;
    --qb-brand: #2563eb;
    --qb-brand-dark: #1d4ed8;
    --qb-brand-light: #eff6ff;
    --qb-text: #0f172a;
    --qb-text-muted: #64748b;
    --qb-border: #e2e8f0;
    --qb-surface: #ffffff;
}

/* ═══════════════════════════════════════════════════
   1. DESKTOP NAVBAR
═══════════════════════════════════════════════════ */
.qb-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--qb-nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 1px 10px rgba(15, 23, 42, 0.05);
    z-index: 1000;
    transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.qb-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.qb-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.qb-nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.qb-nav-logo:hover {
    opacity: 0.9;
}

.qb-nav-logo-icon {
    display: none !important;
}

.qb-nav-logo-text {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.6px;
    color: var(--qb-text);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
}

.qb-nav-logo-text span {
    color: var(--qb-brand);
}

.qb-nav-tagline {
    display: none !important;
}

/* Nav Navigation Links */
.qb-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.qb-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--qb-text-muted);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.qb-nav-link:hover {
    color: var(--qb-brand);
    background: #f1f5f9;
}

.qb-nav-link.active {
    color: var(--qb-brand);
    font-weight: 700;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.qb-nav-link svg {
    width: 16px;
    height: 16px;
}

/* Nav Right Tools */
.qb-nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Location Selector */
.qb-loc-selector {
    position: relative;
}

.qb-loc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 9px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.qb-loc-btn:hover {
    border-color: #93c5fd;
    background: #ffffff;
    color: var(--qb-brand);
}

.qb-loc-btn svg.pin-icon {
    width: 14px;
    height: 14px;
    color: var(--qb-brand);
}

.qb-loc-btn svg.chevron-icon {
    width: 12px;
    height: 12px;
    color: #64748b;
    transition: transform 0.2s;
}

.qb-loc-btn.open svg.chevron-icon {
    transform: rotate(180deg);
}

/* Location Dropdown Menu */
.qb-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow:
        0 12px 36px rgba(15, 23, 42, 0.12),
        0 2px 6px rgba(15, 23, 42, 0.04);
    padding: 6px;
    display: none;
    z-index: 1100;
    animation: qbFadeUp 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.qb-dropdown-menu.show {
    display: block;
}

.qb-dropdown-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    padding: 8px 10px 4px;
}

.qb-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
    transition:
        background 0.15s,
        color 0.15s;
}

.qb-dropdown-item:hover {
    background: #eff6ff;
    color: var(--qb-brand);
}

.qb-dropdown-item.active {
    background: #dbeafe;
    color: var(--qb-brand);
    font-weight: 700;
}

.qb-dropdown-item svg {
    width: 14px;
    height: 14px;
    color: var(--qb-brand);
}

/* Icon Buttons (Wishlist, Notifications) */
.qb-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
}

.qb-icon-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--qb-brand);
}

.qb-icon-btn.active {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
}

.qb-icon-btn svg {
    width: 18px;
    height: 18px;
}

.qb-badge-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #ffffff;
}

.qb-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 99px;
    border: 1.5px solid #ffffff;
    line-height: 1;
}

/* Sell Bike CTA Button */
.qb-btn-sell {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.qb-btn-sell:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
}

.qb-btn-sell svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.5;
}

/* ═══════════════════════════════════════════════════
   2. AUTH STATE (Desktop Login vs Profile Avatar)
═══════════════════════════════════════════════════ */
.qb-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #2563eb;
    color: #2563eb;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

.qb-btn-login:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.qb-btn-login svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s;
}

.qb-btn-login:hover svg {
    transform: translateX(1px);
}

/* Profile Avatar Menu (Logged In) */
.qb-profile-menu-wrap {
    position: relative;
}

.qb-profile-pill-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 5px;
    border-radius: 99px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.qb-profile-pill-btn:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.qb-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.qb-profile-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qb-profile-pill-btn svg.chevron-icon {
    width: 12px;
    height: 12px;
    color: #64748b;
    transition: transform 0.2s;
}

.qb-profile-pill-btn.open svg.chevron-icon {
    transform: rotate(180deg);
}

/* User Popover Menu */
.qb-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    /* width: 230px; */
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 25px;
    box-shadow:
        0 14px 40px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.04);
    /* padding: 8px; */
    display: none;
    z-index: 1100;
    animation: qbFadeUp 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.qb-user-dropdown.show {
    display: block;
}

.qb-user-dropdown-header {
    padding: 8px 10px 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 6px;
}

.qb-user-dropdown-name {
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
}

.qb-user-dropdown-email {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qb-user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s;
}

.qb-user-dropdown-link:hover {
    background: #eff6ff;
    color: var(--qb-brand);
}

.qb-user-dropdown-link svg {
    width: 16px;
    height: 16px;
    color: #64748b;
    transition: color 0.15s;
}

.qb-user-dropdown-link:hover svg {
    color: var(--qb-brand);
}

.qb-user-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

.qb-user-dropdown-link.logout {
    color: #dc2626;
}

.qb-user-dropdown-link.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.qb-user-dropdown-link.logout svg {
    color: #dc2626;
}

/* ═══════════════════════════════════════════════════
   3. MOBILE TOP HEADER
═══════════════════════════════════════════════════ */
.qb-m-header {
    display: none;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
}

.qb-m-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Hamburger Button */
.qb-m-hamburger-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.qb-m-hamburger-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #2563eb;
    border-radius: 2px;
    transition:
        transform 0.25s,
        opacity 0.25s;
}

.qb-m-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Auth Pill in Header */
.qb-m-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 0.74rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.qb-m-auth-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: var(--qb-brand);
}

.qb-m-auth-btn svg {
    width: 14px;
    height: 14px;
}

.qb-m-avatar-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════
   4. MOBILE DRAWER MENU
═══════════════════════════════════════════════════ */
.qb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1050;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.qb-overlay.show {
    display: block;
    opacity: 1;
}

.qb-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1100;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    border-right: 1px solid #e2e8f0;
}

.qb-drawer.open {
    left: 0;
}

.qb-drawer-header {
    padding: 20px 18px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.qb-drawer-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.qb-drawer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.qb-drawer-user-text {
    flex: 1;
    min-width: 0;
}

.qb-drawer-user-name {
    font-size: 0.94rem;
    font-weight: 800;
    color: #0f172a;
}

.qb-drawer-user-sub {
    font-size: 0.72rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qb-drawer-guest-banner {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qb-drawer-guest-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
}

.qb-drawer-guest-desc {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
}

.qb-drawer-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 9px;
    background: var(--qb-brand);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.qb-drawer-links {
    padding: 12px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qb-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s;
}

.qb-drawer-link:hover,
.qb-drawer-link.active {
    background: #eff6ff;
    color: var(--qb-brand);
}

.qb-drawer-link svg {
    width: 18px;
    height: 18px;
    color: #64748b;
    transition: color 0.15s;
}

.qb-drawer-link:hover svg,
.qb-drawer-link.active svg {
    color: var(--qb-brand);
}

.qb-drawer-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 14px;
}

.qb-drawer-bottom {
    padding: 14px 16px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qb-drawer-sell-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.qb-drawer-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════
   5. AUTH MODAL (Login / Register)
═══════════════════════════════════════════════════ */
.qb-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: qbFadeIn 0.2s ease;
}

.qb-modal-backdrop.show {
    display: flex;
}

.qb-auth-card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    border: 1.5px solid #e2e8f0;
    padding: 24px 22px;
    position: relative;
    animation: qbScaleUp 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.qb-modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
}

.qb-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.qb-auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.qb-auth-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.qb-auth-icon-badge svg {
    width: 24px;
    height: 24px;
}

.qb-auth-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.qb-auth-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}

.qb-auth-input-group {
    margin-bottom: 14px;
}

.qb-auth-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.qb-auth-input-box {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 11px;
    padding: 0 12px;
    height: 44px;
    background: #f8fafc;
    transition: all 0.18s;
}

.qb-auth-input-box:focus-within {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.qb-auth-prefix {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-right: 8px;
    padding-right: 8px;
    border-right: 1px solid #cbd5e1;
}

.qb-auth-input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.88rem;
    color: #0f172a;
    width: 100%;
    font-family: inherit;
}

.qb-auth-submit-btn {
    width: 100%;
    height: 44px;
    border-radius: 11px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.qb-auth-submit-btn:hover {
    background: #1d4ed8;
}

.qb-auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.qb-auth-divider::before,
.qb-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.qb-auth-divider span {
    padding: 0 10px;
}

.qb-demo-login-btn {
    width: 100%;
    height: 40px;
    border-radius: 11px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qb-demo-login-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #2563eb;
}

/* Animations */
@keyframes qbFadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes qbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes qbScaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ═══════════════════════════════════════════════════
   5. MOBILE FLOATING BOTTOM NAVIGATION BAR
═══════════════════════════════════════════════════ */
.m-bottom-nav-bar {
    position: fixed;
    bottom: 12px;
    left: 14px;
    right: 14px;
    max-width: 452px;
    margin: 0 auto;
    height: 60px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-sizing: border-box;
}

.m-bnav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    text-decoration: none;
    width: 52px;
}

.m-bnav-btn svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: all 0.2s;
}

.m-bnav-btn span.lbl {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s;
}

.m-bnav-btn .dot-indicator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
    margin-top: 1px;
}

.m-bnav-btn.active svg {
    color: #2563eb;
}

.m-bnav-btn.active svg[fill="currentColor"] {
    fill: #2563eb;
}

.m-bnav-btn.active span.lbl {
    color: #2563eb;
    font-weight: 800;
}

.m-bnav-btn.active .dot-indicator {
    background: #2563eb;
}

/* Center Floating Sell Button */
.m-bnav-sell-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    position: relative;
    text-decoration: none;
}

.m-bnav-sell-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.42);
    border: 3.5px solid #ffffff;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.m-bnav-sell-circle:active {
    transform: scale(0.92);
}

.m-bnav-sell-circle svg {
    width: 22px;
    height: 22px;
    stroke-width: 3;
    color: #ffffff;
}

.m-bnav-sell-wrap span.lbl {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   6. RESPONSIVE BREAKPOINT CONTROLS
═══════════════════════════════════════════════════ */
@media (max-width: 767px) {

    .qb-navbar,
    #desktopNavMount,
    .navbar {
        display: none !important;
    }

    .qb-m-header {
        display: flex !important;
    }

    .m-bottom-nav-bar,
    #mobileBottomNav {
        display: flex !important;
    }
}

@media (min-width: 768px) {

    .qb-navbar,
    #desktopNavMount {
        display: block !important;
    }

    .qb-m-header,
    .m-header {
        display: none !important;
    }

    .qb-overlay,
    .qb-drawer,
    #qbDrawerMount,
    .m-bottom-nav-bar,
    #mobileBottomNav {
        display: none !important;
    }
}