/* MasnoonHub Express — inner-page chrome + components.
 *
 * Loaded SITE-WIDE on every NON-homepage view, right after mh-tokens (which
 * owns all :root vars + the six .cat-* accent maps + .skip-link / :focus-visible
 * / .skel). Nothing here redefines a token; every value resolves from tokens.css.
 *
 * Three things live in this file, in order:
 *   1. The reusable site header (header-mhsite.php) — navy masthead + search +
 *      department nav, mobile-first, one 960px switch to the desktop bar.
 *   2. The reusable site footer (footer-mhsite.php) — mobile .ft and desktop
 *      .ftd bands, ported verbatim from the v6 Footer board so the chrome looks
 *      identical to the homepage footer (which carries the same CSS in home.css).
 *   3. Inner-page component primitives adopted from the v6 app-screens.css
 *      (buttons, chips, fields, cards, alerts) PLUS the .err-* 404 styles.
 *
 * Ported from: v6 "Search & Header.html", "Footer.html", "PASS 7 - Final Screens.html",
 * and "app-screens.css". The :root{} and .cat-* blocks those sources carried were
 * STRIPPED — they are the single source of truth in tokens.css.
 *
 * One breakpoint everywhere: 960px. Below = mobile, at/above = desktop.
 */

/* =========================================================================
   0. INNER-PAGE PAGE FRAME
   The homepage paints its own background; inner pages need the warm paper bg
   and a constrained content column so WooCommerce / page templates sit nicely
   between the shared header and footer.
   ========================================================================= */
body.mhsite{ margin:0; font-family:var(--font-body); color:var(--ink); background:var(--paper); -webkit-font-smoothing:antialiased; line-height:1.5; }
body.mhsite *{ box-sizing:border-box; }
#mhsite-main{ display:block; min-height:50vh; }
.mhsite-container{ max-width:1180px; margin:0 auto; padding:clamp(20px,4vw,40px) clamp(16px,4vw,40px); }


/* =========================================================================
   1. SITE HEADER  (header-mhsite.php)
   ========================================================================= */
.mhsite-header{ background:var(--navy); }
.mhsite-header a{ text-decoration:none; }

/* ---- 1a. Mobile header (shown below 960px) ---- */
.mhh-mobile{ display:block; }

/* utility bar — thin navy-deep strip */
.mhh-util{ background:var(--navy-deep); color:var(--ft-mut); font-size:11px; font-weight:500; padding:6px 14px;
  display:flex; align-items:center; gap:10px; white-space:nowrap; overflow:hidden; border-bottom:1px solid var(--navy-line); }
