﻿.store-flash {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

.store-flash--success {
    background: rgba(18, 97, 68, 0.12);
    color: #126144;
}

.store-flash--warning {
    background: rgba(163, 88, 18, 0.12);
    color: #8a4a11;
}

.store-cart-fly-image {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(17, 25, 40, 0.28);
    transform: translate(0, 0) scale(1);
    opacity: 0.96;
    transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.7s ease;
}

    .store-cart-fly-image.is-animating {
        opacity: 0.18;
    }

.store-cart-fly-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 42px rgba(17, 25, 40, 0.28);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

    .store-cart-fly-chip span {
        font-size: 22px;
        line-height: 1;
    }

.store-cart-fly-chip--image span {
    display: none;
}

.store-cart-fly-image--mobile {
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(17, 25, 40, 0.24);
    transition: transform 0.58s cubic-bezier(0.25, 0.78, 0.22, 1), opacity 0.58s ease;
}

.store-cart-fly-image--icon {
    padding: 8px;
    background: #ffffff;
    object-fit: contain;
}

#cart-icon,
#cart-iconBottom {
    position: relative;
    transform-origin: center;
}

    #cart-icon.is-cart-bump,
    #cart-iconBottom.is-cart-bump {
        animation: store-cart-bump 0.68s cubic-bezier(0.22, 0.8, 0.2, 1);
    }

        #cart-icon.is-cart-bump .badge,
        #cart-iconBottom.is-cart-bump .badge {
            animation: store-cart-badge-bump 0.68s cubic-bezier(0.22, 0.8, 0.2, 1);
        }

@keyframes store-cart-bump {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.16);
    }

    60% {
        transform: scale(0.94);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes store-cart-badge-bump {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.24);
    }

    60% {
        transform: scale(0.92);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 991.98px) {
    .store-cart-fly-image {
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(17, 25, 40, 0.22);
    }

    .store-cart-fly-chip.store-cart-fly-image--mobile {
        border-radius: 20px;
        box-shadow: 0 14px 32px rgba(17, 25, 40, 0.24);
    }

    #cart-iconBottom {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        min-width: 74px;
        min-height: 62px;
        padding: 6px 10px;
        border-radius: 18px;
    }

    .mobile-bottom-nav .nav-item.cart {
        overflow: visible;
    }

    #cart-iconBottom.is-cart-bump {
        animation-duration: 0.56s;
    }

        #cart-iconBottom.is-cart-bump .badge {
            animation-duration: 0.56s;
        }
}
