/* small-screen polish shared by all stores (2026-11-02) */
html body .badge,html body .card .badge,html body .kind,html body .card .kind,html body .pdfx-flag,html body .pdfx-chip,html body .card .pdfx-chip{font-size:11.5px!important;line-height:1.4!important}
html body .card .buy,html body .buy,html body #products .card .buy{min-height:44px!important;height:auto!important;padding-top:11px!important;padding-bottom:11px!important}
html body .own{min-height:44px;display:inline-flex!important;align-items:center;padding:0 16px}
html body #page #products .pgrid .card .badge,html body #page #products .pgrid .card .kind,html body #page #products .pgrid .card .pdfx-flag,html body #page #products .pgrid .card .pdfx-chip,html body #page #products .pgrid .badge{font-size:11.5px!important;line-height:1.4!important}

/* omj loader (26-11، طلب أم جوري): حركة تحميل من أول لحظة وقت ما المتجر يجهز (st-wait)، بدل اللون الفاضي.
   omj-sections.js يكمل عليها بشعار المتجر واسمه. ما تطلع في pearl-digital و stitch--thread و easignature. */
html.st-wait:has(meta[property="og:url"]):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])):not(.omj-ldjs)::before{content:"";position:fixed;top:50%;left:50%;width:156px;height:156px;margin:-78px 0 0 -78px;border-radius:50%;background:conic-gradient(from 0deg,rgba(0,0,0,0) 0 25%,#C9A227 100%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px));z-index:2147483000;pointer-events:none;animation:omjspin .9s linear infinite,omjldin .25s .15s both}
@keyframes omjspin{to{transform:rotate(360deg)}}
@keyframes omjpulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes omjldin{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){html.st-wait::before{animation:omjldin .25s .15s both!important}}

/* omj hero v1 (26-11، طلب أم جوري): ترتيب مميز لمعلومات المتجر فوق (الشعار، الاسم، التوثيق، الوصف، الأزرار، الدولة) لكل المتاجر */
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:start!important;gap:0!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #logo.logo{width:128px!important;height:128px!important;border-radius:50%!important;border:4px solid #fff!important;box-shadow:0 0 0 2px var(--sf-accent,var(--accent,#0b6e4f)),0 14px 34px rgba(0,0,0,.12)!important;margin:0 0 20px!important;background-color:#fff!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt h1.name{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;font-size:clamp(32px,4.2vw,46px)!important;line-height:1.15!important;font-weight:900!important;letter-spacing:-.3px!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt h1.name svg.verified{width:28px!important;height:28px!important;flex:none!important;filter:drop-shadow(0 3px 6px rgba(0,0,0,.15))}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt h1.name::after{content:none!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt h1.name + .bio,html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #s-bio{position:relative!important;margin:30px 0 0!important;max-width:440px!important;font-size:17px!important;line-height:1.75!important;text-align:start!important;opacity:.85}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #s-bio::before{content:""!important;position:absolute!important;top:-16px!important;inset-inline-start:0!important;width:46px!important;height:4px!important;border-radius:4px!important;background:var(--sf-accent,var(--accent,#0b6e4f))!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #s-bio:empty{display:none!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:26px 0 0!important;justify-content:flex-start!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn{min-width:150px!important;padding:0 26px!important;border-radius:16px!important;font-size:16px!important;font-weight:800!important;justify-content:center!important;transition:transform .15s ease,box-shadow .15s ease!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn:not(.ghost){background:var(--sf-accent,var(--accent,#0b6e4f))!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px -8px var(--sf-accent,var(--accent,#0b6e4f))!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn:not(.ghost)::after{content:"←"!important;margin-inline-start:10px!important;font-weight:900!important;transition:transform .15s ease!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn:not(.ghost):hover::after{transform:translateX(-4px)!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn.ghost{background:transparent!important;color:var(--sf-accent,var(--accent,#0b6e4f))!important;border:2px solid var(--sf-accent,var(--accent,#0b6e4f))!important;box-shadow:none!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn:hover{transform:translateY(-2px)!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #stats.stats{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:20px 0 0!important;justify-content:flex-start!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #stats .stat{align-items:center!important;gap:8px!important;height:36px!important;padding:0 14px!important;border-radius:999px!important;background:#fff!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 4px 12px rgba(0,0,0,.05)!important;font-size:13px!important;font-weight:800!important;letter-spacing:1px!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #stats .stat .sf-flag{width:24px!important;height:16px!important;border-radius:3px!important;object-fit:cover!important;box-shadow:0 0 0 1px rgba(0,0,0,.08)!important}
@media (max-width:820px){
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt{align-items:center!important;text-align:center!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt h1.name{justify-content:center!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #s-bio{text-align:center!important;margin-inline:auto!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #s-bio::before{inset-inline-start:50%!important;transform:translateX(50%)!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta{justify-content:center!important;width:100%!important;max-width:420px!important;flex-wrap:nowrap!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt .sf-cta .sf-btn{flex:1 1 0!important;min-width:0!important;padding:0 14px!important}
html:not(#oa):not(#ob):not(#oc):not(:has(meta[content*="/stitch--thread/"])):not(:has(meta[content*="/easignature/"])) body header.hero.omh .omh-txt #stats.stats{justify-content:center!important}
}

/* omj design pane v1 (26-11، طلب أم جوري): ترتيب قسم «التصميم» في لوحة التاجرة: الثيمات تاخذ المساحة، والمعاينة أكبر بدون سكرول مزدوج، والبطاقات مرتبة */
html.sf-ed:not(#oa):not(#ob) #p-design > p.omtb-sub{display:none!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp{width:auto!important;max-width:none!important;padding:22px!important;border-radius:22px!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tt{font-size:19px!important;font-weight:900!important;margin:0 0 4px!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .ts{font-size:13.5px!important;opacity:.75!important;margin:0 0 6px!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;width:auto!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .grid::before,html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .grid::after{font-size:15px!important;font-weight:900!important;padding:14px 2px 8px!important;margin:6px 0 0!important;border-bottom:1px solid rgba(0,0,0,.07)!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi{width:auto!important;height:auto!important;padding:8px 8px 10px!important;border-radius:18px!important;border:1.5px solid rgba(0,0,0,.08)!important;background:#fff!important;overflow:visible!important;cursor:pointer!important;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi:hover{transform:translateY(-2px)!important;box-shadow:0 8px 20px rgba(0,0,0,.08)!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi .sw{display:block!important;width:100%!important;height:86px!important;border-radius:13px!important;position:relative!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi .sw b{top:50%!important;bottom:auto!important;right:14px!important;left:auto!important;width:auto!important;transform:translateY(-55%)!important;font-size:38px!important;line-height:1!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi .sw i{top:auto!important;bottom:10px!important;width:16px!important;height:16px!important;box-shadow:0 0 0 2px #fff!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi .sw i:nth-of-type(1){left:10px!important;right:auto!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi .sw i:nth-of-type(2){left:28px!important;right:auto!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi .tn{display:block!important;width:auto!important;margin:8px 0 0!important;font-size:13.5px!important;font-weight:800!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi.on{border:2px solid var(--accent,#0b6e4f)!important;box-shadow:0 0 0 4px rgba(214,51,108,.12),0 8px 20px rgba(0,0,0,.08)!important}
html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .tpi.on::after{top:-9px!important;left:-9px!important;right:auto!important;width:26px!important;height:26px!important;line-height:26px!important;border-radius:50%!important;font-size:14px!important;box-shadow:0 0 0 3px #fff!important;z-index:2!important}
@media (max-width:520px){html.sf-ed:not(#oa):not(#ob) #p-design #sf2tp .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (min-width:1000px){
html.sf-ed:not(#oa):not(#ob) #p-design.omtb-pv{grid-template-columns:minmax(0,1fr)!important;padding-inline-end:420px!important;align-items:start!important}
html.sf-ed:not(#oa):not(#ob) #p-design aside.omtb-side #dprev{height:min(794px,calc(100vh - 210px))!important;overflow:hidden!important}
html.sf-ed:not(#oa):not(#ob) #p-design aside.omtb-side #dpf{height:calc(min(794px,calc(100vh - 210px)) / .882051)!important}
}

/* luxury style (adlux): make the store palette follow the chosen luxury style */
html.adlux{--sf-bg:var(--bg)!important;--sf-surface:var(--surface)!important;--sf-ink:var(--ink)!important;--sf-muted:var(--muted)!important;--sf-accent:var(--accent)!important;--sf-on:var(--accent-ink)!important;--sf-soft:var(--soft)!important;--sf-line:var(--line)!important;--sf-fd:var(--font-d)!important;--sf-fb:var(--font-b)!important}
html.sf2.adlux:not(#sf_):not(#sf__):not(#sf___) #page header.hero{background:var(--sf-surface)!important;border:1px solid var(--sf-line)}
html.sf2.adlux:not(#sf_):not(#sf__):not(#sf___)[data-sft] #page header.hero :is(.name,.name span,.bio,p){color:var(--sf-ink)!important;-webkit-text-fill-color:var(--sf-ink)!important}

/* rfq-colors 28/11/2026: footer and empty-products box follow the store palette, not fixed pink */
html.sf2[data-sft="rose"] #sf2f{background:var(--sf-ink)!important}
.soonbox{background:var(--sf-soft,#e7f0eb)!important;color:var(--sf-accent,#0b6e4f)!important}
/* rfq-colors2 28/11/2026: old template vars (--accent/--ink/--muted/--soft/--line) follow the palette the merchant chose (--sf-*). Not for .adlux (it maps the other way). */
html.sf2:not(.adlux):not(#rq1):not(#rq2){--accent:var(--sf-accent)!important;--ink:var(--sf-ink)!important;--muted:var(--sf-muted)!important;--soft:var(--sf-soft)!important;--line:var(--sf-line)!important}
html.sf2 .fcard{background:var(--sf-surface,#fff)!important;border-color:var(--sf-line)!important;color:var(--sf-ink)!important}
html.sf2 .fcard *:not(svg):not(path):not(img){color:inherit!important}
html.sf2 .badge{color:var(--sf-accent)!important}
/* rfq-colors3: brand.css gradient vars follow the chosen palette too */
html.sf2:not(.adlux):not(#rq1):not(#rq2){--g2:var(--sf-accent)!important;--g1:color-mix(in srgb,var(--sf-accent) 60%,#fff)!important;--l1:color-mix(in srgb,var(--sf-accent) 28%,#fff)!important;--l2:color-mix(in srgb,var(--sf-accent) 16%,#fff)!important;--l3:color-mix(in srgb,var(--sf-accent) 7%,#fff)!important}
/* rfq-neutral 28/11/2026 (v2, 15 stores): stores on the pink rose theme -> Rafaq neutral caramel (same as capas). Only while data-sft=rose, so any other theme picked in التصميم wins. v2 (owner: "حط لان للحين يظهر وردي") adds the 4 that had chosen pink: smart-boutique, easignature, ghanjacustomx, store6345. */
html.sf2[data-sft="rose"]:is(:has(meta[property="og:url"][content*="/designdrops/"]),:has(meta[property="og:url"][content*="/haskills/"]),:has(meta[property="og:url"][content*="/hbartprint/"]),:has(meta[property="og:url"][content*="/little-flower/"]),:has(meta[property="og:url"][content*="/luxury-touch/"]),:has(meta[property="og:url"][content*="/oshi/"]),:has(meta[property="og:url"][content*="/umthiyab-creativity/"]),:has(meta[property="og:url"][content*="/zrafaart/"]),:has(meta[property="og:url"][content*="/store9606/"]),:has(meta[property="og:url"][content*="/workshopeae/"]),:has(meta[property="og:url"][content*="/artandcraftae/"]),:has(meta[property="og:url"][content*="/smart-boutique/"]),:has(meta[property="og:url"][content*="/easignature/"]),:has(meta[property="og:url"][content*="/ghanjacustomx/"]),:has(meta[property="og:url"][content*="/store6345/"])):not(#rn1):not(#rn2):not(#rn3){--sf-bg:#fdfaf7!important;--sf-surface:#ffffff!important;--sf-ink:#32261c!important;--sf-muted:#88817c!important;--sf-accent:#9b7558!important;--sf-on:#ffffff!important;--sf-soft:#fbf2eb!important;--sf-line:#f8ebe1!important}
.nbc-get{color:var(--sf-accent)!important}
/* rfq-ownhint: "owner? edit your store" bubble follows the store palette */
#ownhint{border-color:var(--sf-line,#e2e6e1)!important;color:var(--sf-ink,#1F2A26)!important}
#ownhint button:not(:last-child){background:var(--sf-accent,#0B6E4F)!important;color:var(--sf-on,#fff)!important}
#ownhint button:last-child{color:var(--sf-muted,#727f72)!important}
