/* Sticky Bar Container */
.rf-bfe-stickybar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.rf-bfe-stickybar.visible {
    transform: translateY(0);
}

.rf-bfe-stickybar-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Text Wrapper (Title) */
.rf-bfe-header-text-wrapper .title {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    line-height: 1.2;
}

/* Price Wrapper */
.rf-bfe-header-price-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rc-prices-fullprice {
    font-size: 17px;
    color: #1d1d1f;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Actions (Buy Button) */
.rf-bfe-stickybar-actions {
    display: flex;
    gap: 10px;
}

.rf-bfe-button,
.rf-bfe-stickybar-actions .cf-summary-btn {
    background: #ff8a3d;
    color: #fff;
    border: none;
    border-radius: 980px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rf-bfe-button:hover,
.rf-bfe-stickybar-actions .cf-summary-btn:hover {
    background: #0077ed;
    color: #fff;
}

/* Product Thumbnail in Sticky Bar */
.rf-bfe-sticky-thumb {
    width: 30px;
    height: 30px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
    vertical-align: middle;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .rf-bfe-header-text-wrapper .title {
        font-size: 17px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    .rf-bfe-stickybar-content {
        padding: 10px 15px;
    }
}