/* ==== css/mall-theme.css ==== */
/* ══════════════════════════════════════════════════════════════
   Mall Services — Theme layer (نهاري / ليلي)
   Loaded AFTER tailwind.css + dark-mode.css (app) and after each static
   page's inline <style>. Palette is taken from the logo:
   navy #0E1A33 · teal #0F766E/#14B8A6 · gold #B8935A/#E0B872 · cream #F4EEE1
   Light = html (default) · Dark = html.dark (toggled by #themeToggle / theme.js)
   ══════════════════════════════════════════════════════════════ */
:root{
  --m-bg:#FBF8F2;--m-bg2:#F4EEE1;--m-surface:#FFFFFF;--m-surface2:#F7F1E4;--m-surface3:#EDE4D0;
  --m-ink:#0E1A33;--m-mute:#586179;--m-mute2:#8A91A3;--m-rule:rgba(14,26,51,.12);
  --m-navy:#0E1A33;--m-navy2:#16254A;--m-cream:#F4EEE1;
  --m-teal:#0F766E;--m-teal2:#14B8A6;--m-gold:#B8935A;--m-cta:#E0B872;--m-on-cta:#0E1A33;
  --m-glass:rgba(251,248,242,.84);--m-shadow:0 24px 60px -30px rgba(14,26,51,.28);
  --m-font:'Readex Pro','IBM Plex Sans Arabic','IBM Plex Sans',system-ui,sans-serif;
  /* static pages' own variables → our palette */
  --brand:var(--m-teal);--brand-dark:#115E59;--brand-light:rgba(20,184,166,.12);--accent:var(--m-teal);
  --text:var(--m-ink);--muted:var(--m-mute);--border:var(--m-rule);--bg:var(--m-bg);
}
html.dark{
  --m-bg:#0E1A33;--m-bg2:#0A1329;--m-surface:#16254A;--m-surface2:#1B2D58;--m-surface3:#223665;
  --m-ink:#F4EEE1;--m-mute:#9AA6BF;--m-mute2:#7480A0;--m-rule:rgba(244,238,225,.14);
  --m-teal:#14B8A6;--m-gold:#E0B872;
  --m-glass:rgba(14,26,51,.84);--m-shadow:0 28px 64px -30px rgba(0,0,0,.75);
  --brand-dark:#5EEAD4;
}
html{color-scheme:light}html.dark{color-scheme:dark}

