/* editor & store small fixes (shared) */
#paybox{display:none!important}
.linkbox{display:flex!important;flex-direction:column!important;gap:10px!important;text-align:right}
.linkbox #mylink{display:block!important;direction:ltr!important;text-align:left!important;font:600 13px/1.6 ui-monospace,Menlo,Consolas,monospace!important;word-break:break-all!important;white-space:normal!important;background:#fff!important;border:1px solid var(--line,#cfe3d8)!important;border-radius:12px!important;padding:10px 12px!important;color:var(--accent,#0b6e4f)!important;max-width:100%;box-sizing:border-box}
.linkbox .row2{display:flex!important;gap:8px!important;flex-wrap:nowrap!important;width:100%}
.linkbox .row2>*{flex:1 1 0!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;font-weight:800!important;text-decoration:none!important;margin:0!important;box-sizing:border-box}
.linkbox #wa-share{background:#25D366!important;color:#fff!important;border:0!important}:root:not(.brand-on){--g1:var(--accent);--g2:var(--accent);--l1:var(--soft);--l2:var(--soft);--l3:var(--bg)}

/* mobile (<600px): products 2 per row, shorter covers, compact cards — all themes (default, brand-on, adlux). Laptop unchanged. */
@media (max-width:599.98px){
html body .pgrid.pgrid.pgrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body .pgrid.pgrid.pgrid>.card{min-width:0!important;padding:6px!important}
html body .pgrid.pgrid.pgrid>.card .cover{aspect-ratio:4/5!important;height:auto!important;min-height:0!important}
html body .pgrid.pgrid.pgrid>.card .body{padding:10px 4px 6px!important;gap:6px}
html body .pgrid.pgrid.pgrid>.card .body h3{font-size:14px!important;line-height:1.45!important}
html body .pgrid.pgrid.pgrid>.card .body p{font-size:11.5px!important;line-height:1.6!important}
html body .pgrid.pgrid.pgrid>.card .buyrow{gap:6px!important}
html body .pgrid.pgrid.pgrid>.card .price{font-size:15px!important}
html body .pgrid.pgrid.pgrid>.card .price s,html body .pgrid.pgrid.pgrid>.card .price small{font-size:11px!important}
html body .pgrid.pgrid.pgrid>.card .buy{width:100%!important;min-height:38px!important;font-size:13px!important;padding:8px 6px!important}
html body .pgrid.pgrid.pgrid>.card .stc-add{min-height:34px!important;font-size:12px!important;padding:6px!important}
html body .pgrid.pgrid.pgrid>.card .badge,html body .pgrid.pgrid.pgrid>.card .kind,html body .pgrid.pgrid.pgrid>.card .pdfx-chip{font-size:10px!important}
html body .pgrid.pgrid.pgrid>.card .pdfx-flag{font-size:10px!important;padding:4px 7px!important}
}

/* mobile (<600px): hide the in-card preview button (the cover badge opens the preview), tighter buy area */
@media (max-width:599.98px){
html body .pgrid.pgrid.pgrid>.card .pdfx-pvbtn{display:none!important}
html body .pgrid.pgrid.pgrid>.card .pdfx-flag{cursor:pointer}
html body .pgrid.pgrid.pgrid>.card .buyrow{gap:6px!important;padding-top:4px!important;margin-top:auto!important}
html body .pgrid.pgrid.pgrid>.card .price{margin:0 0 2px!important}
html body .pgrid.pgrid.pgrid>.card .buy,html body .pgrid.pgrid.pgrid>.card .stc-add{min-height:36px!important;height:36px!important;padding:0 6px!important;line-height:1.2!important;display:flex!important;align-items:center!important;justify-content:center!important}
}
/* removed: "send store link by WhatsApp" button in owner panel (all stores) */
.linkbox #wa-share,#wa-share{display:none!important}

/* compact store sections */
#catbox{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#catbox .cb-t,#catbox .cb-p{flex:0 0 100%;margin:0}
#catbox .cb-r{display:inline-flex;align-items:center;gap:0;background:var(--soft,#e7f0eb);border:1px solid var(--line,#cfe3d8);border-radius:999px;padding:1px 3px 1px 10px;max-width:100%;margin:0}
#catbox .cb-r .cb-i{border:0!important;background:transparent!important;box-shadow:none!important;padding:6px 4px!important;font:inherit;font-size:14px;width:auto!important;min-width:56px;max-width:130px;height:auto!important;color:inherit}
#catbox .cb-r .cb-x{border:0;background:transparent;width:26px;height:26px;min-width:26px;border-radius:50%;padding:0;font-size:16px;line-height:1;cursor:pointer;color:inherit}
#catbox .cb-r:has(.cb-new){flex:0 0 100%;display:flex;gap:8px;background:none;border:0;border-radius:0;padding:0}
#catbox .cb-r:has(.cb-new) .cb-new{flex:1;min-width:0}

/* compact owner panel */
#esheet .pitem{padding:6px 8px!important;gap:8px!important;margin:0 0 6px!important;min-height:0!important}
#esheet .pitem .th{width:38px!important;height:38px!important;min-width:38px!important;border-radius:8px!important}
#esheet .pitem .pi b{font-size:14px!important;line-height:1.3!important}
#esheet .pitem .pi span{font-size:12px!important;line-height:1.3!important}
#esheet .pitem .edb{padding:6px 12px!important;font-size:13px!important;min-height:0!important;height:auto!important;border-radius:999px!important}
#esheet .pgh{margin:10px 0 6px!important;font-size:13px!important}
#esheet .etabs{gap:4px!important}
#esheet .etabs button{padding:6px 10px!important;font-size:13px!important;min-height:0!important}
#esheet .opt,#esheet .field{margin-bottom:8px!important}
#esheet .hint,#esheet .cb-p{margin:2px 0 6px!important;font-size:12px!important;line-height:1.5!important}

