#floating-cart {
    position: fixed;
    right: 20px;
    top: 17%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1a2126 0%, #2a353d 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 118, 63, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    min-width: 60px;
}

#floating-cart > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FF763F 0%, #FF5722 100%);
    border-radius: 8px;
    margin: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

#floating-cart > a:hover {
    background: linear-gradient(135deg, #FF854F 0%, #FF6633 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 118, 63, 0.3);
}

#floating-cart > a > i {
    color: #ffffff;
    font-size: 24px;
    transition: transform 0.2s ease;
}

#floating-cart > a:hover > i {
    transform: rotate(-10deg);
}

#floating-cart > span {
    font-size: 14px;
    font-weight: 700;
    display: block;
    width: 100%;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    background: rgba(255, 118, 63, 0.15);
    border-top: 1px solid rgba(255, 118, 63, 0.2);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#cart-count {
    font-size: 16px;
    font-weight: 700;
}

.notification {
    position: fixed;
    right: 20px;
    top: 20px;
    background: linear-gradient(135deg, #FF763F 0%, #FF5722 100%);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    z-index: 9999;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(255, 118, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 300px;
    animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    #floating-cart {
        right: 10px;
        transform: translateY(-50%) scale(0.9);
        transform-origin: right center;
    }

    #floating-cart > a {
        width: 48px;
        height: 48px;
        margin: 6px;
    }

    #floating-cart > a > i {
        font-size: 20px;
    }

    #floating-cart > span {
        font-size: 12px;
        padding: 8px 0;
    }

    #cart-count {
        font-size: 14px;
    }
}

/* Анимация пульсации для привлечения внимания */
@keyframes cartPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 118, 63, 0.1);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 118, 63, 0.1),
        0 0 0 3px rgba(255, 118, 63, 0.2);
    }
}

#floating-cart.pulse {
    animation: cartPulse 2s ease-in-out;
}