/* Hide scroll-to-top arrow on all themes (replaced by cart FAB) */
.go-top,
.go-top-area {
    display: none !important;
}

.cart-fab {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 99999;
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cart-fab.is-hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cart-fab__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--main-color, #fc7c1b);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-fab__btn:hover {
    color: #fff;
    text-decoration: none;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.cart-fab__btn i {
    font-size: 22px;
}

.cart-fab__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #fff;
    color: var(--main-color, #fc7c1b);
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .cart-fab {
    right: auto;
    left: 20px;
}

[dir="rtl"] .cart-fab__count {
    right: auto;
    left: -4px;
}

@media (max-width: 575px) {
    .cart-fab {
        right: 16px;
        bottom: 20px;
    }

    [dir="rtl"] .cart-fab {
        right: auto;
        left: 16px;
    }

    .cart-fab__btn {
        width: 52px;
        height: 52px;
    }
}
