:root{
  --primary-color:#fca311;
  --dark-blue:#14213d;
  --text-dark:#333;
  --text-light:#666;
  --bg-light:#f9f9f9;

  /* ✅ Top sticky offer bar: 3 lines */
  --ticker-line-h: 32px;
  --ticker-h: var(--ticker-line-h);}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:#fff;
  color:var(--text-dark);
  font-family:'Hind Siliguri', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding-top: var(--ticker-h); /* space for fixed offer ticker */
}

img{max-width:100%;height:auto;display:block}
a{text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 15px}

/* ✅ Sticky offer ticker (ALL PAGES, ALL DEVICES) — 1 line, 3 offers rotate (typing) */
.offer-ticker{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--ticker-h);
  background:var(--primary-color);
  color:#111;
  font-weight:900;
  font-size:14px;
  z-index:1100;
  display:flex;
  align-items:center;
}
.offer-ticker .inner{width:100%;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:10px}
.offer-ticker .dot{opacity:.45}
.offer-ticker .label{display:none}
.offer-ticker .typing{
  display:inline-block;
  white-space:nowrap;
  overflow:hidden;
  border-right:2px solid rgba(0,0,0,.45);
  padding-right:6px;
  min-height:1em;
}
.offer-ticker .wrap{flex:1;overflow:hidden;display:flex;align-items:center;justify-content:center}

/* Header */
.site-header{
  background:#fff;
  padding:15px 0;
  border-bottom:1px solid #eee;
  z-index:100;
}

/* ✅ Desktop sticky header (mobile sticky header OFF) */
@media (min-width: 769px){
  .site-header{position:sticky; top: var(--ticker-h);}
}

.navbar{display:flex;justify-content:space-between;align-items:center;gap:12px}
.logo{
  font-size:24px;font-weight:800;color:var(--dark-blue);
  display:inline-flex;align-items:center;gap:10px;
}
.logo img{max-height:42px;width:auto}

