:root {
    --primary: #0066ff;
    --primary-light: #eef4ff;
    --dark: #0f172a;
    --text-grey: #64748b;
    --white: #ffffff;
    --sidebar-w: 280px;
    --sidebar-c: 90px;
    --glass: rgba(255, 255, 255, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { background-color: #f8fafc; color: var(--dark); display: flex; min-height: 100vh; overflow-x: hidden; }

/* --- DESKTOP SIDEBAR --- */
.sidebar {
    width: var(--sidebar-w);
    height: calc(100vh - 40px);
    background: var(--glass);
    backdrop-filter: blur(12px);
    position: fixed;
    left: 20px;
    top: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    padding: 25px 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.sidebar.collapsed { width: var(--sidebar-c); }

.sidebar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.logo-group { display: flex; align-items: center; gap: 12px; overflow: hidden; white-space: nowrap; }
.logo-icon { min-width: 45px; height: 45px; background: var(--primary); color: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3); }
.brand { font-weight: 800; font-size: 17px; display: block; }
.tag { font-size: 10px; color: var(--primary); font-weight: 600; }

.sidebar-toggle { position: absolute; right: -12px; top: 40px; width: 25px; height: 25px; border-radius: 50%; border: none; background: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.1); cursor: pointer; font-size: 10px; }

.loc-badge { background: #f1f5f9; padding: 12px; border-radius: 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: var(--text-grey); font-size: 13px; white-space: nowrap; overflow: hidden; }

.side-menu { flex-grow: 1; }
.menu-link { text-decoration: none; color: var(--text-grey); padding: 14px 16px; border-radius: 14px; display: flex; align-items: center; gap: 15px; margin-bottom: 6px; font-weight: 600; transition: 0.3s; }
.menu-link i { font-size: 18px; }
.menu-link:hover { background: var(--primary-light); color: var(--primary); }
.menu-link.active { background: var(--primary); color: white; box-shadow: 0 8px 16px rgba(0, 102, 255, 0.2); }

.sidebar-user { border-top: 1px solid #f1f5f9; padding-top: 20px; display: flex; align-items: center; gap: 12px; overflow: hidden; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary-light); }
.u-name { font-weight: 700; font-size: 14px; }
.u-status { font-size: 11px; color: var(--text-grey); }

.sidebar.collapsed .logo-text, .sidebar.collapsed .text, .sidebar.collapsed .menu-link span, .sidebar.collapsed .user-details { display: none; }

/* --- MAIN CONTENT AREA --- */
.main-wrapper { margin-left: calc(var(--sidebar-w) + 40px); flex-grow: 1; padding: 40px 40px 40px 0; transition: 0.4s; }
.sidebar.collapsed + .main-wrapper { margin-left: calc(var(--sidebar-c) + 40px); }

/* Banner */
.premium-banner { background: #1e293b; border-radius: 32px; color: white; padding: 60px; overflow: hidden; margin-bottom: 40px; position: relative; }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.banner-txt { max-width: 500px; z-index: 2; }
.badge-new { background: var(--primary); color: white; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.banner-txt h1 { font-size: 3.5rem; margin: 20px 0; font-weight: 800; line-height: 1.1; }
.banner-txt h1 span { color: #38bdf8; }
.banner-txt p { color: #94a3b8; margin-bottom: 30px; font-size: 16px; }
.banner-btns { display: flex; gap: 15px; }
.btn-primary { background: var(--primary); color: white; border: none; padding: 14px 28px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.btn-outline { background: transparent; border: 1px solid #475569; color: white; padding: 14px 28px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.banner-img img { width: 350px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* Product Grid */
.section-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.count-chip { background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.main-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.fish-card { background: white; border-radius: 24px; padding: 15px; border: 1px solid #f1f5f9; transition: 0.3s; }
.fish-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.card-img { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 15px; }
.card-img img { width: 100%; height: 180px; object-fit: cover; }
.wishlist-btn { position: absolute; top: 12px; right: 12px; background: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #cbd5e1; cursor: pointer; }
.card-body h3 { font-size: 17px; margin-bottom: 4px; }
.card-body p { color: var(--text-grey); font-size: 13px; margin-bottom: 15px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; font-size: 18px; color: var(--dark); }
.add-btn { background: var(--primary-light); color: var(--primary); border: none; padding: 8px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.add-btn:hover { background: var(--primary); color: white; }

.wa-btn { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25d366; 
    color: white; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 28px; 
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); 
    z-index: 1000; 
    text-decoration: none; 
    transition: all 0.3s ease; /* Smooth transition ke liye */
}

/* Mobile Responsive Style (Phone screens) */
@media (max-width: 768px) {
    .wa-btn { 
        bottom: 88px; /* Mobile par position change */
        right: 20px;  /* Mobile par thoda side se gap kam kiya (optional) */
        width: 55px;  /* Mobile par thoda chota professional lagta hai */
        height: 55px;
        font-size: 24px;
    }
}
/* --- MOBILE RESPONSIVE --- */
.mobile-header, .mobile-nav { display: none; }

@media (max-width: 1024px) {
    .sidebar { display: none; }
    .main-wrapper { margin-left: 0; padding: 20px; margin-bottom: 80px; }
    .mobile-header { display: flex; justify-content: space-between; align-items: center; background: white; padding: 15px; border-radius: 20px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
    .m-logo-area { display: flex; gap: 12px; align-items: center; }
    .m-circle { background: var(--primary); color: white; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
    .m-info h4 { font-size: 14px; }
    .m-info p { font-size: 11px; color: var(--text-grey); }
    .m-icons { font-size: 20px; color: var(--text-grey); }

    .premium-banner { padding: 30px; border-radius: 24px; text-align: center; }
    .banner-inner { flex-direction: column-reverse; }
    .banner-txt h1 { font-size: 2.2rem; }
    .banner-img img { width: 100%; max-width: 280px; }
    
    .mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 15px; justify-content: space-around; box-shadow: 0 -10px 30px rgba(0,0,0,0.05); z-index: 2000; border-top: 1px solid #f1f5f9; }
    .m-link { text-decoration: none; color: #94a3b8; display: flex; flex-direction: column; align-items: center; font-size: 11px; gap: 4px; }
    .m-link.active { color: var(--primary); }
    .m-link i { font-size: 20px; }
}
/* Sidebar & Grid Improvements */
.category-tabs { display: flex; gap: 10px; margin: 20px 0; padding-left: 5px; }
.tab-btn { padding: 10px 20px; border-radius: 50px; border: 1px solid #ddd; background: white; font-weight: 600; cursor: pointer; }
.tab-btn.active { background: #0066ff; color: white; border-color: #0066ff; }

/* Floating Cart Bar (Screen 4) */
.floating-cart-bar {
    position: fixed; bottom: 85px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 500px; background: white; 
    padding: 12px 20px; border-radius: 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); z-index: 999;
}
.item-count-badge { background: #e0f0ff; color: #0066ff; padding: 5px 10px; border-radius: 8px; font-weight: 800; }
.view-cart-btn { background: #0066ff; color: white; padding: 10px 20px; border-radius: 12px; text-decoration: none; font-weight: 700; }

/* Modal Styles (Screen 5) */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 10000; }
.modal-card { background: white; width: 95%; max-width: 420px; border-radius: 32px; overflow: hidden; position: relative; }
.modal-hero { height: 280px; position: relative; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.m-brand { position: absolute; top: 20px; left: 20px; color: white; font-weight: 600; font-size: 18px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.modal-content-area { padding: 25px; }
.m-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.m-qty-controller { display: flex; align-items: center; gap: 15px; border: 1px solid #22c55e; border-radius: 10px; padding: 5px 15px; color: #22c55e; font-weight: 800; }
.m-qty-controller button { border: none; background: none; color: #22c55e; font-size: 20px; cursor: pointer; }
.m-done-btn { width: 100%; background: #22c55e; color: white; border: none; padding: 18px; border-radius: 18px; font-weight: 700; font-size: 16px; margin-top: 20px; cursor: pointer; }
