/* =========================================
   DROPSHIPPER BD — GLOBAL FONT ENGINE
   ========================================= */
:root {
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --indigo-600: #4F46E5;
  --indigo-500: #6366F1;
  --text-main: #334155;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --white: #FFFFFF;
  
  /* Global Modern Fonts */
  --font-en: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-bn: 'Anek Bangla', sans-serif;
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
  font-family: var(--font-en); 
  color: var(--text-main); 
  background: var(--white); 
  -webkit-font-smoothing: antialiased; 
}

/* Global Bangla Class Override */
.bn, h1.bn, h2.bn, h3.bn, h4.bn, h5.bn, button.bn, a.bn, p.bn, label.bn, span.bn { 
  font-family: var(--font-bn) !important; 
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* Top Bar */
.top-bar { background: var(--slate-900); color: var(--white); text-align: center; padding: 8px 15px; font-size: 13.5px; font-weight: 500; }

/* Header Edge-to-Edge */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.5px; }
.logo span { color: var(--indigo-600); }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a, .mega-trigger { font-size: 14.5px; font-weight: 600; color: var(--slate-800); transition: color 0.2s; cursor: pointer; }
.main-nav a:hover, .mega-trigger:hover { color: var(--indigo-600); }
.text-indigo { color: var(--indigo-600) !important; }

/* Mega Menu */
.has-mega { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0,0,0,0.08); padding: 30px; opacity: 0; visibility: hidden; transition: all 0.2s ease; min-width: 600px; z-index: 1001; }
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.m-col h4 { font-size: 15px; font-weight: 700; color: var(--slate-900); margin-bottom: 16px; border-bottom: 2px solid var(--slate-100); padding-bottom: 8px; }
.m-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; font-weight: 500; }
.m-col a:hover { color: var(--indigo-600); transform: translateX(3px); }
.badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.badge.hot { background: #FEE2E2; color: #DC2626; }

/* Actions */
.header-actions { display: flex; gap: 16px; align-items: center; }
.action-btn { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--slate-800); position: relative; }
.cart-btn { background: var(--slate-50); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
.cart-btn:hover { border-color: var(--slate-900); }
.cart-count { background: var(--indigo-600); color: var(--white); font-size: 11px; padding: 2px 8px; border-radius: 999px; }

/* Hero */
.hero-section { position: relative; background: var(--slate-900); padding: 120px 20px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, transparent 60%); pointer-events: none; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(4px); }
.hero-content h1 { font-size: 56px; font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 24px; }
.hero-content p { font-size: 18px; color: #94A3B8; margin-bottom: 40px; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; }
.btn { padding: 14px 32px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-primary { background: var(--indigo-600); color: var(--white); border: 1px solid var(--indigo-600); }
.btn-primary:hover { background: var(--indigo-500); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(79,70,229,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Bento Grid */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 32px; font-weight: 800; color: var(--slate-900); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; transition: 0.3s; }
.bento-card:hover { transform: translateY(-6px); border-color: var(--slate-900); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.bento-card.highlight { background: var(--slate-900); color: var(--white); border-color: var(--slate-900); }
.b-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); }
.highlight .b-label { color: #94A3B8; }
.b-text h3 { font-size: 24px; font-weight: 700; margin-top: 8px; }
.b-icon { font-size: 80px; text-align: right; margin-top: 20px; }

/* Drawers & Panels */
.cart-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; pointer-events: none; transition: 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 100%; background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -10px 0 40px rgba(0,0,0,0.1); }
.cart-overlay.open .cart-drawer { transform: translateX(0); }
.cart-head { padding: 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.cart-head h3 { font-size: 18px; font-weight: 700; }
.cart-head button { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); }
.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-item { display: flex; gap: 16px; margin-bottom: 24px; }
.ci-img { width: 80px; height: 80px; background: var(--slate-50); border-radius: var(--radius-sm); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.ci-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ci-top { display: flex; justify-content: space-between; }
.ci-top strong { font-size: 14px; font-weight: 600; }
.trash { background: none; border: none; cursor: pointer; color: var(--text-muted); }
.ci-bot { display: flex; justify-content: space-between; align-items: center; }
.qty-control { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cart-foot { padding: 24px; border-top: 1px solid var(--border); background: var(--slate-50); }
.subtotal { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.checkout-btn { display: block; text-align: center; background: var(--slate-900); color: var(--white); padding: 16px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: 0.2s; }
.checkout-btn:hover { background: var(--indigo-600); }

/* Notifications Panel */
.dropdown-panel { position: fixed; top: 85px; right: 24px; width: 340px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.2s; z-index: 1000; }
.dropdown-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.panel-head h3 { font-size: 16px; font-weight: 700; }
.panel-head button { background: none; border: none; cursor: pointer; color: var(--text-muted); }
.notif-item { display: flex; gap: 12px; padding: 16px 20px; }
.n-icon { font-size: 24px; }
.notif-item strong { font-size: 14px; }
.notif-item p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Footer */
.site-footer { background: var(--slate-50); border-top: 1px solid var(--border); padding: 60px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.brand-col .logo { font-size: 24px; margin-bottom: 12px; display: inline-block; }
.brand-col p { color: var(--text-muted); font-size: 14px; max-width: 300px; line-height: 1.6; }
.link-col h5 { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 16px; }
.link-col a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 14px; }
.link-col a:hover { color: var(--indigo-600); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 13px; color: var(--text-muted); }

.floating-whatsapp { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 25px rgba(37,211,102,0.3); z-index: 900; transition: 0.2s; text-decoration: none; }
.floating-whatsapp:hover { transform: scale(1.1); }

@media (max-width: 992px) {
  .main-nav { display: none; }
  .hero-content h1 { font-size: 38px; }
  .bento-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
