/* Theme 6: Smart Interactive (تفاعل ذكي وديناميكي) */
:root {
    --app-bg: #f8e5e5; /* Soft tinted background */
    --primary: #6c5ce7; /* Purple */
    --primary-light: #a29bfe;
    --accent: #fd79a8; /* Pink */
    --text-dark: #2d3436;
    --border: rgba(108, 92, 231, 0.1);
}

body { background: var(--app-bg); }

/* Animated gradients & Neumorphism hints */
.app-header {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    border-bottom: none !important;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3) !important;
}

.header-top h4, .header-icon {
    color: #ffffff !important;
}
.header-icon {
    border: none !important;
    background: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(5px);
}

.search-bar {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important;
    border-radius: 12px !important;
}

.nav-tab {
    color: rgba(255,255,255,0.7) !important;
}
.nav-tab.active {
    color: #ffffff !important;
    border-bottom: 3px solid #fd79a8 !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Floating Elements */
.product-card {
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5) !important;
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product-card:active {
    transform: translateY(5px) scale(0.95);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2) !important;
}

.add-cart-btn {
    background: linear-gradient(135deg, #fd79a8, #e84393) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(253, 121, 168, 0.4) !important;
    border: none !important;
}

.cat-circle {
    background: linear-gradient(135deg, #ffffff, #f1f2f6) !important;
    box-shadow: -5px -5px 10px #ffffff, 5px 5px 10px rgba(108, 92, 231, 0.1) !important;
    border: none !important;
}

/* Overrides */
*[style*="background:#fff"], *[style*="background: #fff"], 
*[style*="background:#f9f9f9"], *[style*="background: #f9f9f9"],
*[style*="background:#f5f6f8"], *[style*="background: #f5f6f8"] { 
    background: rgba(255, 255, 255, 0.7) !important; 
    backdrop-filter: blur(10px) !important;
    border-color: rgba(255,255,255,0.5) !important; 
}

*[style*="color:var(--primary)"] { color: #6c5ce7 !important; }
*[style*="background:var(--primary)"] { background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important; color:#fff !important;}
*[style*="color:var(--accent)"] { color: #fd79a8 !important; }
*[style*="background:var(--accent)"] { background: linear-gradient(135deg, #fd79a8, #e84393) !important; color:#fff !important;}

/* Bottom Nav */
.bottom-nav {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 30px 30px 0 0 !important;
    box-shadow: 0 -10px 30px rgba(108, 92, 231, 0.1) !important;
    padding-bottom: calc(env(safe-area-inset-bottom) + 5px) !important;
}

.b-nav-item.active .icon-wrap {
    background: linear-gradient(135deg, #fd79a8, #e84393) !important;
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.4) !important;
}
.b-nav-item.active { color: #fd79a8 !important; }

/* Pulse Animation on active */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(253, 121, 168, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(253, 121, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(253, 121, 168, 0); }
}

.b-nav-item.active .icon-wrap {
    animation: pulseGlow 2s infinite;
}

/* Modals */
.btn-add { background: linear-gradient(135deg, #fd79a8, #e84393) !important; border: none !important; }
.btn-fav.active { background: #fd79a8 !important; color:#fff !important; border: none !important;}