.search-bar{
  display:flex;background:#f3f4f6;border-radius:4px;overflow:hidden;width:50%;
  border:1px solid #e5e7eb;
}
.search-bar select{border:none;background:transparent;padding:10px;border-right:1px solid #ddd;outline:none;cursor:pointer}
.search-bar input{border:none;background:transparent;padding:10px;width:100%;outline:none}
.search-btn{
  background:var(--primary-color);border:none;padding:0 18px;cursor:pointer;color:var(--dark-blue);
  display:inline-flex;align-items:center;justify-content:center;
}

.nav-icons{display:flex;align-items:center;gap:14px}
.nav-icons a{color:var(--dark-blue);font-size:18px;display:inline-flex;align-items:center;gap:8px}
.nav-icons .count{
  background:var(--primary-color);color:var(--dark-blue);
  border-radius:999px;font-size:12px;font-weight:800; padding:2px 7px; line-height:1;
}

/* ✅ Mobile header (like your screenshot) */
.mobile-header{display:none}
.mobile-topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; padding:6px 0 12px;
}
.mobile-icon-btn{
  width:44px;height:44px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.mobile-brand{
  display:flex;align-items:center;justify-content:center;
  flex:1;gap:10px;
  color:#fff;font-weight:900;font-size:22px;
}
.mobile-brand img{max-height:34px;width:auto}
.mobile-header .search-wrap{padding:0 0 8px}
.mobile-header .mobile-search{
  display:flex;
  background:#fff;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.25);
}
.mobile-header .mobile-search input{
  border:0;
  padding:14px 18px;
  width:100%;
  outline:none;
  font-size:16px;
  background:#fff;
}
.mobile-header .mobile-search button{
  border:0;
  padding:0 18px;
  background:#e24a5a;
  color:#fff;
  cursor:pointer;
}

/* Hero */
.hero{
  background-color:var(--dark-blue);
  color:#fff;
  padding:60px 0;
  margin-bottom:40px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;inset:0;
  background:url('https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=2070&auto=format&fit=crop') no-repeat center/cover;
  opacity:.2;
}
.hero-content{position:relative;z-index:1;max-width:650px}
.hero h1{font-size:48px;line-height:1.2;margin:0 0 15px}
.hero p{margin:0 0 25px;font-size:16px;opacity:.92}

.btn{padding:12px 25px;border-radius:5px;font-weight:700;cursor:pointer;display:inline-block;margin-right:10px}
.btn-primary{background:var(--primary-color);color:var(--dark-blue);border:0}
.btn-outline{border:1px solid rgba(255,255,255,.5);color:#fff;background:transparent}

/* Sections */
.section-title{text-align:center;font-size:28px;font-weight:800;margin:0 0 30px;color:var(--dark-blue)}

.categories-grid{display:flex;justify-content:space-between;gap:15px;margin:0 0 50px;flex-wrap:wrap}
.category-card{
  background:#f8f9fa;border-radius:8px;padding:20px;text-align:center;
  flex:1;min-width:130px;cursor:pointer;transition:.3s;border:1px solid #eef2f7;
}
.category-card:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.1)}
.cat-icon{
  font-size:24px;margin:0 auto 10px;background:#fff;width:50px;height:50px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}

.product-section{margin:0 0 50px}
.section-header{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px;gap:10px}
.section-header h3{margin:0;font-size:20px;color:var(--dark-blue)}
.view-all{color:var(--text-dark);font-weight:700;font-size:14px}

.product-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));gap:20px}
.product-card{border:1px solid #eee;border-radius:8px;overflow:hidden;background:#fff;transition:.3s}
.product-card:hover{box-shadow:0 5px 15px rgba(0,0,0,.1)}
.product-img{
  height:200px;background:#f3f4f6;position:relative;
  display:flex;align-items:center;justify-content:center;
}
.product-img img{max-width:80%;max-height:80%}
.badge{position:absolute;top:10px;left:10px;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:800}
.badge-new{background:#ffd166;color:#333}
.badge-sale{background:#ef476f;color:#fff;right:10px;left:auto}
.product-info{padding:15px}
.product-title{font-size:16px;font-weight:700;margin:0 0 8px}
.price{font-size:18px;font-weight:900;color:var(--dark-blue)}
.old-price{font-size:14px;text-decoration:line-through;color:#999;margin-left:10px;font-weight:700}

/* Offer banner */
.offer-banner{
  background:var(--dark-blue);
  color:#fff;
  text-align:center;
  padding:40px;
  border-radius:10px;
  margin:0 0 50px;
}
.offer-banner h2{font-size:36px;margin:15px 0 10px}
.offer-pill{
  display:inline-block;background:var(--primary-color);color:#000;
  padding:5px 10px;border-radius:20px;font-size:12px;font-weight:900;
}

/* Footer */
.site-footer{background:#0f172a;color:#fff;padding:50px 0 20px;margin-top:30px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.5fr;gap:30px;margin:0 0 40px}
.footer-col h3{font-size:18px;margin:0 0 20px;color:var(--primary-color)}
.footer-col p{font-size:14px;line-height:1.6;color:#cbd5e1;margin:0 0 10px}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col ul li{margin:0 0 10px}
.footer-col ul li a{color:#cbd5e1;font-size:14px}
.whatsapp-btn{
  background:#25D366;color:#fff;padding:8px 15px;border-radius:5px;
  display:inline-flex;align-items:center;gap:8px;margin-top:15px;font-weight:800;
}
.copyright{text-align:center;padding-top:20px;border-top:1px solid #334155;font-size:14px;color:#94a3b8}

/* Floating WhatsApp (desktop) */
.float-wa{position:fixed;right:18px;bottom:18px;z-index:9999;display:none}
.float-wa a{
  background:#25D366;color:#fff;width:52px;height:52px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px rgba(0,0,0,.2);font-size:22px;
}

/* ✅ Mobile sticky bottom bar (all pages) */
.mobile-sticky{
  position:fixed;left:0;right:0;bottom:0;
  background:#fff;border-top:1px solid #e5e7eb;
  z-index:9998;
  display:none;
}
.mobile-sticky .wrap{display:flex;justify-content:space-around;align-items:center;padding:10px 12px}
.mobile-sticky a{color:var(--dark-blue);font-weight:800;font-size:14px;display:flex;align-items:center;gap:8px}

/* Responsive */
@media (max-width: 768px){
  /* hide desktop header content */
  .navbar{display:none}
  .mobile-header{display:block}

  .site-header{
    background: linear-gradient(180deg, #0b0a1a 0%, #15103a 100%);
    border-bottom:0;
    padding:10px 0 0;
  }

  .hero h1{font-size:32px}
  .footer-grid{grid-template-columns:1fr}
  .categories-grid{overflow-x:auto;flex-wrap:nowrap}
  .float-wa{display:none}
  .mobile-sticky{display:block}
}

@media (min-width: 769px){
  .float-wa{display:block}
  .mobile-sticky{display:none}
}

/* ✅ Order button on product cards */
.product-actions{margin-top:12px;display:flex;gap:10px;align-items:center}
.btn-order{
  background:var(--dark-blue);
  color:#fff;
  padding:10px 14px;
  border-radius:8px;
  font-weight:900;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
.btn-order:hover{opacity:.92}

/* ✅ Premium single product */
.woocommerce div.product{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:14px;
  padding:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}
.woocommerce div.product .product_title{color:var(--dark-blue);font-weight:900}
.woocommerce div.product .price{font-weight:900;color:var(--dark-blue)}
.woocommerce div.product form.cart{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:14px;
}
.qty-wrap{
  display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;background:#fff;
}
.qty-wrap button{
  border:0;width:44px;height:44px;background:#f3f4f6;font-size:18px;font-weight:900;cursor:pointer;
}
.qty-wrap input.qty{
  width:64px;height:44px;border:0;text-align:center;font-weight:900;outline:none;
}
.woocommerce button.single_add_to_cart_button{
  background:var(--primary-color)!important;
  color:var(--dark-blue)!important;
  font-weight:900!important;
  border-radius:10px!important;
  padding:12px 18px!important;
}

/* ✅ Premium cart */
.woocommerce-cart .woocommerce{
  background:#fff;border:1px solid #eef2f7;border-radius:14px;padding:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}
.woocommerce table.shop_table{
  border-collapse:separate!important;border-spacing:0 10px!important;border:0!important;
}
.woocommerce table.shop_table thead th{border:0!important;color:#64748b;font-weight:900}
.woocommerce table.shop_table tbody tr{background:#f8fafc;border-radius:12px}
.woocommerce table.shop_table tbody tr td{border:0!important;padding:14px 12px!important}
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce a.button,
.woocommerce button.button{
  background:var(--dark-blue)!important;color:#fff!important;border-radius:10px!important;font-weight:900!important;
}
.woocommerce .cart-collaterals .cart_totals{
  background:#f8fafc;border-radius:12px;padding:14px;border:1px solid #eef2f7;
}


/* ✅ Footer mobile center align */
@media (max-width:768px){
  .footer-col{text-align:center}
  .footer-col ul{padding:0;margin:0;display:flex;flex-direction:column;align-items:center}
  .footer-col ul li{margin:0 0 10px}
  .footer-col .whatsapp-btn{justify-content:center}
}

/* ✅ Made by link */
.made-by{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:900;
  font-size:18px;
  color: var(--primary-color);
}
.made-by:hover{opacity:.9}


/* ✅ Desktop header background */
@media (min-width: 769px){
  .site-header{
    background: linear-gradient(180deg, #0b0a1a 0%, #15103a 100%);
    border-bottom: 0;
  }
  .logo{color:#fff}
  .nav-icons a{color:#fff}
  .search-bar{
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
  }
  .search-bar select,
  .search-bar input{color:#fff}
  .search-bar input::placeholder{color:rgba(255,255,255,.75)}
  .search-bar select{border-right:1px solid rgba(255,255,255,.18)}
  .search-btn{color:#111}
}


/* ✅ footer-grid-desktop-5col */
@media (min-width: 769px){
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr 1.5fr !important;}
}


/* ✅ Header cart count badge */
.nav-icons{display:flex;align-items:center;gap:18px}
.nav-icons a{display:inline-flex;align-items:center}
.cart-link{position:relative;display:inline-flex;align-items:center}
.cart-count{
  position:absolute;
  top:-10px;
  right:-12px;
  min-width:18px;
  height:18px;
  padding:0 6px;
  border-radius:999px;
  background: var(--primary-color);
  color: #111;
  font-size:12px;
  font-weight:900;
  line-height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:2px solid rgba(11,10,26,.85);
}

/* ✅ Desktop Login/Register link next to cart */
.login-register{
  font-weight:900;
  font-size:14px;
  opacity:.95;
}
@media (max-width:768px){
  .login-register{display:none !important;}
}

@media (min-width: 769px){.site-header{background:#000 !important;border-bottom:0;}}


/* ✅ Cart count badge (fixed positioning) */
.cart-link{position:relative;display:inline-flex;align-items:center;justify-content:center}
.cart-link i{display:inline-block}
.cart-count{top:-6px !important; right:-8px !important;}
.nav-icons{overflow:visible}


/* ✅ Hide account icon on desktop (text only) */
@media (min-width: 769px){
  .user-link{display:none !important;}
}


/* ✅ Footer desktop columns side-by-side (force) */
@media (min-width: 769px){
  .footer-grid{
    display:grid !important;
    grid-template-columns:2fr 1fr 1fr 1fr 1.5fr !important;
    gap:30px !important;
    align-items:start;
  }
  .footer-col{text-align:left !important;}
  .footer-col ul{align-items:flex-start !important;}
}


/* ✅ Mobile footer safe area for bottom sticky bar */
@media (max-width: 768px){
  footer{padding-bottom:95px;}
  .copyright{padding-bottom:70px;}
}


/* ===== v10 hard overrides ===== */
@media (min-width: 769px){
  .site-header{background:#000 !important;border-bottom:0 !important;}
  .footer-grid{
    display:grid !important;
    grid-template-columns:2fr 1fr 1fr 1fr 1.5fr !important;
    gap:30px !important;
  }
}

.nav-icons{display:flex !important;align-items:center !important;gap:18px !important;overflow:visible !important;}
.cart-link{position:relative !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;}
.cart-count{
  position:absolute !important;
  top:-6px !important;
  right:-8px !important;
  z-index:5 !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 6px !important;
  border-radius:999px !important;
  background: var(--primary-color) !important;
  color:#111 !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:18px !important;
}

/* Mobile safe area for sticky bar */
@media (max-width: 768px){
  footer{padding-bottom:100px !important;}
  .copyright{padding-bottom:80px !important;}
}


/* ===== v11 fixes: cart badge + footer columns ===== */
.cart-link i{font-size:18px !important;}
.cart-count{
  min-width:16px !important;
  height:16px !important;
  padding:0 5px !important;
  font-size:11px !important;
  line-height:16px !important;
  top:-8px !important;
  right:-10px !important;
  border:2px solid #000 !important;
}

@media (min-width: 769px){
  .footer-grid{
    display:grid !important;
    grid-template-columns:2fr 1fr 1fr 1fr 1fr !important;
    gap:30px !important;
  }
}


/* ===== v12: FORCE footer columns on desktop (base) ===== */
.footer-grid{
  display:grid !important;
  grid-template-columns:2fr 1fr 1fr 1fr 1fr !important;
  gap:30px !important;
  width:100% !important;
}
@media (max-width: 768px){
  .footer-grid{grid-template-columns:1fr !important;}
}


/* ===== v13: ensure policy/contact are separate columns ===== */
@media (min-width: 769px){
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr 1fr !important;}
}


/* ===== v14 branding: footer one-line copyright ===== */
.copyright{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:6px !important;
  flex-wrap:wrap;
  text-align:center;
}
.copyright .db-link{
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  font-size: 18px !important;
  letter-spacing: .5px;
  text-decoration:none;
}
@media (max-width: 768px){
  .copyright{padding-bottom: 90px !important;} /* ensure not hidden behind bottom sticky */
  .copyright .db-link{font-size: 20px !important;}
}
