/* --- BELLA KIDS BRAND PALETTE --- */
:root {
    --bella-blue: #A2D2FF;
    --bella-pink: #FF9AA2;
    --bella-green: #B9FBC0;
    --bella-purple: #F3E5F5;
    --bella-cream: #FAF9F6;
    --bella-dark: #2D3436;
    --glass-white: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- GLOBAL STYLES --- */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bella-cream);
    color: var(--bella-dark);
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
.glass-nav {
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0,0,0,0.03);
    padding: 5px 0;
}

.nav-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    padding: 5px 0;
}

.navbar-brand:hover .nav-logo {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--bella-dark) !important;
    margin: 0 12px;
}

/* --- FLOATING BUBBLES (WhatsApp & Bag) --- */
.whatsapp-float, .cart-float {
    position: fixed;
    right: 30px;
    width: 70px; /* Matched Size */
    height: 70px; /* Matched Size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
    border: 3px solid white; /* Consistent Border */
}

.whatsapp-float {
    bottom: 30px;
    background-color: #25d366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-float img {
    width: 38px; /* Adjusted icon scale */
    height: auto;
}

.cart-float {
    bottom: 115px; /* Spaced evenly above WhatsApp */
    background: linear-gradient(135deg, var(--bella-blue), #8ECAE6);
    box-shadow: 0 15px 35px rgba(162, 210, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    animation: cartPulse 3s ease-in-out infinite;
}

.cart-float .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--bella-pink) !important;
    color: white !important;
    border: 2px solid white;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 154, 162, 0.4);
}

.cart-float:hover, .whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

@keyframes cartPulse {
    0% { box-shadow: 0 0 0 0 rgba(162, 210, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(162, 210, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(162, 210, 255, 0); }
}

/* --- MAGICAL CATEGORY CARDS (The Upgrade) --- */
.cat-card {
    min-height: 300px; /* Taller for a premium feel */
    border-radius: 50px; /* Super rounded corners */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 4px solid white; 
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.cat-card:hover { 
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(162, 210, 255, 0.3);
}

.boys-bg { background: linear-gradient(135deg, #E3F2FD 0%, #90CAF9 100%); }
.girls-bg { background: linear-gradient(135deg, #FCE4EC 0%, #FFB7B2 100%); }
.newborn-bg { background: linear-gradient(135deg, #F3E5F5 0%, #E0BBE4 100%); }

.cat-card h2 {
    font-weight: 800;
    color: #444;
    transition: transform 0.3s ease;
}

.cat-card:hover h2 {
    transform: scale(1.05);
    color: #222;
}

.cat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

.cat-card:hover::before { opacity: 1; transform: scale(1); }

/* --- PRODUCT CARDS --- */
.product-card {
    border: none !important;
    border-radius: 30px !important;
    background: #ffffff;
    padding: 15px;
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.product-card img {
    border-radius: 20px;
    width: 100%;
    height: auto; 
    max-height: 450px; 
    object-fit: contain; 
}

/* --- ABOUT US PAGE SPECIFIC --- */
.about-image-wrapper {
    border-radius: 40px;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.value-card {
    border-radius: 30px;
    border: none;
    background: white;
    padding: 2.5rem;
    transition: var(--transition);
}

.store-feature-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
    border: 5px solid white;
}

/* --- FOOTER & MAP --- */
.footer-map-box {
    height: 120px;
    position: relative;
    background: #eee;
    overflow: hidden;
    transition: var(--transition);
}

.footer-map-box:hover { transform: scale(1.02); }

.social-column {
    display: flex;
    flex-direction: column;
}

html[lang="en"] .social-icon-wrapper { justify-content: flex-end; }
html[lang="ar"] .social-icon-wrapper { justify-content: flex-start; }

.social-icon {
    width: 32px;
    height: 32px;
    fill: var(--bella-blue);
    transition: var(--transition);
}

.social-icon:hover {
    fill: var(--bella-pink);
    transform: scale(1.1);
}

/* --- BALLOONS --- */
#balloon-container {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    z-index: 9999;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 50px;
    height: 70px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    opacity: 0.8;
    animation: floatUp 8s linear forwards;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-120vh) rotate(20deg); opacity: 0; }
}

/* --- UTILITIES & MOBILE FIXES --- */
.bg-primary { background-color: var(--bella-blue) !important; }
.text-primary { color: var(--bella-blue) !important; }

@media (max-width: 768px) {
    .nav-logo { height: 60px; }
    
    .whatsapp-float, .cart-float {
        width: 55px; 
        height: 55px; 
        right: 20px;
    }
    
    .whatsapp-float { bottom: 20px; }
    .whatsapp-float img { width: 28px; }
    .cart-float { bottom: 85px; font-size: 1.5rem; }
    
    .cart-float .badge {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    /* RESTORED MOBILE BUBBLE FIX (Side-by-Side) */
    .cat-card {
        min-height: 90px !important;
        padding: 0.6rem 0.2rem !important;
        border-radius: 20px !important;
        border-width: 2px !important;
        text-align: center;
    }
    .cat-card h2 { font-size: 0.9rem !important; margin: 0; }
    .cat-card p { display: none !important; } /* Hidden to fit horizontally */
    .cat-card a { font-size: 0.7rem !important; }
    
    .social-column { align-items: center !important; }
    .social-icon-wrapper { justify-content: center !important; }
}

/* Color Swatch Styling */
#colorSelector .btn {
    width: 35px;
    height: 35px;
    border-radius: 50% !important;
    border: 2px solid #eee !important;
    font-size: 0 !important;
    padding: 0 !important;
    margin: 5px !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

#colorSelector .btn:hover { transform: scale(1.1); border-color: #ccc !important; }

#colorSelector .btn.btn-dark {
    border: 2px solid #333 !important;
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#colorSelector .btn.btn-dark::after {
    content: '✓';
    font-size: 14px !important;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