/* ───────── Base / typography ───────── */
body,button,input,select,textarea,.font-sans,.font-display,.tab-btn{font-family:var(--m-font)}
html body{background:var(--m-bg);color:var(--m-ink);transition:background-color .3s,color .3s}
h1,h2,h3,.font-black{letter-spacing:0}
::selection{background:var(--m-cta);color:#0E1A33}
::-webkit-scrollbar-track{background:var(--m-bg2)}
::-webkit-scrollbar-thumb{background:linear-gradient(135deg,var(--m-gold),var(--m-teal))}

/* ───────── Tailwind semantic tokens → palette (both modes) ───────── */
html:not(.m0) .bg-white{background-color:var(--m-surface)!important}
html:not(.m0) [class~="bg-white/95"],html:not(.m0) [class~="bg-white/90"],html:not(.m0) [class~="bg-white/80"]{background-color:var(--m-glass)!important}
html:not(.m0) .bg-surfacecanvas{background-color:var(--m-bg)!important}html:not(.m0) .bg-gray-50,html:not(.m0) .bg-navy-50{background-color:var(--m-surface2)!important}html:not(.m0) .bg-gray-100,html:not(.m0) .bg-navy-100{background-color:var(--m-surface3)!important}html:not(.m0) .text-textprimary,html:not(.m0) .text-navy-900,html:not(.m0) .text-navy-800,html:not(.m0) .text-gray-900,html:not(.m0) .text-gray-800{color:var(--m-ink)!important}html:not(.m0) .text-textsecondary,html:not(.m0) .text-navy-700,html:not(.m0) .text-navy-600,html:not(.m0) .text-navy-500,html:not(.m0) .text-gray-700,html:not(.m0) .text-gray-600,html:not(.m0) .text-gray-500{color:var(--m-mute)!important}html:not(.m0) .text-textmuted,html:not(.m0) .text-navy-400,html:not(.m0) .text-navy-300,html:not(.m0) .text-gray-400{color:var(--m-mute2)!important}html:not(.m0) .border-borderline,html:not(.m0) .border-gray-100,html:not(.m0) .border-gray-200,html:not(.m0) .border-navy-50,html:not(.m0) .border-navy-100,html:not(.m0) .border-navy-200{border-color:var(--m-rule)!important}html:not(.m0) .divide-gray-50>*+*,html:not(.m0) .divide-gray-100>*+*{border-color:var(--m-rule)!important}html:not(.m0) .bg-secondary{background-color:var(--m-cta)!important;color:var(--m-on-cta)!important}html:not(.m0) .hover\:bg-secondary-600:hover,html:not(.m0) .hover\:bg-secondary:hover{background-color:#D4A85C!important}html:not(.m0) .text-secondary{color:var(--m-teal)!important}html:not(.m0) [class~="bg-secondary/10"]{background-color:rgba(224,184,114,.18)!important}html:not(.m0) .bg-turquoise-50,html:not(.m0) .bg-teal-50{background-color:rgba(20,184,166,.12)!important}html:not(.m0) .bg-turquoise-100{background-color:rgba(20,184,166,.2)!important}html:not(.m0) .text-turquoise-600,html:not(.m0) .text-turquoise-700,html:not(.m0) .text-turquoise-500{color:var(--m-teal)!important}html:not(.m0) .bg-turquoise-500{background-color:#0F766E!important;color:#fff!important}html:not(.m0) .bg-turquoise-500:hover{background-color:#115E59!important}html:not(.m0) .bg-navy-900,html:not(.m0) .bg-navy-800{background-color:var(--m-navy)!important}html.dark:not(.m0) .bg-navy-900,html.dark:not(.m0) .bg-navy-800{background-color:var(--m-navy2)!important;box-shadow:inset 0 0 0 1px var(--m-rule)!important}html:not(.m0) .text-amber-500,html:not(.m0) .text-yellow-400{color:var(--m-gold)!important}html:not(.m0) .rounded-2xl{border-radius:20px!important}html:not(.m0) .rounded-3xl{border-radius:28px!important}html:not(.m0) .rounded-xl{border-radius:14px!important}

/* ───────── Components from index.html inline <style> ───────── */
html .btn-primary{background:var(--m-cta);color:var(--m-on-cta);border-radius:12px;font-weight:700;box-shadow:0 8px 22px -12px rgba(184,147,90,.8)}html:not(.m0) .btn-primary:hover{background:#D4A85C!important;box-shadow:0 12px 28px -12px rgba(184,147,90,.9)!important;transform:translateY(-2px)!important}html:not(.m0) .btn-secondary{background:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-rule)!important;border-radius:12px!important}html:not(.m0) .btn-secondary:hover{background:var(--m-surface2)!important;border-color:var(--m-gold)!important}html:not(.m0) .form-input,html:not(.m0) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html:not(.m0) select,html:not(.m0) textarea{background-color:var(--m-surface)!important;color:var(--m-ink)!important;border-color:var(--m-rule)!important}html:not(.m0) .form-input{border-radius:12px!important}html:not(.m0) .form-input:focus,html:not(.m0) input:focus,html:not(.m0) select:focus,html:not(.m0) textarea:focus{border-color:var(--m-teal)!important;box-shadow:0 0 0 3px rgba(20,184,166,.18)!important;outline:none!important}html:not(.m0) input::placeholder,html:not(.m0) textarea::placeholder{color:var(--m-mute2)!important}html:not(.m0) .card{background:var(--m-surface)!important;border:1px solid var(--m-rule)!important;border-radius:20px!important}html:not(.m0) .card:hover{transform:translateY(-6px)!important;box-shadow:var(--m-shadow)!important}html:not(.m0) .glass{background:var(--m-glass)!important;border-color:var(--m-rule)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}html:not(.m0) .modal-content,html:not(.m0) .dropdown{background:var(--m-surface)!important;color:var(--m-ink)!important;border:1px solid var(--m-rule)!important;border-radius:20px!important}html:not(.m0) .dropdown a,html:not(.m0) .dropdown button{color:var(--m-ink)!important}html:not(.m0) .dropdown a:hover,html:not(.m0) .dropdown button:hover{background:var(--m-surface2)!important;color:var(--m-teal)!important}html:not(.m0) .toast{background:var(--m-navy2)!important;color:var(--m-cream)!important;border:1px solid var(--m-rule)!important}html:not(.m0) .toast.success{background:#0F766E!important;color:#fff!important}html:not(.m0) .tab-btn{color:var(--m-mute)!important}html:not(.m0) .tab-btn.active{color:var(--m-ink)!important;border-bottom-color:var(--m-gold)!important}html:not(.m0) .gradient-text{background:linear-gradient(135deg,var(--m-ink),var(--m-teal))!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}html:not(.m0) .chat-bubble.sent{background:var(--m-navy)!important;color:#fff!important}html.dark:not(.m0) .chat-bubble.sent{background:#0F766E!important}html:not(.m0) .chat-bubble.received{background:var(--m-surface2)!important;color:var(--m-ink)!important}html:not(.m0) .skeleton{background:linear-gradient(90deg,var(--m-surface2) 25%,var(--m-surface3) 50%,var(--m-surface2) 75%)!important;background-size:200% 100%!important}html:not(.m0) .admin-pill-tab:hover{background:var(--m-surface2)!important;color:var(--m-ink)!important}html:not(.m0) .admin-pill-tab.active{background:var(--m-navy)!important;color:#fff!important}html.dark:not(.m0) .admin-pill-tab.active{background:var(--m-teal)!important;color:#0E1A33!important}html.dark:not(.m0) .status-pending{background:rgba(245,158,11,.15)!important;color:#FCD34D!important;border-color:rgba(245,158,11,.3)!important}html.dark:not(.m0) .status-in-progress{background:rgba(59,130,246,.15)!important;color:#93C5FD!important;border-color:rgba(59,130,246,.3)!important}html.dark:not(.m0) .status-delivered{background:rgba(20,184,166,.15)!important;color:#5EEAD4!important;border-color:rgba(20,184,166,.3)!important}html.dark:not(.m0) .status-cancelled{background:rgba(239,68,68,.15)!important;color:#FCA5A5!important;border-color:rgba(239,68,68,.3)!important}html.dark:not(.m0) .status-review{background:rgba(129,140,248,.15)!important;color:#C7D2FE!important;border-color:rgba(129,140,248,.3)!important}

/* ───────── Navbar ───────── */
html .nav-link{border-radius:999px}
html .nav-link:hover{background:var(--m-surface2)}
html .nav-link::after{background:linear-gradient(135deg,var(--m-gold),var(--m-teal))!important}
.m-logo{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:3px;background:linear-gradient(170deg,#FFFDF8,#EADFC8);box-shadow:0 0 0 1.5px rgba(184,147,90,.5),0 6px 18px -8px rgba(184,147,90,.7);flex-shrink:0}
.m-logo img{width:100%;height:100%;object-fit:contain}
#themeToggle{border:1px solid var(--m-rule);border-radius:999px!important;width:44px;height:44px;color:var(--m-gold)}
#themeToggle:hover{background:var(--m-surface2)}
#themeToggle i{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
#themeToggle:active i{transform:rotate(180deg) scale(.8)}
html .bg-navy-900.text-white{background:var(--m-navy);color:var(--m-cream)}
html.dark #heroTabServices{background:var(--m-gold);color:#0E1A33}

/* ───────── Hero (home) ───────── */
.m-hero{position:relative;border-radius:32px;border:1px solid var(--m-rule);background:linear-gradient(160deg,#FFFDF8 0%,var(--m-bg2) 100%);box-shadow:var(--m-shadow)}
html.dark .m-hero{background:linear-gradient(160deg,var(--m-navy2) 0%,var(--m-navy) 100%)}
.m-hero #heroTabGroup,.m-hero .bg-gray-50{background:var(--m-surface2)}
.m-hero h1{font-size:clamp(2.2rem,5vw,3.9rem);line-height:1.25;font-weight:700}
.m-hero .m-deco{position:absolute;top:-4%;inset-inline-end:-6%;width:62%;height:108%;z-index:0;pointer-events:none}
.m-deco path{fill:none;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:mDraw 2.2s ease forwards}
.m-deco path:nth-child(2){animation-delay:.25s}.m-deco path:nth-child(3){animation-delay:.5s}
@keyframes mDraw{to{stroke-dashoffset:0}}
.m-vis{position:relative;height:min(520px,64vh);z-index:1}
.m-win{position:absolute;top:14px;inset-inline-end:0;width:min(100%,460px);background:#fff;color:#0E1A33;border-radius:18px;overflow:hidden;font-size:12px;line-height:1.5;border:1px solid rgba(255,255,255,.6);box-shadow:0 40px 90px -34px rgba(14,26,51,.55),0 0 80px -24px rgba(20,184,166,.4);animation:mIn .9s .2s both cubic-bezier(.2,.8,.2,1),mFloat 5s 1.2s ease-in-out infinite}
.m-wb{display:flex;gap:6px;align-items:center;padding:10px 12px;background:#ECEFF4}.m-wb i{width:9px;height:9px;border-radius:50%;background:#C9CFDB}
.m-wb span{margin-inline-start:10px;flex:1;background:#fff;border-radius:6px;padding:2px 10px;color:#7C869B;font-size:10.5px;direction:ltr;text-align:left}
.m-sh{padding:14px}.m-sh-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:700}
.m-sh-h b{display:flex;gap:7px;align-items:center}.m-sh-h img{width:24px;height:24px;border-radius:50%;padding:2px;background:linear-gradient(170deg,#FFFDF8,#EADFC8);box-shadow:0 0 0 1.5px rgba(184,147,90,.5);object-fit:contain}
.m-ct{background:#0E1A33;color:#fff;border-radius:8px;padding:2px 9px;font-size:11px}
.m-ban{position:relative;overflow:hidden;border-radius:12px;padding:14px 16px;background:linear-gradient(120deg,#0F766E,#0E1A33);color:#fff;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.m-ban span{background:#E0B872;color:#0E1A33;border-radius:8px;padding:2px 10px;font-weight:700}
.m-ban::after{content:"";position:absolute;top:0;bottom:0;width:35%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);animation:mShine 5s 2.5s ease-in-out infinite}
@keyframes mShine{0%{transform:translateX(-160%) skewX(-20deg)}55%,100%{transform:translateX(420%) skewX(-20deg)}}
.m-gd{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.m-pd{border:1px solid #E6E9F0;border-radius:10px;overflow:hidden;background:#fff}
.m-th{display:grid;place-items:center;height:70px;background:linear-gradient(145deg,var(--a),var(--b))}
.m-th svg{width:32px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.m-pi{padding:7px 8px}.m-pi b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-pi span{color:#0F766E;font-weight:700}
.m-phone{position:absolute;bottom:0;inset-inline-start:0;z-index:3;width:172px;height:320px;background:#fff;color:#0E1A33;border-radius:30px;border:6px solid #1D2B52;overflow:hidden;font-size:12px;padding:16px 14px;box-shadow:0 40px 80px -28px rgba(14,26,51,.6),0 0 60px -18px rgba(224,184,114,.45);animation:mIn .9s .5s both cubic-bezier(.2,.8,.2,1),mFloat 6s 1.4s ease-in-out infinite}
.m-phone .m-pt{display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700;margin-bottom:12px}
.m-prow{display:flex;gap:8px;align-items:center;margin-bottom:10px}.m-prow .m-th{width:46px;height:46px;border-radius:10px;flex:none}.m-prow .m-th svg{width:22px}.m-prow small{color:#7C869B;display:block}
.m-esc{display:flex;gap:6px;align-items:center;background:#E7F7F4;color:#0F766E;border-radius:10px;padding:7px 9px;font-weight:600;font-size:11px;margin:12px 0}.m-esc svg{width:18px;flex:none;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.m-pay{display:block;width:100%;background:#0E1A33;color:#fff;border-radius:10px;padding:9px;font-weight:700;text-align:center}
.m-toast{position:absolute;top:0;inset-inline-start:6%;z-index:4;background:#F4EEE1;color:#0E1A33;border-radius:14px;padding:10px 14px;display:flex;gap:10px;align-items:center;box-shadow:0 20px 40px -18px rgba(14,26,51,.6);font-size:12.5px;font-weight:600;width:max-content;max-width:260px;animation:mIn .8s 1s both cubic-bezier(.2,.8,.2,1),mFloat 5.5s 2s ease-in-out infinite}
.m-toast i{width:30px;height:30px;border-radius:50%;background:#14B8A6;display:grid;place-items:center;flex:none}.m-toast i svg{width:16px;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.m-toast small{display:block;color:#5F6B7A;font-weight:400}
.m-badge{position:absolute;z-index:5;top:-22px;inset-inline-end:-2%;width:clamp(88px,9vw,122px);aspect-ratio:1;animation:mPop 1.2s .9s both cubic-bezier(.2,1.4,.3,1)}
.m-badge-in{position:absolute;inset:11%;border-radius:50%;background:linear-gradient(170deg,#FFFDF8,#EADFC8);box-shadow:0 18px 50px -10px rgba(224,184,114,.7),inset 0 0 0 3px rgba(184,147,90,.28);display:grid;place-items:center;overflow:hidden}
.m-badge-in img{width:88%;margin-top:3%}
.m-ring{position:absolute;inset:0;width:100%;height:100%;animation:mSpin 22s linear infinite}
.m-pulse{position:absolute;inset:11%;border-radius:50%;border:2px solid rgba(224,184,114,.75);animation:mPulse 2.4s 2s ease-out infinite}
@keyframes mIn{from{opacity:0;transform:translateY(40px) scale(.97)}to{opacity:1;transform:none}}
@keyframes mFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}
@keyframes mPop{from{opacity:0;transform:scale(0) rotate(-160deg)}to{opacity:1;transform:none}}
@keyframes mSpin{to{transform:rotate(360deg)}}
@keyframes mPulse{from{transform:scale(1);opacity:.7}to{transform:scale(1.65);opacity:0}}
/* ticker */
.m-tick{overflow:hidden;direction:ltr;border-block:1px solid var(--m-rule);background:var(--m-surface2);padding:16px 0;margin:30px 0 56px}
.m-tick div{display:flex;width:max-content;white-space:nowrap;direction:rtl;font-weight:500;font-size:1.1rem;color:var(--m-ink);animation:mTick 42s linear infinite}
.m-tick span{padding-inline:26px}.m-tick b{color:var(--m-gold);font-size:.7em}
.m-tick:hover div{animation-play-state:paused}
@keyframes mTick{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(max-width:767px){.m-hero{border-radius:24px}}
/* scroll reveal (js/mall-ui.js) */
.m-rv{opacity:0;transform:translateY(34px);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)}
.m-rv.m-in{opacity:1;transform:none}
/* dark bands: newsletter + footer (navy in both modes, logo-style cream/gold accents) */
.m-band{background:linear-gradient(135deg,#16254A,#0E1A33)!important;color:var(--m-cream)}
.m-band input{background:#fff!important;color:#0E1A33!important}
.m-band button.bg-white{background:var(--m-cta)!important;color:#0E1A33!important}
.m-footer{background:#08122A!important;color:#9AA6BF;border-top:1px solid rgba(244,238,225,.08)}
.m-footer .text-white{color:var(--m-cream)!important}
.m-footer .m-flogo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.m-footer .m-flogo .m-logo{width:44px;height:44px}
.m-footer a:hover{color:var(--m-cta)!important}
/* hardcoded dark strips in index.html (blog section chips etc.) */
html.dark .bg-purple-100{background:rgba(168,85,247,.22)}
@media(prefers-reduced-motion:reduce){.m-win,.m-phone,.m-toast,.m-badge,.m-ring,.m-pulse,.m-tick div,.m-deco path{animation:none!important;stroke-dashoffset:0}.m-rv{opacity:1;transform:none;transition:none}}

/* ══════════ Static pages (about, contact, blog, articles, legal, 404) ══════════ */
.nav{background:var(--m-glass)!important;border-bottom:1px solid var(--m-rule)!important}
.nav-logo{color:var(--m-ink)!important}
.nav-logo img{background:linear-gradient(170deg,#FFFDF8,#EADFC8);border-radius:50%!important;padding:3px;box-shadow:0 0 0 1.5px rgba(184,147,90,.5);object-fit:contain}
.nav-links a{color:var(--m-mute)!important}
.nav-links a:hover,.nav-links a.active{background:var(--m-surface2)!important;color:var(--m-gold)!important}
.nav-cta{background:var(--m-cta)!important;color:var(--m-on-cta)!important;border-radius:12px!important}
.nav-cta:hover{background:#D4A85C!important}
.breadcrumb,.breadcrumb a{color:var(--m-mute)}.breadcrumb a{color:var(--m-teal)}
.about-hero,.blog-hero,.article-hero,.contact-hero,.page-hero,.hero{background:linear-gradient(150deg,#16254A 0%,#0E1A33 70%)!important;color:var(--m-cream)}
.about-hero p,.blog-hero p{color:rgba(244,238,225,.8)!important}
.gradient-text{background:linear-gradient(90deg,#E0B872,#14B8A6)!important;-webkit-background-clip:text!important;background-clip:text!important}
.ms-bottom-nav{background:var(--m-glass)!important;border-top-color:var(--m-rule)!important}
.ms-bottom-nav a{color:var(--m-mute)!important}.ms-bottom-nav a.active{color:var(--m-gold)!important}
footer[style]{background:#08122A!important;color:#9AA6BF!important}
footer[style] a{color:#9AA6BF}footer[style] a:hover{color:var(--m-cta)}
body{background:var(--m-bg);color:var(--m-ink)}
.m-tg{width:42px;height:42px;border-radius:50%;border:1px solid var(--m-rule);background:transparent;color:var(--m-gold);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;margin-inline-end:8px;flex-shrink:0;transition:background .2s}
.m-tg:hover{background:var(--m-surface2)}
.m-tg .s{display:none}html.dark .m-tg .s{display:inline}html.dark .m-tg .m{display:none}
.m-tgwrap{display:flex;align-items:center}

/* ───────── fixes after first render test ───────── */
html:not(.m0) #heroTabGroup .bg-navy-900{background-color:var(--m-gold)!important;color:#0E1A33!important;box-shadow:none!important}
html:not(.m0) #heroTabGroup button:not(.bg-navy-900){color:var(--m-mute)!important}
html:not(.m0) .bg-navy-900.text-white,html:not(.m0) .bg-navy-800.text-white{color:var(--m-cream)!important}
.nav-link,#guestButtons button,#langToggle,#currencyToggle{white-space:nowrap}
html,body{overflow-x:clip}
html:not(.m0) .m-band input{background-color:#fff!important;color:#0E1A33!important;border-color:transparent!important}
html:not(.m0) .blog-hero .gradient-text,html:not(.m0) .about-hero .gradient-text,html:not(.m0) .article-hero .gradient-text{background:linear-gradient(90deg,#E0B872,#14B8A6)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}

/* ───────── Hero: logo-only visual (window/phone/toast removed) ───────── */
.m-vis{display:grid;place-items:center}
.m-badge{--bs:clamp(210px,25vw,340px);position:relative;top:auto;inset:auto;width:var(--bs);height:var(--bs);aspect-ratio:auto}
.m-badge::before{content:"";position:absolute;inset:-22%;border-radius:50%;background:radial-gradient(closest-side,rgba(224,184,114,.30),rgba(20,184,166,.10) 60%,transparent 72%);z-index:-1}

/* ==== css/mall-home.css ==== */
/* Mall Services — home scroll-story (generated from the approved design). Everything is scoped under :is(#mallDesign,#mallDesignEnd). */
:is(#mallDesign,#mallDesignEnd){--navy:#0E1A33;--navy2:#16254A;--cream:#F4EEE1;--ink:#0E1A33;--teal:#14B8A6;--teald:#0F766E;--gold:#E0B872;--mute:#9AA6BF;--rule:rgba(244,238,225,.14);background:var(--navy);color:var(--cream);font-family:"Readex Pro",system-ui,sans-serif;line-height:1.8;overflow-x:clip;position:relative}:is(#mallDesign,#mallDesignEnd) *{box-sizing:border-box;margin:0}:is(#mallDesign,#mallDesignEnd) a{color:inherit;text-decoration:none}:is(#mallDesign,#mallDesignEnd) button{font:inherit;cursor:pointer;border:0}:is(#mallDesign,#mallDesignEnd) .pad{padding-inline:clamp(20px,5vw,72px)}:is(#mallDesign,#mallDesignEnd) .kick{display:inline-block;font-size:.8rem;font-weight:600;color:var(--gold);background:rgba(224,184,114,.12);padding:4px 14px;border-radius:999px}:is(#mallDesign,#mallDesignEnd) .btn{display:inline-block;background:var(--gold);color:var(--ink);padding:13px 28px;border-radius:12px;font-weight:700;transition:transform .25s}:is(#mallDesign,#mallDesignEnd) .btn:hover{transform:translateY(-2px)}:is(#mallDesign,#mallDesignEnd) .btn2{display:inline-block;border:1px solid var(--rule);padding:12px 26px;border-radius:12px;font-weight:600}:is(#mallDesign,#mallDesignEnd) .btn2:hover{border-color:var(--gold)}@media(max-width:700px){}:is(#mallDesign,#mallDesignEnd) .hero{min-height:100svh;display:grid;grid-template-columns:1fr 1.05fr;gap:30px;align-items:center;padding-top:50px;padding-bottom:50px;position:relative;overflow:hidden}:is(#mallDesign,#mallDesignEnd) .hero h1{font-size:clamp(2.4rem,5.6vw,5rem);line-height:1.25;font-weight:700;margin:18px 0 20px}:is(#mallDesign,#mallDesignEnd) .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.15em}:is(#mallDesign,#mallDesignEnd) .w>i{display:inline-block;font-style:normal}:is(#mallDesign,#mallDesignEnd) .hero .lead{color:var(--mute);max-width:470px;font-size:1.05rem}:is(#mallDesign,#mallDesignEnd) .acts{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}:is(#mallDesign,#mallDesignEnd) .vis{position:relative;height:min(560px,70vh)}:is(#mallDesign,#mallDesignEnd) .vis .win{position:absolute;top:10px;inset-inline-end:0;width:min(100%,470px)}:is(#mallDesign,#mallDesignEnd) .vis .phone{position:absolute;bottom:0;inset-inline-start:0}:is(#mallDesign,#mallDesignEnd) .vis .toast{position:absolute;top:0;inset-inline-start:6%;z-index:4}:is(#mallDesign,#mallDesignEnd) .glow{position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(closest-side,rgba(20,184,166,.28),transparent);top:10%;inset-inline-end:-6%;pointer-events:none}@media(max-width:900px){:is(#mallDesign,#mallDesignEnd) .hero{grid-template-columns:1fr}:is(#mallDesign,#mallDesignEnd) .vis{height:440px;margin-top:10px}:is(#mallDesign,#mallDesignEnd) .vis .win{width:min(94%,420px)}}@keyframes fl{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}:is(#mallDesign,#mallDesignEnd) .fl1{animation:fl 5s ease-in-out infinite}:is(#mallDesign,#mallDesignEnd) .fl2{animation:fl 6s ease-in-out infinite .8s}:is(#mallDesign,#mallDesignEnd) .win{background:#fff;color:var(--ink);border-radius:16px;overflow:hidden;box-shadow:0 40px 90px -30px rgba(0,0,0,.8);font-size:12px;line-height:1.5}:is(#mallDesign,#mallDesignEnd) .wb{display:flex;gap:6px;align-items:center;padding:10px 12px;background:#ECEFF4}:is(#mallDesign,#mallDesignEnd) .wb i{width:9px;height:9px;border-radius:50%;background:#C9CFDB}:is(#mallDesign,#mallDesignEnd) .wb span{margin-inline-start:10px;flex:1;background:#fff;border-radius:6px;padding:2px 10px;color:#5F697D;font-size:10.5px;direction:ltr;text-align:left}:is(#mallDesign,#mallDesignEnd) .sh{padding:14px}:is(#mallDesign,#mallDesignEnd) .sh-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-weight:700}:is(#mallDesign,#mallDesignEnd) .sh-h em{font-style:normal;display:flex;gap:6px;align-items:center}:is(#mallDesign,#mallDesignEnd) .sh-h .ct{background:var(--ink);color:#fff;border-radius:8px;padding:2px 9px;font-size:11px}:is(#mallDesign,#mallDesignEnd) .ban{border-radius:12px;padding:14px 16px;background:linear-gradient(120deg,#0F766E,#0E1A33);color:#fff;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}:is(#mallDesign,#mallDesignEnd) .ban b{font-size:14px}:is(#mallDesign,#mallDesignEnd) .ban span{background:var(--gold);color:var(--ink);border-radius:8px;padding:2px 10px;font-weight:700}:is(#mallDesign,#mallDesignEnd) .gd{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}:is(#mallDesign,#mallDesignEnd) .pd{border:1px solid #E6E9F0;border-radius:10px;overflow:hidden;background:#fff}:is(#mallDesign,#mallDesignEnd) .th{display:grid;place-items:center;height:74px;background:linear-gradient(145deg,var(--a),var(--b))}:is(#mallDesign,#mallDesignEnd) .th svg{width:34px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}:is(#mallDesign,#mallDesignEnd) .pi{padding:7px 8px}:is(#mallDesign,#mallDesignEnd) .pi b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(#mallDesign,#mallDesignEnd) .pi span{color:var(--teald);font-weight:700}:is(#mallDesign,#mallDesignEnd) .phone{width:176px;height:340px;background:#fff;color:var(--ink);border-radius:30px;border:6px solid #1D2B52;box-shadow:0 40px 80px -25px rgba(0,0,0,.8);overflow:hidden;position:relative;font-size:12px;padding:16px 14px}:is(#mallDesign,#mallDesignEnd) .phone .pt{font-weight:700;margin-bottom:12px;text-align:center}:is(#mallDesign,#mallDesignEnd) .prow{display:flex;gap:8px;align-items:center;margin-bottom:10px}:is(#mallDesign,#mallDesignEnd) .prow .th{width:46px;height:46px;border-radius:10px;flex:none}:is(#mallDesign,#mallDesignEnd) .prow .th svg{width:22px}:is(#mallDesign,#mallDesignEnd) .prow small{color:#7C869B;display:block}:is(#mallDesign,#mallDesignEnd) .escb{display:flex;gap:6px;align-items:center;background:#E7F7F4;color:var(--teald);border-radius:10px;padding:7px 9px;font-weight:600;font-size:11px;margin:12px 0}:is(#mallDesign,#mallDesignEnd) .escb svg{width:18px;flex:none;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}:is(#mallDesign,#mallDesignEnd) .pay{display:block;width:100%;background:var(--ink);color:#fff;border-radius:10px;padding:9px;font-weight:700}:is(#mallDesign,#mallDesignEnd) .sheet{position:absolute;inset-inline:0;bottom:0;background:#fff;border-top:1px solid #E6E9F0;border-radius:20px 20px 0 0;padding:20px 14px 24px;text-align:center;box-shadow:0 -20px 40px -20px rgba(0,0,0,.3)}:is(#mallDesign,#mallDesignEnd) .sheet .ok{width:46px;height:46px;border-radius:50%;background:var(--teal);margin:0 auto 8px;display:grid;place-items:center}:is(#mallDesign,#mallDesignEnd) .sheet .ok svg{width:24px;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}:is(#mallDesign,#mallDesignEnd) .sheet b{display:block}:is(#mallDesign,#mallDesignEnd) .sheet small{color:#7C869B}:is(#mallDesign,#mallDesignEnd) .toast{background:var(--cream);color:var(--ink);border-radius:14px;padding:10px 14px;display:flex;gap:10px;align-items:center;box-shadow:0 20px 40px -15px rgba(0,0,0,.6);font-size:12.5px;font-weight:600;width:max-content;max-width:260px}:is(#mallDesign,#mallDesignEnd) .toast i{width:30px;height:30px;border-radius:50%;background:var(--teal);display:grid;place-items:center;flex:none}:is(#mallDesign,#mallDesignEnd) .toast i svg{width:16px;fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}:is(#mallDesign,#mallDesignEnd) .toast small{display:block;color:#5F6B7A;font-weight:400}:is(#mallDesign,#mallDesignEnd) .vis{perspective:1100px}:is(#mallDesign,#mallDesignEnd) .vis .win{z-index:2;border:1px solid rgba(255,255,255,.55);box-shadow:0 50px 100px -30px rgba(0,0,0,.9),0 0 90px -20px rgba(20,184,166,.35)}:is(#mallDesign,#mallDesignEnd) .vis .phone{z-index:3;box-shadow:0 40px 80px -25px rgba(0,0,0,.9),0 0 60px -15px rgba(224,184,114,.3)}:is(#mallDesign,#mallDesignEnd) .lgm{width:24px;height:24px;border-radius:50%;object-fit:contain;background:linear-gradient(170deg,#FFFDF8,#EADFC8);padding:2px;box-shadow:0 0 0 1.5px rgba(184,147,90,.5);vertical-align:middle;margin-inline-end:7px}:is(#mallDesign,#mallDesignEnd) .sn{display:flex;align-items:center}:is(#mallDesign,#mallDesignEnd) .phone .pt{display:flex;align-items:center;justify-content:center}:is(#mallDesign,#mallDesignEnd) .ban{position:relative;overflow:hidden}:is(#mallDesign,#mallDesignEnd) .ban::after{content:"";position:absolute;top:0;bottom:0;width:35%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);transform:translateX(-160%) skewX(-20deg);animation:bsh 5s ease-in-out infinite 2.5s}@keyframes bsh{0%{transform:translateX(-160%) skewX(-20deg)}55%,100%{transform:translateX(420%) skewX(-20deg)}}:is(#mallDesign,#mallDesignEnd) .bdc{position:absolute;inset-inline-start:46%;bottom:-24px;width:84px;height:68px;border:2px solid rgba(255,255,255,.16);border-bottom:0;border-radius:60px 60px 0 0;box-shadow:0 0 0 9px rgba(224,184,114,.08),0 0 0 11px rgba(255,255,255,.1)}:is(#mallDesign,#mallDesignEnd) .ban b,:is(#mallDesign,#mallDesignEnd) .ban span{position:relative;z-index:1}:is(#mallDesign,#mallDesignEnd) .th::after{content:"";position:absolute;inset:0;background:radial-gradient(120px 60px at 25% 0,rgba(255,255,255,.28),transparent)}:is(#mallDesign,#mallDesignEnd) .th{position:relative}:is(#mallDesign,#mallDesignEnd) .hlogo{position:absolute;z-index:5;top:-26px;inset-inline-end:-3%;width:clamp(92px,9.5vw,128px);aspect-ratio:1}:is(#mallDesign,#mallDesignEnd) .hlogo-in{position:absolute;inset:0}:is(#mallDesign,#mallDesignEnd) .hbadge{position:absolute;inset:11%;border-radius:50%;background:linear-gradient(170deg,#FFFDF8,#EADFC8);box-shadow:0 18px 50px -10px rgba(224,184,114,.65),inset 0 0 0 3px rgba(184,147,90,.28);display:grid;place-items:center;overflow:hidden}:is(#mallDesign,#mallDesignEnd) .hbadge img{width:88%;display:block;margin-top:3%}:is(#mallDesign,#mallDesignEnd) .hbadge::after{content:"";position:absolute;top:0;bottom:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.85),transparent);transform:translateX(-160%) skewX(-20deg);animation:bsh 4.5s ease-in-out infinite 3s}:is(#mallDesign,#mallDesignEnd) .rng{position:absolute;inset:0;width:100%;height:100%}:is(#mallDesign,#mallDesignEnd) .hpulse{position:absolute;inset:11%;border-radius:50%;border:2px solid rgba(224,184,114,.75)}:is(#mallDesign,#mallDesignEnd) .tick{overflow:hidden;border-block:1px solid var(--rule);padding:16px 0;direction:ltr;background:var(--navy2)}:is(#mallDesign,#mallDesignEnd) .tick div{display:flex;width:max-content;white-space:nowrap;direction:rtl;font-size:1.15rem;font-weight:500}:is(#mallDesign,#mallDesignEnd) .tick span{padding-inline:26px}:is(#mallDesign,#mallDesignEnd) .tick b{color:var(--gold);font-size:.7em}:is(#mallDesign,#mallDesignEnd) .sell{position:relative;background:var(--navy);height:400vh;height:400svh}:is(#mallDesign,#mallDesignEnd) .sstage{position:sticky;top:0;height:100vh;height:100svh;display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center;padding-top:90px;padding-bottom:24px}:is(#mallDesign,#mallDesignEnd) .steps{position:relative;height:290px;margin-top:20px}:is(#mallDesign,#mallDesignEnd) .stp{position:absolute;inset:0;opacity:0}:is(#mallDesign,#mallDesignEnd) .stp:first-child{opacity:1}:is(#mallDesign,#mallDesignEnd) .stp b{display:block;color:var(--gold);font-size:1.2rem;margin-bottom:6px}:is(#mallDesign,#mallDesignEnd) .stp h2{font-size:clamp(2rem,4.6vw,3.8rem);line-height:1.25;margin-bottom:12px;font-weight:700}:is(#mallDesign,#mallDesignEnd) .stp p{color:var(--mute);max-width:420px}:is(#mallDesign,#mallDesignEnd) .sbar{display:flex;gap:6px;margin-top:10px;max-width:340px}:is(#mallDesign,#mallDesignEnd) .sbar i{flex:1;height:3px;border-radius:2px;background:var(--rule)}:is(#mallDesign,#mallDesignEnd) .sbar i.on{background:var(--teal)}:is(#mallDesign,#mallDesignEnd) .sv{position:relative;display:grid;place-items:center;height:min(70vh,560px)}:is(#mallDesign,#mallDesignEnd) .sv .win{width:min(100%,560px);font-size:13px}:is(#mallDesign,#mallDesignEnd) .sv .th{height:84px}:is(#mallDesign,#mallDesignEnd) .sv .phone{position:absolute;bottom:0;inset-inline-start:0}:is(#mallDesign,#mallDesignEnd) .sv .toast{position:absolute;top:0;inset-inline-end:0}:is(#mallDesign,#mallDesignEnd) .earn{position:absolute;bottom:20px;inset-inline-end:10px;background:var(--navy2);border:1px solid var(--rule);border-radius:14px;padding:10px 16px}:is(#mallDesign,#mallDesignEnd) .earn small{color:var(--mute);display:block}:is(#mallDesign,#mallDesignEnd) .earn b{font-size:1.4rem;color:var(--gold)}@media(max-width:860px){:is(#mallDesign,#mallDesignEnd) .sstage{grid-template-columns:1fr;gap:10px;padding-top:80px}:is(#mallDesign,#mallDesignEnd) .sv{height:360px;order:-1}:is(#mallDesign,#mallDesignEnd) .sv .win{width:min(88%,420px);font-size:11px}:is(#mallDesign,#mallDesignEnd) .sv .phone{transform:scale(.8);transform-origin:bottom left}:is(#mallDesign,#mallDesignEnd) .steps{height:240px}:is(#mallDesign,#mallDesignEnd) .earn{display:none}}:is(#mallDesign,#mallDesignEnd) .mk{background:var(--cream);color:var(--ink);padding-block:120px}:is(#mallDesign,#mallDesignEnd) .mk h2{font-size:clamp(2rem,4.6vw,3.8rem);line-height:1.25;font-weight:700;margin:14px 0 40px}:is(#mallDesign,#mallDesignEnd) .pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;perspective:900px}:is(#mallDesign,#mallDesignEnd) .pc{background:#fff;border:1px solid rgba(14,26,51,.1);border-radius:20px;overflow:hidden;transition:box-shadow .3s;transform-style:preserve-3d}:is(#mallDesign,#mallDesignEnd) .pc:hover{box-shadow:0 30px 60px -25px rgba(14,26,51,.45)}:is(#mallDesign,#mallDesignEnd) .pc .th{height:150px}:is(#mallDesign,#mallDesignEnd) .pc .th svg{width:56px}:is(#mallDesign,#mallDesignEnd) .pc .bd{padding:16px}:is(#mallDesign,#mallDesignEnd) .pc small{color:#6B7280}:is(#mallDesign,#mallDesignEnd) .pc h3{font-size:1.05rem;font-weight:600;margin:2px 0 8px}:is(#mallDesign,#mallDesignEnd) .pc .rw{display:flex;justify-content:space-between;align-items:center}:is(#mallDesign,#mallDesignEnd) .pc .pr{font-weight:700;color:var(--teald);font-size:1.1rem}:is(#mallDesign,#mallDesignEnd) .pc .st{color:#B8935A;font-size:.85rem}:is(#mallDesign,#mallDesignEnd) .add{margin-top:12px;width:100%;background:var(--ink);color:var(--cream);padding:10px;border-radius:12px;font-weight:600;transition:background .3s}:is(#mallDesign,#mallDesignEnd) .add:hover{background:var(--teald)}:is(#mallDesign,#mallDesignEnd) .add.done{background:var(--teal);color:var(--ink)}:is(#mallDesign,#mallDesignEnd) .seller{padding-block:130px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}:is(#mallDesign,#mallDesignEnd) .seller h2{font-size:clamp(2rem,4.6vw,3.8rem);line-height:1.25;font-weight:700;margin:14px 0 18px}:is(#mallDesign,#mallDesignEnd) .seller ul{list-style:none;padding:0;margin:24px 0 30px;display:grid;gap:14px}:is(#mallDesign,#mallDesignEnd) .seller li{display:flex;gap:12px;align-items:center;color:#C9D1E3}:is(#mallDesign,#mallDesignEnd) .seller li i{width:26px;height:26px;border-radius:50%;background:var(--teal);display:grid;place-items:center;flex:none}:is(#mallDesign,#mallDesignEnd) .seller li svg{width:14px;fill:none;stroke:#0E1A33;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}:is(#mallDesign,#mallDesignEnd) .dash{padding:18px}:is(#mallDesign,#mallDesignEnd) .dash .hd{display:flex;justify-content:space-between;font-weight:700;margin-bottom:14px}:is(#mallDesign,#mallDesignEnd) .dash .hd small{color:#7C869B;font-weight:400}:is(#mallDesign,#mallDesignEnd) .bars{display:flex;gap:10px;align-items:flex-end;height:170px;border-bottom:1px solid #E6E9F0;padding-bottom:4px}:is(#mallDesign,#mallDesignEnd) .bars i{flex:1;border-radius:8px 8px 0 0;background:linear-gradient(var(--teal),var(--teald));transform-origin:bottom}:is(#mallDesign,#mallDesignEnd) .bars i:last-child{background:linear-gradient(var(--gold),#B8935A)}:is(#mallDesign,#mallDesignEnd) .kp{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}:is(#mallDesign,#mallDesignEnd) .kp div{background:#F4F6FA;border-radius:10px;padding:8px 10px}:is(#mallDesign,#mallDesignEnd) .kp small{color:#7C869B;display:block}:is(#mallDesign,#mallDesignEnd) .kp b{font-size:14px}@media(max-width:860px){:is(#mallDesign,#mallDesignEnd) .seller{grid-template-columns:1fr;gap:40px;padding-block:90px}}:is(#mallDesign,#mallDesignEnd) .end{text-align:center;padding-block:130px 0;background:linear-gradient(var(--navy),#08122A);overflow:hidden}:is(#mallDesign,#mallDesignEnd) .end img{width:120px;height:120px;object-fit:contain;background:var(--cream);border-radius:50%;padding:14px;margin:0 auto 24px;display:block;box-shadow:0 0 90px rgba(224,184,114,.4)}:is(#mallDesign,#mallDesignEnd) .end h2{font-size:clamp(2.2rem,6vw,5rem);line-height:1.25;font-weight:700;margin-bottom:28px}:is(#mallDesign,#mallDesignEnd) .end footer{margin-top:100px;padding-block:22px;border-top:1px solid var(--rule);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.8rem;color:var(--mute)}@media(prefers-reduced-motion:reduce){}
:is(#mallDesign,#mallDesignEnd) .hero .msearch{margin-top:26px;max-width:520px}:is(#mallDesign,#mallDesignEnd) .hero .msearch *{line-height:1.5}
@media(max-width:700px){:is(#mallDesign,#mallDesignEnd) .hero{padding-top:24px;min-height:auto}:is(#mallDesign,#mallDesignEnd) .mk{padding-block:70px}:is(#mallDesign,#mallDesignEnd) .end{padding-block-start:80px}:is(#mallDesign,#mallDesignEnd) .btn,:is(#mallDesign,#mallDesignEnd) .btn2{min-height:46px}}
:is(#mallDesign,#mallDesignEnd) .end{padding-bottom:70px}

/* sample mockups carry no invented prices: a neutral skeleton bar stands in for the price */
:is(#mallDesign,#mallDesignEnd) .skl{display:block;width:46px;height:7px;border-radius:4px;background:currentColor;opacity:.22;margin-top:5px}
:is(#mallDesign,#mallDesignEnd) .escb ~ .pay,:is(#mallDesign,#mallDesignEnd) .pay{letter-spacing:0}

/* ==== css/mall-extra.css ==== */
/* Mall Services — extras: dashboard charts, product reveal animations, custom store theme, search-in-hero, mobile polish */

/* ── hero search card inside the dark design hero ── */
#mallDesign .msearch .bg-gray-50{background:rgba(244,238,225,.96);color:#0E1A33}
/* light mode only: the theme remaps these muted classes to #8A91A3 with !important (2.8:1 on the cream card);
   #5b6679 is 5.15:1. Dark mode keeps the theme's lighter muted colour. */
html:not(.dark) #mallDesign .msearch :is(.text-gray-400,.text-navy-300,.text-navy-400,.text-textmuted){color:#5b6679!important}
#mallDesign .msearch input{font-size:16px}
.m-stats-strip p{line-height:1.5}

/* ── charts ── */
.mc-panel{background:#fff;color:#0E1A33;border:1px solid rgba(14,26,51,.08);border-radius:22px;padding:18px;margin-bottom:22px;box-shadow:0 10px 30px -20px rgba(14,26,51,.35)}
html.dark .mc-panel{background:#16254A;color:#F4EEE1;border-color:rgba(244,238,225,.14)}
.mc-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.mc-head h3{font-weight:900;font-size:1.05rem}
.mc-tabs{display:flex;gap:4px;background:rgba(14,26,51,.06);padding:3px;border-radius:12px}
html.dark .mc-tabs{background:rgba(244,238,225,.1)}
.mc-tabs button{padding:6px 14px;border-radius:9px;font-size:.78rem;font-weight:700;min-height:34px;background:transparent;color:inherit;border:0;cursor:pointer}
.mc-tabs button[aria-selected="true"]{background:#0F766E;color:#fff}
.mc-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:22px;align-items:start}
.mc-sum{font-size:.85rem;opacity:.8;margin-bottom:6px}.mc-sum b{color:#0F766E}html.dark .mc-sum b{color:#14B8A6}
.mc-wrap{position:relative}.mc-wrap svg{width:100%;height:auto;display:block;touch-action:pan-y;color:inherit}
.mc-tip{position:absolute;top:0;transform:translate(-50%,-4px);background:#0E1A33;color:#F4EEE1;border-radius:10px;padding:6px 10px;font-size:.72rem;line-height:1.5;pointer-events:none;white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.3);z-index:2}
.mc-tip span{display:flex;align-items:center;gap:6px}.mc-tip i{width:8px;height:8px;border-radius:50%;display:inline-block}
.mc-donut{display:flex;flex-direction:column;align-items:center;gap:10px}.mc-donut svg{width:150px;height:150px;color:inherit}
.mc-donut ul{list-style:none;padding:0;margin:0;width:100%;display:grid;gap:6px;font-size:.8rem}
.mc-donut li{display:flex;align-items:center;gap:8px}.mc-donut li span{flex:1}.mc-donut li i{width:10px;height:10px;border-radius:50%}
.mc-side h4{font-weight:800;font-size:.85rem;margin:16px 0 8px}
.mc-bars{display:grid;gap:8px;font-size:.78rem}.mc-bars>div{display:grid;grid-template-columns:90px 1fr 34px;gap:8px;align-items:center}
.mc-bars em{display:block;height:8px;border-radius:99px;background:rgba(14,26,51,.08);overflow:hidden}html.dark .mc-bars em{background:rgba(244,238,225,.12)}
.mc-bars em i{display:block;height:100%;border-radius:99px}
@media(max-width:860px){.mc-grid{grid-template-columns:1fr}}

/* ── 10 product reveal animations (store page + editor demo) ── */
[data-sx]:not([data-sx="none"])>*{opacity:0;will-change:transform,opacity}
[data-sx]>*.sx-in{opacity:1;transform:none;filter:none;transition:opacity .75s ease,transform .75s cubic-bezier(.2,.75,.2,1),filter .75s ease;transition-delay:calc(var(--i,0)*70ms)}
[data-sx="fade"]>*{transform:translateY(30px)}
[data-sx="zoom"]>*{transform:scale(.8)}
[data-sx="flip"]>*{transform:perspective(800px) rotateX(-75deg);transform-origin:top}
[data-sx="slide"]>*:nth-child(odd){transform:translateX(70px)}[data-sx="slide"]>*:nth-child(even){transform:translateX(-70px)}
[data-sx="wave"]>*{transform:translateY(46px) rotate(2deg)}[data-sx="wave"]>.sx-in{transition-delay:calc(var(--i,0)*120ms)}
[data-sx="blur"]>*{filter:blur(14px);transform:scale(1.05)}
[data-sx="spin"]>*{transform:rotate(-14deg) scale(.7)}
[data-sx="bounce"]>.sx-in{animation:sxb .9s cubic-bezier(.3,1.4,.5,1) both;animation-delay:calc(var(--i,0)*80ms);transition:none}
@keyframes sxb{0%{opacity:0;transform:translateY(-70px)}55%{opacity:1;transform:translateY(12px)}78%{transform:translateY(-6px)}100%{transform:none}}
[data-sx="tilt"]>*{transform:translateY(24px)}
[data-sx="tilt"]>.sx-in:hover{transform:perspective(700px) rotateX(4deg) rotateY(-7deg) translateY(-6px);transition-delay:0s;transition-duration:.25s}
[data-sx="shine"]>*{transform:translateY(20px);position:relative;overflow:hidden}
[data-sx="shine"]>*::after{content:"";position:absolute;top:0;bottom:0;width:40%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);transform:translateX(-220%) skewX(-20deg);pointer-events:none}
[data-sx="shine"]>.sx-in::after{animation:sxs 1.4s ease .5s 1}[data-sx="shine"]>*:hover::after{animation:sxs .9s ease 1}
@keyframes sxs{to{transform:translateX(420%) skewX(-20deg)}}
@media(prefers-reduced-motion:reduce){[data-sx]>*{opacity:1!important;transform:none!important;filter:none!important;animation:none!important}}
.sx-pick{padding:9px 10px;border-radius:12px;border:2px solid #e5e7eb;font-size:.8rem;font-weight:700;background:#fff;color:#0E1A33;min-height:44px;cursor:pointer}
.sx-pick.on{border-color:#0F766E;background:#E7F7F4;color:#0F766E}
.sx-demo-card{height:56px;border-radius:12px;background:linear-gradient(135deg,#14B8A6,#0F766E)}

/* ── merchant custom theme (applied on #storeThemeWrap / live preview) ── */
.sx-custom{background:var(--sx-bg,transparent)!important;color:var(--sx-text,inherit);font-family:var(--sx-font,inherit)}
.sx-custom .service-card,.sx-custom .card{background:var(--sx-card,#fff)!important;border-radius:var(--sx-r,16px)!important;color:var(--sx-text,inherit)}
.sx-custom .btn-primary,.sx-custom button.btn-primary{background:var(--sx-accent,#0F766E)!important;border-color:var(--sx-accent,#0F766E)!important;color:#fff}
.sx-custom a:not(.btn-primary){color:var(--sx-accent,inherit)}

/* ── mobile polish (all pages) ── */
html,body{max-width:100%;overflow-x:hidden;overflow-x:clip}
@media(max-width:767px){
  input,select,textarea{font-size:16px}
  #page-admin table,#adminContent table,#myStoreContent table{display:block;overflow-x:auto;white-space:nowrap;max-width:100%}
  #page-admin .grid,#myStoreContent .grid{min-width:0}
  .page{padding-bottom:84px}
  #stPreview{max-width:100%}
  button,[role="button"],a.btn-primary{min-height:44px}
}

/* order workspace: brief card is always readable (light text on a solid dark card, in every design/theme) */
.ow-brief{background:var(--m-navy,#0E1A33)!important;color:#fff!important;box-shadow:0 12px 30px -18px rgba(0,0,0,.55)}
.ow-brief .text-turquoise-300{color:var(--m-gold,#E0B872)!important}
.ow-brief .text-turquoise-50,.ow-brief .text-turquoise-200{color:rgba(255,255,255,.88)!important}
/* hover/focus states whose Tailwind classes were never compiled */
.hover\:bg-secondary-600:hover,.hover\:bg-turquoise-700:hover{filter:brightness(.92)}
.hover\:border-navy-400:hover{border-color:var(--m-teal)}
.focus\:ring-navy-100:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--m-teal) 22%,transparent)}

/* ── Store types: picker (create-store dialog / settings) + filter chips (stores page) + card tags ── */
.cat-picker{display:flex;flex-wrap:wrap;gap:8px}
.cat-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;border:1.5px solid rgba(14,26,51,.14);background:#fff;color:#0E1A33;font-size:13px;font-weight:700;line-height:1.3;cursor:pointer;transition:background .15s,border-color .15s,color .15s;font-family:inherit}
.cat-chip:hover{border-color:#0F766E}
.cat-chip.on{background:#0F766E;border-color:#0F766E;color:#fff}
.cat-chip .cat-n{font-size:11px;font-weight:600;opacity:.75}
.st-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.st-tag{font-size:10.5px;font-weight:700;padding:2px 9px;border-radius:999px;background:#EDE4D0;color:#3F485C}
html.dark .cat-chip{background:#16254A;border-color:rgba(244,238,225,.2);color:#F4EEE1}
html.dark .cat-chip:hover{border-color:#14B8A6}
html.dark .cat-chip.on{background:#14B8A6;border-color:#14B8A6;color:#0E1A33}
html.dark .st-tag{background:rgba(244,238,225,.12);color:#CBD5E1}

/* ==== css/mall-home-b.css ==== */
/* Design B — "Mint & Gold" brand home. Everything scoped under :is(#mallDesignB,#mallDesignBEnd); classes prefixed mb-. */
:is(#mallDesignB,#mallDesignBEnd){--navy:#0C1830;--em:#0F7A6C;--gold:#B8935A;--cream:#F7F1E3;--bg:#E6F0EA;--ink:#0C1830;--card:#FBFEFC;--mute:#4F5F66;--line:rgba(12,24,48,.13);--deep:#0A4A41;--gold2:#8F6B2E;--disp:'Reem Kufi','Readex Pro',system-ui,sans-serif;}
html.dark :is(#mallDesignB,#mallDesignBEnd){--bg:#08191A;--ink:#F3EEDF;--card:#0F2A2B;--mute:#9FB3B0;--gold2:#D9B67A;--line:rgba(247,241,227,.16)}
:is(#mallDesignB,#mallDesignBEnd) *{box-sizing:border-box}
:is(#mallDesignB,#mallDesignBEnd) :where(h1,h2,h3,h4,p,ul,figure){margin:0}
:is(#mallDesignB,#mallDesignBEnd){color:var(--ink);font-family:'Readex Pro',system-ui,sans-serif;line-height:1.85;overflow-x:clip;}
:is(#mallDesignB,#mallDesignBEnd) a{color:inherit;text-decoration:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-pad{padding-inline:clamp(18px,5vw,80px)}
:is(#mallDesignB,#mallDesignBEnd) h1,:is(#mallDesignB,#mallDesignBEnd) h2,:is(#mallDesignB,#mallDesignBEnd) h3,:is(#mallDesignB,#mallDesignBEnd) .mb-disp{font-family:var(--disp);font-weight:700}
:is(#mallDesignB,#mallDesignBEnd) .mb-brand{display:flex;gap:10px;align-items:center;font-family:var(--disp);font-size:1.3rem;font-weight:700}
:is(#mallDesignB,#mallDesignBEnd) .mb-brand img{width:44px;height:44px;object-fit:contain}
:is(#mallDesignB,#mallDesignBEnd) .mb-btn{display:inline-block;background:var(--navy);color:var(--cream);padding:11px 26px;border-radius:999px;font-weight:600;transition:transform .2s,box-shadow .2s}
:is(#mallDesignB,#mallDesignBEnd) .mb-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px -10px var(--navy);background:var(--gold);color:var(--navy)}
:is(#mallDesignB,#mallDesignBEnd) .mb-btn.mb-o{background:transparent;color:var(--ink);border:1.5px solid var(--gold)}
html.dark :is(#mallDesignB,#mallDesignBEnd) .mb-btn{background:var(--gold);color:var(--navy)}
html.dark :is(#mallDesignB,#mallDesignBEnd) .mb-btn:hover{background:var(--cream)}
html.dark :is(#mallDesignB,#mallDesignBEnd) .mb-arch .mb-lg{background:radial-gradient(closest-side,#F7F1E3 78%,transparent 79%)}
:is(#mallDesignB,#mallDesignBEnd) .mb-eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--gold2);font-weight:600;font-size:.85rem;letter-spacing:.04em}
:is(#mallDesignB,#mallDesignBEnd) .mb-eyebrow::before{content:"";width:28px;height:2px;background:var(--gold)}
:is(#mallDesignB,#mallDesignBEnd) .mb-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center;padding-block:56px 80px}
:is(#mallDesignB,#mallDesignBEnd) .mb-hero h1{font-size:clamp(2.4rem,6vw,4.9rem);line-height:1.25;margin:14px 0 16px}
:is(#mallDesignB,#mallDesignBEnd) .mb-hero h1 em{font-style:normal;color:var(--gold2)}
:is(#mallDesignB,#mallDesignBEnd) .mb-hero p{color:var(--mute);max-width:480px;font-size:1.05rem;margin-bottom:26px}
:is(#mallDesignB,#mallDesignBEnd) .mb-acts{display:flex;gap:12px;flex-wrap:wrap}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch{position:relative;width:min(100%,430px);aspect-ratio:400/470;margin-inline:auto}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch path{fill:none;stroke-linecap:round;stroke-width:5;stroke-dasharray:1;stroke-dashoffset:1;animation:mbdr 1.8s cubic-bezier(.3,.7,.2,1) forwards;animation-delay:calc(var(--k)*.25s)}
@keyframes mbdr{to{stroke-dashoffset:0}}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch .mb-lg{position:absolute;inset:26% 18% 14%;display:grid;place-items:center;opacity:0;animation:mbfi 1s .9s forwards}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch .mb-lg img{width:100%;filter:drop-shadow(0 20px 30px rgba(12,24,48,.25))}
@keyframes mbfi{to{opacity:1}}
:is(#mallDesignB,#mallDesignBEnd) .mb-chip{position:absolute;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:6px 16px;font-size:.82rem;font-weight:600;box-shadow:0 14px 30px -16px rgba(12,24,48,.4);will-change:transform;transform:translate3d(0,calc((.5 - var(--p,.5))*var(--s,60px)),0)}
:is(#mallDesignB,#mallDesignBEnd) .mb-chip::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c);margin-inline-end:8px}
@media(max-width:860px){:is(#mallDesignB,#mallDesignBEnd) .mb-hero{grid-template-columns:1fr}}
:is(#mallDesignB,#mallDesignBEnd) .mb-sec{padding-block:100px}
:is(#mallDesignB,#mallDesignBEnd) .mb-sec h2{font-size:clamp(2rem,4.6vw,3.6rem);line-height:1.3;margin:10px 0 14px}
:is(#mallDesignB,#mallDesignBEnd) .mb-sub{color:var(--mute);max-width:560px;margin-bottom:46px}
:is(#mallDesignB,#mallDesignBEnd) .mb-story{position:relative}
:is(#mallDesignB,#mallDesignBEnd) .mb-weave{position:absolute;inset-inline:0;top:0;width:100%;height:100%;pointer-events:none;opacity:.5}
:is(#mallDesignB,#mallDesignBEnd) .mb-weave path{fill:none;stroke-width:3;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--d,0))}
:is(#mallDesignB,#mallDesignBEnd) .mb-pil{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;position:relative}
:is(#mallDesignB,#mallDesignBEnd) .mb-pc{background:var(--card);border:1px solid var(--line);border-radius:140px 140px 24px 24px;padding:70px 26px 30px;text-align:center;position:relative;overflow:hidden}
:is(#mallDesignB,#mallDesignBEnd) .mb-pc::before{content:"";position:absolute;inset-inline:0;top:0;height:6px;background:var(--c)}
:is(#mallDesignB,#mallDesignBEnd) .mb-pc .mb-ic{width:74px;height:74px;border-radius:50%;margin:0 auto 16px;display:grid;place-items:center;background:var(--c)}
:is(#mallDesignB,#mallDesignBEnd) .mb-pc svg{width:36px;fill:none;stroke:#fff;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
:is(#mallDesignB,#mallDesignBEnd) .mb-pc h3{font-size:1.5rem;margin-bottom:6px}
:is(#mallDesignB,#mallDesignBEnd) .mb-pc p{color:var(--mute);font-size:.93rem}
@media(max-width:860px){:is(#mallDesignB,#mallDesignBEnd) .mb-pil{grid-template-columns:1fr}}
:is(#mallDesignB,#mallDesignBEnd) .mb-trust{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
:is(#mallDesignB,#mallDesignBEnd) .mb-vals{display:grid;gap:14px;margin-top:20px}
:is(#mallDesignB,#mallDesignBEnd) .mb-vals div{display:flex;gap:14px;align-items:flex-start}
:is(#mallDesignB,#mallDesignBEnd) .mb-vals i{flex:none;width:12px;height:12px;margin-top:10px;background:var(--gold);transform:rotate(45deg)}
:is(#mallDesignB,#mallDesignBEnd) .mb-vals b{display:block;font-family:var(--disp);font-size:1.15rem}
:is(#mallDesignB,#mallDesignBEnd) .mb-vals span{color:var(--mute);font-size:.92rem}
:is(#mallDesignB,#mallDesignBEnd) .mb-esc{background:var(--navy);color:var(--cream);border-radius:28px;padding:30px;position:relative;overflow:hidden}
:is(#mallDesignB,#mallDesignBEnd) .mb-esc::after{content:"";position:absolute;inset:0;background:radial-gradient(420px 220px at 100% 0,rgba(184,147,90,.25),transparent)}
:is(#mallDesignB,#mallDesignBEnd) .mb-esc>*{position:relative;z-index:1}
:is(#mallDesignB,#mallDesignBEnd) .mb-flow{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:18px 0 6px}
:is(#mallDesignB,#mallDesignBEnd) .mb-flow div{flex:1;text-align:center;font-size:.8rem}
:is(#mallDesignB,#mallDesignBEnd) .mb-flow b{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 6px;border-radius:50%;border:1.5px solid var(--gold);color:var(--gold);font-family:var(--disp)}
:is(#mallDesignB,#mallDesignBEnd) .mb-flow s{flex:.5;height:1.5px;background:linear-gradient(90deg,var(--gold),transparent);text-decoration:none;transform-origin:right;transform:scaleX(var(--w,0));transition:transform 1s .3s}
:is(#mallDesignB,#mallDesignBEnd) .mb-on .mb-flow s{--w:1}
@media(max-width:860px){:is(#mallDesignB,#mallDesignBEnd) .mb-trust{grid-template-columns:1fr}}
:is(#mallDesignB,#mallDesignBEnd) .mb-bk{background:var(--deep);color:var(--cream);border-radius:40px;padding:clamp(34px,6vw,70px);margin-inline:clamp(10px,3vw,40px)}
:is(#mallDesignB,#mallDesignBEnd) .mb-bk h2{color:var(--cream)}
:is(#mallDesignB,#mallDesignBEnd) .mb-bk .mb-sub{color:#A9B3CB}
:is(#mallDesignB,#mallDesignBEnd) .mb-sw{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:40px}
:is(#mallDesignB,#mallDesignBEnd) .mb-sw button{border-radius:20px 20px 20px 20px;height:150px;padding:14px;text-align:start;display:flex;flex-direction:column;justify-content:flex-end;background:var(--c);color:var(--t);transition:transform .25s;font-size:.8rem;line-height:1.5}
:is(#mallDesignB,#mallDesignBEnd) .mb-sw button:hover{transform:translateY(-6px)}
:is(#mallDesignB,#mallDesignBEnd) .mb-sw b{font-family:var(--disp);font-size:1.1rem;display:block}
@media(max-width:760px){:is(#mallDesignB,#mallDesignBEnd) .mb-sw{grid-template-columns:1fr 1fr}}
:is(#mallDesignB,#mallDesignBEnd) .mb-bg3{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
:is(#mallDesignB,#mallDesignBEnd) .mb-bx{border-radius:22px;padding:22px;border:1px solid rgba(247,241,227,.14)}
:is(#mallDesignB,#mallDesignBEnd) .mb-bx h3{font-size:1.1rem;margin-bottom:10px;color:var(--gold)}
:is(#mallDesignB,#mallDesignBEnd) .mb-bx p{font-size:.9rem;color:#C5CCDD}
:is(#mallDesignB,#mallDesignBEnd) .mb-lgs{display:flex;gap:10px}
:is(#mallDesignB,#mallDesignBEnd) .mb-lgs div{flex:1;height:84px;border-radius:14px;display:grid;place-items:center}
:is(#mallDesignB,#mallDesignBEnd) .mb-lgs img{width:56px}
:is(#mallDesignB,#mallDesignBEnd) .mb-tp .mb-a{font-family:var(--disp);font-size:2rem;line-height:1.2;color:var(--cream)}
:is(#mallDesignB,#mallDesignBEnd) .mb-tp .mb-b{font-size:.95rem;color:#C5CCDD}
:is(#mallDesignB,#mallDesignBEnd) .mb-vo li{list-style:none;font-size:.88rem;padding:4px 0;color:#C5CCDD}
:is(#mallDesignB,#mallDesignBEnd) .mb-vo li::before{content:"✓ ";color:var(--em);font-weight:700}
:is(#mallDesignB,#mallDesignBEnd) .mb-vo li.mb-n::before{content:"✕ ";color:#E07A5F}
:is(#mallDesignB,#mallDesignBEnd) .mb-mk .mb-pg{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk{background:var(--card);border:1px solid var(--line);border-radius:110px 110px 22px 22px;overflow:hidden;transition:transform .3s,box-shadow .3s}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk:hover{transform:translateY(-6px);box-shadow:0 26px 44px -24px rgba(12,24,48,.45)}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk .mb-th{height:150px;display:grid;place-items:center;background:var(--c)}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk .mb-th svg{width:50px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk .mb-b{padding:14px 18px 18px;text-align:center}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk small{color:var(--mute)}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk h4{font-family:var(--disp);font-size:1.05rem;margin:2px 0 6px}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk .mb-pr{color:var(--deep);font-weight:600}
:is(#mallDesignB,#mallDesignBEnd) .mb-cta{margin-inline:auto;max-width:520px;text-align:center;background:linear-gradient(170deg,#12304F,var(--navy));color:var(--cream);border-radius:260px 260px 30px 30px;padding:90px 30px 50px;position:relative;overflow:hidden;will-change:transform;transform:scale(calc(.9 + var(--p,1)*.1))}
:is(#mallDesignB,#mallDesignBEnd) .mb-cta img{width:80px;background:#fff;border-radius:50%;padding:8px;margin:0 auto 14px;display:block}
:is(#mallDesignB,#mallDesignBEnd) .mb-cta h2{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.3;margin-bottom:20px}
:is(#mallDesignB,#mallDesignBEnd) .mb-cta .mb-btn{background:var(--gold);color:var(--navy)}
:is(#mallDesignB,#mallDesignBEnd) .mb-cta .mb-btn:hover{background:var(--cream)}
:is(#mallDesignB,#mallDesignBEnd) footer{margin-top:70px;padding-block:22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--mute);font-size:.82rem}
:is(#mallDesignB,#mallDesignBEnd) .mb-rv{opacity:0;transform:translateY(34px);transition:opacity .8s,transform .8s cubic-bezier(.2,.8,.2,1)}
:is(#mallDesignB,#mallDesignBEnd) .mb-rv.mb-on{opacity:1;transform:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-toast{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 20px);inset-inline:0;margin:auto;width:max-content;background:var(--navy);color:var(--cream);padding:8px 20px;border-radius:999px;font-size:.85rem;opacity:0;transform:translateY(20px);transition:.3s;z-index:90;border:1px solid var(--gold)}
:is(#mallDesignB,#mallDesignBEnd) .mb-toast.mb-on{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){:is(#mallDesignB,#mallDesignBEnd) *{animation:none!important;transition:none!important}
:is(#mallDesignB,#mallDesignBEnd) .mb-rv{opacity:1;transform:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch path{stroke-dashoffset:0}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch .mb-lg{opacity:1}
:is(#mallDesignB,#mallDesignBEnd) .mb-chip,:is(#mallDesignB,#mallDesignBEnd) .mb-cta{transform:none!important}
:is(#mallDesignB,#mallDesignBEnd) .mb-weave path{stroke-dashoffset:0}}
:is(#mallDesignB,#mallDesignBEnd) .mb-bgfx{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-bgfx i{position:absolute;border-radius:50%;filter:blur(70px);will-change:transform}
:is(#mallDesignB,#mallDesignBEnd) .mb-o1{width:50vw;height:50vw;background:var(--em);opacity:.2;top:-12vw;inset-inline-start:-12vw;transform:translate3d(calc(var(--sp,0)*34vw),calc(var(--sp,0)*70vh),0)}
:is(#mallDesignB,#mallDesignBEnd) .mb-o2{width:42vw;height:42vw;background:var(--gold);opacity:.26;top:28vh;inset-inline-end:-14vw;transform:translate3d(calc(var(--sp,0)*-28vw),calc(var(--sp,0)*-30vh),0) scale(calc(1 + var(--sp,0)*.5))}
:is(#mallDesignB,#mallDesignBEnd) .mb-o3{width:36vw;height:36vw;background:#1B3A6B;opacity:.14;bottom:-14vw;inset-inline-start:20vw;transform:translate3d(calc(var(--sp,0)*-20vw),calc(var(--sp,0)*-40vh),0)}
:is(#mallDesignB,#mallDesignBEnd) .mb-ga{position:absolute;width:74vmin;inset-inline-end:-14vmin;bottom:-16vmin;fill:none;stroke:var(--gold);stroke-width:1.3;opacity:.4;will-change:transform;transform:translate3d(0,calc(var(--sp,0)*-45vh),0) rotate(calc(var(--sp,0)*10deg))}
html.dark :is(#mallDesignB,#mallDesignBEnd) .mb-o3{opacity:.3}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch svg{transform:translate3d(0,calc((.5 - var(--p,.5))*36px),0)}
:is(#mallDesignB,#mallDesignBEnd) .mb-band{overflow:hidden;direction:ltr;white-space:nowrap;padding-block:26px;font-family:var(--disp);font-weight:700;font-size:clamp(3.4rem,13vw,10rem);line-height:1;-webkit-text-stroke:2px var(--gold2);color:transparent}
:is(#mallDesignB,#mallDesignBEnd) .mb-band span{display:inline-block;will-change:transform;transform:translate3d(calc(var(--p,.5)*-32%),0,0)}
:is(#mallDesignB,#mallDesignBEnd) .mb-band.mb-r span{transform:translate3d(calc((var(--p,.5) - 1)*32%),0,0)}
:is(#mallDesignB,#mallDesignBEnd) .mb-wd{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.12em}
:is(#mallDesignB,#mallDesignBEnd) .mb-wd i{display:inline-block;font-style:normal;transform:translateY(112%);transition:transform .9s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--i)*.08s)}
:is(#mallDesignB,#mallDesignBEnd) .mb-on .mb-wd i{transform:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-pil .mb-pc.mb-rv{transform:translate(var(--tx,0),40px) rotate(var(--tr,0deg)) scale(.96)}
:is(#mallDesignB,#mallDesignBEnd) .mb-pil .mb-pc.mb-rv.mb-on{transform:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-pil .mb-pc:nth-child(1){--tx:70px;--tr:3deg}
:is(#mallDesignB,#mallDesignBEnd) .mb-pil .mb-pc:nth-child(3){--tx:-70px;--tr:-3deg}
:is(#mallDesignB,#mallDesignBEnd) .mb-pil .mb-pc:nth-child(2){--tx:0}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk.mb-rv{transform:translateY(60px) scale(.94) rotate(var(--tr,0deg))}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk.mb-rv.mb-on{transform:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk:nth-child(odd){--tr:2deg}
:is(#mallDesignB,#mallDesignBEnd) .mb-pk:nth-child(even){--tr:-2deg}
@media(prefers-reduced-motion:reduce){:is(#mallDesignB,#mallDesignBEnd) .mb-wd i,:is(#mallDesignB,#mallDesignBEnd) .mb-band span,:is(#mallDesignB,#mallDesignBEnd) .mb-ga,:is(#mallDesignB,#mallDesignBEnd) .mb-bgfx i{transform:none!important}
:is(#mallDesignB,#mallDesignBEnd) .mb-arch svg{transform:none}}

:is(#mallDesignB,#mallDesignBEnd){position:relative;display:block}
:is(#mallDesignB,#mallDesignBEnd) a{color:inherit;text-decoration:none}
:is(#mallDesignB,#mallDesignBEnd) .mb-sw button{font:inherit;cursor:pointer;border:0;color:inherit}
:is(#mallDesignB,#mallDesignBEnd) .mb-btn{font:inherit;cursor:pointer;border:0}
#mb-msearch{max-width:520px;margin:0 0 22px}
:is(#mallDesignB,#mallDesignBEnd) .msearch *{line-height:1.5}
:is(#mallDesignB,#mallDesignBEnd) .msearch .bg-gray-50{background:var(--card);border:1px solid var(--line);color:var(--ink)}
:is(#mallDesignB,#mallDesignBEnd) .msearch .text-gray-400{color:var(--mute)}
:is(#mallDesignB,#mallDesignBEnd) .msearch input{font-size:16px}
html.dark :is(#mallDesignB,#mallDesignBEnd) .msearch .bg-white{background:#16393A}
html.dark :is(#mallDesignB,#mallDesignBEnd) .msearch input{color:#F3EEDF}
:is(#mallDesignB,#mallDesignBEnd) [id^="mb-"]{scroll-margin-top:84px}
:is(#mallDesignB,#mallDesignBEnd).mb-off .mb-bgfx{visibility:hidden}

/* ==== css/mall-home-sections.css ==== */
/* Home sections (both designs): admin on/off switches + a shared, brand-aware look.
   Visibility: js/design.js sets <html data-hs="key key…"> with the HIDDEN section keys
   (settings/platform.HOME_SECTIONS, cached in localStorage → no flash). */
html[data-hs~="stats"] [data-home-sec="stats"],
html[data-hs~="pay"] [data-home-sec="pay"],
html[data-hs~="explore"] [data-home-sec="explore"],
html[data-hs~="bestsellers"] [data-home-sec="bestsellers"],
html[data-hs~="featured"] [data-home-sec="featured"],
html[data-hs~="trust"] [data-home-sec="trust"],
html[data-hs~="blog"] [data-home-sec="blog"],
html[data-hs~="newsletter"] [data-home-sec="newsletter"],
html[data-hs~="cta"] [data-home-sec="cta"]{display:none!important}

.hs{padding:44px 16px}
.hs-in{max-width:80rem;margin-inline:auto}
.hs h2{font-family:var(--m-disp,inherit)}
.hs-head{text-align:center;max-width:42rem;margin:0 auto 34px}
.hs-head h2{font-size:clamp(1.7rem,3.6vw,2.6rem);font-weight:800;line-height:1.35;color:var(--m-ink)}
.hs-kick{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.03em;color:var(--m-gold);background:color-mix(in srgb,var(--m-gold) 14%,transparent);padding:4px 16px;border-radius:999px;margin-bottom:10px}

/* payment features */
.hs-grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}
.hs-card{position:relative;background:var(--m-surface);border:1px solid var(--m-rule);border-radius:24px;padding:26px 22px;display:flex;flex-direction:column;gap:10px;overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s}
.hs-card::before{content:"";position:absolute;inset-inline:0;top:0;height:4px;background:linear-gradient(90deg,var(--m-teal),var(--m-gold));opacity:.75}
.hs-card:hover{transform:translateY(-6px);box-shadow:var(--m-shadow);border-color:color-mix(in srgb,var(--m-gold) 55%,var(--m-rule))}
.hs-ico{width:54px;height:54px;border-radius:18px 18px 18px 6px;display:grid;place-items:center;font-size:1.35rem}
.hs-ico.t{background:color-mix(in srgb,var(--m-teal) 14%,transparent);color:var(--m-teal)}
.hs-ico.g{background:color-mix(in srgb,var(--m-gold) 18%,transparent);color:var(--m-gold)}
.hs-ico.n{background:color-mix(in srgb,var(--m-ink) 10%,transparent);color:var(--m-ink)}
.hs-card h3{font-family:var(--m-disp,inherit);font-weight:800;font-size:1.1rem;color:var(--m-ink);line-height:1.5}
.hs-card p{color:var(--m-mute);font-size:.9rem;line-height:1.9}

/* explore (services / products paths) */
.hs-explore .grid>div{position:relative;overflow:hidden;background:var(--m-surface);border:1px solid var(--m-rule);border-radius:28px;padding:28px;box-shadow:var(--m-shadow)}
.hs-explore .grid>div::before{content:"";position:absolute;inset-inline:0;top:0;height:5px;background:linear-gradient(90deg,var(--m-gold),color-mix(in srgb,var(--m-gold) 30%,transparent))}
.hs-explore .grid>div:last-child::before{background:linear-gradient(90deg,var(--m-teal),color-mix(in srgb,var(--m-teal) 30%,transparent))}
.hs-explore h2{font-size:clamp(1.7rem,3.6vw,2.6rem)!important;font-weight:800!important;line-height:1.35;color:var(--m-ink)!important}
.hs-explore .text-secondary.text-sm{display:inline-block;color:var(--m-gold)!important;background:color-mix(in srgb,var(--m-gold) 14%,transparent);padding:4px 16px;border-radius:999px;margin-bottom:6px}
.hs-explore h3{font-family:var(--m-disp,inherit);font-size:1.15rem;color:var(--m-ink)!important}
.hs-explore button{border:1px solid var(--m-rule);background:var(--m-surface2)!important;border-radius:18px!important;padding:16px 14px!important;gap:10px!important;transition:transform .25s,border-color .25s,box-shadow .25s,background .25s}
.hs-explore button:hover{transform:translateY(-4px);border-color:var(--m-gold);box-shadow:var(--m-shadow);background:var(--m-surface)!important}
.hs-explore button i{width:48px;height:48px;border-radius:16px 16px 16px 5px;display:grid;place-items:center;font-size:1.15rem!important;background:color-mix(in srgb,var(--m-gold) 16%,transparent);color:var(--m-gold)!important}
.hs-explore .grid>div:last-child button i{background:color-mix(in srgb,var(--m-teal) 14%,transparent);color:var(--m-teal)!important}
.hs-explore button span{font-weight:700;color:var(--m-ink)}

/* listing sections / trust: same rhythm */
[data-home-sec="bestsellers"] h2,[data-home-sec="featured"] h2,[data-home-sec="trust"] h2{font-weight:800!important;line-height:1.4;color:var(--m-ink)!important}

/* scroll reveal (class added by js/design.js; no effect without JS) */
.hs-rv{opacity:0;transform:translateY(26px);transition:opacity .7s,transform .7s cubic-bezier(.2,.8,.2,1)}
.hs-rv.hs-on{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.hs-rv{opacity:1;transform:none;transition:none}.hs-card,.hs-explore button{transition:none}}

/* ==== css/mall-design-mint.css ==== */
/* Site design switch — palette/typography for design "mint" (نعناع وذهب).
   Applied when <html data-design="mint"> (set by js/design.js from settings/platform.SITE_DESIGN).
   Default design ("navy") needs no rules: it is the base palette in mall-theme.css. */
#mallDesignB,#mallDesignBEnd{display:none}
html[data-design="mint"] #mallDesignB,html[data-design="mint"] #mallDesignBEnd{display:block}
html[data-design="mint"] #mallDesign,html[data-design="mint"] #mallDesignEnd{display:none!important}

html[data-design="mint"]{
  --m-bg:#E6F0EA;--m-bg2:#DCE9E2;--m-surface:#FBFEFC;--m-surface2:#EEF5F1;--m-surface3:#D5E4DB;
  --m-ink:#0C1830;--m-mute:#4F5F66;--m-mute2:#7C8C90;--m-rule:rgba(12,24,48,.13);
  --m-navy:#0C1830;--m-navy2:#0A4A41;--m-cream:#F7F1E3;
  --m-teal:#0F7A6C;--m-teal2:#14B8A6;--m-gold:#B8935A;--m-cta:#B8935A;--m-on-cta:#0C1830;
  --m-glass:rgba(230,240,234,.86);--m-shadow:0 24px 60px -30px rgba(12,24,48,.3);
  --m-disp:'Reem Kufi','Readex Pro',system-ui,sans-serif;
  --brand-dark:#0A4A41;
}
html[data-design="mint"].dark{
  --m-bg:#08191A;--m-bg2:#061213;--m-surface:#0F2A2B;--m-surface2:#14363A;--m-surface3:#1A4247;
  --m-ink:#F3EEDF;--m-mute:#9FB3B0;--m-mute2:#7C9390;--m-rule:rgba(243,238,223,.14);
  --m-teal:#14B8A6;--m-gold:#D2AE72;--m-cta:#D2AE72;
  --m-glass:rgba(8,25,26,.86);--m-shadow:0 28px 64px -30px rgba(0,0,0,.75);
  --brand-dark:#5EEAD4;
}
html[data-design="mint"] h1,html[data-design="mint"] h2,html[data-design="mint"] .font-display{font-family:var(--m-disp)}

