.floating-bar {
    display: none;
}
@media (max-width: 992px) {
    .floating-bar {
        background-color: white;
        border: none;
        border-top: 1px solid #e9ecef;
        bottom: 0;
        height: calc(3.2rem + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        left: 0;
        margin-left: 0;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        position: fixed;
        transition: opacity .3s ease-in-out, transform .3s ease-in-out;
        width: 100%;
        z-index: 1030;
    }

    .floating-bar__wrapper {
        align-items: center;
        display: flex;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        max-width: 1400px;
        padding: 0.38rem 0.75rem;
        width: 100%;
    }

    .floating-bar__actions {
        width: 100%;
        height: 100%;
    }

    .floating-bar__btn-add-to-cart {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        font-size: 1.1em;
        font-weight: 450;
        margin: 0;
    }

    .bar-show {
        display: block;
    }

    .bar-hide {
        display: none;
    }

    .site-buy .scroll-to-top-arrow {
        bottom: calc(5rem + env(safe-area-inset-bottom));
    }
}


/* =========================================================
   EFECT ORBITARE BUTON — rotatie 2s + pauza 4s, fade in/out
   (ciclu complet 6s, dara albastru inchis #232F3E, inel 3px)
   ========================================================= */

@property --orbit-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes orbit-sweep {
    0%      { --orbit-angle: 0deg;   opacity: 0; }
    6%      { opacity: 1; }
    27%     { opacity: 1; }
    33.33%  { --orbit-angle: 360deg; opacity: 0; }
    100%    { --orbit-angle: 360deg; opacity: 0; }
}

@media (max-width: 992px) {
    .floating-bar__btn-add-to-cart {
        position: relative;
        z-index: 0;
    }

    .floating-bar__btn-add-to-cart::before {
        content: "";
        position: absolute;
        inset: -3px;              /* grosimea darei: 3px */
        border-radius: 10px;      /* = 7px (radius buton) + 3px (inel) */
        background: conic-gradient(
            from var(--orbit-angle),
            transparent 0%,
            transparent 70%,
            rgba(35, 47, 62, .25) 82%,
            #232F3E 92%,
            rgba(35, 47, 62, .25) 98%,
            transparent 100%
        );
        z-index: -1;
        opacity: 0;
        animation: orbit-sweep 6s linear infinite;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-bar__btn-add-to-cart::before {
        animation: none;
        opacity: 0;
    }
}