.mhh-util .loc{ display:flex; align-items:center; gap:5px; color:#cdd3e3; }
.mhh-util .loc b{ color:#fff; font-weight:600; }
.mhh-util svg{ width:13px; height:13px; }
.mhh-util .right{ margin-left:auto; display:flex; align-items:center; gap:12px; }
.mhh-util .right a{ color:var(--ft-mut); }
.mhh-util .right .lang{ color:#fff; font-weight:600; border:1px solid var(--navy-line); border-radius:var(--r-pill);
  padding:2px 8px; cursor:pointer; }

/* main header row + search */
.mhh-head{ background:var(--navy); padding:10px 14px 12px; }
.mhh-head__row{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.mhh-head__row .mhh-logo img{ height:38px; width:auto; display:block; }
.mhh-head__row .sp{ flex:1; }
.mhh-iconbtn{ position:relative; border:0; background:rgba(255,255,255,.08); color:#fff; width:36px; height:36px;
  border-radius:10px; display:grid; place-items:center; cursor:pointer; }
.mhh-iconbtn svg{ width:20px; height:20px; }
.mhh-iconbtn .n{ position:absolute; top:-4px; right:-4px; background:var(--brand); color:#fff; font-size:10px;
  font-weight:700; min-width:16px; height:16px; border-radius:8px; display:grid; place-items:center; padding:0 4px;
  border:1.5px solid var(--navy); }
.mhh-search{ display:flex; align-items:center; gap:9px; background:#fff; border:1.8px solid var(--brand);
  border-radius:var(--r-pill); padding:6px 6px 6px 14px; }
.mhh-search svg{ width:18px; height:18px; flex:none; color:var(--ink-3); }
.mhh-search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font-family:var(--font-body);
  font-size:14px; font-weight:500; color:var(--ink); }
.mhh-search input::placeholder{ color:var(--ink-3); }
.mhh-search .go{ background:linear-gradient(180deg,var(--brand-bright),var(--brand)); border:0; color:#fff; padding:0;
  width:38px; height:34px; border-radius:var(--r-pill); display:grid; place-items:center; cursor:pointer; flex:none; }
.mhh-search .go svg{ width:18px; height:18px; color:#fff; }

/* department nav — horizontally scrollable */
.mhh-deptnav{ background:#fff; border-bottom:1px solid var(--line); display:flex; align-items:stretch; gap:0; overflow:hidden; }
.mhh-deptnav .all{ flex:none; display:flex; align-items:center; gap:7px; padding:11px 13px; background:var(--brand-soft);
  color:var(--brand-ink); font-weight:700; font-size:13px; border-right:1px solid var(--line); }
.mhh-deptnav .all svg{ width:16px; height:16px; }
.mhh-deptnav .links{ display:flex; gap:2px; overflow-x:auto; padding:0 4px; scrollbar-width:none; }
.mhh-deptnav .links::-webkit-scrollbar{ display:none; }
.mhh-deptnav .links a{ flex:none; display:flex; align-items:center; padding:11px 11px; color:var(--ink-2);
  text-decoration:none; font-size:13.5px; font-weight:600; white-space:nowrap; }
.mhh-deptnav .links a:hover{ color:var(--brand); }

/* trust marquee under the nav */
.mhh-marquee{ background:var(--navy); color:#dfe4f1; overflow:hidden; padding:7px 0; }
.mhh-marquee__track{ display:inline-flex; white-space:nowrap; will-change:transform; animation:mhh-marq 26s linear infinite; }
.mhh-marquee__track > span{ display:inline-flex; align-items:center; gap:9px; font-size:12px; font-weight:600; padding:0 22px; }
.mhh-marquee__track b{ color:#fff; } .mhh-marquee__track .o{ color:var(--brand-bright); }
.mhh-marquee__track .pip{ width:5px; height:5px; border-radius:50%; background:var(--brand); }
@keyframes mhh-marq{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .mhh-marquee__track{ animation:none; } }

/* ---- 1b. Desktop header (shown at 960px and up) — the homepage .dk-* masthead,
   CSS copied VERBATIM from home.css so isolated pages match the homepage + funnel
   byte-for-byte. Keep this block in lockstep with chrome.css §1 desktop. ---- */
.mhh-desktop{ display:none; }
/* full-bleed: each band's content centres in 1240, background bleeds edge-to-edge */
.mhh-desktop > .dk-promo, .mhh-desktop > .dk-bar, .mhh-desktop > .dk-subnav, .mhh-desktop > .dk-hero{
  padding-inline: max(24px, calc(50% - 620px)); }

.dk-promo{ background:linear-gradient(90deg,#fdeadf,#fdf3ee); color:var(--ink); display:flex; align-items:center; gap:12px; padding:9px 22px; font-size:13px; font-weight:600; white-space:nowrap; overflow:hidden; }
.dk-promo>span:nth-of-type(2){ min-width:0; overflow:hidden; text-overflow:ellipsis; }
.dk-promo .spk{ color:var(--brand); display:flex; align-items:center; gap:7px; font-weight:800; }
.dk-promo .spk svg{ width:15px; height:15px; }
.dk-promo b{ color:var(--ink); }
.dk-promo .cta{ margin-left:auto; flex:none; display:flex; align-items:center; gap:8px; background:var(--navy); color:#fff; font-weight:700; padding:6px 16px; border-radius:var(--r-pill); text-decoration:none; white-space:nowrap; }
.dk-promo .cta svg{ width:15px; height:15px; }
.dk-bar{ background:var(--navy); display:flex; align-items:center; gap:26px; padding:15px 22px; }
.dk-bar img{ height:38px; width:auto; }
/* compact inline search — inner/funnel pages only (the homepage uses the big hero search) */
.dk-bar__search{ flex:1; min-width:0; max-width:620px; display:flex; align-items:center; background:#fff; border:2px solid var(--brand); border-radius:var(--r-pill); overflow:hidden; height:42px; }
.dk-bar__search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font-family:var(--font-body); font-size:14px; color:var(--ink); padding:0 16px; height:100%; }
.dk-bar__search input::placeholder{ color:var(--ink-3); }
.dk-bar__search .go{ flex:none; background:linear-gradient(180deg,var(--brand-bright),var(--brand)); border:0; color:#fff; padding:0; width:54px; height:100%; display:grid; place-items:center; cursor:pointer; }
.dk-bar__search .go svg{ width:18px; height:18px; }
.dk-bar .right{ margin-left:auto; display:flex; align-items:center; gap:22px; }
.dk-deliver{ display:flex; flex-direction:column; line-height:1.15; font-size:11.5px; color:#9aa3bd; font-weight:500; }
.dk-deliver b{ color:#fff; font-size:13.5px; font-weight:700; display:flex; align-items:center; gap:6px; margin-top:1px; }
.dk-flag{ width:18px; height:12px; border-radius:2px; background:#006a4e; position:relative; flex:none; }
.dk-flag::after{ content:""; position:absolute; left:42%; top:50%; transform:translate(-50%,-50%); width:7px; height:7px; border-radius:50%; background:#f42a41; }
.dk-lang{ display:flex; align-items:center; gap:7px; color:#fff; font-weight:600; font-size:13.5px; cursor:pointer; }
.dk-lang svg{ width:18px; height:18px; color:#aeb6cb; }
.dk-iconrow{ display:flex; align-items:center; gap:18px; }
.dk-iconrow a{ position:relative; color:#dfe4f1; display:grid; place-items:center; }
.dk-iconrow a svg{ width:23px; height:23px; }
.dk-iconrow a .n{ position:absolute; top:-6px; right:-8px; background:var(--brand); color:#fff; font-size:10px; font-weight:700; min-width:16px; height:16px; border-radius:8px; display:grid; place-items:center; padding:0 4px; border:1.5px solid var(--navy); }
.dk-subnav{ background:#fff; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:22px; padding:11px 22px; font-size:13.5px; white-space:nowrap; overflow:hidden; }
.dk-subnav a{ color:var(--ink-2); text-decoration:none; font-weight:600; display:flex; align-items:center; gap:7px; }
.dk-subnav a svg{ width:16px; height:16px; }
.dk-subnav .allcat{ color:var(--ink); font-weight:700; }
.dk-subnav .right{ margin-left:auto; display:flex; gap:22px; }
.dk-subnav .right a .o{ color:var(--brand); }
.dk-hero{ padding:20px 22px 26px; background:linear-gradient(180deg,#fdf4ee,#fff 65%); }
.dk-tabs{ display:flex; justify-content:center; align-items:center; gap:22px; }
.dk-tabs a{ font-size:23px; font-weight:800; color:var(--ink); text-decoration:none; position:relative; letter-spacing:-.01em; padding-bottom:8px; white-space:nowrap; }
.dk-tabs a.is-active{ color:var(--brand); }
.dk-tabs a.is-active::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--brand); border-radius:3px; }
.dk-tabs .ai .sup{ font-size:11px; color:var(--brand); vertical-align:super; font-weight:800; }
.dk-tabs .sep{ width:1px; height:24px; background:var(--line); }
.dk-bigsearch{ max-width:1040px; margin:18px auto 0; border:2px solid var(--brand); border-radius:22px; padding:15px 20px 13px; background:#fff; box-shadow:0 12px 32px -18px rgba(224,83,15,.45); }
.dk-bigsearch .q{ color:var(--ink-3); font-size:17px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dk-bigsearch input.q{ width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-family:var(--font-body); padding:0; }
.dk-bigsearch input.q::placeholder{ color:var(--ink-3); }
.dk-bigsearch .row{ display:flex; align-items:center; margin-top:14px; }
.dk-bigsearch .img{ display:flex; align-items:center; gap:9px; color:var(--ink-2); font-weight:600; font-size:14.5px; white-space:nowrap; }
.dk-bigsearch .img svg{ width:21px; height:21px; }
.dk-bigsearch .go{ margin-left:auto; display:flex; align-items:center; gap:9px; background:linear-gradient(180deg,var(--brand-bright),var(--brand)); color:#fff; border:0; font-weight:700; font-size:15px; padding:0 30px; height:46px; border-radius:var(--r-pill); cursor:pointer; }
.dk-bigsearch .go svg{ width:18px; height:18px; }

@media (min-width:960px){
  .mhh-mobile{ display:none; }
  .mhh-desktop{ display:block; }
}


/* =========================================================================
   2. SITE FOOTER  (footer-mhsite.php)
   Ported verbatim from the v6 Footer board. Mobile = .ft, desktop = .ftd.
   These class names match the homepage footer (front-page.php uses .ftd) so
   the look is identical site-wide.
   ========================================================================= */

/* ---- 2a. Mobile footer (.ft) ---- */
.ft{ background:var(--navy); color:var(--ft-fg); font-size:14px; display:block; }
.ft a{ color:inherit; text-decoration:none; }

.ft-trust{ background:var(--navy-deep); border-bottom:1px solid var(--ft-line); }
.ft-trust__in{ display:flex; gap:8px; padding:12px 14px; overflow-x:auto; scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.ft-trust__in::-webkit-scrollbar{ display:none; }
.ft-sig{ flex:0 0 auto; scroll-snap-align:start; display:flex; align-items:center; gap:7px; white-space:nowrap;
  padding:6px 11px 6px 7px; border-radius:var(--r-pill); background:rgba(255,255,255,.04); border:1px solid var(--ft-line); }
.ft-sig .ic{ width:24px; height:24px; border-radius:7px; flex:none; display:grid; place-items:center;
  background:color-mix(in srgb,var(--gold) 16%,transparent); color:var(--gold); }
.ft-sig .ic svg{ width:13px; height:13px; }
.ft-sig b{ font-size:11.5px; font-weight:700; color:var(--ft-fg); }

.ft-news{ padding:16px 16px 18px; border-bottom:1px solid var(--ft-line); }
.ft-news h4{ font-family:var(--font-display); font-weight:600; font-size:16px; margin:0 0 3px; color:#fff; }
.ft-news p{ margin:0 0 10px; font-size:12px; color:var(--ft-mut); }
.ft-news form{ display:flex; gap:8px; }
.ft-field{ flex:1; min-width:0; display:flex; align-items:center; gap:8px; background:#fff; border-radius:var(--r-pill);
  padding:0 4px 0 13px; height:42px; border:1px solid transparent; }
.ft-field:focus-within{ border-color:var(--gold); box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 30%,transparent); }
.ft-field svg{ width:16px; height:16px; color:var(--ink-3); flex:none; }
.ft-field input{ flex:1; min-width:0; border:0; outline:0; font-family:var(--font-body); font-size:13.5px; color:var(--ink); background:transparent; height:100%; }
.ft-field input::placeholder{ color:var(--ink-3); }
.ft-sub{ flex:none; border:0; cursor:pointer; background:linear-gradient(180deg,var(--brand-bright),var(--brand)); color:#fff;
  font-family:var(--font-body); font-weight:700; font-size:13px; padding:0 16px; height:42px; border-radius:var(--r-pill);
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.ft-news__ok{ margin:9px 0 0; font-size:11.5px; color:var(--gold); font-weight:600; display:none; align-items:center; gap:6px; }
.ft-news__ok svg{ width:13px; height:13px; }
.ft-news.is-done .ft-news__ok{ display:flex; }

.ft-cols{ border-bottom:1px solid var(--ft-line); }
.ft-col{ border-bottom:1px solid var(--ft-line); }
.ft-col:last-child{ border-bottom:0; }
.ft-col__btn{ width:100%; background:none; border:0; cursor:pointer; color:var(--ft-fg); font-family:var(--font-body);
  display:flex; align-items:center; gap:10px; padding:14px 16px; font-size:13.5px; font-weight:700; text-align:left; }
.ft-col__btn .chev{ margin-left:auto; width:16px; height:16px; color:var(--ft-mut-2); transition:transform .28s cubic-bezier(.45,.02,.18,1); flex:none; }
.ft-col.is-open .ft-col__btn .chev{ transform:rotate(180deg); color:var(--gold); }
.ft-col__panel{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s cubic-bezier(.45,.02,.18,1); }
.ft-col.is-open .ft-col__panel{ grid-template-rows:1fr; }
.ft-col__inner{ overflow:hidden; }
.ft-col__panel ul{ list-style:none; margin:0; padding:0 16px 12px; display:flex; flex-direction:column; gap:0; }
.ft-col__panel a{ display:block; padding:6px 0; font-size:13px; color:var(--ft-mut); font-weight:500; }
.ft-col__panel a:active{ color:#fff; }
.ft-col__panel a .badge{ margin-left:6px; font-size:9px; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  color:var(--gold); border:1px solid color-mix(in srgb,var(--gold) 40%,transparent); padding:1px 5px; border-radius:var(--r-pill); }

.ft-compact{ padding:14px 16px 16px; border-bottom:1px solid var(--ft-line); display:flex; flex-direction:column; gap:14px; }
.ft-charity-line{ display:flex; align-items:center; gap:9px; font-size:12.5px; color:var(--ft-mut); }
.ft-charity-line svg{ width:16px; height:16px; flex:none; color:var(--gold); }
.ft-charity-line b{ color:var(--gold); font-weight:700; }
.ft-marks{ display:flex; flex-wrap:wrap; gap:7px; }
.ft-mark{ height:30px; min-width:40px; padding:0 9px; border-radius:6px; background:#fff; display:inline-flex; align-items:center;
  justify-content:center; gap:4px; white-space:nowrap; font-weight:800; font-size:11px; color:var(--ink); border:1px solid rgba(255,255,255,.5); }
.ft-mark.bk{ color:var(--bkash); font-family:var(--font-display); font-style:italic; letter-spacing:-.02em; font-size:12px; }
.ft-mark.ng{ color:var(--nagad); font-family:var(--font-display); font-size:12px; }
.ft-mark .visa{ background:#1a1f71; color:#fff; font-size:8px; font-weight:800; padding:2px 4px; border-radius:2px; line-height:1; }
.ft-mark .mc{ background:#eb001b; color:#fff; font-size:8px; font-weight:800; padding:2px 4px; border-radius:2px; line-height:1; }
.ft-mark.cod{ background:transparent; color:var(--ft-fg); border:1px solid var(--ft-line); font-size:11px; }
.ft-mark.cod svg{ width:14px; height:14px; }
.ft-contact-row{ display:flex; flex-wrap:wrap; gap:8px 20px; font-size:12px; color:var(--ft-mut); }
.ft-contact-row a{ display:flex; align-items:center; gap:6px; color:var(--ft-fg); font-weight:500; font-size:12.5px; }
.ft-contact-row svg{ width:14px; height:14px; color:var(--gold); flex:none; }
.ft-social{ display:flex; gap:8px; }
.ft-social a{ width:34px; height:34px; border-radius:9px; display:grid; place-items:center; color:var(--ft-fg);
  background:rgba(255,255,255,.06); border:1px solid var(--ft-line); }
.ft-social a svg{ width:16px; height:16px; }

.ft-bottom{ background:var(--navy-deep); padding:14px 16px; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; }
.ft-bottom img{ height:22px; width:auto; }
.ft-bottom .cc{ font-size:11px; color:var(--ft-mut-2); }
.ft-seg{ display:inline-flex; background:rgba(255,255,255,.05); border:1px solid var(--ft-line); border-radius:var(--r-pill); padding:2px; }
.ft-seg button{ border:0; cursor:pointer; background:transparent; color:var(--ft-mut); font-family:var(--font-body); font-weight:600;
  font-size:11px; padding:4px 10px; border-radius:var(--r-pill); white-space:nowrap; }
.ft-seg button.bn{ font-family:var(--font-bn); }
.ft-seg button.on{ background:var(--gold); color:#23200f; }
.ft-legal{ display:flex; flex-wrap:wrap; gap:4px 12px; }
.ft-legal a{ font-size:11px; color:var(--ft-mut-2); font-weight:500; }

/* ---- 2b. Desktop footer (.ftd) ---- */
.ftd{ background:var(--navy); color:var(--ft-fg); font-size:13px; display:none; }
.ftd a{ color:inherit; text-decoration:none; }

.ftd-trust{ background:var(--navy-deep); border-bottom:1px solid var(--ft-line); }
.ftd-trust__in{ max-width:1140px; margin:0 auto; display:flex; align-items:center; justify-content:center; gap:28px; padding:11px 24px; flex-wrap:wrap; }
.ftd-sig{ display:flex; align-items:center; gap:8px; white-space:nowrap; }
.ftd-sig .ic{ width:22px; height:22px; flex:none; display:grid; place-items:center; color:var(--gold); }
.ftd-sig .ic svg{ width:16px; height:16px; }
.ftd-sig b{ font-size:12px; font-weight:700; color:var(--ft-fg); }
.ftd-sig span{ font-size:11px; color:var(--ft-mut-2); margin-left:2px; }

.ftd-main{ max-width:1140px; margin:0 auto; padding:32px 24px 28px; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:32px; }
.ftd-brandcol{ display:flex; flex-direction:column; gap:12px; }
.ftd-brandcol img{ height:30px; width:auto; align-self:flex-start; }
.ftd-brandcol .blurb{ font-size:12.5px; color:var(--ft-mut); max-width:30ch; line-height:1.5; }
.ftd-news{ margin-top:4px; }
.ftd-news p{ margin:0 0 8px; font-size:11.5px; color:var(--ft-mut-2); }
.ftd-news form{ display:flex; gap:6px; max-width:300px; }
.ftd-news .ft-field{ height:38px; font-size:12.5px; padding:0 4px 0 11px; }
.ftd-news .ft-field input{ font-size:12.5px; }
.ftd-news .ft-sub{ height:38px; padding:0 14px; font-size:12px; }
.ftd-news .ft-news__ok{ margin-top:8px; font-size:11px; }
.ftd-news.is-done .ft-news__ok{ display:flex; }

.ftd-col h5{ margin:0 0 12px; font-weight:700; font-size:12.5px; color:#fff; letter-spacing:.01em; }
.ftd-col h5 .badge{ font-size:8.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--gold);
  border:1px solid color-mix(in srgb,var(--gold) 40%,transparent); padding:1px 5px; border-radius:var(--r-pill); margin-left:5px; }
.ftd-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.ftd-col a{ font-size:12.5px; color:var(--ft-mut); font-weight:500; }
.ftd-col a:hover{ color:#fff; }

.ftd-bottom{ background:var(--navy-deep); border-top:1px solid var(--ft-line); }
.ftd-bottom__in{ max-width:1140px; margin:0 auto; padding:14px 24px; display:flex; align-items:center; gap:14px 20px; flex-wrap:wrap; }
.ftd-charity-line{ display:flex; align-items:center; gap:7px; font-size:11.5px; color:var(--ft-mut); }
.ftd-charity-line svg{ width:15px; height:15px; flex:none; color:var(--gold); }
.ftd-charity-line b{ color:var(--gold); font-weight:700; }
.ftd-sep{ width:1px; height:18px; background:var(--ft-line); flex:none; }
.ftd-marks{ display:flex; align-items:center; gap:7px; }
.ftd-marks .ft-mark{ height:26px; min-width:36px; padding:0 8px; border-radius:5px; font-size:10px; }
.ftd-marks .ft-mark.bk{ font-size:11px; } .ftd-marks .ft-mark.ng{ font-size:11px; }
.ftd-marks .ft-mark .visa,.ftd-marks .ft-mark .mc{ font-size:7.5px; padding:1px 3px; }
.ftd-marks .ft-mark.cod{ font-size:10px; }
.ftd-marks .ft-mark.cod svg{ width:13px; height:13px; }
.ftd-right{ margin-left:auto; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.ftd-social{ display:flex; gap:6px; }
.ftd-social a{ width:28px; height:28px; border-radius:7px; display:grid; place-items:center; color:var(--ft-mut);
  background:rgba(255,255,255,.05); border:1px solid var(--ft-line); }
.ftd-social a:hover{ color:#fff; }
.ftd-social a svg{ width:14px; height:14px; }
.ftd-legal{ display:flex; gap:12px; }
.ftd-legal a{ font-size:11px; color:var(--ft-mut-2); font-weight:500; }
.ftd-legal a:hover{ color:#fff; }

/* full-bleed: navy-deep must reach both page edges like .ftd-bottom above it, or
   the parent .ftd navy shows through at the bottom corners (the "holes" bug). The
   short copyright line stays centred via text-align, so no inner wrap is needed. */
.ftd-copy{ padding:10px 24px; text-align:center; font-size:11px; color:var(--ft-mut-2);
  background:var(--navy-deep); border-top:1px solid color-mix(in srgb,var(--ft-line) 50%,transparent); }
.ftd-copy b{ color:var(--ft-mut); font-weight:600; }

/* footer mobile/desktop switch */
@media (min-width:960px){
  .ft{ display:none; }
  .ftd{ display:block; }
}
@media (prefers-reduced-motion: reduce){ .ft-col__panel,.ft-col__btn .chev{ transition:none; } }


/* =========================================================================
   3. INNER-PAGE COMPONENT PRIMITIVES  (from v6 app-screens.css)
   :root{} and .cat-* blocks from the source were STRIPPED — see tokens.css.
   ========================================================================= */

/* currency glyph — the ৳ sign rides a touch smaller/lighter than the number */
.glyph{ font-weight:600; font-size:.82em; margin-right:1px; }

/* buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-family:var(--font-body); font-weight:700;
  font-size:15px; padding:13px 20px; border-radius:var(--r-pill); border:0; cursor:pointer; text-decoration:none; white-space:nowrap;
  transition:transform .12s ease, background .15s ease; }
.btn svg{ width:16px; height:16px; flex:none; }
.btn--lg svg{ width:18px; height:18px; }
.btn--sm svg{ width:14px; height:14px; }
.btn--primary{ background:linear-gradient(180deg,var(--brand-bright),var(--brand)); color:#fff; box-shadow:0 6px 16px -6px rgba(224,83,15,.55); }
.btn--primary:active{ transform:translateY(1px); }
.btn--ghost{ background:transparent; color:var(--ink); border:1.5px solid var(--line); }
.btn--ghost:hover{ background:var(--line-2); }
.btn--dark{ background:var(--navy); color:#fff; }
.btn--full{ width:100%; }
.btn--lg{ padding:15px 24px; font-size:16px; }
.btn--sm{ padding:9px 14px; font-size:13px; }
.btn:focus-visible{ outline:0; box-shadow:0 0 0 3px var(--brand-soft); }

/* status chips */
.chip{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; letter-spacing:.02em;
  padding:3px 9px; border-radius:var(--r-pill); text-transform:uppercase; }
.chip--brand{ background:var(--brand-soft); color:var(--brand-ink); }
.chip--trust{ background:var(--trust-soft); color:var(--trust); }
.chip--green{ background:var(--green-soft); color:var(--green); }
.chip--red{ background:var(--red-soft); color:var(--red); }
.chip--ink{ background:var(--line-2); color:var(--ink-2); }
.chip--gold{ background:#fdf2dc; color:#7e5807; }

/* form fields */
.field{ display:block; margin:0 0 14px; }
.field label{ display:block; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-2); margin-bottom:7px; }
.field .hint{ font-size:12px; color:var(--ink-3); margin-top:5px; font-weight:500; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password],
.field input[type=number], .field select, .field textarea{
  width:100%; font-family:var(--font-body); font-size:15px; color:var(--ink); padding:13px 14px; border:1.5px solid var(--line);
  border-radius:var(--r-md); background:#fff; outline:0; transition:border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.field.is-invalid input, .field.is-invalid select{ border-color:var(--red); }
.field.is-invalid .err{ display:flex; align-items:center; gap:6px; color:var(--red); font-size:12.5px; font-weight:600; margin-top:6px; }
.err svg{ width:14px; height:14px; flex:none; }

/* card + alerts */
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-md); padding:18px; }
.card + .card{ margin-top:13px; }
.card h3{ font-family:var(--font-display); font-weight:700; font-size:17px; margin:0 0 11px; }
.card h3:lang(bn){ line-height:1.35; }
.alert{ display:flex; align-items:flex-start; gap:9px; background:var(--red-soft); border:1px solid #f5c5c5; padding:11px 13px;
  border-radius:var(--r-md); color:#7a1010; font-size:13px; line-height:1.45; }
.alert.is-warn{ background:#fdf2dc; border-color:#ecc88c; color:#7e5807; }
.alert.is-ok{ background:var(--green-soft); border-color:#bde0cd; color:#0c3a27; }
.alert svg{ width:18px; height:18px; flex:none; margin-top:1px; }
.alert b{ font-weight:700; }

/* link */
.lnk{ color:var(--brand-ink); font-weight:700; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.lnk:hover{ color:var(--brand); }


/* =========================================================================
   4. ERROR / 404 PAGE  (404.php) — from v6 PASS 7 §28
   ========================================================================= */
.err-screen{ background:var(--app-bg); display:flex; flex-direction:column; }
.err-hero{ flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center;
  padding:48px 22px 56px; background:linear-gradient(180deg,#fff 0%,var(--paper) 100%); }
.err-num{ font-family:var(--font-display); font-weight:700; font-size:96px; line-height:1; letter-spacing:-.04em; color:var(--brand); position:relative; }
.err-num em{ font-style:italic; color:var(--ink); font-weight:600; }
.err-num .deco{ position:absolute; right:-26px; top:-12px; width:30px; height:30px; border-radius:50%; background:var(--brand-soft);
  display:grid; place-items:center; color:var(--brand); }
.err-num .deco svg{ width:16px; height:16px; }
.err-hero h1{ font-family:var(--font-display); font-weight:700; font-size:24px; margin:14px 0 8px; line-height:1.15; max-width:18ch; letter-spacing:-.01em; }
.err-hero h1:lang(bn){ font-family:"Noto Serif Bengali",var(--font-display); }
.err-hero .err-sub{ font-family:var(--font-body); font-size:13px; color:var(--ink-3); margin:-4px 0 14px; }
.err-hero p{ font-size:14px; color:var(--ink-2); margin:0 0 18px; max-width:34ch; line-height:1.55; }
.err-hero p:lang(bn){ font-family:"Noto Sans Bengali",var(--font-body); }
.err-search{ width:100%; max-width:340px; height:46px; background:#fff; border:1.5px solid var(--line); border-radius:var(--r-pill);
  display:flex; align-items:center; padding:0 6px 0 14px; gap:8px; margin-bottom:22px; }
.err-search svg{ width:16px; height:16px; color:var(--ink-3); flex:none; }
.err-search input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font-family:var(--font-body); font-size:14px; color:var(--ink); }
.err-search input::placeholder{ color:var(--ink-3); }
.err-search .go{ flex:none; background:linear-gradient(180deg,var(--brand-bright),var(--brand)); border:0; color:#fff; width:36px; height:36px;
  border-radius:var(--r-pill); display:grid; place-items:center; cursor:pointer; }
.err-search .go svg{ width:16px; height:16px; color:#fff; }
.err-catlabel{ font-size:11px; font-weight:800; letter-spacing:.08em; color:var(--ink-3); text-transform:uppercase; margin-bottom:10px; }
.err-cats{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-bottom:24px; max-width:420px; }
.err-cats a{ font-size:12px; font-weight:700; padding:7px 14px; background:var(--accent-soft,var(--brand-soft));
  color:var(--accent-ink,var(--brand-ink)); border-radius:var(--r-pill); text-decoration:none; }
.err-actbar{ display:flex; gap:9px; flex-wrap:wrap; justify-content:center; }

/* the recurring brand "moon" + orbit rings */
.err-illo{ position:relative; width:160px; height:160px; margin:0 auto 14px; display:grid; place-items:center; }
.err-illo .ring{ position:absolute; inset:0; border-radius:50%; border:1.5px dashed var(--line); }
.err-illo .ring2{ position:absolute; inset:24px; border-radius:50%; border:1.5px dashed var(--brand-soft); }
.err-illo .moon{ width:72px; height:72px; border-radius:50%; background:linear-gradient(135deg,var(--brand-bright),var(--brand));
  box-shadow:0 8px 24px -6px rgba(224,83,15,.55); position:relative; }
.err-illo .moon::after{ content:""; position:absolute; right:9px; top:8px; width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-soft) 100%); opacity:.4; }

/* desktop 404 — two columns, the moon gets a stage */
@media (min-width:960px){
  .err-hero{ flex-direction:row; align-items:center; justify-content:center; gap:60px; text-align:left;
    padding:72px clamp(24px,5vw,48px); }
  .err-hero__copy{ max-width:46ch; display:flex; flex-direction:column; align-items:flex-start; }
  .err-hero__copy .err-num{ font-size:120px; }
  .err-hero__copy .err-cats,.err-hero__copy .err-actbar{ justify-content:flex-start; }
  .err-hero__copy h1{ font-size:46px; max-width:none; }
  .err-illo{ width:300px; height:300px; margin:0; flex:none; }
  .err-illo .ring2{ inset:48px; }
  .err-illo .moon{ width:150px; height:150px; }
  .err-illo .moon::after{ right:18px; top:16px; width:100px; height:100px; }
}

/* =========================================================================
   PLUGIN CHROME SUPPRESSION (inner pages)
   These pages strip the plugins' own CSS for a clean canvas, but some plugins
   still inject footer markup (modern-cart slide-out, power-coupons drawer, mega
   menu, wishlist / quick-view popups). The mhsite header already provides cart
   and menu, so hide the leaked chrome. inner.css loads ONLY on mhsite pages, so
   this never touches the real shop / cart / account where those plugins belong.
   ========================================================================= */
[class*="power-coupons"], [id*="power-coupons"],
[class*="moderncart"], [id*="moderncart"],
[class*="modern-cart"], [id*="modern-cart"],
.max-mega-menu, #mega-menu-wrap,
.ti-wishlist-popup, .woosq-popup{ display:none !important; }
