.thp-mobile-cart-fab {
    display: none;
}

.thp-mobile-cart-fab--empty {
    display: none !important;
}

@media (max-width: 47.9375rem) {
    .thp-mobile-cart-fab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: var(--thp-space-xl);
        right: var(--thp-space-lg);
        width: 3.25rem;
        height: 3.25rem;
        background: var(--thp-color-brand);
        border-radius: var(--thp-radius-full);
        text-decoration: none;
        z-index: var(--thp-z-sticky);
        box-shadow: var(--thp-shadow-btn);
        transition: background var(--thp-transition-base), box-shadow var(--thp-transition-base);
    }

    .thp-mobile-cart-fab:hover,
    .thp-mobile-cart-fab:focus-visible {
        background: var(--thp-color-brand-hover);
        box-shadow: var(--thp-shadow-btn-hover);
    }

    .thp-mobile-cart-fab svg {
        width: var(--thp-font-size-icon);
        height: var(--thp-font-size-icon);
        flex-shrink: 0;
        fill: var(--thp-color-white);
    }

    .thp-mobile-cart-fab__count {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -0.3rem;
        right: -0.3rem;
        min-width: 1.25rem;
        height: 1.25rem;
        padding: 0 var(--thp-space-xs);
        background: var(--thp-color-brand-hover);
        color: var(--thp-color-white);
        font-size: var(--thp-font-size-2xs);
        font-weight: var(--thp-font-weight-bold);
        border-radius: var(--thp-radius-full);
        border: 2px solid var(--thp-color-white);
    }

    body.single-product .thp-mobile-cart-fab {
        bottom: calc(var(--thp-space-xl) + 7.5rem);
    }
}