/* hide generic pay link field */
label.field:has(#i-pay){display:none!important}

/* compact owner stats */
#kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#kpis .kpi{padding:8px 10px!important;border-radius:12px!important;min-width:0!important}
#kpis .kpi span{font-size:12px!important}
#kpis .kpi b{font-size:20px!important;line-height:1.2!important}
#kpis .kpi small{font-size:11px!important;line-height:1.3!important}
#esheet .linkbox{padding:8px 10px!important;gap:6px!important}

/* social fields: icon + short rows */
label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web){display:flex!important;align-items:center;gap:10px;margin:0 0 6px!important}
label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web)>span{font-size:0!important;line-height:0!important;width:24px;height:24px;flex:none;margin:0!important;display:inline-block}
label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web)>span::before{content:"";display:block;width:24px;height:24px;background:var(--accent,#0b6e4f);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
label.field:has(#i-ig,#i-tt,#i-sc,#i-fb,#i-yt,#i-web) input{flex:1;min-width:0;height:36px!important;padding:4px 12px!important;font-size:14px!important;margin:0!important}
label.field:has(#i-ig)>span::before{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%202h10a5%205%200%200%201%205%205v10a5%205%200%200%201-5%205H7a5%205%200%200%201-5-5V7a5%205%200%200%201%205-5zm0%202a3%203%200%200%200-3%203v10a3%203%200%200%200%203%203h10a3%203%200%200%200%203-3V7a3%203%200%200%200-3-3H7zm5%203.5a4.5%204.5%200%201%201%200%209%204.5%204.5%200%200%201%200-9zm0%202a2.5%202.5%200%201%200%200%205%202.5%202.5%200%200%200%200-5zM17.2%205.8a1.1%201.1%200%201%201%200%202.2%201.1%201.1%200%200%201%200-2.2z%22%2F%3E%3C%2Fsvg%3E")}
label.field:has(#i-tt)>span::before{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M16.6%202h-3.2v13.2a2.8%202.8%200%201%201-2.8-2.8c.3%200%20.6%200%20.9.1V9.2a6%206%200%201%200%205.1%205.9V8.7a7.4%207.4%200%200%200%204.3%201.4V6.9a4.3%204.3%200%200%201-4.3-4.9z%22%2F%3E%3C%2Fsvg%3E")}
label.field:has(#i-sc)>span::before{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202c3.2%200%205%202.3%205%205v2.2c.4.3%201.1.4%201.9.5-.1.8-.8%201.1-1.6%201.3.5%201%201.3%201.7%202.5%202-.3.9-1.6%201-2.3%201.1-.2.6-.5.9-1.2.9-.9%200-1.5-.7-3.6-.7-.4%200-.7.1-1%20.2.3.2.6.5.9.8-.5.3-1%20.5-1.5.5s-1-.2-1.5-.5c.3-.3.6-.6.9-.8-.3-.1-.6-.2-1-.2-2.1%200-2.7.7-3.6.7-.7%200-1-.3-1.2-.9-.7-.1-2-.2-2.3-1.1%201.2-.3%202-1%202.5-2-.8-.2-1.5-.5-1.6-1.3.8-.1%201.5-.2%201.9-.5V7c0-2.7%201.8-5%205-5z%22%2F%3E%3C%2Fsvg%3E")}
label.field:has(#i-fb)>span::before{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M13.5%2022v-8.2h2.8l.5-3.3h-3.3V8.4c0-1%20.4-1.7%201.8-1.7h1.6V3.8c-.3%200-1.3-.1-2.4-.1-2.5%200-4.2%201.5-4.2%204.3v2.5H7.5v3.3h2.8V22h3.2z%22%2F%3E%3C%2Fsvg%3E")}
label.field:has(#i-yt)>span::before{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.6%207.2a2.6%202.6%200%200%200-1.8-1.8C18.2%205%2012%205%2012%205s-6.2%200-7.8.4A2.6%202.6%200%200%200%202.4%207.2C2%208.8%202%2012%202%2012s0%203.2.4%204.8a2.6%202.6%200%200%200%201.8%201.8C5.8%2019%2012%2019%2012%2019s6.2%200%207.8-.4a2.6%202.6%200%200%200%201.8-1.8c.4-1.6.4-4.8.4-4.8s0-3.2-.4-4.8zM10%2015V9l5.2%203L10%2015z%22%2F%3E%3C%2Fsvg%3E")}
label.field:has(#i-web)>span::before{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm6.9%209h-3.1a15.7%2015.7%200%200%200-1.2-5.2A8%208%200%200%201%2018.9%2011zM12%204c.8%201%201.7%203.1%201.8%207h-3.6C10.3%207.1%2011.2%205%2012%204zM9.4%205.8A15.7%2015.7%200%200%200%208.2%2011H5.1a8%208%200%200%201%204.3-5.2zM5.1%2013h3.1c.1%201.9.5%203.7%201.2%205.2A8%208%200%200%201%205.1%2013zM12%2020c-.8-1-1.7-3.1-1.8-7h3.6c-.1%203.9-1%206-1.8%207zm2.6-1.8c.7-1.5%201.1-3.3%201.2-5.2h3.1a8%208%200%200%201-4.3%205.2z%22%2F%3E%3C%2Fsvg%3E")}

/* keep notice bar clear of menu button */
#notice{padding-right:68px!important;padding-left:16px!important;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center}

/* layout+corners must follow editor choices (beat brand/pdfx overrides) */
html.brand-on body #lay .card{border-radius:var(--r)!important}
html.brand-on body #lay .card .cover{border-radius:var(--r-sm)!important}
html.brand-on body #lay.lay-cards .pgrid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}
html.brand-on body #lay.lay-grid .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.brand-on body #lay.lay-list .pgrid{grid-template-columns:minmax(0,1fr)!important}
@media(min-width:700px){html.brand-on body #lay.lay-grid .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html.brand-on body #lay.lay-list .pgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:960px){html.brand-on body #lay.lay-grid .pgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
/* editor: short FAQ rows */
#qlist .qa{position:relative;padding:8px 10px 8px 42px!important;margin:0 0 8px!important}
#qlist .qa label.field{margin:0 0 6px!important}
#qlist .qa label.field>span{font-size:0!important;line-height:0!important;display:block;height:0;margin:0!important}
#qlist .qa input{height:38px!important;padding:4px 12px!important;font-weight:700}
#qlist .qa textarea{height:46px!important;min-height:46px!important;padding:8px 12px!important;resize:none}
#qlist .qa button[data-qdel]{position:absolute;left:8px;top:8px;width:28px;height:28px;min-height:0!important;padding:0!important;border-radius:50%!important;font-size:0!important}
#qlist .qa button[data-qdel]::before{content:"\2715";font-size:13px;line-height:28px}
#p-more #q-add{padding:8px 12px!important;min-height:0!important;font-size:14px}
#i-policy{height:84px!important;min-height:84px!important;resize:none}
/* editor: short reviews tab */
#p-rev{display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-areas:"hint hint" "pick list" "form form";gap:10px 12px;align-items:start}
#p-rev>.ehint{grid-area:hint;margin:0;font-size:0!important}
#p-rev>.ehint::before{content:"صور آراء زباينج أو رأي مكتوب، تطلع تحت المنتجات";font-size:13px;line-height:1.5}
#p-rev>#rlist{grid-area:list;margin:0;min-height:84px;align-self:center}
#p-rev>label.pickb{grid-area:pick;width:84px;height:84px;margin:0!important;padding:0!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:0!important;border:2px dashed var(--accent,#0b6e4f)!important;border-radius:18px!important;background:var(--soft,#e7f0eb)!important;cursor:pointer}
#p-rev>label.pickb::before{content:"+";font-size:32px;line-height:1;color:var(--accent,#0b6e4f)}
#p-rev>label.pickb::after{content:"صورة";font-size:12px;color:var(--accent,#0b6e4f);font-weight:700}
#p-rev>.rvform{grid-area:form;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;display:flex;flex-direction:column;gap:8px}
#p-rev>.rvform>.lbl{display:none!important}
#p-rev>.rvform label.field{margin:0!important}
#p-rev>.rvform label.field>span{font-size:0!important;line-height:0!important;display:block;height:0;margin:0!important}
#p-rev #rv-n{height:40px!important;padding:4px 12px!important}
#p-rev #rv-t{height:64px!important;min-height:64px!important;padding:8px 12px!important;resize:none}
#p-rev #rv-add{padding:9px 12px!important;min-height:0!important}
/* editor: easy exit */
#esheet .sheet-h{position:sticky;top:0;z-index:6;background:var(--surface,#fff);display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding-top:8px!important;padding-bottom:8px!important}
#esheet .sheet-h .x{width:auto!important;min-width:0!important;height:44px!important;padding:0 18px!important;border-radius:999px!important;font-size:0!important;display:inline-flex!important;align-items:center;gap:8px;background:var(--soft,#e7f0eb)!important;color:var(--accent,#0b6e4f)!important;font-weight:800;cursor:pointer;border:0}
#esheet .sheet-h .x::before{content:"\2715";font-size:15px;line-height:1}
#esheet .sheet-h .x::after{content:"رجوع";font-size:16px;line-height:1}
#esheet .actions button.alt[data-close]{font-size:0!important}
#esheet .actions button.alt[data-close]::after{content:"رجوع بدون حفظ";font-size:15px}

/* link box -> small copy button */
.linkbox{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 8px!important}
.linkbox>.lbl,.linkbox>code#mylink{display:none!important}
.linkbox .row2{display:flex!important;justify-content:flex-start;margin:0!important}
#cp-link{width:auto!important;min-height:0!important;padding:8px 16px!important;border-radius:999px!important;font-size:14px!important}
#cp-link::before{content:"\1F517  "}

#cp-link{flex:none!important;width:auto!important;max-width:max-content}

/* catbox as dropdown */
#catbox{padding:0!important;gap:0!important}
#catbox .cb-t{cursor:pointer;display:flex!important;align-items:center;justify-content:space-between;padding:11px 14px!important;margin:0!important;border-radius:14px;background:var(--soft,#e7f0eb);font-weight:800;user-select:none}
#catbox .cb-t::before{content:"\1F5C2\FE0F  ";font-weight:400}
#catbox .cb-t::after{content:"\25BE";font-size:18px;margin-inline-start:auto;color:var(--accent,#0b6e4f)}
#catbox.cb-closed .cb-t::after{content:"\25C2"}
#catbox.cb-closed>*:not(.cb-t){display:none!important}
#catbox:not(.cb-closed)>*:not(.cb-t){margin:8px 12px 10px}

/* layout+corners v2: beat inline #products rules */
html body #lay #products .card{border-radius:var(--r)!important}
html body #lay.lay-cards #products .pgrid.pgrid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}
html body #lay.lay-grid #products .pgrid.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #lay.lay-list #products .pgrid.pgrid{grid-template-columns:minmax(0,1fr)!important}
@media(min-width:700px){html body #lay.lay-grid #products .pgrid.pgrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html body #lay.lay-list #products .pgrid.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:960px){html body #lay.lay-grid #products .pgrid.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
html body #lay.lay-list #products .card{display:grid!important;grid-template-columns:104px minmax(0,1fr);align-items:stretch}
html body #lay.lay-list #products .card .cover{height:100%!important;min-height:96px;aspect-ratio:auto!important}
@media(max-width:899.98px){.dprev{height:330px!important}}

/* per-product preview button + gap fix */
.pdfx-ownbtn{display:none!important}
.pdfx-rowbtn{flex:none;border:1px solid var(--accent,#0b6e4f);background:transparent;color:var(--accent,#0b6e4f);font-family:var(--font-d,inherit);font-weight:700;font-size:13px;border-radius:999px;padding:6px 10px;cursor:pointer;white-space:nowrap}
html body #lay #products .card .buyrow{margin-top:0!important}
html body #lay #products .pgrid.pgrid{align-items:start!important}

/* catbox add = dropdown */
#catbox:not(.cb-custom) .cb-r:has(#cb-new){display:none!important}
#catbox .cb-sel{display:block;width:calc(100% - 24px);height:42px;padding:0 14px;border:1px solid var(--line,#cfe3d8);border-radius:999px;background:#fff;color:var(--ink,#3b2431);font:inherit;font-weight:700;cursor:pointer}

/* catbox: add-only */
/* catbox: list under dropdown */
#catbox .cb-sel{margin-bottom:8px}
#catbox .cb-r~.cb-p{display:none!important}

/* preview options UI */
.pdfx-allow{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:8px 0;border-radius:14px;background:var(--soft,#e7f0eb);font-weight:700;cursor:pointer}
.pdfx-allow input{width:22px;height:22px;flex:none;accent-color:var(--accent,#0b6e4f)}
.pdfx-offmsg{margin:6px 2px;color:var(--muted,#8c6b7c);font-size:14px}
.pdfx-pdfopt>label:not(.pdfx-cnt label),.pdfx-pdfopt .in-pages{display:none!important}
.pdfx-cnt{display:grid;gap:6px}
.pdfx-cnt label{display:block!important}
.pdfx-cnt .in-count{height:42px;padding:0 14px;border:1px solid var(--line,#cfe3d8);border-radius:999px;background:#fff;font:inherit;font-weight:700}

/* sections accordion */
.psec-h{display:flex!important;align-items:center;gap:8px;cursor:pointer;user-select:none}
.psec-h .cnt{margin-inline-start:4px}
.psec-h::after{content:"\25BE";margin-inline-start:auto;font-size:20px;line-height:1;color:var(--accent,#0b6e4f);padding:4px 8px;border-radius:999px;background:var(--soft,#e7f0eb)}
.psec.closed>.psec-h::after{content:"\25C2"}
.psec.closed>.pgrid{display:none!important}

html body #lay #products .psec.closed>.pgrid.pgrid,html body #products .psec.closed>.pgrid.pgrid{display:none!important}

#plhint{display:none!important}

/* catbox: chips hidden */
#catbox .cb-r:has(.cb-i){display:none!important}

/* catbox: single header "add category" */
#catbox .cb-t{font-size:0!important}
#catbox .cb-t::before{content:"\2795  إضافة قسم جديد"!important;font-size:16px;font-weight:800}
#catbox .cb-t::after{font-size:20px!important}

/* no bank option css */
html.ownpay #pm-add option[value="bank"],html.ownpay .pmrow[data-pm="bank"]{display:none!important}

/* orders: compact rows */
#orders>.hint{font-size:11px!important;margin:2px 0 6px!important}
#olist{max-height:340px;overflow-y:auto;padding:2px}
#olist .oitem{padding:8px 10px!important;margin:0 0 6px!important;border-radius:12px!important}
#olist .oitem .ot{font-size:13px!important;margin:0 0 1px!important;gap:8px}
#olist .oitem .om{display:block;font-size:11px!important;margin:0 0 6px!important}
#olist .oitem .oe{display:none!important}
#olist .oitem .ors{display:flex!important;gap:6px;align-items:center;margin:0!important}
#olist .oitem .ors input{flex:1;min-width:0;height:32px!important;padding:0 8px!important;font-size:12px!important;border-radius:8px!important}
#olist .oitem .ors button{height:32px!important;padding:0 10px!important;font-size:12px!important;white-space:nowrap;border-radius:8px!important;flex:none}

/* orders: send icon button */
#olist .oitem .ors button{font-size:0!important;width:42px;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center}
#olist .oitem .ors button::before{content:"";display:block;width:18px;height:18px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 21l21-9L2 3v7l15 2-15 2z'/%3E%3C/svg%3E") center/contain no-repeat;transform:scaleX(-1)}

/* orders: name + price only */
#orders>.hint{display:none!important}
#olist .oitem .om,#olist .oitem .oe,#olist .oitem .ors{display:none!important}
#olist .oitem{padding:8px 12px!important;margin:0 0 5px!important}
#olist .oitem .ot{margin:0!important;font-size:13px!important;display:flex;justify-content:space-between;gap:8px}
#olist{max-height:300px}

/* wallet section */
#kpis.nowal .kpi:nth-child(3){grid-column:1/-1}
#walbox{margin:10px 0;padding:12px 14px;border-radius:18px;background:#f3f7f4;border:1px solid #cfe3d8}
#walbox .wh{font-weight:800;font-size:16px;margin:0 0 8px}
#walbox .wbig{background:#fff;border-radius:14px;padding:10px 14px;margin:0 0 8px;text-align:center}
#walbox .wbig small{display:block;font-size:12px;opacity:.7}
#walbox .wbig b{display:block;font-size:26px;line-height:1.3}
#walbox .wrow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 4px;border-top:1px dashed #cfe3d8;font-size:13px}
#walbox .wrow span{opacity:.75}
#walbox .wnote{margin:8px 0 0;padding:8px 10px;border-radius:12px;background:#fff7e0;font-size:12px;line-height:1.7}
#walbox .wnote.ok{background:#e6f6ea}
#walbox .wnote.warn{background:#ffe9e5}

/* smaller product cards */
html body #lay.lay-cards .pgrid .card .cover,html body #lay.lay-grid .pgrid .card .cover{aspect-ratio:4/3!important;max-height:190px!important}
html body #lay .pgrid .card .cover .big{width:48px!important;height:48px!important}
html body #lay .pgrid .card .cover .big svg{width:26px!important;height:26px!important}
html body #lay .pgrid .card .body{padding:10px 12px 12px!important;gap:6px!important}
html body #lay .pgrid .card .body h3{font-size:14px!important;margin:0!important}
html body #lay .pgrid .card .buyrow{gap:6px!important}
html body #lay .pgrid .card .buyrow .btn,html body #lay .pgrid .card .stc-add{min-height:38px!important;padding:6px 12px!important;font-size:13px!important}
html body #lay .pgrid .card .pdfx-flag{transform:scale(.9);transform-origin:right bottom}

/* categories menu only when merchant made 2+ */
body.nocats #mbtn,body.nocats #mdr,body.nocats #mdim{display:none!important}
body.nocats #tabs{display:none!important}

/* smaller card buttons */
html body #lay .pgrid .card .buy{min-height:32px!important;height:32px!important;padding:0 10px!important;font-size:12px!important;border-radius:11px!important}
html body #lay .pgrid .card .pdfx-pvbtn{min-height:28px!important;height:28px!important;padding:0 8px!important;font-size:11.5px!important;border-width:1.5px!important;border-radius:11px!important}
html body #lay .pgrid .card .stc-add{min-height:28px!important;height:28px!important;padding:0 8px!important;font-size:11.5px!important;border-radius:11px!important}
html body #lay .pgrid .card .buyrow{gap:5px!important}
html body #lay .pgrid .card .body{gap:5px!important}
html body #lay .pgrid .card .cover{max-height:150px!important}

/* cover image fills the whole width */
html body #lay.lay-cards .pgrid .card .cover,html body #lay.lay-grid .pgrid .card .cover{aspect-ratio:auto!important;height:160px!important;max-height:160px!important;overflow:hidden!important}
html body #lay .pgrid .card .cover img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;display:block!important}

/* eye + about buttons on covers */
html body #lay .pgrid .card .body>p{display:none!important}
html body #lay .pgrid .card .pdfx-pvbtn{display:none!important}
html body #lay .pgrid .card .cover{position:relative!important}
.nbbtn{position:absolute;left:8px;width:32px;height:32px;border-radius:50%;border:0;background:rgba(255,255,255,.94);color:#0b6e4f;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer;z-index:4;padding:0}
.nbbtn.nb-eye{top:8px}
.nbbtn.nb-info{top:46px}
.nbbtn.nb-eye:only-of-type{top:8px}
#nbModal{position:fixed;inset:0;background:rgba(40,10,25,.45);z-index:2147483000;display:grid;place-items:center;padding:20px}
#nbModal .nbbox{background:#fff;border-radius:20px;padding:18px 18px 14px;max-width:340px;width:100%;max-height:70vh;overflow:auto;box-shadow:0 10px 40px rgba(0,0,0,.3);text-align:right}
#nbModal h4{margin:0 0 8px;font-size:16px}
#nbModal p{margin:0 0 8px;font-size:13px;line-height:1.8;opacity:.85;white-space:pre-line}
#nbModal ul{margin:0 0 10px;padding:0 18px 0 0;font-size:13px;line-height:1.8}
#nbModal .nbclose{display:block;width:100%;height:36px;border:0;border-radius:12px;background:#0b6e4f;color:#fff;font-weight:700;font-size:13px;cursor:pointer}

/* product tiles */
#plist{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
#plist .pgh{grid-column:1/-1;margin:6px 0 0!important}
#plist .pitem{display:grid!important;grid-template-columns:1fr 1fr;gap:6px;padding:8px!important;border-radius:16px!important;align-content:start;align-items:stretch}
#plist .pitem .th{grid-column:1/-1;width:100%!important;height:auto!important;aspect-ratio:1/1;border-radius:12px!important;position:relative;cursor:pointer;background-size:cover!important;background-position:center!important;display:grid!important;place-items:center}
#plist .pitem .th svg{width:38%!important;height:38%!important}
#plist .pitem .pi{grid-column:1/-1;display:block!important;min-width:0}
#plist .pitem .nbname{width:100%;box-sizing:border-box;height:34px;border:1.5px solid #cfe3d8;border-radius:10px;padding:0 8px;font:inherit;font-weight:700;font-size:13px;text-align:center;background:#fff;color:inherit}
#plist .pitem .pi>span{display:block;text-align:center;font-size:11px;opacity:.7;margin-top:4px}
#plist .pitem .th .nbcam{position:absolute;left:6px;bottom:6px;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center;font-size:14px;box-shadow:0 2px 6px rgba(0,0,0,.2)}
#plist .pitem .pdfx-rowbtn,#plist .pitem .edb{width:100%!important;margin:0!important;height:34px!important;padding:0 6px!important;font-size:12px!important;box-sizing:border-box}
html.nbq #fveil{visibility:hidden!important}

/* no stats cards */
#kpis{display:none!important}

/* copy-link icon next to edit button */
#p-prod .linkbox{display:none!important}
#nbcopy{position:fixed;z-index:60;border-radius:50%;border:0;background:#fff;color:#0b6e4f;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.22);cursor:pointer;padding:0}
#nbcopyToast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%) translateY(10px);background:#3a1a28;color:#fff;padding:9px 16px;border-radius:14px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:2147483000}
#nbcopyToast.show{opacity:1;transform:translateX(-50%)}

/* tiles: only name+cover, small full-edit button */
#plist .pitem .pi span,#plist .pitem .pdfx-rowbtn{display:none!important}
#plist .pitem .edb{font-size:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:4px 0!important;margin:2px auto 0!important;width:100%!important;min-height:0!important;height:auto!important;display:block!important;color:#0b6e4f}
#plist .pitem .edb::after{content:"✎ تعديل كامل";font-size:11.5px;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* edit form as popup box */
#plist #fsheet.inline{position:fixed!important;top:4vh;left:50%;transform:translateX(-50%);width:min(520px,92vw)!important;max-height:90vh;overflow:auto;z-index:2147482000;background:#fff;border-radius:20px;padding:16px;box-shadow:0 0 0 100vmax rgba(40,10,25,.5),0 10px 40px rgba(0,0,0,.3)}

/* catbox two columns + orders into wallet */
#catbox .cb-t{display:none!important}
#catbox .nbc{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
#catbox .nbc-add,#catbox .nbc-mine{flex:1 1 220px;min-width:0;background:#fff;border:1px solid #cfe3d8;border-radius:14px;padding:10px}
#catbox .nbc-l{font-weight:800;font-size:13px;color:#0b6e4f;margin-bottom:8px}
#catbox .nbc .cb-sel{width:100%;margin-bottom:8px}
#catbox .nbc-empty{font-size:12px;color:#999}
#p-wallet #orders{margin-top:12px}

/* catbox header toggle restored */
#catbox .cb-t{display:flex!important}
#catbox .cb-t::before{content:"\1F5C2\FE0F  أقسام المتجر"!important}

/* catbox columns full width */
#catbox .nbc{flex:0 0 100%;width:100%;box-sizing:border-box;margin:8px 0 10px!important}
#catbox .nbc .cb-r{display:flex!important;gap:6px;margin:0 0 6px!important}
#catbox .nbc .cb-r input{flex:1;min-width:0}

/* catbox always open, no folder header */
#catbox .cb-t{display:none!important}
#catbox.cb-closed>*:not(.cb-t){display:revert!important}
#catbox .nbc{display:flex!important}

/* my categories: only used ones, plain list */
#catbox .nbc-mine .cb-r,#catbox .nbc-mine .nbc-empty:not(.nbc-list .nbc-empty){display:none!important}
#catbox .nbc-it{padding:6px 2px;font-size:14px;font-weight:700;color:#3a1a28;border-bottom:1px solid #e7f0eb}
#catbox .nbc-it:last-child{border-bottom:0}

/* no category picker select */
#catbox .nbc-add .cb-sel{display:none!important}

/* add category: click label to show name box */
#catbox .nbc-add .nbc-l{cursor:pointer;margin-bottom:0;display:flex;align-items:center;justify-content:space-between}
#catbox .nbc-add .nbc-l::after{content:"\25BE";font-size:16px}
#catbox .nbc-add.open .nbc-l{margin-bottom:8px}
#catbox .nbc-add .cb-r{display:none!important}
#catbox .nbc-add.open .cb-r{display:flex!important;gap:6px}
#catbox .nbc-add.open .cb-r input{flex:1;min-width:0}

/* add category: enable custom-name mode */
#catbox .nbc-add.open .cb-r:has(#cb-new),#catbox .nbc-add.open .cb-r:has(.cb-new){display:flex!important}

/* add category: multiple name boxes with tick / cross */
#catbox .nbc-add .nbc-l::after{content:"+"!important;font-size:22px;line-height:1}
#catbox .nbc-row{display:flex;align-items:center;gap:8px;margin-top:8px}
#catbox .nbc-in{flex:1;min-width:0;padding:10px 12px;border:1.5px solid #cfe3d8;border-radius:12px;font:inherit;font-size:15px;background:#fff}
#catbox .nbc-ok,#catbox .nbc-no{width:42px;height:42px;border-radius:50%;border:0;font-size:20px;font-weight:800;cursor:pointer;flex:0 0 42px;padding:0;line-height:1}
#catbox .nbc-ok{background:#2e9e5b;color:#fff}
#catbox .nbc-no{background:#e8e0e3;color:#b3261e}

/* autosave: no save / discard buttons */
#esheet>.actions{display:none!important}
#nbAuto{position:fixed;left:50%;bottom:22px;transform:translateX(-50%) translateY(10px);background:#2e7d4f;color:#fff;padding:8px 16px;border-radius:14px;font-size:13px;font-weight:700;opacity:0;pointer-events:none;transition:.2s;z-index:2147483000}
#nbAuto.show{opacity:1;transform:translateX(-50%)}

/* phone/laptop preview: iframe must keep its real width */
.stage iframe,#pvf,#dpf{max-width:none!important;max-height:none!important}

/* preview panel: soft light frame instead of black */
#pv.pv{background:#fff8fa!important;border:1px solid #cfe3d8;box-shadow:0 24px 50px -18px rgba(168,54,95,.35)!important}
#pv .lbl{color:#7a2a4a!important}
#pv .x2{background:#e7f0eb!important;color:#0b6e4f!important}
#stage.stage{box-shadow:0 0 0 1px #cfe3d8,0 16px 34px -12px rgba(168,54,95,.4)!important}
#stage.stage.m{border:7px solid #fff!important;border-radius:30px!important}
#stage.stage.d{border:8px solid #fff!important;border-bottom-width:12px!important;border-radius:12px!important}

/* my categories: click to open */
#catbox .nbc-mine .nbc-it{cursor:pointer;border-radius:8px;padding-inline:8px!important;display:flex;justify-content:space-between;align-items:center;transition:background .15s}
#catbox .nbc-mine .nbc-it::after{content:"‹";font-size:18px;color:#0b6e4f;transition:transform .2s}
#catbox .nbc-mine .nbc-it.open::after{transform:rotate(-90deg)}
#catbox .nbc-mine .nbc-it:hover,#catbox .nbc-mine .nbc-it.open{background:#f3f7f4}
#catbox .nbc-pan{background:#fff;border:1px solid #cfe3d8;border-radius:12px;padding:8px;margin:4px 0 8px}
#catbox .nbc-pi{display:flex;justify-content:space-between;gap:8px;width:100%;background:none;border:0;border-bottom:1px solid #e7f0eb;padding:9px 6px;font:inherit;font-size:13.5px;color:#3a1a28;cursor:pointer;text-align:start}
#catbox .nbc-pi:hover{background:#fff6f9}
#catbox .nbc-pi b{color:#0b6e4f;white-space:nowrap}
#catbox .nbc-none{font-size:13px;color:#8a6a76;padding:8px 6px}
#catbox .nbc-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
#catbox .nbc-acts button{border:0;border-radius:16px;padding:7px 12px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
#catbox .nbc-ren{background:#f6eef2;color:#3a1a28}
#catbox .nbc-rm{background:#f3f7f4;color:#b3261e}
#catbox .nbc-rm.sure{background:#b3261e;color:#fff}
#catbox .nbc-acts .nbc-rn{flex:1;min-width:120px;padding:8px 10px;border:1.5px solid #cfe3d8;border-radius:10px;font:inherit;font-size:14px}
#catbox .nbc-acts .nbc-ok{background:#2e9e5b;color:#fff}
#catbox .nbc-acts .nbc-no{background:#eee;color:#555}

/* product form: no category field */
#fsheet label.field:has(> #f-cat){display:none!important}

/* product form: simple — advanced options folded */
#fsheet .sf-more{border:1px solid #cfe3d8;border-radius:14px;background:#fffafc;margin:4px 0 10px}
#fsheet .sf-more>summary{cursor:pointer;list-style:none;padding:12px 14px;font-weight:800;font-size:14px;color:#3a1a28;display:flex;align-items:center;gap:8px}
#fsheet .sf-more>summary::-webkit-details-marker{display:none}
#fsheet .sf-more>summary small{font-weight:500;color:#8a6a76;font-size:12px}
#fsheet .sf-more>summary::after{content:"▾";margin-inline-start:auto;color:#0b6e4f}
#fsheet .sf-more[open]>summary::after{content:"▴"}
#fsheet .sf-more-in{padding:0 12px 12px;display:grid;gap:12px}

/* product form: no sideways scroll */
#fsheet{overflow-x:hidden!important}

/* product form: compact & calm */
#fsheet{max-width:460px!important}
#fsheet .sheet-h h3,#fsheet #fh{font-size:18px!important}
#fsheet label.field,#fsheet div.field,#fsheet .opt,#fsheet .two{margin:0 0 10px!important;gap:5px!important}
#fsheet .lbl,#fsheet label.field>span:first-child,#fsheet .opt>b,#fsheet .opt>.lbl,#fsheet .two span{font-size:12.5px!important;font-weight:700!important;color:#5a3a48!important}
#fsheet input:not([type=checkbox]):not([type=file]),#fsheet select{height:40px!important;min-height:0!important;font-size:14px!important;padding:6px 12px!important;border-radius:10px!important;border:1px solid #cfe3d8!important;background:#fff!important;box-shadow:none!important}
#fsheet textarea{min-height:70px!important;font-size:14px!important;padding:8px 12px!important;border-radius:10px!important;border:1px solid #cfe3d8!important;background:#fff!important}
#fsheet .filebox,#fsheet #pmbox{background:transparent!important;border:1px solid #e7f0eb!important;border-radius:12px!important;padding:10px!important;box-shadow:none!important}
#fsheet .hint{font-size:11.5px!important;margin:2px 0 6px!important;color:#8a6a76!important}
#fsheet #pmbox>.hint,#fsheet #pm-add{display:none!important}
#fsheet .filebox button,#fsheet .opt button{height:36px!important;min-height:0!important;font-size:13px!important;padding:0 14px!important;border-radius:18px!important}
#fsheet #f-prev{width:64px!important;height:64px!important;min-height:0!important;border-radius:12px!important}
#fsheet .pmrow{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;background:#fffafc;border:1px solid #e7f0eb;border-radius:10px;padding:6px 8px!important;margin-top:6px!important}
#fsheet .pmrow[hidden]{display:none!important}
#fsheet .pmrow>span{font-size:12px!important;font-weight:700}
#fsheet .pmrow input{flex:1 1 100%;height:36px!important}
#fsheet .pmrow .pmx{order:2;margin-inline-start:auto;width:26px;height:26px;border-radius:50%;border:0;background:#eee;cursor:pointer;padding:0}
.sf-pmt{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 2px}
.sf-pmt button{position:relative;width:92px;height:44px;border:1.5px solid #e7f0eb;border-radius:12px;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0;transition:border-color .15s,box-shadow .15s}
.sf-pmt button img{height:22px;width:auto;max-width:70px}
.sf-pmt button .zn{font:800 18px/1 'Poppins',system-ui,sans-serif;color:#1f1a3a;letter-spacing:-.02em}
.sf-pmt button i{position:absolute;top:-7px;inset-inline-end:-7px;width:18px;height:18px;border-radius:50%;background:#2e9e5b;color:#fff;font-size:11px;font-style:normal;display:none;place-items:center}
.sf-pmt button.on{border-color:#2e9e5b;box-shadow:0 0 0 3px #dff3e7}
.sf-pmt button.on i{display:grid}
#fsheet .actions button{height:44px!important;font-size:15px!important}

/* product form: tighter rhythm */
#fsheet{gap:10px!important;row-gap:10px!important;padding-top:14px!important}
#fsheet>label.field,#fsheet>div.field,#fsheet>.opt,#fsheet>.two,#fsheet>.filebox,#fsheet>#pmbox{margin:0!important}
#fsheet .lbl,#fsheet label.field>span:first-child{line-height:1.4!important}

/* simple round close button */
html body #esheet .sheet-h button.x.x,html body #fsheet .sheet-h button.x.x,html body #fsheet #f-x.x{width:40px!important;height:40px!important;min-width:0!important;padding:0!important;border-radius:50%!important;border:0!important;background:#fff!important;box-shadow:0 2px 10px rgba(58,26,40,.14)!important;display:grid!important;place-items:center!important;font-size:0!important;cursor:pointer!important}
html body #esheet .sheet-h button.x.x::after,html body #fsheet .sheet-h button.x.x::after{content:none!important;display:none!important}
html body #esheet .sheet-h button.x.x::before,html body #fsheet .sheet-h button.x.x::before{content:"✕"!important;font-size:17px!important;font-weight:700!important;color:#3a1a28!important;line-height:1!important;margin:0!important}
html body #esheet .sheet-h button.x.x:hover,html body #fsheet .sheet-h button.x.x:hover{background:#f3f7f4!important}

html body #esheet .sheet-h button.x.x,html body #fsheet .sheet-h button.x.x{outline:0!important;border:0!important;max-width:40px!important;flex:0 0 40px!important}

/* close button as big check (save & exit) */
html body #esheet .sheet-h button.x.x,html body #fsheet .sheet-h button.x.x{width:46px!important;height:46px!important;max-width:46px!important;flex:0 0 46px!important;background:#2e9e5b!important;box-shadow:0 4px 14px rgba(46,158,91,.35)!important}
html body #esheet .sheet-h button.x.x::before,html body #fsheet .sheet-h button.x.x::before{content:"✓"!important;font-size:26px!important;font-weight:900!important;color:#fff!important}
html body #esheet .sheet-h button.x.x:hover,html body #fsheet .sheet-h button.x.x:hover{background:#268a4f!important}

html body #fsheet #f-x.x{width:46px!important;height:46px!important;max-width:46px!important;flex:0 0 46px!important;background:#2e9e5b!important;box-shadow:0 4px 14px rgba(46,158,91,.35)!important;font-size:0!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important}
html body #fsheet #f-x.x::after{content:none!important}
html body #fsheet #f-x.x::before{content:"✓"!important;font-size:26px!important;font-weight:900!important;color:#fff!important;line-height:1!important}

/* save button: elegant pill */
html body #esheet .sheet-h button.x.x,html body #fsheet .sheet-h button.x.x,html body #fsheet #f-x.x{width:auto!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important;height:42px!important;padding:0 20px 0 18px!important;border-radius:999px!important;background:linear-gradient(135deg,#0b6e4f,#0b6e4f)!important;box-shadow:0 8px 20px -8px rgba(168,54,95,.7),inset 0 1px 0 rgba(255,255,255,.25)!important;display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:0!important;border:0!important}
html body #esheet .sheet-h button.x.x::before,html body #fsheet .sheet-h button.x.x::before,html body #fsheet #f-x.x::before{content:""!important;width:18px!important;height:18px!important;background:#fff!important;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center/contain no-repeat!important;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center/contain no-repeat!important;font-size:0!important;display:block!important}
html body #esheet .sheet-h button.x.x::after,html body #fsheet .sheet-h button.x.x::after,html body #fsheet #f-x.x::after{content:"حفظ"!important;display:block!important;font-size:15px!important;font-weight:800!important;color:#fff!important;letter-spacing:.02em}
html body #esheet .sheet-h button.x.x:hover,html body #fsheet #f-x.x:hover{filter:brightness(1.06)!important;background:linear-gradient(135deg,#0b6e4f,#0b6e4f)!important}

/* editor panes: compact & calm inputs */
html body #esheet .pane input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),html body #esheet .pane select{height:40px!important;min-height:0!important;font-size:14px!important;padding:6px 12px!important;border-radius:10px!important;border:1px solid #cfe3d8!important;background:#fff!important;box-shadow:none!important}
html body #esheet .pane textarea{font-size:14px!important;padding:8px 12px!important;border-radius:10px!important;border:1px solid #cfe3d8!important;background:#fff!important;box-shadow:none!important}
html body #esheet .pane input:focus,html body #esheet .pane textarea:focus,html body #esheet .pane select:focus{border-color:#0b6e4f!important;outline:0!important;box-shadow:0 0 0 3px #e7f0eb!important}
html body #esheet .pane label,html body #esheet .pane .lbl,html body #esheet .pane .field>span:first-child{font-size:12.5px!important}
html body #esheet .pane .field,html body #esheet .pane label.field{margin-bottom:10px!important;gap:5px!important}
html body #esheet .pane .hint,html body #esheet .pane small{font-size:11.5px!important}
html body #esheet .pane button.btn:not(.alt),html body #esheet .pane .btn.main{height:38px!important;min-height:0!important;padding:0 18px!important;font-size:14px!important;border-radius:19px!important}

/* hide bottom save in بياناتي; bigger top save pill */
html body #esheet #ad-pis{display:none!important}
html body #esheet .sheet-h button.x.x,html body #fsheet #f-x.x{height:44px!important;min-width:104px!important;padding:0 22px 0 20px!important;font-size:16px!important;font-weight:800!important;border-radius:22px!important;gap:8px!important;box-shadow:0 8px 20px -8px rgba(176,71,107,.55)!important}
html body #esheet .sheet-h button.x.x::before,html body #fsheet #f-x.x::before{width:18px!important;height:18px!important}

html body #esheet .sheet-h button.x.x::after,html body #fsheet #f-x.x::after{font-size:17px!important;font-weight:800!important;letter-spacing:0!important}
html body #esheet .field:has(#i-fig){display:none!important}
html body #wafloat,html body .wafloat{display:none!important}
html body #contact-sec{display:none!important}

/* cleaner product cards: one badge, heart, discount only */
html body #lay .card .nb-eye,html body #lay .card .nb-info,html body #lay .card .pdfx-flag,html body #lay .card .pdfx-off{display:none!important}
html body #lay .card:has(.adtop) .adfl{display:none!important}

/* mobile editor: no iOS zoom, compact header, 2-col tiles */
@media (max-width:640px){
html body #esheet input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),html body #esheet select,html body #esheet textarea,html body #fsheet input,html body #fsheet select,html body #fsheet textarea{font-size:16px!important}
html body #esheet{overflow-x:hidden!important;max-width:100vw!important}
html body.ed-open #dev,html:has(#eveil:not([hidden])) #dev{display:none!important}
html body #esheet .sheet-h{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:8px 10px!important;padding:10px 14px 8px!important}
html body #esheet .sheet-h h3{font-size:18px!important;margin:0!important;text-align:right!important}
html body #esheet .sheet-h button.x.x{height:38px!important;min-width:84px!important;padding:0 14px!important;font-size:15px!important;margin:0!important}
html body #esheet .sheet-h button.x.x::after{font-size:15px!important}
html body #esheet .sheet-h .etabs{grid-column:1/-1!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:6px!important;padding-bottom:2px!important}
html body #esheet .sheet-h .etabs::-webkit-scrollbar{display:none}
html body #esheet .etab{flex:none!important;height:34px!important;padding:0 13px!important;font-size:13.5px!important}
html body #esheet .pane{padding:14px 12px!important}
html body #plist.plist{grid-template-columns:1fr 1fr!important;gap:10px!important}
html body #plist .pgh{grid-column:1/-1!important}
html body #plist .pitem{padding:8px!important;border-radius:14px!important;min-width:0!important}
html body #plist .pitem .th{width:100%!important;height:auto!important;aspect-ratio:1/1!important;border-radius:10px!important}
html body #plist .pitem .pi,html body #plist .pitem .nbname{width:100%!important;min-width:0!important}
html body #plist .pitem .nbname{height:36px!important;font-size:16px!important;padding:4px 8px!important;text-overflow:ellipsis}
html body #plist .pitem .edb{font-size:0!important;white-space:nowrap!important;height:auto!important;padding:4px 0!important;margin-top:4px!important}
html body #plist .pitem .nbcam{width:24px!important;height:24px!important}
}
@media (max-width:640px){html body #plist .pitem .edb::after{font-size:12.5px!important;white-space:nowrap!important}}

/* mobile product page: full width, tidy bottom bar */
@media (max-width:640px){
html body .pdfx-sheet{position:relative!important}
html body .pdfx-sheet .pdfx-x{position:absolute!important;top:12px!important;left:12px!important;z-index:6!important;margin:0!important}
html body .pdfx-sheet .pdfx-grid{width:auto!important;max-width:none!important;margin:0!important;padding:14px 14px 16px!important;display:block!important}
html body .pdfx-sheet .pdfx-gal,html body .pdfx-sheet .pdfx-info{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
html body .pdfx-bar{gap:8px!important;padding:10px 12px!important;justify-content:stretch!important}
html body .pdfx-bar .pdfx-buy{flex:1 1 auto!important;width:auto!important;min-width:0!important;white-space:nowrap!important;padding:0 12px!important}
html body .pdfx-bar .pdfx-pvbtn{flex:none!important;width:auto!important;padding:0 12px!important;white-space:nowrap!important}
html body .pdfx-bar .sf-pcart,html body .pdfx-bar .sf-pheart{flex:none!important;width:44px!important;height:44px!important}
}
@media (max-width:640px){html body .pdfx-bar .pdfx-pvbtn{font-size:0!important;width:44px!important;height:44px!important;padding:0!important;justify-content:center!important;gap:0!important}html body .pdfx-bar .pdfx-pvbtn svg{width:20px!important;height:20px!important}html body .pdfx-bar .pdfx-buy{font-size:15px!important}}
@media (max-width:640px){html body .pdfx-bar{gap:6px!important;padding:10px!important}html body .pdfx-bar .pdfx-buy{font-size:14px!important;padding:0 8px!important}html body .pdfx-bar .pdfx-pvbtn,html body .pdfx-bar .sf-pcart,html body .pdfx-bar .sf-pheart{width:42px!important;height:42px!important}}


/* mobile-touch-20261111: hit-areas >=44px without changing the look */
@media (max-width:760px){
.ic{position:relative}
.ic::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
a.soc{min-width:44px;min-height:44px;box-sizing:border-box}
a.brand,a.mailline,.nbc-det{position:relative}
a.brand::after,a.mailline::after,.nbc-det::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
summary{min-height:44px;box-sizing:border-box;align-items:center}
footer .in>div>a:not(.soc):not(.mailline){min-height:44px;display:flex;align-items:center}
.sf-heart{box-sizing:border-box!important;width:55px!important;height:55px!important;min-width:55px!important;border:9.5px solid transparent!important;background-clip:padding-box!important;margin:-9.5px!important}
a[data-net]{position:relative}
a[data-net]::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
.sheet .btn.sm{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.sheet .etab,.sheet .pvi,.sheet .btn{min-height:44px}
.sheet .pvi{min-width:44px}
.sheet .x{position:relative}
.sheet .x::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]),select,textarea{font-size:16px!important}
html body #page #products .pgrid .card .buyrow button.buy,html body .card .buy,html body .buy{min-height:44px!important}
}

/* mobile-editor-20261111: store editor (#esheet) touch targets + iOS no-zoom */
@media (max-width:760px){
html body #esheet#esheet .etab{height:44px!important;min-height:44px!important}
html body #esheet#esheet .btn,html body #esheet#esheet .pane button.btn,html body #esheet#esheet .pane .btn.main,html body #esheet#esheet .pitem .edb,html body #esheet#esheet summary{min-height:44px!important;height:auto!important}
html body #esheet#esheet .btn.sm{min-width:44px!important}
html body #esheet#esheet label.showtog,html body #esheet#esheet .pane label:has(>input[type=checkbox]),html body #esheet#esheet .pane label:has(>input[type=radio]){min-height:44px!important;display:flex!important;align-items:center!important}
html body #esheet#esheet input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),html body #esheet#esheet select,html body #esheet#esheet textarea{font-size:16px!important}
}

/* editor: FAQ rows fix (v80) */
html body #esheet #qlist .qa{position:relative;display:grid;gap:6px;padding:10px 10px 10px 46px!important;margin:0 0 10px!important}
html body #esheet #qlist .qa label.field{margin:0!important;display:grid;gap:3px}
html body #esheet #qlist .qa label.field>span{font-size:12px!important;line-height:1.3!important;height:auto!important;margin:0!important;display:block;overflow:visible}
html body #esheet #qlist .qa input{height:40px!important;padding:4px 12px!important;font-weight:700}
html body #esheet #qlist .qa textarea{height:76px!important;min-height:76px!important;padding:8px 12px!important;resize:none;overflow:auto;line-height:1.6}
html body #esheet #qlist .qa button.btn[data-qdel]{position:absolute!important;left:8px!important;top:8px!important;width:30px!important;height:30px!important;min-width:0!important;min-height:0!important;padding:0!important;border-radius:50%!important;font-size:0!important;line-height:1!important;display:flex!important;align-items:center;justify-content:center;overflow:hidden}
html body #esheet #qlist .qa button.btn[data-qdel]::before{content:"\2715";font-size:14px;line-height:1;color:#a12828}