.apex-bb-sticky-bar {
    --apex-bb-sticky-offset: 0px;
    --apex-bb-sticky-z: 990;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: var(--apex-bb-sticky-offset) !important;
    top: auto !important;
    z-index: var(--apex-bb-sticky-z) !important;
    direction: rtl !important;
    text-align: right !important;
    font-family: 'vazirmatn', inherit;
    background: #ffffff !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08) !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    transform: translate3d(0, calc(100% + var(--apex-bb-sticky-offset) + 12px), 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.42s;
    will-change: transform;
    box-sizing: border-box !important;
}

.apex-bb-sticky-bar[hidden] {
    display: none !important;
}

.apex-bb-sticky-bar * {
    box-sizing: border-box !important;
}

.apex-bb-sticky-bar.is-visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0s;
}

.apex-bb-sticky-inner {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.apex-bb-sticky-product {
    display: none !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.apex-bb-sticky-thumb {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid #f1f5f9 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.apex-bb-sticky-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.apex-bb-sticky-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
}

.apex-bb-sticky-old {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.apex-bb-sticky-old del {
    color: #a1a1aa !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.apex-bb-sticky-pct {
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 1px 6px !important;
    border-radius: 8px !important;
}

.apex-bb-sticky-final {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.apex-bb-sticky-amount {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
}

.apex-bb-sticky-final small {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.apex-bb-sticky-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-buy,
.apex-bb-sticky-bar .apex-bb-sticky-chat {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    transition: filter 0.2s ease, transform 0.2s ease, background-color 0.3s ease !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-buy {
    flex: 1 1 auto !important;
    max-width: 260px !important;
    padding: 0 18px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-buy:hover {
    filter: brightness(0.92) !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-buy:active,
.apex-bb-sticky-bar .apex-bb-sticky-chat:active {
    transform: scale(0.97) !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-buy.is-busy {
    opacity: 0.75 !important;
    pointer-events: none !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-buy.is-done {
    background: #10b981 !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-chat {
    flex: 0 0 46px !important;
    width: 46px !important;
    padding: 0 !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
}

.apex-bb-sticky-bar .apex-bb-sticky-chat svg {
    width: 22px !important;
    height: 22px !important;
}

.apex-bb-sticky-spacer {
    display: block;
    height: 0;
    pointer-events: none;
}

@media (min-width: 769px) {
    .apex-bb-sticky-bar.apex-bb-sticky-mobile {
        display: none !important;
    }

    .apex-bb-sticky-bar {
        border-radius: 0 !important;
        padding: 12px 24px !important;
    }

    .apex-bb-sticky-product {
        display: flex !important;
    }

    .apex-bb-sticky-actions {
        flex: 0 0 auto !important;
    }

    .apex-bb-sticky-bar .apex-bb-sticky-buy {
        min-width: 200px !important;
    }
}

@media (max-width: 360px) {
    .apex-bb-sticky-amount {
        font-size: 15px !important;
    }

    .apex-bb-sticky-bar .apex-bb-sticky-buy {
        font-size: 13px !important;
        padding: 0 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apex-bb-sticky-bar,
    .apex-bb-sticky-bar.is-visible {
        transition: none !important;
    }
}

.apex-premium-buybox-wrapper.apex-bb-sticky-only-all .apex-bb-btn-primary {
    display: none !important;
}

@media (max-width: 768px) {
    .apex-premium-buybox-wrapper.apex-bb-sticky-only-mobile .apex-bb-btn-primary {
        display: none !important;
    }
}
