/* ==========================================================================
   Projukti Bari — Public Storefront (W1 STOREFRONT, 2026-11-29)
   Brand: navy #1B2B52 / ink #111D3A / gold #D4A04A / orange #E8650F
   (primary CTAs solid orange only; secondary navy outline; gold accents).
   Fonts self-hosted: Poppins + Hind Siliguri (public/fonts/).
   NOTE: No Inter woff2 exists in public/fonts/ — the stack falls back to
   system sans for any Inter reference. Do not add a CDN font link.
   ========================================================================== */
@font-face{font-family:Poppins;src:url(../fonts/poppins-regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url(../fonts/poppins-medium.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:Poppins;src:url(../fonts/poppins-bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Hind Siliguri";src:url(../fonts/hind-siliguri-400-latin.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:"Hind Siliguri";src:url(../fonts/hind-siliguri-400-bengali.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0980-09FF}
@font-face{font-family:"Hind Siliguri";src:url(../fonts/hind-siliguri-600-latin.woff2) format("woff2");font-weight:600;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:"Hind Siliguri";src:url(../fonts/hind-siliguri-600-bengali.woff2) format("woff2");font-weight:600;font-display:swap;unicode-range:U+0980-09FF}
@font-face{font-family:"Hind Siliguri";src:url(../fonts/hind-siliguri-700-latin.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
@font-face{font-family:"Hind Siliguri";src:url(../fonts/hind-siliguri-700-bengali.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0980-09FF}

:root{
  --navy:#1B2B52; --navy-2:#1E2F66; --ink:#111D3A; --gold:#D4A04A; --gold-soft:#F5B942;
  --orange:#E8650F; --orange-dark:#C9540A;
  --bg:#F7F8FC; --surface:#FFFFFF; --line:#E4E9F2; --text:#14213F; --muted:#5B6B8C;
  --shadow:0 8px 28px rgba(15,26,58,.08); --shadow-lg:0 18px 44px rgba(15,26,58,.16);
  --radius:16px;
}
html[data-theme="dark"]{
  --bg:#0E1526; --surface:#18233D; --line:#2A3A5E; --text:#EAF0FD; --muted:#9FB0D0;
  --shadow:0 8px 28px rgba(0,0,0,.35); --shadow-lg:0 18px 44px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Hind Siliguri",Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.65;font-size:16px}
h1,h2,h3,h4{font-family:Poppins,"Hind Siliguri",sans-serif;line-height:1.3;color:var(--text)}
a{color:var(--navy)}
html[data-theme="dark"] a{color:#B9C8EC}
img{max-width:100%;height:auto}
.container{max-width:1180px;margin:0 auto;padding:0 20px}
.narrow{max-width:820px}
.center{text-align:center}
.muted{color:var(--muted)}
.small{font-size:13.5px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--orange);color:#fff;padding:10px 16px;z-index:200;border-radius:0 0 10px 0}
.skip-link:focus{left:0}

/* ---------- Buttons ---------- */
.btn{display:inline-block;padding:12px 24px;border-radius:10px;font-weight:700;font-size:15.5px;text-decoration:none;cursor:pointer;border:1.5px solid transparent;text-align:center;font-family:inherit}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:var(--orange-dark)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:transparent}
.btn-outline:hover{background:var(--navy);color:#fff}
.btn-outline-light{border-color:rgba(255,255,255,.7);color:#fff;background:transparent}
.btn-outline-light:hover{background:rgba(255,255,255,.14)}
.btn-sm{padding:9px 16px;font-size:14px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 2px 12px rgba(15,26,58,.05)}
/* BUG-028: the header carries 8 nav links + lang toggle + theme btn + CTA.
   The page container (1180px) is too narrow for that row, so the nav wrapped
   to two rows at 1919px. The header container alone is widened to 1360px. */
.site-header .container{max-width:1360px}
.header-in{display:flex;align-items:center;gap:16px;padding:10px 20px;flex-wrap:nowrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}
.brand img{width:44px;height:49px;object-fit:contain}
.brand-text strong{display:block;font-family:Poppins,sans-serif;font-size:17px;letter-spacing:1px;color:var(--navy)}
html[data-theme="dark"] .brand-text strong{color:var(--text)}
.brand-text small{display:block;font-size:10.5px;letter-spacing:1px;color:var(--gold);font-weight:600}
.main-nav{display:flex;gap:2px;margin-left:auto;flex-wrap:nowrap}
.main-nav a{padding:9px 10px;border-radius:8px;text-decoration:none;font-weight:600;font-size:15px;color:var(--text);white-space:nowrap}
.main-nav a:hover{background:rgba(27,43,82,.07)}
.main-nav a.active{color:var(--orange)}
.header-actions{display:flex;align-items:center;gap:10px}
/* BUG-028: the "অর্ডার করুন" / "Order Now" CTA must never split across lines. */
.header-actions .btn{white-space:nowrap}
.theme-toggle{background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:50%;width:38px;height:38px;cursor:pointer;font-size:17px;line-height:1}
.nav-toggle{display:none;background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:8px;width:40px;height:40px;cursor:pointer;font-size:19px}

/* ---------- Notice bar / popup ---------- */
.notice-bar{background:var(--navy);color:#fff;text-align:center;padding:9px 16px;font-size:14.5px}
.notice-bar-item{margin:4px 0}
.notice-bar a{color:var(--gold-soft);font-weight:700}
.notice-popup{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:20px}
.notice-popup[hidden]{display:none}
.notice-popup-backdrop{position:absolute;inset:0;background:rgba(10,16,34,.55)}
.notice-popup-card{position:relative;background:var(--surface);color:var(--text);border-radius:var(--radius);box-shadow:var(--shadow-lg);max-width:460px;width:100%;padding:28px 26px}
.notice-popup-card h3{margin-top:0}
.notice-popup-close{position:absolute;top:10px;right:12px;border:0;background:transparent;font-size:18px;cursor:pointer;color:var(--muted)}

/* ---------- Hero + dotted globe (adapted from live homepage v13) ---------- */
.hero{background:radial-gradient(900px 480px at 85% -10%,rgba(217,154,43,.28),transparent 60%),radial-gradient(700px 500px at -10% 110%,rgba(30,58,110,.35),transparent 60%),linear-gradient(150deg,#111D3A,#1B2B52 55%,#1E2F66);color:#eaf0fd;overflow:hidden}
.hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:20px;align-items:center;padding:64px 20px 72px}
.hero-eyebrow{color:var(--gold-soft);font-weight:700;letter-spacing:2px;font-size:13px;text-transform:uppercase;margin:0 0 14px}
.hero h1{color:#fff;font-size:clamp(30px,4.4vw,48px);margin:0 0 16px}
.hero-sub{color:#C9D6F2;font-size:18px;margin:0 0 26px;max-width:560px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-ctas.center-ctas{justify-content:center}
.hero-pills{list-style:none;margin:30px 0 0;padding:0;display:flex;gap:22px;flex-wrap:wrap}
.hero-pills li{display:flex;flex-direction:column}
.hero-pills strong{color:var(--gold-soft);font-size:15px}
.hero-pills span{color:#C9D6F2;font-size:13.5px}
.hero-globe{display:flex;justify-content:center}
.dotted-globe{position:relative;width:400px;max-width:94vw;height:340px;pointer-events:none}
.dg-sphere{position:absolute;left:50%;top:50%;width:300px;height:300px;transform:translate(-50%,-50%);border-radius:50%;background:linear-gradient(135deg,#1E2F66 0%,#182C5E 42%,#0F1A3A 100%);overflow:hidden;box-shadow:inset -36px -30px 56px rgba(0,0,0,.55),inset 16px 14px 30px rgba(245,185,66,.13),0 0 24px rgba(245,185,66,.15),0 24px 44px rgba(15,26,58,.22)}
.dg-sphere::before{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 2px 2px 3px rgba(245,185,66,.35),inset 5px 5px 10px rgba(245,185,66,.12);z-index:3;pointer-events:none}
#dgCanvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;display:block}
.dg-shade{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 30% 24%,rgba(245,185,66,.10),transparent 42%),radial-gradient(circle at 74% 80%,transparent 44%,rgba(0,0,0,.42) 100%);pointer-events:none;z-index:2}
.dg-chip{position:absolute;display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-lg);color:var(--text);font-size:12.5px;font-weight:700;line-height:1.3;padding:7px 11px;border-radius:99px;white-space:nowrap;animation:dgBob 4s ease-in-out infinite;z-index:4;pointer-events:auto}
.dg-chip-tl{left:2px;top:8px}
.dg-chip-br{left:2px;top:60%;transform:translateY(-50%);animation-delay:1.3s}
@keyframes dgBob{0%,100%{margin-top:0}50%{margin-top:-6px}}

/* ---------- Sections / cards ---------- */
.block{padding:64px 0}
.block-alt{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec-head{margin-bottom:32px}
.sec-head h2{font-size:clamp(24px,3vw,32px);margin:6px 0 8px}
.sec-head p{color:var(--muted);margin:0}
.kicker{display:inline-block;color:var(--orange);font-weight:700;font-size:13px;letter-spacing:1.6px;text-transform:uppercase}
.grid{display:grid;gap:20px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.card h3{margin:0 0 8px;font-size:18px}
.card h3 a{color:inherit;text-decoration:none}
.card p{color:var(--muted);font-size:14.5px;margin:0 0 12px}
.card-meta{font-size:13px;color:var(--muted)}
.card-price{font-size:20px;font-weight:700;color:var(--navy);margin:8px 0 14px}
html[data-theme="dark"] .card-price{color:var(--text)}
.card-price small{font-size:13px;color:var(--muted);font-weight:400}
.card-price del{font-size:14px;color:var(--muted);font-weight:400;margin-left:6px}
.card-actions{display:flex;gap:10px;flex-wrap:wrap}
.offer-card{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}
.offer-card h3{margin:0 0 8px}
.offer-card p{color:var(--muted);font-size:14.5px}
.offer-card a{font-weight:700;color:var(--orange);text-decoration:none}
.product-thumb{height:120px;border-radius:12px;background:linear-gradient(135deg,#1B2B52,#1E2F66 55%,#D4A04A 130%);color:#fff;display:flex;align-items:center;justify-content:center;font-family:Poppins,sans-serif;font-size:44px;font-weight:700;margin-bottom:14px;overflow:hidden}
/* BUG-040: home featured cards now use the same product-image partial as
   /store — the real mockup must fill the tile (same as .catalog-card .thumb
   img in catalog.css, which the home layout does not load). The letter
   fallback inherits the tile's font/colour. */
.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-thumb .thumb-initial{font-family:Poppins,sans-serif;font-size:44px;font-weight:700;color:#fff}
/* BUG-060: portfolio cards — same gradient-cover + letter-tile pattern as
   .product-thumb above (the old cards had no images: gradient + icon).
   The cover keeps the old item's gradient verbatim (inline style). */
.portfolio-card{padding:0;overflow:hidden}
.portfolio-cover{height:170px;display:flex;align-items:center;justify-content:center;color:#fff;font-family:Poppins,sans-serif;font-size:64px;font-weight:700}
.portfolio-body{padding:18px 20px}
.portfolio-body h3{margin:8px 0}
.portfolio-chip{display:inline-block;background:#EAF0FB;border:1px solid #C6D6F2;color:#1B2B52;border-radius:20px;padding:4px 12px;font-size:13px;font-weight:600}
.trust-card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.trust-card h3{margin:0 0 6px;font-size:16.5px}
.trust-card p{margin:0;color:var(--muted);font-size:14.5px}
.trust-strip{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;padding:18px 22px;border:1px dashed var(--gold);border-radius:var(--radius);font-size:14.5px}
.trust-strip strong{color:var(--gold)}
.rev-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
.rev-card .stars{color:var(--gold-soft);font-size:17px;letter-spacing:2px;margin-bottom:8px}
.rev-card p{margin:0 0 14px}
.rev-who{display:flex;gap:12px;align-items:center}
.rev-ava{width:42px;height:42px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;flex:none}
.rev-who small{color:var(--muted)}
.cta-band{background:linear-gradient(150deg,#111D3A,#1B2B52 60%,#1E2F66);color:#eaf0fd}
.cta-band h2{color:#fff}
.cta-band p{color:#C9D6F2}

/* ---------- Pages ---------- */
.page-head{padding:56px 0 8px}
.page-head h1{font-size:clamp(28px,3.6vw,40px);margin:6px 0 10px}
.page-head .lead{color:var(--muted);font-size:17px}
.prose h2{font-size:22px;margin:32px 0 10px}
.prose p,.prose li{font-size:16px}
.prose ul{padding-left:22px}
.prose li{margin-bottom:6px}
.empty-state{text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);padding:48px 24px}
.empty-state p{font-size:17px}
.price-table-wrap{overflow-x:auto}
.price-table{width:100%;border-collapse:collapse;background:var(--surface);border-radius:var(--radius);overflow:hidden}
.price-table th,.price-table td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:left}
.price-table th{background:var(--navy);color:#fff}
.price-table td.num,.price-table th.num{text-align:right;font-weight:700;white-space:nowrap}
.blog-body{font-size:16.5px;line-height:1.8}
.pagination-wrap{margin-top:28px}
.pagination-wrap nav{display:flex;justify-content:center}

/* ---------- FAQ ---------- */
.faq-list{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item:last-child{border-bottom:0}
.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;background:transparent;border:0;padding:17px 20px;cursor:pointer;font-family:inherit;font-size:16px;font-weight:700;color:var(--text);text-align:left}
.faq-icon{font-size:20px;color:var(--orange);flex:none;transition:transform .2s}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-a{padding:0 20px 18px;color:var(--muted)}
.faq-a p{margin:0}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:36px;align-items:start}
.contact-rows{list-style:none;padding:0;margin:0 0 20px}
.contact-rows li{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.contact-rows.big li{padding:14px 0}
.contact-label{flex:none;width:92px;font-weight:700;color:var(--muted);font-size:13.5px}
.contact-form label{display:block;font-weight:700;font-size:14.5px;margin:16px 0 6px}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:12px 13px;border:1.5px solid var(--line);border-radius:10px;font-size:15px;font-family:inherit;background:var(--surface);color:var(--text)}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(212,160,74,.25)}
.contact-form button{margin-top:20px}
.alert{border-radius:12px;padding:14px 16px;font-size:14.5px;margin:0 0 16px;line-height:1.6}
.alert-ok{background:#E7F5EC;border:1px solid #BFE3CC;color:#14532D}
.alert-err{background:#FDECEA;border:1px solid #F5C6C0;color:#8E2318}
.alert ul{margin:0;padding-left:20px}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#C9D6F2;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px;padding:56px 20px 40px}
.footer-col h4{color:#fff;font-size:15px;margin:0 0 14px}
.footer-col ul{list-style:none;margin:0;padding:0}
.footer-col li{margin-bottom:9px}
.footer-col a{color:#C9D6F2;text-decoration:none;font-size:14.5px}
.footer-col a:hover{color:#fff}
.footer-brand img{margin-bottom:14px}
.footer-brand p{font-size:14.5px;margin:0 0 12px}
.footer-presence{color:var(--gold-soft);font-weight:700}
.footer-col .contact-rows li{border-bottom:1px solid rgba(255,255,255,.12)}
.footer-col .contact-label{color:#8FA3CC}
.pay-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.pay-badges span{border:1px solid rgba(255,255,255,.3);border-radius:6px;padding:4px 10px;font-size:12.5px;font-weight:700;color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0}
.footer-bottom-in{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:13.5px}
.footer-bottom p{margin:0}
.footer-legal a{color:#C9D6F2;text-decoration:none}
.wa-float{position:fixed;right:18px;bottom:18px;z-index:150;width:54px;height:54px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.3);text-decoration:none}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.reveal.visible{opacity:1;transform:none}

/* ---------- Responsive ---------- */
/* BUG-028: below ~1210px the full desktop header (8 links + toggle + CTA)
   genuinely cannot fit one row, so let the nav wrap there as before —
   one-row layout applies at 1211px and up (incl. 1280px and 1919px). */
@media(max-width:1210px){
  .main-nav{flex-wrap:wrap}
}
@media(max-width:1020px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-in{grid-template-columns:1fr;padding:48px 20px 56px;text-align:center}
  .hero-sub{margin:0 auto 26px}
  .hero-ctas,.hero-pills{justify-content:center}
  .dotted-globe{width:340px;height:280px}
  .dg-sphere{width:240px;height:240px}
}
@media(max-width:760px){
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .nav-toggle{display:block}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--surface);flex-direction:column;padding:10px 16px 16px;border-bottom:1px solid var(--line);box-shadow:var(--shadow-lg);margin:0}
  .main-nav.open{display:flex}
  .main-nav a{padding:11px 8px;border-bottom:1px solid var(--line)}
  .header-actions .btn{display:none}
  .dotted-globe{width:280px;height:220px}
  .dg-sphere{width:180px;height:180px}
  .dg-chip{font-size:11.5px;padding:6px 9px}
  .block{padding:44px 0}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
  /* BUG-044: the fixed 60px Priya launcher (bottom:12px at ≤420px,
     bottom:18px above that) covers the bottom 72–78px of the viewport
     at phone widths, so the storefront footer's last line could not be
     scrolled clear of it — the same defect BUG-041 fixed for the flows
     layout with 96px footer padding. 96px lifts the last footer line
     ≥18px clear of the launcher at max scroll; env(safe-area-inset-
     bottom) tracks the launcher's own safe-area lift (priya.css), so
     notched phones stay clear too. Desktop (>560px) is untouched. */
  .site-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){
  .dg-chip{animation:none!important}
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}
