/*!
 * G2Own Community Store Integration Styles - Non-Breaking Version
 * Minimal styles that enhance existing design without conflicts
 * Version: 1.0.0 Safe - Redundancy Reduced
 */

/* Enhanced Cart Button (existing cart enhancement) */
#cart-toggle[data-community-enhanced]:hover,
.cart-toggle[data-community-enhanced]:hover {
    transform: scale(1.05) !important;
    transition: all 0.3s ease !important;
}

/* Community Store FAB Enhancements */
.community-store-fab button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 25px rgba(139, 0, 0, 0.4) !important;
}

/* Community Categories Enhancement */
.community-categories-added {
    animation: fadeInUp 0.6s ease-out;
}

/* Community Cart Sidebar Enhancement */
.community-cart-redirect {
    border-top: 2px solid rgba(139, 0, 0, 0.3);
    margin-top: 20px;
}

/* Safe animations that won't conflict */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .community-store-fab {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .community-store-fab button {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #cart-toggle[data-community-enhanced],
    .cart-toggle[data-community-enhanced] {
        border-width: 2px !important;
    }
    
    .community-store-fab button {
        border: 2px solid #ffffff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #cart-toggle[data-community-enhanced],
    .cart-toggle[data-community-enhanced],
    .community-store-fab button,
    .community-categories-added {
        transition: none !important;
        animation: none !important;
    }
}
