/* ==== /shop/store.css (v=20261103-lock2) ==== */
/* متجر السلط — واجهة حديثة، عربية RTL، موبايل أولًا. تصميم قائم على tokens قابلة لتبديل الهوية لاحقًا. */
:root{
  --royal-gold:#d4a53d;--royal-gold-dark:#9a6c17;--royal-cream:#faf7f0;
  --royal-brown:#704b2d;--royal-charcoal:#29251f;--royal-surface:#fff;
  --royal-border:#e9e1d4;
  --primary:var(--royal-gold);--primary-hover:#bf8e28;--primary-soft:#f7edda;--on-primary:#242018;
  --accent:var(--royal-gold-dark);--accent-soft:#f8f0df;
  --bg:var(--royal-cream);--surface:var(--royal-surface);--surface-2:#f6f0e6;
  --text:var(--royal-charcoal);--muted:#665d51;--border:var(--royal-border);
  --success:#236b4d;--danger:#a82d2d;--danger-soft:#fff0ee;
  --r:16px;--r-sm:11px;--r-lg:22px;--r-pill:999px;
  --shadow:0 1px 2px rgba(54,37,18,.04),0 7px 22px rgba(54,37,18,.07);
  --shadow-lg:0 18px 48px rgba(39,27,14,.19);
  --font:system-ui,-apple-system,"Segoe UI","Noto Sans Arabic","Noto Kufi Arabic",Tahoma,Arial,sans-serif;
  --maxw:1180px;--header-h:64px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;overflow-x:hidden}
/* 0.5.24 (المالك: «الشاشة يمين شمال بتتحرك»): سفاري/آيفون لا يكتفي بـoverflow-x على body — القفل الأفقي على html أيضًا، واللمس الأفقي للصفحة مُعطّل
   (pan-y) مع إبقاء التكبير؛ شريط الأقسام وكاروسيل العروض لهما تمريرهما الأفقي الخاص فلا يتأثران. */
html{overflow-x:hidden;overscroll-behavior-x:none}
body{position:relative;max-width:100%;touch-action:pan-y pinch-zoom;overscroll-behavior-x:none}
nav,.ro-strip,.hero,[class*="carousel"]{touch-action:pan-x pan-y pinch-zoom}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* أزرار */
button{border:0;border-radius:var(--r-sm);min-height:46px;padding:12px 18px;cursor:pointer;background:var(--primary);color:var(--on-primary);font-weight:700;font-size:15px}
button:hover:not(:disabled){background:var(--primary-hover)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--royal-gold-dark);outline-offset:2px}
button:disabled{opacity:.45;cursor:default}
.primary{background:var(--primary);color:var(--on-primary)}
.secondary{background:var(--surface);color:var(--royal-brown);border:1px solid #d7c5a7}
.secondary:hover:not(:disabled){background:var(--surface-2)}
.danger{background:var(--danger-soft);color:var(--danger)}
.danger:hover:not(:disabled){background:#f8dcd8}
.full{width:100%;margin-top:14px}

/* حقول */
input,select,textarea{width:100%;border:1.5px solid var(--border);border-radius:var(--r-sm);padding:13px 14px;background:var(--surface);color:var(--text);min-height:46px}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
textarea{min-height:78px;resize:vertical}
label{display:block;margin:13px 0;font-weight:600;font-size:14.5px}
label input,label select,label textarea{margin-top:6px;font-weight:400}
.check{display:flex;align-items:center;gap:9px;font-weight:600}
.check input{width:auto;min-height:22px;accent-color:var(--primary)}

/* الهيدر */
header{background:rgba(255,253,249,.96);backdrop-filter:saturate(1.2) blur(10px);position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;padding:9px max(16px,calc((100vw - var(--maxw))/2));border-bottom:1px solid var(--border)}
.brand{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;font-size:18px;font-weight:800;white-space:nowrap;color:var(--royal-charcoal);letter-spacing:-.3px;line-height:1.2}
.brand img{width:46px;height:46px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px #e0c68b}
.brand small{display:block;font-size:10px;letter-spacing:1.4px;color:var(--royal-gold-dark);font-weight:800;margin-top:3px}
.search{display:flex;flex:1;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-pill);align-items:center;padding:0 6px 0 14px;min-width:80px}
.search input{background:transparent;border:0;min-height:44px;padding:10px 12px}
.search input:focus{box-shadow:none}
.search button{background:transparent;color:var(--royal-brown);min-height:40px;padding:8px 10px}
header>button{background:var(--surface-2);color:var(--royal-brown);white-space:nowrap;min-height:44px;padding:10px 15px;border-radius:var(--r-pill)}
.cart-button{display:inline-flex;align-items:center;gap:7px}
.cart-button b{background:var(--primary);color:var(--on-primary);min-width:22px;height:22px;display:inline-grid;place-items:center;padding:0 6px;border-radius:var(--r-pill);font-size:12.5px}

/* main + hero */
main{max-width:var(--maxw);margin:auto;padding:18px 16px 96px}
.hero{display:flex;background:linear-gradient(125deg,#fff9e9 0%,#f8ebd2 70%,#eee0c6 100%);color:var(--royal-charcoal);border:1px solid #eedec2;border-radius:var(--r-lg);align-items:center;justify-content:space-between;padding:26px 28px;overflow:hidden;gap:16px;box-shadow:var(--shadow)}
.hero small{font-size:12.5px;opacity:.85;letter-spacing:.3px}
.hero h1{font-size:30px;line-height:1.3;margin:8px 0 10px;font-weight:800}
.hero p{color:#5c5143;font-size:14px;margin:0 0 16px}
.hero button{background:var(--royal-charcoal);color:#fff}
.hero button:hover:not(:disabled){background:#4a3b2b}
.hero-art{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex-shrink:0}
.hero-art span{display:grid;place-items:center;background:rgba(255,255,255,.65);border:1px solid #e9d8b7;border-radius:18px;width:76px;height:76px;font-size:40px}

/* عناوين الأقسام */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-top:26px;gap:12px}
.section-head small{font-size:12.5px;color:var(--muted)}
.section-head h2{font-size:22px;margin:4px 0;font-weight:800}
#storeStatus{color:var(--accent);font-weight:700;font-size:13px}

/* شريط الأقسام */
nav{display:flex;gap:8px;overflow-x:auto;margin:16px 0 22px;padding-bottom:6px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
nav::-webkit-scrollbar{height:0}
nav button{background:var(--surface);color:var(--muted);border:1.5px solid var(--border);white-space:nowrap;border-radius:var(--r-pill);min-height:40px;padding:9px 16px;font-size:14px;scroll-snap-align:start;font-weight:700}
nav .selected{background:var(--primary);color:#fff;border-color:var(--primary)}

/* شبكة المنتجات + الكروت */
.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:var(--shadow)}
.product.out{opacity:.72}
.photo{position:relative;aspect-ratio:1/1;background:#faf8f4;display:flex;align-items:center;justify-content:center}
.photo img{width:100%;height:100%;object-fit:contain;padding:8px}
.placeholder{color:#baa98d;display:grid;place-items:center}
.avail-badge{position:absolute;inset-inline-start:8px;top:8px;background:rgba(21,42,32,.82);color:#fff;font-size:11px;font-weight:700;padding:4px 9px;border-radius:var(--r-pill)}
.product .info{padding:12px 13px 13px;display:flex;flex-direction:column;flex:1;min-width:0}
.product h3{font-size:15px;line-height:1.45;margin:0 0 3px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.product .unit{font-size:12.5px;color:var(--muted);margin:0}
.price-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px;gap:8px}
.price-row b{font-size:18px;font-weight:800;color:var(--royal-charcoal);font-variant-numeric:tabular-nums}
.add{font-size:22px;width:44px;height:44px;min-height:44px;padding:0;border-radius:12px;display:grid;place-items:center;line-height:1}

/* حالة فارغة */
.empty{grid-column:1/-1;text-align:center;padding:48px 20px;background:var(--surface);border:1px dashed var(--border);border-radius:var(--r);color:var(--muted)}
.empty h3{color:var(--text);margin:0 0 6px}

/* شريط السلة الثابت */
.cart-bar{position:fixed;inset-inline:12px;bottom:12px;z-index:35;background:var(--primary);color:#fff;border-radius:var(--r);box-shadow:var(--shadow-lg);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;max-width:var(--maxw);margin:auto;cursor:pointer}
.cart-bar[hidden]{display:none}
.cart-bar .cb-left{display:flex;align-items:center;gap:10px;font-weight:700}
.cart-bar .cb-count{background:rgba(255,255,255,.22);min-width:26px;height:26px;display:grid;place-items:center;border-radius:var(--r-pill);padding:0 7px}
.cart-bar .cb-go{background:#fff;color:var(--primary);border-radius:var(--r-sm);padding:9px 16px;font-weight:800;font-size:14px}

/* نافذة (dialog) */
dialog{border:0;border-radius:var(--r-lg);padding:22px;max-width:600px;width:calc(100% - 24px);max-height:92vh;overflow:auto;color:var(--text);box-shadow:var(--shadow-lg)}
dialog::backdrop{background:rgba(11,28,20,.62);backdrop-filter:blur(2px)}
dialog h2{margin:2px 0 16px;font-size:22px;font-weight:800}
dialog h3{font-size:16px;margin:20px 0 8px}
.close{float:left;background:var(--surface-2);color:var(--primary);min-height:40px;padding:8px 14px;border-radius:var(--r-pill)}

/* صفوف/سلة/ملخص */
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:13px 0}
.row:last-child{border-bottom:0}
.row p{margin:5px 0;font-size:13px;color:var(--muted)}
.quantity{display:flex;align-items:center;gap:8px}
.quantity button{min-width:42px;height:42px;min-height:42px;padding:0;background:var(--surface-2);color:var(--primary);font-size:20px}
.quantity input{width:70px;text-align:center;padding:10px 4px}
.summary{background:var(--surface-2);padding:14px 16px;border-radius:var(--r);margin-top:18px}
.summary .row{border-color:#dfe8db}
.summary .row:last-child{font-size:19px;font-weight:800;border:0;padding-bottom:0}
.muted{font-size:13px;line-height:1.75;color:var(--muted)}
.badge{display:inline-block;background:var(--primary-soft);color:var(--primary);padding:6px 12px;border-radius:var(--r-pill);font-size:12.5px;font-weight:700}
.error{background:var(--danger-soft);color:var(--danger);padding:12px;border-radius:var(--r-sm)}
.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.address{background:var(--surface-2);border-radius:var(--r-sm);padding:14px;margin:10px 0}
.timeline{margin-top:12px}
.timeline p{font-size:13px;border-inline-start:2px solid var(--primary);padding:6px 12px;margin:4px 0;color:var(--muted)}

/* عنوان: المحافظة الثابتة + GPS + الأقسام القابلة للطي */
.fixed-gov{background:var(--primary-soft);color:var(--primary);font-weight:700;border-radius:var(--r-sm);padding:11px 14px;margin:6px 0 4px}
.gps-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}
.gps-row button{min-height:44px}
details.more{margin:12px 0;background:var(--surface-2);border-radius:var(--r-sm);padding:4px 14px}
details.more>summary{cursor:pointer;font-weight:700;color:var(--muted);padding:9px 0;list-style:none}
details.more>summary::-webkit-details-marker{display:none}
details.more>summary::before{content:"+ ";font-weight:800}
details.more[open]>summary::before{content:"− "}
.account-security{margin-top:22px}

/* toast نجاح */
#toast{position:fixed;bottom:84px;inset-inline:16px;max-width:520px;margin:auto;background:var(--text);color:#fff;border-radius:var(--r);padding:14px 18px;z-index:40;box-shadow:var(--shadow-lg);font-weight:600;text-align:center}
#toast[hidden]{display:none}

#moreBtn{display:block;margin:22px auto;background:var(--surface);color:var(--primary);border:1.5px solid var(--border)}
#moreBtn[hidden]{display:none}

footer{padding:30px 20px 40px;text-align:center;border-top:1px solid var(--border);color:var(--muted);font-size:13px;line-height:1.9;margin-top:20px}
footer b{font-size:18px;color:var(--primary);display:block;margin-bottom:6px}

/* شبكة أوسع على الشاشات الأكبر */
@media(min-width:640px){.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}main{padding:24px 20px 40px}/* الشريط العائم للسلة مفعّل أثناء التسوق (يعمل على الموبايل) */}
@media(min-width:980px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}.hero h1{font-size:38px}.hero{padding:40px 44px}.hero-art span{width:100px;height:100px;font-size:52px}}
@media(min-width:1240px){.products{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){header{flex-wrap:wrap;padding:10px 14px}.brand{margin-inline-end:auto}.search{order:3;flex-basis:100%}.hero{padding:20px;border-radius:var(--r)}.hero h1{font-size:24px}.hero-art{display:none}.section-head h2{font-size:19px}}

/* حركات ناعمة تحترم تقليل الحركة */
@media(prefers-reduced-motion:no-preference){
  button,nav button,.product{transition:transform .12s ease,background .15s ease,box-shadow .18s ease,border-color .15s ease,opacity .15s ease}
  button:active{transform:scale(.97)}
  .add:active{transform:scale(.88)}
  @media(hover:hover){.product:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}}
  .cart-bar{animation:cartUp .22s cubic-bezier(.2,.8,.2,1)}
  #toast:not([hidden]){animation:toastIn .22s ease}
  dialog[open]{animation:panelIn .2s ease}
  .product img{animation:fade .3s ease}
  @keyframes cartUp{from{transform:translateY(120%)}to{transform:none}}
  @keyframes toastIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
  @keyframes panelIn{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}
  @keyframes fade{from{opacity:0}to{opacity:1}}
  .pulse{animation:pulse .3s ease}
  @keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.18)}100%{transform:scale(1)}}
}
.linkbtn{background:none;border:0;color:var(--primary);padding:0;min-height:auto;font-weight:700;text-decoration:underline;cursor:pointer;font-size:inherit}
.link-button{background:none;border:0;color:inherit;text-decoration:underline;padding:12px;min-height:44px;font:inherit;cursor:pointer}

.has-cartbar main,.has-cartbar footer{padding-bottom:84px}
.order-strip{position:fixed;inset-inline:12px;bottom:12px;z-index:34;max-width:var(--maxw);margin:auto;display:block;width:auto;min-height:46px;padding:10px 16px;border-radius:var(--r);border:1px solid var(--border);background:#fff;color:inherit;font:inherit;font-weight:700;box-shadow:var(--shadow-lg);cursor:pointer;text-align:start}
.order-strip[hidden]{display:none}
.has-cartbar .order-strip{bottom:80px}
.cart-bar{inset-inline-start:14px;inset-inline-end:auto;bottom:14px;width:max-content;max-width:calc(100vw - 28px);margin:0;border-radius:999px;padding:8px 12px;min-height:54px;gap:8px}
.cart-bar .cb-left{min-width:0;gap:7px;white-space:nowrap}
.cart-bar .cb-go{display:none}
.cart-bar .cb-count{font-size:19px;background:transparent;padding:0;min-width:28px}
.cart-bar #cartBarTotal{overflow:hidden;text-overflow:ellipsis;max-width:min(44vw,220px)}
.order-type-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.order-type-choice button{background:var(--surface-2);color:var(--primary);border:1.5px solid var(--border);padding:10px}
.order-type-choice button.selected{background:var(--primary);color:#fff;border-color:var(--primary)}
.pickup-note{background:var(--primary-soft);border-radius:var(--r-sm);padding:12px 14px;font-weight:700;color:var(--primary)}
.has-cartbar .order-strip{bottom:80px;inset-inline-start:14px;inset-inline-end:auto;max-width:calc(100vw - 28px);margin:0}
.order-success{text-align:center}.order-success .os-icon{font-size:40px;line-height:1;margin:8px 0}.order-success button{margin-top:10px}

/* هوية ROYAL MARKET: تباين واضح مع استخدام الذهبي للتأكيد فقط. */
nav button{color:var(--royal-brown)}
nav .selected{color:var(--on-primary)}
nav button:hover:not(:disabled){background:var(--primary-soft)}
nav .selected:hover:not(:disabled){background:var(--primary-hover)}
.badge,.pickup-note,.fixed-gov{color:var(--royal-brown)}
.quantity button{color:var(--royal-brown)}
.summary{background:#faf7f0;border:1px solid var(--border)}
.summary .row{border-color:var(--border)}
.summary b{font-variant-numeric:tabular-nums}
.timeline p{border-color:var(--royal-gold-dark)}
.cart-bar{background:var(--royal-charcoal);color:#fff;border:1px solid var(--royal-gold);box-shadow:0 8px 26px rgba(41,37,31,.25)}
.cart-bar:hover{background:#44392b}
.cart-bar .cb-count{background:transparent;color:var(--royal-gold);font-size:21px}
.cart-bar #cartBarTotal{max-width:min(50vw,200px);font-variant-numeric:tabular-nums}
.order-type-choice button{background:var(--surface);border-color:#d7c5a7;color:var(--royal-brown)}
.order-type-choice button.selected{background:var(--royal-charcoal);border-color:var(--royal-charcoal);color:#fff}
.order-type-choice button:hover:not(:disabled){background:var(--primary-soft)}
.order-type-choice button.selected:hover:not(:disabled){background:#4a3b2b}
.order-success .os-icon{display:grid;place-items:center;width:68px;height:68px;margin:8px auto 16px;border-radius:50%;background:#e6f2e8;color:var(--success);font-size:38px}
.order-success h2{line-height:1.45}
.order-strip{border-color:#d7c5a7}
footer{background:#f5efe4}
footer b{color:var(--royal-brown)}
@media(max-width:600px){
  header{column-gap:8px;row-gap:9px;padding:8px 12px}
  .brand{font-size:16px;gap:7px}
  .brand img{width:40px;height:40px}
  .brand small{font-size:8px;letter-spacing:1px}
  header>button{padding:9px 11px;font-size:13px}
  .search{order:3;flex-basis:100%;min-width:0}
  .hero{padding:20px 18px}
  .product .info{padding:10px}
  .product h3{font-size:14px}
  .price-row b{font-size:16px}
  .cart-bar{bottom:max(12px,env(safe-area-inset-bottom));inset-inline-start:12px;max-width:calc(100vw - 24px)}
  dialog{padding:18px;width:calc(100% - 18px)}
}
@media(max-width:359px){
  .brand{font-size:14px}
  .brand img{width:36px;height:36px}
  header>button{min-height:40px;padding:7px 9px;font-size:12px}
  .products{gap:8px}
  .price-row{align-items:flex-end}
  .price-row b{font-size:15px}
  .add{width:42px;height:42px;min-height:42px}
}

.product .info label{font-size:12px;display:block;margin:8px 0}.product select{width:100%;min-width:0;max-width:100%;min-height:40px;font-size:13px}.product .info{min-width:0}

/* 0.5.22 (2026-11-02): طبقة عادية بدل النافذة النمطية داخل متصفح فيسبوك/إنستغرام. خارج أي @media عمدًا: كانت داخل
   @media(prefers-reduced-motion:no-preference) فلم تنطبق على أجهزة مفعّل فيها «تقليل الحركة» (تلفون المالك) وبقيت النافذة مخفية. */
dialog.no-modal[open]{position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;z-index:1001;display:block;animation:none;background:#fff;min-height:120px}
dialog.sheet.no-modal[open]{display:flex;top:6px;transform:translate(-50%,0);height:auto;min-height:240px;max-height:calc(100vh - 130px);width:calc(100% - 18px)}
#panelBackdrop{position:fixed;inset:0;background:rgba(11,28,20,.62);z-index:1000}
#panelBackdrop[hidden]{display:none}
body.plain-panel{overflow:hidden}
/* ==== /shop/offers.css (v=0447) ==== */
/* «أقوى العروض» — royal gold on the website's own tokens (store.css). Mobile first: a swipeable strip on the home page, a grid on #offers. */
.offers-nav{display:inline-flex;align-items:center;gap:4px;padding:8px 12px;border-radius:var(--r-pill,999px);background:linear-gradient(135deg,#f3d48a,var(--royal-gold,#d4a53d) 55%,var(--royal-gold-dark,#9a6c17));color:var(--royal-charcoal,#29251f);font-weight:800;text-decoration:none;white-space:nowrap;box-shadow:0 4px 14px rgba(154,108,23,.25)}
.royal-offers{margin:18px auto 8px;padding:16px 14px 18px;max-width:var(--maxw,1180px);border-radius:var(--r-lg,22px);background:radial-gradient(900px 300px at 50% -20%,#4a3218 0%,#24170c 55%,#120c07 100%);color:#faf7f0;box-shadow:var(--shadow-lg)}
.ro-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.ro-head h2{margin:0;font-size:clamp(19px,4.8vw,26px);color:#f3d48a;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.ro-head h3{margin:14px 0 0;font-size:18px;color:#f3d48a}
.ro-all{color:#f3d48a;font-weight:700;text-decoration:none;white-space:nowrap;font-size:14px}
.ro-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(168px,44%);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin}
@media(min-width:760px){.ro-strip{grid-auto-columns:minmax(200px,19%)}}
.ro-card{scroll-snap-align:start;background:#fff;color:var(--royal-charcoal,#29251f);border-radius:var(--r,16px);overflow:hidden;display:flex;flex-direction:column;border:2px solid rgba(212,165,61,.55);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.ro-photo{position:relative;aspect-ratio:1;background:#fff;display:grid;place-items:center;padding:10px}.ro-photo img{width:100%;height:100%;object-fit:contain}
.ro-photo.ro-multi{grid-auto-flow:column;gap:4px}.ro-photo span[aria-hidden]{font-size:46px}
.ro-badge{position:absolute;top:8px;inset-inline-start:8px;background:linear-gradient(135deg,#f3d48a,#d4a53d 55%,#9a6c17);color:#29251f;font-weight:900;font-size:14px;border-radius:999px;padding:5px 10px;box-shadow:0 3px 10px rgba(0,0,0,.25)}
.ro-info{padding:10px 12px 12px;display:flex;flex-direction:column;gap:6px;flex:1}
.ro-info h3{margin:0;font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.ro-prices{margin:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.ro-prices b{font-size:20px;color:var(--royal-gold-dark,#9a6c17)}.ro-prices s{color:#a82d2d;font-size:14px}.ro-prices small{color:var(--muted,#665d51)}
.ro-when{margin:0;font-size:13px;color:var(--muted,#665d51)}
.ro-add{margin-top:auto;border:0;border-radius:12px;padding:10px;font:inherit;font-weight:800;cursor:pointer;background:linear-gradient(135deg,#f3d48a,#d4a53d 55%,#9a6c17);color:#29251f;min-height:44px}
.ro-add:disabled{background:#e9e1d4;color:#665d51;cursor:default}
.ro-soon .ro-photo{filter:saturate(.75)}.ro-out{opacity:.7}
.ro-empty{color:#f3d48a;margin:6px 0}
.offers-page{max-width:var(--maxw,1180px);margin:12px auto;padding:0 14px 90px}
.offers-mode main>*:not(#offersPage){display:none!important}
.ro-page-head{display:flex;flex-direction:column;gap:6px;margin:8px 0 14px}.ro-page-head h1{margin:0;font-size:clamp(22px,6vw,32px);color:var(--royal-gold-dark,#9a6c17)}.ro-back{color:var(--royal-brown,#704b2d);font-weight:700;text-decoration:none}
.ro-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}@media(min-width:760px){.ro-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}
.ro-soon-title{margin:22px 0 10px;color:var(--royal-brown,#704b2d)}
/* ==== /shop/store-0447.css (v=0447) ==== */
/* ROYAL MARKET 0.4.47 — a refined layer on store.css (same ROYAL tokens): compact header, slim hero, ONE card for products and offers,
   the offer price with the old one struck through, strips with ‹ › arrows (RTL) that still swipe, skeletons while loading, and the cart /
   the review as a sheet whose summary and action button stay visible while the items scroll inside. */

/* ---------- header: brand · account · cart on one row, search (+ offers) under it on phones; one row on wider screens ---------- */
header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;grid-template-areas:"brand search offers account cart";align-items:center;gap:8px 10px;padding:8px max(14px,calc((100vw - var(--maxw))/2))}
.brand{grid-area:brand}.search{grid-area:search;min-width:0}#offersNav{grid-area:offers}#accountBtn{grid-area:account}#cartBtn{grid-area:cart}
#offersNav[hidden]{display:none}
.search{padding:0 4px 0 6px}
.search-icon{padding-inline-start:8px;opacity:.55;font-size:14px}
.search input{min-height:42px;padding:8px 8px}
.search input::-webkit-search-cancel-button{display:none}
.search-clear{background:transparent;color:var(--muted);min-height:34px;padding:4px 8px;font-size:15px}
.search-clear[hidden]{display:none}
#accountBtn{max-width:150px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){
  header{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand account cart" "search search offers";padding:8px 12px}
  .brand{min-width:0}.brand span{overflow:hidden;text-overflow:ellipsis}
  #accountBtn,#cartBtn{font-size:0;min-width:46px;padding:8px 10px;gap:4px}
  #accountBtn::before{content:"👤";font-size:18px}
  #cartBtn::before{content:"🛒";font-size:18px}
  #cartBtn b{font-size:12px}
  #offersNav{padding:8px 11px;font-size:13.5px}
  header:not(:has(#offersNav:not([hidden]))) .search{grid-column:1/-1}
}

/* ---------- slim hero ---------- */
.hero{padding:16px 20px;gap:12px;border-radius:var(--r)}
.hero small{font-size:12px}
.hero h1{font-size:clamp(19px,3.6vw,30px);margin:4px 0 10px;line-height:1.35}
.hero button{min-height:40px;padding:8px 16px;font-size:14px}
.hero-art span{width:60px;height:60px;font-size:30px;border-radius:14px}
@media(min-width:980px){.hero{padding:22px 30px}.hero-art span{width:70px;height:70px;font-size:34px}}
@media(max-width:600px){.hero{padding:12px 14px}.hero small{display:none}}

main{padding:14px 14px 96px}
.section-head{margin-top:16px}.section-head h2{font-size:19px;margin:0}
nav#categories{margin:10px 0 12px;padding:2px 2px 6px}
nav#categories button{min-height:38px;padding:7px 14px;font-size:13.5px}
.search-info{margin:-4px 0 12px;font-size:13px;color:var(--muted)}.search-info[hidden]{display:none}

/* ---------- one card for products and offers ---------- */
.products{gap:10px}
@media(min-width:640px){.products{gap:14px}}
.product{border-radius:14px;box-shadow:0 1px 2px rgba(54,37,18,.04),0 4px 14px rgba(54,37,18,.06)}
.product .photo{aspect-ratio:1/1;background:#f7f3ec}
.product .photo img{padding:8px;background:#fff}
.product .info{padding:10px 11px 11px;gap:2px}
.product h3{font-size:14.5px;min-height:2.9em}
.product .unit{font-size:12px}
.unit-pick{font-size:12px;margin:6px 0 0}
.price-row{padding-top:8px;align-items:flex-end}
.price{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.price-now{font-size:17px;font-weight:800;color:var(--royal-charcoal);font-variant-numeric:tabular-nums}
.has-offer .price-now{color:#b45309}
.price-was{font-size:12.5px;color:#a82d2d;opacity:.85;font-variant-numeric:tabular-nums}
.add{width:42px;height:42px;min-height:42px;font-size:22px;border-radius:12px;flex:none}
.offer-tag{position:absolute;top:8px;inset-inline-start:8px;background:linear-gradient(135deg,#f3d48a,#d4a53d 55%,#9a6c17);color:#29251f;font-weight:900;font-size:12px;border-radius:999px;padding:3px 10px;box-shadow:0 2px 8px rgba(0,0,0,.16);z-index:1}
.offer-tag.inline{position:static;display:inline-block;font-size:11px;padding:1px 7px;box-shadow:none;vertical-align:middle}
.photo .avail-badge{top:auto;bottom:8px;inset-inline-start:8px}
.avail-badge.low{background:rgba(180,83,9,.9)}
.placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:40px}
/* skeletons while the products load */
.product.skeleton{box-shadow:none}
.product.skeleton .photo{background:linear-gradient(90deg,#f1ebe0 25%,#f9f5ee 37%,#f1ebe0 63%);background-size:400% 100%;animation:skeleton 1.2s ease infinite}
.product.skeleton .info span{display:block;height:12px;border-radius:6px;background:#efe8db;margin:6px 0}
.product.skeleton .info span:nth-child(2){width:60%}.product.skeleton .info span:nth-child(3){width:42%;height:18px;margin-top:14px}
@keyframes skeleton{0%{background-position:100% 50%}100%{background-position:0 50%}}
@media(prefers-reduced-motion:reduce){.product.skeleton .photo{animation:none}}

/* ---------- offers band: compact, the same cards in a strip with arrows ---------- */
.royal-offers{margin:14px 0 4px;padding:12px 12px 14px;border-radius:16px}
.ro-head{margin-bottom:10px}.ro-head h2{font-size:clamp(18px,4.2vw,23px)}
.ro-strip{grid-auto-columns:calc((100% - 10px)/2.15);gap:10px;padding:2px 2px 6px;scrollbar-width:none}
.ro-strip::-webkit-scrollbar{display:none}
@media(min-width:640px){.ro-strip{grid-auto-columns:calc((100% - 28px)/3.2)}}
@media(min-width:980px){.ro-strip{grid-auto-columns:calc((100% - 56px)/5)}}
.ro-card.product{border:1px solid rgba(212,165,61,.7);scroll-snap-align:start}
.ro-card .ro-when{margin:2px 0 0;font-size:12px;color:var(--muted);min-height:1.4em}
.ro-soon .photo img{filter:saturate(.7)}
.ro-grid{gap:10px}
@media(min-width:640px){.ro-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(min-width:980px){.ro-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1240px){.ro-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ---------- ‹ › arrows on horizontal strips (prev on the right in RTL) ---------- */
.scroller{position:relative}
.scroll-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;min-height:38px;padding:0;border-radius:50%;background:#fff;color:var(--royal-brown);border:1px solid var(--border);box-shadow:0 4px 14px rgba(39,27,14,.18);font-size:24px;line-height:1;display:grid;place-items:center}
.scroll-arrow:hover:not(:disabled){background:var(--primary-soft)}
.scroll-arrow[hidden]{display:none}
.scroll-arrow.prev{right:-4px}.scroll-arrow.next{left:-4px}
.scroller>nav#categories{scroll-padding-inline:40px}
.royal-offers .scroll-arrow{background:rgba(255,255,255,.95)}
@media(hover:none){.scroll-arrow{width:32px;height:32px;min-height:32px;font-size:20px;opacity:.92}}

/* ---------- cart / review sheet: items scroll inside, the summary and the button stay visible ---------- */
dialog.sheet{padding:0;display:none;flex-direction:column;max-height:min(92vh,92dvh);overflow:hidden}
dialog.sheet[open]{display:flex}
dialog.sheet #panelContent{display:flex;flex-direction:column;min-height:0;flex:1}
dialog.sheet>.close{position:absolute;top:10px;left:10px;float:none;z-index:4;min-height:38px;padding:6px 12px}
.sheet-head{padding:14px 18px 6px;padding-left:72px}.sheet-head h2{margin:0;font-size:20px}
.sheet-body{flex:1;min-height:0;overflow:auto;padding:4px 18px 10px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sheet-body label{margin:10px 0}
.sheet-foot{border-top:1px solid var(--border);padding:10px 18px calc(12px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -6px 18px rgba(39,27,14,.06)}
.sheet-foot .summary{margin-top:0;padding:6px 12px}
.sheet-foot .summary .row{padding:5px 0}
.sheet-foot .summary .row:last-child{font-size:17px}
.sheet-foot .full{margin-top:8px}
.sheet-foot .note{margin:6px 0 0;font-size:12.5px;line-height:1.6}
.sheet-foot .note:empty{display:none}
.switch-pickup{width:100%;margin-top:8px;min-height:42px}
.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main side" "qty side";gap:6px 10px;padding:10px 0;border-bottom:1px solid var(--border)}
.cart-line:last-child{border-bottom:0}
.cl-main{grid-area:main;min-width:0}
.cl-name{display:block;font-size:14.5px;line-height:1.4}
.cl-unit{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.cl-unit b{color:#b45309}.cl-unit s{color:#a82d2d}
.cl-offer{display:block;font-size:12px;color:var(--royal-gold-dark)}
.cart-line .quantity{grid-area:qty;gap:6px}
.cart-line .quantity button{min-width:36px;height:36px;min-height:36px;font-size:18px}
.cart-line .quantity input{width:60px;min-height:36px;padding:6px 2px}
.cl-side{grid-area:side;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:6px}
.cl-total{font-size:15px;font-variant-numeric:tabular-nums}
.cl-remove{background:none;color:var(--danger);min-height:32px;padding:4px 6px;font-size:13px;text-decoration:underline}
.cl-remove:hover:not(:disabled){background:var(--danger-soft)}
.review-line p{margin:2px 0;font-size:12.5px;color:var(--muted)}
.review-line p b{color:#b45309}.review-line p s{color:#a82d2d}
@media(max-width:600px){dialog.sheet{width:100%;max-width:100%;max-height:94dvh;border-radius:18px 18px 0 0;margin:auto auto 0}.sheet-head,.sheet-body,.sheet-foot{padding-inline:14px}.sheet-head{padding-left:70px}}
@media(max-width:760px){
  .brand{font-size:15px;gap:7px}.brand img{width:38px;height:38px}.brand small{display:none}
  #cartBtn{padding:8px 10px;min-width:0}#cartBtn b{min-width:20px;height:20px;padding:0 5px}
  #accountBtn{padding:8px 10px;min-width:0}
}
/* the offers band is light (cream + gold), so a band with few offers never looks like an empty dark block */
.royal-offers{background:linear-gradient(180deg,#fffaf0 0%,#fbf2df 100%);border:1px solid #ecd9b0;color:var(--text);box-shadow:var(--shadow)}
.ro-head h2{color:var(--royal-gold-dark);text-shadow:none}
.ro-head h3{color:var(--royal-brown)}
.ro-all{color:var(--royal-brown)}
.ro-empty{color:var(--muted)}
@media(min-width:601px){.hero-art{grid-template-columns:repeat(4,1fr)}}
/* ==== /ux.css (no token) ==== */
.stock-balance{border:1px solid #c9d8cf;border-radius:12px;padding:14px;background:#f5f8f5}.stock-balance h4{margin:0 0 8px}.stock-balance p{line-height:1.8}.stock-balance textarea{width:100%;box-sizing:border-box;min-height:78px}.touch-quantity:after{content:'✎';font-size:12px;margin-inline-start:5px;color:#50685b}.ux-dialog{margin:auto;border:1px solid #cbd8cd;border-radius:16px;padding:24px;width:min(520px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;color:#233c2b}.ux-dialog::backdrop{background:#14261e99}.ux-dialog p{line-height:1.8}.ux-dialog textarea{display:block;width:100%;box-sizing:border-box;min-height:100px;font:inherit;padding:12px;border:1px solid #8fa795;border-radius:8px}.ux-dialog button{min-height:48px;min-width:100px}.new-order{background:#eef8ee}.new-order td:first-child{font-weight:800;border-inline-start:4px solid #2c7849}.order-primary,.order-secondary{padding:14px;border:1px solid #d7e2d9;border-radius:12px;margin-top:14px}.order-primary{background:#f2f8f2}.order-secondary .danger{margin-inline-start:14px}.tab .badge{margin-inline-start:8px}.link,.prod-table button{min-height:44px;min-width:44px}.modal-card textarea{max-width:100%;box-sizing:border-box}.modal-card{overflow:auto}.quick-actions input{max-width:100%;box-sizing:border-box}@media(max-width:600px){.ux-dialog{padding:18px}.order-secondary .danger{margin-inline-start:0}.order-primary .action,.order-secondary .action{flex:1 1 150px}.user-box .action{font-size:12px;padding:8px}.stock-balance .row2{display:grid;grid-template-columns:1fr}}
.shift-sales-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0}.shift-sales-summary article{background:#f3f8f5;border:1px solid #d3e1d8;border-radius:12px;padding:16px;min-width:0}.shift-sales-summary article:first-child{background:#173e30;color:#fff}.shift-sales-summary span{display:block;margin-bottom:8px;font-size:15px}.shift-sales-summary b{display:block;font-size:28px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.shift-sales-summary small{font-size:14px}.shift-cash-summary>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #d3e1d8}.shift-cash-summary>div:last-child{font-size:19px;background:#edf6ef;padding:12px}.shift-cash-summary b{white-space:nowrap;font-variant-numeric:tabular-nums}#closeShiftModal .modal-card:has(#shiftCloseSummary){max-width:720px;width:min(720px,95vw)}#shiftCloseSummary h3{margin:14px 0}#shiftCloseSummary .shift-sales-summary{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}#countedCash{min-height:52px}#invBody [data-print-invoice],#printExistingInvoice{min-height:44px;margin:4px}
.invoice-print-preview{width:min(100%,320px);margin:12px auto;padding:18px;border:1px solid #cbd5ce;background:#fff;color:#111;box-sizing:border-box}.invoice-print-preview .r-shop{text-align:center;font-size:20px;font-weight:800}.invoice-print-preview .r-meta,.invoice-print-preview .r-pay,.invoice-print-preview .r-thanks{text-align:center;font-size:13px;line-height:1.7;margin:8px 0}.invoice-print-preview .r-tbl{font-size:13px}.invoice-print-preview .r-tbl td,.invoice-print-preview .r-tbl th{padding:6px 3px;border-bottom:1px dashed #aaa}.invoice-print-preview .r-total{font-size:20px;font-weight:800;margin-top:14px}
#custPickModal [hidden]{display:none!important}#custPickModal .modal-card{width:min(600px,96vw);max-width:600px}#custQuickForm label{display:block;margin:12px 0}#custQuickForm input{width:100%;min-height:50px}#custPickModal button{min-height:48px}#custPickList .result{min-height:54px}.debt-summary{display:grid;grid-template-columns:1fr auto;gap:12px;background:#f0f6f2;padding:16px;border-radius:12px}.debt-summary dd{margin:0;font-size:20px;font-weight:800;white-space:nowrap}

#confirmDebtSale,#saveQuickDebt{background:#14594f;color:white;padding:12px 18px;border-radius:10px;font-weight:700}
/* Customer printing is separated from collection actions and the thermal receipt. */
.customer-print-actions{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0 20px;margin-bottom:18px;border-bottom:1px solid #d9e4de}.customer-print-actions button,.customer-invoice-row button{min-height:48px;padding:12px 18px}.customer-invoice-row{gap:16px;flex-wrap:wrap}.customer-statement-document{background:white;color:#111;padding:18px;overflow-wrap:anywhere}.customer-statement-document h1,.customer-statement-document h2{text-align:center}.customer-statement-document table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.customer-statement-document th,.customer-statement-document td{border:1px solid #bbb;padding:8px;text-align:right;overflow-wrap:anywhere}.statement-totals{margin-top:20px;font-size:18px}.statement-note{font-size:13px;color:#444}
.collection-success,.customer-settled{padding:16px;margin:14px 0;border:1px solid #82b797;background:#eef8f0;color:#17492f;border-radius:12px;font-size:18px}.collection-success p{margin:8px 0}#crmCollectionForm{padding:16px 0;margin:18px 0;border-bottom:1px solid #d9e4de}#crmCollectionForm button{min-height:48px}
#invoiceTypeFilters{margin:14px 0;gap:10px}#invoiceTypeFilters button{min-height:46px}#invoiceTypeFilters button.active{background:#165b48;color:white}.invoice-kind{display:inline-block;font-weight:700;border-radius:8px;padding:7px 10px;white-space:nowrap}.invoice-kind.sale{background:#eaf3ef;color:#20503a}.invoice-kind.return{background:#fff2d7;color:#754700}.invoice-kind.void{background:#fde9e7;color:#8e2820}.invoice-original{min-height:44px;margin-top:4px}#invModal .modal-card{width:min(940px,96vw);max-width:940px;overflow:auto}#invModal .prod-table{min-width:600px}.invoice-return-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:16px 0}.invoice-return-summary>div{background:#f1f6f3;border-radius:10px;padding:14px}.invoice-return-summary b{display:block;font-size:24px;margin-top:8px}.invoice-related-row{border:1px solid #dbe4df;border-radius:10px;padding:12px;margin:10px 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.invoice-related-row p{width:100%;margin:0}.invoice-related-row button{min-height:44px}#invoicesView [data-inv],#invoicesView [data-print-invoice]{min-height:44px}

/* Receiving packaging: retain the cart table and native keyboard/touch fields. */
.pack-explanation{display:block;line-height:1.7;min-width:170px;color:var(--muted,#53647b);margin-top:6px}
#buyLines input.cell-inp{min-width:90px;max-width:140px;min-height:44px;font-size:16px}
#buyLines label{display:block;font-size:12px;white-space:normal}#buyLines td{vertical-align:top}
.fast-receiving{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 0}
.fast-receiving input,.pack-toggle input{width:22px!important;height:22px;min-height:22px!important}
#productPackaging [hidden],#quickPackaging [hidden]{display:none!important}
#photoSources[hidden],#photoSave[hidden]{display:none!important}
#app.goods-mode .tabs,#app.goods-mode #posMenuBtn{display:none!important}
#app.goods-mode{padding-bottom:130px}
#goodsNav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ddd;position:fixed;bottom:0;left:0;right:0;z-index:30}
#goodsNav a{display:grid;place-items:center;text-align:center;min-height:46px;padding:5px 2px;border:1px solid #c7b58d;border-radius:9px;text-decoration:none;color:#382b18;font-size:clamp(.68rem,2.5vw,.85rem);font-weight:700;line-height:1.2}
#goodsNav a.current{background:#553a1c;color:white}
#goodsStockFocus{background:#eef6f4;padding:12px;border-radius:10px;font-weight:700}
@media(min-width:760px){#goodsNav{max-width:900px;margin:auto}#app.goods-mode{padding-bottom:80px}}
/* حالة طلب الموافقة على عكس الفاتورة (Telegram): بانتظار / تم / رُفض أو تعذّر */
.void-approval{margin:10px 0 0;padding:10px 14px;border:1px solid #e7cd86;border-radius:10px;background:#fff6e2;color:#654815;font-weight:700;line-height:1.7}.void-approval.done{border-color:#82b797;background:#eef8f0;color:#17492f}.void-approval.error{border-color:#e3aaa3;background:#fde9e7;color:#8e2820}
/* ==== /shop/experience.css (v=20261117-onestep) ==== */
:root{--royal-ink:#183b32;--royal-soft:#edf3ed;--royal-gold:#b99349}body{background:#f8faf7;color:var(--royal-ink)}header{gap:12px;border-bottom:1px solid #e1e9df;box-shadow:0 4px 24px #173b3205}.menu-trigger{font-size:24px;background:transparent;color:var(--royal-ink);padding:8px;min-width:44px}.hero{background:linear-gradient(120deg,#e8f0e4,#f4ead4);min-height:220px;border-radius:24px}.hero h1{max-width:520px;font-size:clamp(25px,4vw,44px);line-height:1.4}.hero-art{opacity:.75}.product{border:1px solid #e3e9df;border-radius:18px;box-shadow:0 3px 10px #173b3204}.product .photo{background:white}.product h3{line-height:1.6}.product .add{border-radius:12px;background:var(--royal-ink)}#shopMenu{position:fixed;inset:0 auto 0 0;margin:0;height:100dvh;max-height:100dvh;width:min(320px,88vw);border:0;border-radius:0;padding:28px 22px;direction:rtl;box-shadow:10px 0 40px #0002}#shopMenu::backdrop{background:#10291e66}#shopMenu nav{display:grid;gap:5px;margin-top:20px}#shopMenu nav button{text-align:right;padding:12px;background:transparent;color:var(--royal-ink);border:0;border-radius:10px}#shopMenu nav button:hover{background:var(--royal-soft)}#shopMenu .close{left:12px;right:auto}footer{background:#173b32;color:#fff;text-align:center;padding:40px 20px 90px}footer img{display:block;margin:0 auto 14px;border-radius:16px}footer b{display:block}footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}footer button{background:transparent;color:#e8efdf;border:0}.co-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#checkoutForm{display:contents}#checkoutForm .sheet-body{min-height:0;overflow:auto}#checkoutForm h3{margin:22px 0 12px}#checkoutForm .review-line{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e6ebdf}#checkoutForm .review-line>div:first-child{flex:1;min-width:0}#checkoutForm small{display:block;color:#677565;margin-top:4px}#checkoutForm .quantity{flex-shrink:0}#checkoutForm .quantity button{min-width:34px;min-height:38px}#checkoutForm .sheet-foot{background:#fff;box-shadow:0 -6px 22px #173b3208}#coError{color:#a52020;margin:10px 0}#coCredentials{background:#f0f5ed;padding:14px;border-radius:14px}.order-type-choice button small{font-size:12px;font-weight:400}.tracking-link{display:block;padding:16px;color:#1b6345}.favorite-button{background:transparent;border:0;color:#254d3b;font-size:20px;position:absolute;top:8px;left:8px;min-width:40px;min-height:40px}.hero-carousel{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;padding:22px;position:relative}.hero-carousel img{width:100%;height:240px;object-fit:contain;border-radius:14px}.hero-carousel .slide-controls{display:flex;gap:8px;margin-top:12px}.slide-dot{width:12px;min-height:12px;padding:0;border-radius:50%;background:#c0cabb}.slide-dot[aria-current=true]{background:#234d37}button:focus-visible,a:focus-visible{outline:3px solid #b99349;outline-offset:3px}[hidden]{display:none!important}@media(max-width:600px){header{gap:6px}.brand span{font-size:14px}header #accountBtn{font-size:12px;padding:9px}.hero{min-height:160px;margin-top:12px}.hero-art{display:none}.hero-carousel{grid-template-columns:1fr 1fr;padding:14px;gap:10px}.hero-carousel img{height:160px}.hero-carousel h2{font-size:19px}.co-grid{grid-template-columns:1fr}#checkoutForm .review-line{flex-wrap:wrap;font-size:13px}#checkoutForm .review-line>div:first-child{flex-basis:55%}.sheet-foot{padding:12px}.order-type-choice{gap:8px}.order-type-choice button{padding:12px 8px;font-size:14px}.products{gap:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.card-count{display:inline-flex;align-items:center;gap:8px}.card-count button{min-width:34px;min-height:40px;border-radius:10px;padding:4px}.photo{position:relative}
@font-face{font-family:RoyalTajawal;src:url('/shop/assets/fonts/Tajawal-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:RoyalTajawal;src:url('/shop/assets/fonts/Tajawal-Bold.ttf') format('truetype');font-weight:600 900;font-style:normal;font-display:swap}
:root{--royal-ink:#28251f;--royal-soft:#f6f1e7;--royal-gold:#c39a42;--text:#29251f;--muted:#827b6f}body,input,button,select,textarea{font-family:RoyalTajawal,'Segoe UI',sans-serif}body{background:#faf9f6;color:#29251f;font-size:16px;line-height:1.65}header{background:#fffdf9;border-bottom:1px solid #eee9df;padding-block:12px}.brand img{width:48px;height:48px;border-radius:14px}.brand span{font-weight:700;letter-spacing:0}.search{background:#f6f4ef;border:1px solid #eee9df;border-radius:16px}.search input{background:transparent;font-size:16px}.hero{background:linear-gradient(110deg,#f4ead3,#fffaf0 60%,#eee4cf);border:1px solid #efe4cf;box-shadow:none;padding:32px}.hero h1{font-weight:700;letter-spacing:-.6px;color:#332b1d}.hero small{color:#9e7b35;font-weight:700}.hero-art{filter:saturate(.7)}main{max-width:1240px}.section-head h2,.ro-head h2{font-size:24px;font-weight:700}.product{border:1px solid #eee9df;border-radius:20px;box-shadow:0 4px 18px #30271304;overflow:hidden;transition:transform .18s,box-shadow .18s}.product:hover{transform:translateY(-3px);box-shadow:0 8px 24px #3027130c}.product .photo{padding:12px;background:#fff}.product .info{padding:15px}.product h3{font-size:16px;line-height:1.5;font-weight:700;color:#29251f}.product .unit{font-size:12px;color:#8a8376}.price-now{font-size:19px;font-weight:700;letter-spacing:-.4px}.product .add,.card-count button{background:#efe4cb;color:#634c1e;border:0;border-radius:12px}.offer-tag{border-radius:8px;background:#f5e9ca;color:#876522;font-size:12px}.royal-offers{background:#fffaf0;border:1px solid #efe5ce;border-radius:22px;box-shadow:none}#categories button{border-radius:12px;font-size:15px;padding:11px 20px;background:white;border:1px solid #ece6dc}#categories button.selected{background:#29251f;color:white;border-color:#29251f}footer{background:#29251f;color:#f8f3e8}footer button{color:#f0e4ca}#shopMenu nav button:hover{background:#f6f1e7}#coCredentials{background:#f8f4eb}#checkoutForm h3{font-size:18px}#checkoutForm .sheet-foot{box-shadow:0 -6px 24px #30271308}.sheet-head h2{font-size:23px}.card-count{white-space:nowrap}#coSummary strong{font-size:19px}.favorite-button{color:#866c36}.hero-carousel{padding:20px}.hero-carousel img{padding:4px;background:#ffffff66}.hero-carousel h2{font-size:27px;line-height:1.45}.slide-dot[aria-current=true]{background:#a67f2c}.tracking-link{color:#826322}@media(max-width:600px){body{font-size:15px}header{padding:10px 12px}.hero{padding:22px;border-radius:18px}.hero h1{font-size:28px;line-height:1.4}.product .info{padding:11px}.product h3{font-size:14px}.price-now{font-size:17px}.hero-carousel{padding:14px}.hero-carousel h2{font-size:20px}.section-head h2,.ro-head h2{font-size:21px}.product .photo{padding:8px}.co-grid input{font-size:16px}#checkoutForm .review-line{font-size:14px}}
header{grid-template-columns:44px auto minmax(0,1fr) auto auto auto;grid-template-areas:"menu brand search offers account cart"}.menu-trigger{grid-area:menu;min-width:40px;padding:6px!important;background:transparent!important;border-radius:10px!important}.brand span{max-width:150px}@media(max-width:700px){header{grid-template-columns:40px minmax(0,1fr) auto auto;grid-template-areas:"menu brand account cart" "search search search offers";gap:8px}.brand span{font-size:13px;max-width:100px}.brand img{width:38px;height:38px}#accountBtn{max-width:82px;overflow:hidden;text-overflow:ellipsis}#offersNav{font-size:12px;padding:9px}header:not(:has(#offersNav:not([hidden]))) .search{grid-column:1/-1}.search input{min-width:0}}

/* Compact two-level departments; preserve existing category filters and catalog. */
#categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;white-space:normal;align-items:start;padding:12px 0}
#categories .category-all{grid-column:1/-1;justify-self:start}
.category-group{min-width:0;background:#fff;border:1px solid #ece6dc;border-radius:12px}
.category-group summary{padding:13px 12px;cursor:pointer;font-weight:700;font-size:14px;min-height:44px;box-sizing:border-box}
.category-group[open]{grid-column:1/-1;background:#fffaf1}
.category-group>div{display:flex;flex-wrap:wrap;gap:6px;padding:0 10px 10px}
#categories .category-group button{font-size:13px;padding:10px 12px;white-space:normal;min-height:42px}
.section-head{flex-wrap:wrap;align-items:center}.section-head>div{flex:0 0 auto}.section-head h2{white-space:nowrap}#storeStatus{flex:1 1 320px;min-width:0;line-height:1.7}#storeStatus:empty{display:none}
@media(max-width:600px){#categories{grid-template-columns:repeat(2,minmax(0,1fr))}.category-group summary{font-size:13px}#storeStatus{flex-basis:100%;margin:0}.section-head{gap:4px}}

/* Photo-led department tiles inspired by familiar grocery browsing. */
#categories{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}#categories button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:9px 5px;min-width:0;min-height:110px;white-space:normal;color:#413a30;background:#fff;line-height:1.45;font-size:12px;text-align:center}#categories button.selected{background:#fff8e8;color:#29251f;border-color:#b99349;box-shadow:0 0 0 1px #b9934933}#categories .category-picture{display:block;width:62px;height:62px;object-fit:contain;border-radius:8px;background:#fff}#categories .category-symbol{display:grid;place-items:center;height:62px;font-size:42px;color:#b99349}#categories .category-name{font-weight:700}#storeStatus{font-size:13px;color:#796947}
@media(max-width:700px){#categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}#categories button{font-size:11px;min-height:112px;padding:8px 4px}#categories .category-picture{width:55px;height:55px}#categories .category-symbol{height:55px}.section-head h2{font-size:20px}}

/* Child categories belong to the selected photo department. */
#subcategories[hidden]{display:none}#subcategories{margin:2px 0 18px;padding:13px 15px;background:#fffaf0;border:1px solid #ebdfc5;border-radius:15px;min-width:0}.subcategories-label{display:block;color:#6f5728;font-size:14px;font-weight:700;margin-bottom:9px}.subcategory-options{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.subcategory-options button{font:inherit;font-size:14px;border:1px solid #e4dece;border-radius:10px;padding:9px 14px;background:#fff;color:#443c2d;min-height:42px;max-width:100%;white-space:normal;line-height:1.5;cursor:pointer}.subcategory-options button.selected{background:#29251f;border-color:#29251f;color:#fff}.subcategory-options button:focus-visible{outline:3px solid #bd974a;outline-offset:2px}@media(max-width:600px){#subcategories{padding:11px 10px}.subcategory-options{gap:6px}.subcategory-options button{font-size:13px;padding:8px 11px;min-height:42px}}
.co-items{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 4px;font-weight:700}.co-items .linkbtn{min-height:40px}.co-note{margin-top:10px}.co-note summary{min-height:40px;display:flex;align-items:center;cursor:pointer;color:var(--muted);font-size:14px}.co-note textarea{width:100%}#coError:not(:empty){margin:6px 0;color:#b3261e;font-size:14px;font-weight:700}
.group-deal{margin:6px 0 0;padding:4px 8px;border-radius:8px;background:#fdf3dc;color:#8a5a0b;font-size:12.5px;font-weight:800;line-height:1.5}
#cartDeliveryNote{color:var(--royal-ink);font-weight:700}
.wa-float{position:fixed;left:14px;bottom:14px;z-index:33;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 4px 14px #0003}.wa-float[hidden]{display:none}body:not(.has-cartbar):has(.order-strip:not([hidden])) .wa-float{bottom:70px}
html:has(dialog[open]),html:has(dialog[open]) body{overflow:hidden}dialog{overscroll-behavior:contain}
.inapp dialog[open]{animation:none}.inapp dialog::backdrop{backdrop-filter:none}.inapp dialog.sheet{margin:6px auto auto;border-radius:0 0 18px 18px;max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px)}
/* 2026-11-07 زر الموقع في إتمام الطلب */
.co-gps{display:flex;align-items:center;gap:10px;margin:-4px 0 12px;flex-wrap:wrap}
.co-gps-btn{min-height:40px;padding:0 14px;border:1px solid var(--royal-gold,#d4a53d);border-radius:12px;background:var(--royal-soft,#faf3e3);color:var(--royal-ink,inherit);font-weight:700;font-size:14px}
.co-gps-btn:disabled{opacity:.6}
#coGpsState{flex:1;min-width:140px;color:var(--muted,#665d51);font-size:12.5px;line-height:1.5}

/* onestep 2026-11-17: شريط المحل مسكّر */
.closed-bar{background:#1f2a44;color:#fff;text-align:center;padding:10px 16px;font-weight:700;font-size:15px;line-height:1.5}
.closed-bar[hidden]{display:none}
/* ==== /shop/install.css (v=20261107-promo8) ==== */
.install-strip{display:flex;align-items:center;gap:10px;max-width:var(--maxw);margin:10px auto 0;padding:8px 10px;background:var(--royal-soft);border:1px solid var(--royal-gold);border-radius:var(--r)}
.install-strip[hidden],.install-foot[hidden]{display:none}
.install-strip img{border-radius:10px;flex:none}
.install-strip div{flex:1;min-width:0}
.install-strip .install-go{display:block;min-height:0;padding:0;background:none;color:var(--royal-ink);font-size:15px;font-weight:800;text-align:start}
.install-strip small{display:block;color:var(--muted);font-size:12px;line-height:1.5}
.install-strip .install-x{flex:none;min-height:40px;min-width:40px;padding:0;background:none;color:var(--muted);font-size:15px}
.install-foot{display:block;margin:12px auto 0;min-height:44px;padding:8px 12px;background:none;color:inherit;font-size:13px;font-weight:600;text-decoration:underline}
#installDialog{max-width:420px}
#installDialog h2{margin:6px 0 14px;font-size:18px}
.install-steps{margin:0;padding-inline-start:22px;line-height:1.9}
.install-share{vertical-align:-4px;margin-inline:2px}
.install-open{display:block;margin-bottom:14px;padding:12px;border-radius:var(--r-sm);background:var(--primary);color:var(--on-primary);font-weight:700;text-align:center;text-decoration:none}
#installCopy{width:100%;margin-top:14px}
@media (min-width:1024px){.install-strip,.install-foot{display:none}}
/* 2026-11-07 نافذة «نزّل التطبيق» الكبيرة */
#installPromo{max-width:380px;width:calc(100% - 28px);padding:26px 20px 16px;text-align:center;border-radius:22px}
#installPromo img{display:block;margin:0 auto 12px;border-radius:18px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
#installPromo h2{margin:0 0 12px;font-size:21px;line-height:1.4}
.promo-points{list-style:none;margin:0 0 18px;padding:0;color:var(--muted);font-size:14px;line-height:1.9}
.promo-points li::before{content:"✓ ";color:var(--royal-gold-dark);font-weight:800}
.promo-go{display:block;width:100%;min-height:54px;border:0;border-radius:16px;background:var(--primary);color:var(--on-primary);font-size:18px;font-weight:800;box-shadow:0 6px 16px rgba(212,165,61,.35)}
.promo-note{display:block;margin:10px 0 2px;color:var(--muted);font-size:12.5px;line-height:1.6}
.promo-later{display:block;margin:6px auto 0;min-height:40px;padding:4px 16px;background:none;color:var(--muted);font-size:14px;text-decoration:underline}
@media (min-width:1024px){#installPromo{display:none}}
.install-lead{margin:0 0 12px;padding:10px 12px;border-radius:var(--r-sm);background:var(--royal-soft,#faf3e3);color:var(--royal-ink,inherit);font-weight:700;line-height:1.7}
/* 2026-11-07 زر «التطبيق» الدائم بالهيدر على الجوال */
.install-head{min-height:40px;padding:0 10px;border:1px solid var(--royal-gold,#d4a53d);border-radius:12px;background:var(--royal-soft,#faf3e3);color:var(--royal-ink,inherit);font-weight:800;font-size:13px;white-space:nowrap}
.install-head[hidden]{display:none}
@media (min-width:1024px){.install-head{display:none}}
/* 2026-11-07 نافذة واحدة مبسّطة */
a.promo-go{display:block;text-decoration:none;text-align:center;line-height:54px;padding:0}
.install-steps.big{text-align:start;font-size:15px;line-height:2;margin:4px 0 12px;padding-inline-start:22px}
.install-steps.big li{margin-bottom:6px}
.promo-or{margin:14px 0 6px;font-weight:800;font-size:14px}
#installPromo .install-steps.big .install-share{vertical-align:-5px}
/* ==== /shop/talabat.css (v=20261104-adult2) ==== */
/* نمط «طلبات» على الموبايل (المالك 2026-11-03: «شوف تطبيق طلبات وزبط الموقع يصير زيه»):
   بلا بانر، شريط أقسام أفقي ثابت تحت البحث، شبكة 3 أعمدة مدمجة، وشريط سلة عريض أسفل الشاشة.
   يُحمَّل آخر الملفات ليغلب experience.css. الشاشات الكبيرة كما هي. */
@media(max-width:700px){
 /* overflow-x:hidden على html/body كان يعطّل position:sticky لشريط الأقسام؛ clip يمنع التمرير الأفقي بلا كسر الالتصاق */
 html,body{overflow-x:clip!important}
 .hero{display:none}
 main{padding:6px 10px 96px}
 .section-head{margin-top:4px;gap:4px}
 .section-head h2{font-size:17px;margin:2px 0}
 #storeStatus{font-size:12px}
 /* الأقسام: شريط أفقي قابل للتمرير، ثابت تحت البحث */
 #categories{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap;overflow-x:auto!important;overflow-y:hidden;gap:8px!important;padding:8px 0 6px!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:sticky;top:var(--header-h,110px);z-index:25;background:#faf9f6;margin-inline:-10px;padding-inline:10px!important}
 #categories::-webkit-scrollbar{display:none}
 #categories button{flex:0 0 auto;width:72px;min-height:0!important;padding:6px 2px!important;font-size:11px!important;line-height:1.2;gap:5px!important;scroll-snap-align:start;border-radius:14px;background:#fff;border:1px solid #ece4d3}
 #categories .category-picture{width:46px!important;height:46px!important;border-radius:50%;object-fit:cover}
 #categories .category-symbol{height:46px!important;font-size:22px}
 #categories button.selected{border-color:var(--royal-gold,#c39a42);background:#fff7e6;box-shadow:0 0 0 2px #f1dfb4 inset}
 #categories .category-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 /* الأقسام الفرعية: شريط أفقي */
 #subcategories{margin:2px 0 6px;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;display:block!important}
 #subcategories .subcategories-label{display:none!important}
 #subcategories .subcategory-options{display:flex;overflow-x:auto;gap:6px;flex-wrap:nowrap;scrollbar-width:none;padding-bottom:2px}
 #subcategories .subcategory-options::-webkit-scrollbar{display:none}
 #subcategories .subcategory-options button{flex:0 0 auto;white-space:nowrap;font-size:12.5px;padding:6px 14px!important;min-height:34px!important;border-radius:999px!important}
 /* شبكة المنتجات: 3 أعمدة مدمجة مثل تطبيقات التوصيل */
 .products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 .product{border-radius:12px}
 .photo img{padding:4px}
 .product .info{padding:6px 7px 7px!important}
 .product h3{font-size:12px!important;line-height:1.35!important;margin:0 0 2px!important;min-height:2.7em}
 .product .unit{font-size:10.5px!important;margin:0 0 2px!important}
 .price-now{font-size:13.5px}
 .price-was{font-size:10.5px}
 .product .price-row{gap:4px;align-items:center}
 .product .add,.card-count button{min-width:30px!important;min-height:30px!important;padding:0!important;border-radius:9px}
 /* بعد الإضافة: السعر سطر، وأزرار −/+ تحته بعرض البطاقة حتى لا ينقص السعر */
 .product .price-row{flex-wrap:wrap!important;row-gap:5px}
 .product .card-count{flex:1 0 100%;display:flex!important;justify-content:space-between;align-items:center;background:#f6efe0;border-radius:10px;padding:2px}
 .card-count{gap:3px}
 .card-count b{font-size:13px;min-width:14px;text-align:center}
 .offer-tag,.avail-badge{font-size:10px;padding:2px 6px}
 /* شريط السلة: عريض أسفل الشاشة مع زر «عرض السلة» */
 .cart-bar{inset-inline:10px!important;width:auto!important;max-width:none!important;border-radius:14px!important;padding:10px 14px!important;min-height:56px!important;justify-content:space-between!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
 .cart-bar .cb-go{display:inline-block!important;background:#fff;color:#29251f;border-radius:10px;padding:8px 14px;font-weight:800;font-size:14px}
 .cart-bar #cartBarTotal{max-width:none!important;font-size:15px}
 .cart-bar .cb-count{font-size:17px!important}
 #waFloat{bottom:max(76px,calc(env(safe-area-inset-bottom) + 76px))}
}
@media(max-width:359px){.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}#categories button{width:66px}}
/* 2026-11-04: قسم «الدخان مضر بالصحة» — شارة +18 على الصورة وتنبيه البالغين بالقسم والسلة */
.product .adult-tag{position:absolute;top:auto;bottom:8px;inset-inline-end:8px;background:#b42318;color:#fff;font-weight:900;font-size:11px;padding:2px 7px;border-radius:999px;z-index:2}
.adult-note{margin:6px 0 10px;padding:8px 12px;border-radius:10px;background:#fdecea;color:#8a1c12;font-weight:700;font-size:13px;line-height:1.5}
/* ==== /shop/zone.css (v=20261110-geo1) ==== */
/* (المالك 2026-11-05) شريط «وين نوصّلك؟» تحت البحث مثل طلبات، وقائمة المناطق برسومها. يُحمَّل آخر الأنماط. */
/* الهيدر grid (store-0447.css) فالشريط يأخذ الصف كله بـ grid-column؛ flex-basis احتياط لو صار flex */
.zone-bar{order:9;flex-basis:100%;grid-column:1/-1;grid-row:auto;display:flex;align-items:center;gap:10px;min-height:42px;padding:5px 12px;border-radius:12px;background:#fff7e6;border:1px solid #f1dfb4;color:#29251f;text-align:right;font:inherit;cursor:pointer;line-height:1.3}
.zone-bar:hover{background:#fff3d6}
.zone-bar.unset{background:#fdf3e0;border-color:#e6c98a}
.zone-bar .zb-icon{font-size:18px;line-height:1}
.zone-bar .zb-text{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.zone-bar small{font-size:11px;color:#8a7a5a;font-weight:700}
.zone-bar b{font-size:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zone-bar .zb-change{font-size:13px;font-weight:800;color:#9e7b35;text-decoration:underline;white-space:nowrap}
.zone-list{display:grid;gap:8px;align-content:start}
.zone-list .zone-hint{margin:0 0 4px;padding:10px 12px;border-radius:10px;background:#f6efe0;color:#6b5527;font-weight:700;font-size:13.5px;line-height:1.5}
.zone-list button[data-zone]{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:50px;padding:12px 14px;border:1.5px solid #ece4d3;border-radius:14px;background:#fff;color:#29251f;font:inherit;text-align:right}
.zone-list button[data-zone].selected{border-color:#29251f;background:#f6f1e7;box-shadow:0 0 0 2px #e6d8b8 inset}
.zone-list button.pickup{margin-top:6px;background:#f6f4ef}
.zone-list .zl-name{font-weight:800;font-size:15px}
.zone-list .zl-fee{font-size:13px;color:#6b5527;white-space:nowrap;font-weight:700}
.zone-list .zone-later{justify-self:center;margin-top:6px;color:#827b6f}
.cart-zone{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
@media(max-width:700px){.zone-bar{min-height:40px;padding:4px 10px;margin-top:-2px}.zone-bar b{font-size:13.5px}}
/* (المالك 2026-11-05 مساءً) «زي لوكيشن جوجل»: زر GPS، نتيجة الموقع، ولفت النظر لمربع الموقع عند الطلب بلا موقع */
.zone-list .gps-btn{min-height:50px;font-size:16px;font-weight:800}
.zone-list .zone-or{margin:4px 0 0;text-align:center;color:#827b6f;font-size:13px;font-weight:700}
.zone-list #bandRows{display:grid;gap:8px}
.zone-list .zone-hint.warn{background:#fdecea;color:#8a1c12}
.gps-found{padding:12px;border-radius:14px;background:#eef7ee;border:1px solid #cfe5cf}
.gps-found p{margin:0 0 10px;font-size:15px}
.gps-found p.muted{margin:8px 0 0;font-size:12.5px}
.zone-bar.attention{animation:zoneAttention 1.3s ease-in-out 2}
@keyframes zoneAttention{0%,100%{box-shadow:0 0 0 0 #c39a4200;transform:none}50%{box-shadow:0 0 0 4px #c39a4266;transform:scale(1.015);background:#fde9c0}}
/* (المالك 2026-11-05 مساءً) خريطة بدبوس ثابت بالنص؛ لا مناطق ولا رسوم هنا */
.zone-map-body{display:flex;flex-direction:column;gap:8px}
.zone-hint-light{margin:0;color:#6b5527;font-size:13.5px;font-weight:700}
.zone-map-wrap{position:relative;border-radius:14px;overflow:hidden;border:1px solid #ece4d3;background:#eee}
.zone-map{height:min(56vh,440px);width:100%;direction:ltr}
.zone-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);font-size:34px;line-height:1;pointer-events:none;z-index:500;filter:drop-shadow(0 2px 2px #0006)}
.zone-locate{position:absolute;right:10px;bottom:10px;z-index:500;background:#fff;color:#29251f;border:1px solid #d7c5a7;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;box-shadow:0 2px 8px #0003}
.leaflet-control-attribution{font-size:9px;direction:ltr}
/* (المالك 2026-11-05 ليلًا) بحث عن مكان فوق الخريطة + ترتيب النافذة: خط واحد (RoyalTajawal)، مسافات متساوية، زر واحد كبير فوق وواحد تحت */
.zone-map-body{gap:10px;padding-top:8px}
.zone-map-body .gps-btn{min-height:52px;font-size:16px;border-radius:14px}
.zone-hint-light{font-size:13px;line-height:1.6;color:#6b5527;text-align:center}
.zone-search{width:100%}
.zone-search gmp-place-autocomplete{display:block;width:100%;font-family:RoyalTajawal,'Segoe UI',sans-serif;font-size:15px;--gmp-mat-color-surface:#fff;--gmp-mat-color-on-surface:#29251f;--gmp-mat-color-primary:#9e7b35;border:1.5px solid #e6d8b8;border-radius:14px;background:#fff;padding:2px 6px;box-sizing:border-box}
.zone-map{height:min(50vh,420px)}
.zone-map-wrap{border-radius:16px;border:1.5px solid #e6d8b8;box-shadow:0 2px 10px #30271310}
.zone-locate{right:auto;left:10px;bottom:12px;font-family:inherit}
#zoneMapState{text-align:center;min-height:1.2em;margin:0}
.sheet-foot .zone-later{display:block;width:100%;text-align:center;margin-top:8px;color:#6b5527}
.gm-style .gm-style-cc,.gm-style a[href^="https://maps.google.com"]{font-size:9px}
/* 2026-11-05: نافذة بديلة بلا <dialog> لمتصفحات فيسبوك/إنستغرام (#panelPlain) — نفس شكل الورقة السفلية/النافذة */
dialog.ghost{display:none!important}
.panel-plain{position:fixed;top:6px;left:9px;right:9px;z-index:1001;background:#fff;color:#29251f;border-radius:0 0 18px 18px;max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px);box-shadow:0 12px 40px #0005;overflow:auto;padding:22px;box-sizing:border-box;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.panel-plain[hidden]{display:none!important}
.panel-plain.sheet{padding:0;display:flex;flex-direction:column;overflow:hidden;min-height:240px}
.panel-plain.sheet #panelContent{display:flex;flex-direction:column;min-height:0;flex:1}
.panel-plain>.close{position:absolute;top:10px;left:10px;right:auto;float:none;z-index:4;min-height:38px;padding:6px 12px}
.panel-plain:not(.sheet)>#panelContent{padding-top:34px}
/* 2026-11-05 (المالك: آيفون + Chrome — الصفحة تعتّم والسلة لا تظهر): حركة الدخول كانت تبدأ من opacity:0؛ إن لم تكتمل على iOS تبقى النافذة غير مرئية. لا حركة ولا blur للخلفية على كل الأجهزة. */
dialog[open]{animation:none!important;opacity:1!important;transform:none!important}
dialog::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.zone-sat{position:absolute;right:10px;bottom:12px;z-index:500;background:#fff;color:#29251f;border:1px solid #d7c5a7;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;box-shadow:0 2px 8px #0003;font-family:inherit}
.zone-sat[hidden]{display:none}
/* (المالك 2026-11-06 «خلي المتصفح سلس لكل أجهزة التلفون حسب الشاشات»): ضبط الشاشات الضيقة (≤380 مثل iPhone SE) والعامة ≤700 */
@media(max-width:700px){
 .zone-bar b{white-space:normal;line-height:1.3;font-size:13px}
 .order-type-choice button{font-size:13.5px;padding:10px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:44px}
 .sheet-foot .full{min-height:48px;font-size:15px}
 .cart-line .quantity input{width:52px;min-width:0}
}
@media(max-width:380px){
 .brand span{display:none}
 .brand img{width:36px!important;height:36px!important}
 header{column-gap:6px}
 #accountBtn,.cart-button{font-size:0!important;padding:8px 9px!important;min-width:40px;gap:4px}
 #accountBtn::before{content:'👤';font-size:17px;line-height:1}
 .cart-button::before{content:'🛒';font-size:17px;line-height:1}
 .cart-button b{font-size:12px}
 .zone-bar{padding:4px 8px;gap:6px}
 .zone-bar b{font-size:12.5px}
 .zone-bar small{font-size:10.5px}
 .order-type-choice{gap:6px}
 .order-type-choice button{font-size:12.5px;padding:9px 4px}
 .sheet-head h2{font-size:18px}
 .sheet-head,.sheet-body,.sheet-foot{padding-inline:10px}
 .co-grid{gap:8px}
 .zone-list .zl-name{font-size:14px}
 .zone-list .zl-fee{font-size:12px}
 .products{gap:6px!important}
 .product h3{font-size:11.5px!important}
}
/* شاشات قصيرة (≤640px ارتفاع): ملخص السلة/المراجعة مضغوط حتى تبقى الحقول ظاهرة */
@media(max-height:640px){
 .sheet-foot{padding-top:6px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
 .sheet-foot .summary{padding:4px 10px}
 .sheet-foot .summary .row{padding:3px 0;font-size:13.5px}
 .sheet-foot .summary .row:last-child{font-size:15.5px}
 .sheet-foot .note{margin-top:4px;font-size:12px}
 .sheet-foot .full{margin-top:6px;min-height:44px}
 #coSummary .row{padding:3px 0;font-size:13.5px}
}
/* 2026-11-07 خريطة التطبيق كاملة الشاشة */
.zone-map-full .zone-map{height:min(62vh,560px)}
.zone-results{list-style:none;margin:6px 0 0;padding:0;border:1px solid #e6d8b8;border-radius:12px;background:#fff;max-height:180px;overflow:auto}
.zone-results li{border-bottom:1px solid #f1e9d8}
.zone-results li:last-child{border-bottom:0}
.zone-results button{display:block;width:100%;text-align:start;padding:10px 12px;background:none;border:0;color:#29251f;font-size:14px}
.zone-results .muted{padding:10px 12px;font-size:13px}
#zoneSearchInput{width:100%;min-height:44px;border:1.5px solid #e6d8b8;border-radius:14px;padding:0 12px;font-size:15px;background:#fff;box-sizing:border-box}
.zone-locate:disabled{opacity:.6}
/* 2026-11-10 اسم الموقع بشاشة الخريطة (البيت/الشغل/غيره) */
.zone-labels{display:flex;gap:7px;margin:0 0 10px}
.zone-labels button{flex:1;min-height:42px;border:1px solid #e3d8c3;background:#fff;color:#29251f;border-radius:12px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.zone-labels button.on{background:#29251f;color:#fff;border-color:#29251f}
/* ==== /shop/push.css (v=20261107-push1) ==== */
/* 2026-11-07 شريط تفعيل الإشعارات (أسفل الشاشة فوق شريط السلة) */
.push-bar{position:fixed;inset-inline:10px;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:1200;display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--royal-surface,#fff);border:1px solid var(--royal-gold,#d4a53d);border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.18);max-width:520px;margin-inline:auto;animation:pushIn .25s ease}
@keyframes pushIn{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
.push-ico{font-size:24px;flex:none}
.push-text{flex:1;min-width:0;line-height:1.45}
.push-text b{display:block;font-size:14.5px}
.push-text small{display:block;color:var(--muted,#665d51);font-size:12px}
.push-go{flex:none;min-height:40px;padding:0 16px;border:0;border-radius:12px;background:var(--primary,#d4a53d);color:var(--on-primary,#242018);font-weight:800;font-size:14px}
.push-x{flex:none;min-height:36px;min-width:36px;padding:0;background:none;color:var(--muted,#665d51);font-size:14px}
.push-toast{position:fixed;left:50%;bottom:calc(140px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:1300;padding:10px 16px;border-radius:12px;background:#1b1710;color:#fff;font-weight:700;font-size:14px}
@media (min-width:1024px){.push-bar{display:none}}
/* ==== /shop/browse.css (v=20261118-elak2) ==== */
/* 2026-11-09 (المالك «بدي طريقة تسوق سهلة وسلسة للزبون»): صفحة القسم = صف أصناف لكل قسم فرعي + «عرض الكل». */
.products.dept-rows{display:block!important}
.dept-row{min-width:0;margin:2px 0 14px}
.dept-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 7px}
.dept-row-head h3{margin:0;font-size:16px;font-weight:800;color:#29251f;line-height:1.4}
.dept-row-all{flex:0 0 auto;border:0;background:none;color:#9a6f22;font:inherit;font-size:14px;font-weight:700;padding:8px 4px;min-height:40px;cursor:pointer;white-space:nowrap}
.dept-row-track{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 6px;margin-inline:-2px}
.dept-row-track::-webkit-scrollbar{display:none}
.dept-row-track>article.product{flex:0 0 calc((100% - 14px)/2.6);min-width:0;scroll-snap-align:start}
.dept-row-more{flex:0 0 calc((100% - 14px)/2.6);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1.5px dashed #c39a42;border-radius:14px;background:#fffaf0;color:#7a5618;font:inherit;cursor:pointer;scroll-snap-align:start;padding:10px}
.dept-row-more b{font-size:15px}.dept-row-more small{font-size:12px;color:#8a7a5c;line-height:1.4}
@media(min-width:700px){.dept-row-track>article.product,.dept-row-more{flex-basis:190px}}
/* 2026-11-09: «🔥 الأكثر طلبًا» بالرئيسية + «ناقصك إشي؟» بالسلة */
.products>.dept-row{grid-column:1/-1}
.best-row{background:#fff8e8;border:1px solid #f0dfb8;border-radius:16px;padding:10px 8px 4px;margin-bottom:6px}
.xs-box{margin:14px 0 4px}.xs-box h3{font-size:15px;font-weight:800;margin:0 0 8px;color:#29251f}
.xs-track{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 6px;-webkit-overflow-scrolling:touch}.xs-track::-webkit-scrollbar{display:none}
.xs-item{flex:0 0 112px;position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px 10px;border:1px solid #ece4d3;border-radius:12px;background:#fff;font:inherit;color:#29251f;cursor:pointer;text-align:center}
.xs-item img{width:64px;height:64px;object-fit:contain}
.xs-item span{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.xs-item b{font-size:13px}
.xs-item i{position:absolute;top:6px;left:6px;width:28px;height:28px;border-radius:50%;background:#29251f;color:#fff;font-style:normal;font-weight:700;display:grid;place-items:center}
/* 20261110-photo — المالك «الصور عالموقع بحسها بعيدة … زي طلبات»: الصورة تعبّي عرض الكرت (بلا إطارين أبيض) + تكبير 5% يقصّ الهامش الأبيض اللي بالصور نفسها
   (فحص 40 صورة: أقل هامش 2.2% فما بينقص إشي من الغرض). القلب والشارات فوق الصورة. */
.product .photo{padding:0;background:#fff;overflow:hidden;border-radius:12px 12px 0 0}
.product .photo img{padding:0;transform:scale(1.05);background:#fff}
.product .photo>:not(img){z-index:2}
/* 20261110-photo2 — المالك «طبق الفكرة كاملة حتى الأقسام شوف كيف مرتب التطبيق» (طريقة عرض تطبيقات التوصيل):
   الرئيسية = شبكة أقسام 4 بالصف بصور؛ جوّا القسم = الأقسام تبويبات كلام + الفرعية حبوب؛ الأصناف صنفين بالصف، مربع صورة رمادي فاتح،
   وزر + دائري (أو العدّاد) فوق زاوية الصورة. الكمبيوتر (أعرض من 700) بلا تغيير بالأقسام. */
.product .photo{background:#f4f4f2;border-radius:12px;margin:5px 5px 0}
.product .photo img{background:transparent;mix-blend-mode:multiply}
.xs-item img{width:80px;height:80px;mix-blend-mode:multiply}
@media(max-width:700px){
 .products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .dept-row-track>article.product,.dept-row-more{flex-basis:calc((100% - 14px)/2.2)}
 /* الرئيسية: شبكة أقسام */
 #categories:has(>button[data-category="0"].selected){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important;gap:14px 8px!important;padding:6px 0 4px!important}
 #categories:has(>button[data-category="0"].selected)>button[data-category="0"]{display:none!important}
 #categories:has(>button[data-category="0"].selected)>button{width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important}
 #categories:has(>button[data-category="0"].selected)>button .category-picture{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:1/1;object-fit:contain;background:#fff;border:1px solid #eee6d6;border-radius:16px;padding:7px!important;margin:0!important}
 #categories:has(>button[data-category="0"].selected)>button .category-name{font-size:12px!important;line-height:1.3!important;font-weight:700;color:#29251f;text-align:center;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
 /* جوّا القسم: تبويبات كلام */
 #categories:not(:has(>button[data-category="0"].selected))>button{min-width:0!important;width:auto!important;height:auto!important;min-height:42px!important;flex:0 0 auto!important;padding:8px 10px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:none!important;box-shadow:none!important;display:flex!important;align-items:center!important}
 #categories:not(:has(>button[data-category="0"].selected))>button :is(.category-picture,.category-symbol){display:none!important}
 #categories:not(:has(>button[data-category="0"].selected))>button .category-name{font-size:14px!important;font-weight:600;color:#6b6255;white-space:nowrap!important;display:inline!important;-webkit-line-clamp:unset}
 #categories:not(:has(>button[data-category="0"].selected))>button.selected{border-bottom-color:#c39a42!important}
 #categories:not(:has(>button[data-category="0"].selected))>button.selected .category-name{color:#29251f;font-weight:800}
 #categories:not(:has(>button[data-category="0"].selected))>button[data-category="0"] .category-name{font-size:0!important}
 #categories:not(:has(>button[data-category="0"].selected))>button[data-category="0"] .category-name::after{content:"الرئيسية";font-size:14px}
}
/* زر + والعدّاد فوق زاوية الصورة */
@supports (top:1cqw){
 .product{position:relative;container-type:inline-size}
 .product .price-row>.add,.product .price-row>.card-count{position:absolute!important;top:calc(100cqw - 50px);inset-inline-end:11px;z-index:3;margin:0!important}
 .product .price-row>.add{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#9a6f22!important;border:1px solid #ece4d3!important;box-shadow:0 2px 8px rgba(41,37,31,.18);font-size:24px!important;line-height:1!important;display:grid!important;place-items:center}
 .product .price-row>.add[hidden]{display:none!important}
 .product .price-row>.add:disabled{opacity:.45;box-shadow:none}
 .product .price-row>.card-count{background:#fff;border:1px solid #ece4d3;border-radius:20px;box-shadow:0 2px 8px rgba(41,37,31,.18);height:38px;padding:0 3px;gap:4px!important}
 .product .price-row>.card-count button{min-width:32px!important;min-height:36px!important;padding:0!important;background:none!important;color:#9a6f22!important;font-size:20px!important;border-radius:50%!important}
 .product .price-row>.card-count b{min-width:16px;text-align:center}
}
@media(max-width:700px){
 /* شبكة الرئيسية: أقسام بلا صورة (الدخان/أقسام أخرى) مربع بنفس الحجم؛ الشبكة مش لازقة فوق؛ وبتختفي وقت البحث عشان النتائج تطلع فوق */
 #categories:has(>button[data-category="0"].selected)>button .category-symbol{display:grid!important;place-items:center;width:100%!important;height:auto!important;aspect-ratio:1/1;background:#fff;border:1px solid #eee6d6;border-radius:16px;font-size:30px!important;margin:0!important}
 #categories:has(>button[data-category="0"].selected){position:static!important}
 body:has(#search:not(:placeholder-shown)) #categories:has(>button[data-category="0"].selected){display:none!important}
}
/* 20261110-cart — المالك «شوف طريقة السلة تبعت طلبات»: صورة صغيرة لكل صنف، كمية بحبّة وحدة (🗑 عند 1)، شريط تقدّم للتوصيل المجاني، «+ ضيف أغراض ثانية»، والإجمالي على زر المتابعة. */
.cart-line.has-pic{grid-template-columns:58px minmax(0,1fr) auto;grid-template-areas:"pic main side" "pic qty side";align-items:center}
.cart-line .cl-pic{grid-area:pic;width:58px;height:58px;aspect-ratio:auto;border-radius:12px;background:#f4f4f2;overflow:hidden;align-self:start}
.cart-line .cl-pic img{padding:3px!important;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.cart-line .cl-pic .placeholder svg{width:26px;height:26px}
.cart-line .cl-remove{display:none!important}
.cart-line .quantity{display:inline-flex!important;align-items:center;gap:0!important;border:1px solid #e6dcc8;border-radius:22px;padding:1px;width:max-content;background:#fff}
.cart-line .quantity button{min-width:34px!important;width:34px;height:34px!important;min-height:34px!important;border:0!important;background:none!important;border-radius:50%!important;color:#9a6f22!important;font-size:19px!important;padding:0!important;box-shadow:none!important}
.cart-line .quantity button.cl-trash{font-size:15px!important}
.cart-line .quantity input{width:40px!important;min-width:0!important;min-height:30px!important;border:0!important;background:none!important;text-align:center;font-weight:800;padding:0!important;-moz-appearance:textfield;box-shadow:none!important}
.cart-line .quantity input::-webkit-inner-spin-button,.cart-line .quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cl-more{display:block;margin:4px 0 2px;border:0;background:none;color:#9a6f22;font:inherit;font-weight:800;font-size:14px;padding:10px 0;min-height:40px;cursor:pointer}
.free-bar{background:#fff8e8;border:1px solid #f0dfb8;border-radius:12px;padding:9px 12px 10px;margin:8px 0 4px}
.free-bar b{display:block;font-size:13.5px;color:#5c4416;margin-bottom:7px}
.free-bar small{display:block;font-size:11.5px;color:#8a7a5c;margin-top:5px}
.fb-track{display:block;height:7px;border-radius:7px;background:#efe4cb;overflow:hidden}
.fb-track i{display:block;height:100%;border-radius:7px;background:linear-gradient(90deg,#c39a42,#e0b860);transition:width .3s}
.free-bar.done{background:#eef8ee;border-color:#cfe8cf}.free-bar.done b{color:#2d6a2d;margin-bottom:0}.free-bar.done .fb-track{display:none}
#checkout:has(.co-total){display:flex!important;justify-content:space-between;align-items:center;gap:10px}
#checkout .co-total{background:rgba(255,255,255,.25);border-radius:8px;padding:3px 10px;font-size:15px}
/* 20261110-bar — شريط السلة السفلي (زي «أضف منتجات بقيمة…» بطلبات) + «تعليمات التوصيل» بإتمام الطلب */
.cart-bar.with-free{flex-wrap:wrap!important;row-gap:7px!important;width:auto!important;inset-inline:10px!important;border-radius:16px!important}
.cart-bar .cb-free{flex:1 0 100%;order:-1;display:flex;flex-direction:column;gap:5px}
.cart-bar .cb-free[hidden]{display:none}
.cart-bar .cb-free small{font-size:12.5px;font-weight:700;color:#fff;opacity:.95;white-space:normal}
.cart-bar .cb-free i{display:block;height:5px;border-radius:5px;background:rgba(255,255,255,.28);overflow:hidden}
.cart-bar .cb-free i b{display:block;height:100%;border-radius:5px;background:#fff;transition:width .3s}
.cart-bar .cb-free.done i{display:none}
.co-tips{margin:10px 0 6px}.co-tips>b{display:block;font-size:14px;margin-bottom:7px}
.co-tips>div{display:flex;flex-wrap:wrap;gap:7px}.co-tips>div::-webkit-scrollbar{display:none}
.co-tip{flex:0 0 auto;border:1px solid #e3d8c3;background:#fff;color:#29251f;border-radius:20px;padding:8px 12px;min-height:40px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.co-tip.on{background:#29251f;color:#fff;border-color:#29251f}
/* الشريط صار أعلى بسطر التوصيل المجاني: الواتساب وشريط الطلب الحالي ونهاية الصفحة بيطلعوا فوقه */
body.has-cartbar:has(.cart-bar.with-free) .wa-float{bottom:112px!important}
body.has-cartbar:has(.cart-bar.with-free) .order-strip{bottom:108px!important}
body.has-cartbar:has(.cart-bar.with-free) main,body.has-cartbar:has(.cart-bar.with-free) footer{padding-bottom:112px}
/* 20261110-toast: add-to-cart toast sits above the taller cart bar (free-delivery line) */
body:has(.cart-bar.with-free) #toast{bottom:114px!important}
body.has-cartbar:not(:has(.cart-bar.with-free)) #toast{bottom:88px!important}

/* 20261110-auto: «المزيد من المنتجات» صار تحميل تلقائي — سطر خفيف بدل زر */
#moreBtn.auto-more{border:0!important;background:none!important;box-shadow:none!important;color:#8a7a5c!important;font-size:13px;font-weight:600;margin:10px auto 18px;pointer-events:none}

/* 20261111-baskets1 «🧺 سلال جاهزة» (مخفية لحد baskets_enabled=true بـ/shop/baskets.json) */
.basket-row .dept-row-head small.bk-sub{color:#8a7a5c;font-size:12px;font-weight:600}
.basket-track{gap:10px}
.basket-card{flex:0 0 78%;max-width:300px;min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #e3d3ad;border-radius:16px;background:linear-gradient(180deg,#fffaf0,#fff);box-shadow:0 1px 3px rgba(41,37,31,.06)}
.basket-card .bk-head{display:flex;align-items:center;gap:8px}
.basket-card .bk-emoji{font-size:24px;line-height:1}
.basket-card h4{margin:0;font-size:16px;font-weight:800;color:#29251f;line-height:1.35}
.basket-card .bk-pics{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.basket-card .bk-pics img{width:100%;aspect-ratio:1;object-fit:contain;background:#f4f4f2;border-radius:10px;mix-blend-mode:multiply}
.basket-card .bk-lines{list-style:none;margin:0;padding:0;font-size:12.5px;color:#4a4338;line-height:1.5}
.basket-card .bk-lines li{display:flex;justify-content:space-between;gap:8px}
.basket-card .bk-lines li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.basket-card .bk-lines li b{flex:0 0 auto;color:#9a6f22}
.basket-card .bk-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.basket-card .bk-total{font-size:18px;font-weight:800;color:#29251f}
.basket-card .bk-free{font-size:12px;font-weight:700;color:#2f7d32;background:#eaf5ea;border-radius:20px;padding:3px 9px;white-space:nowrap}
.basket-card .bk-add{border:0;border-radius:12px;background:#29251f;color:#fff;font:inherit;font-size:15px;font-weight:800;min-height:46px;cursor:pointer}
.basket-card .bk-add:active{transform:scale(.98)}
@media(min-width:700px){.basket-card{flex-basis:280px}}
/* 20261112-shop2: «حسابي» اختصارات (طلباتي/المفضلة/الإشعارات)، قلب المفضلة المعبّى، زر الإشعارات بنافذة نجاح الطلب، سطر الدفع */
.acc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px}
.acc-chips button{flex:1 1 auto;min-height:42px;padding:0 14px;border:1px solid #e3d3ad;border-radius:999px;background:#fffaf0;color:#29251f;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.acc-chips button:active{transform:scale(.98)}
.favorite-button.on{color:#c0392b!important}
.fav-row{align-items:center;gap:8px}
.fav-row span{display:flex;gap:6px;flex:0 0 auto}
.os-push{margin:14px 0 4px;padding:12px 14px;border:2px solid #c39a42;border-radius:14px;background:#fff8e8;text-align:center}
.os-push .os-push-go{margin-top:0;background:#29251f;color:#fff;border:0;border-radius:12px;min-height:48px;font:inherit;font-size:16px;font-weight:800}
.os-push small{display:block;margin-top:6px;color:#6b6152}
.os-push .os-push-ok{margin:0;color:#2f7d32;font-weight:700}
.push-state{padding:10px 12px;border-radius:12px;background:#fdf3e1;line-height:1.7}
.push-state.ok{background:#eaf5ea;color:#2f7d32;font-weight:700}
.co-pay{margin:6px 0 0;font-size:12.5px;text-align:center}
/* 20261112-offers1 «🎁 جرّبها بسعر ألطف»: عروض «التسويق الذكي» بصف هادئ مكان «سلال جاهزة» — بلا ألوان صارخة؛ صف «أقوى العروض» القديم بنفس العروض بينخفى بالرئيسية */
.gentle-row{background:#fbf8f1;border:1px solid #ece3d1;border-radius:16px;padding:10px 8px 4px;margin-bottom:6px}
.gentle-row .dept-row-head .gentle-all{color:#6f6450;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.gentle-row .offer-tag{background:#efe6d3;color:#4a3f2c;box-shadow:none;font-weight:800}
.gentle-row .has-offer .price-now{color:#29251f}
.gentle-row .price-was{color:#9a9184;font-weight:500}
body.gentle-offers #royalOffers{display:none!important}

/* 20261118-elak1 «🎁 إلك»: شارة عرض الزبون الخاص — غامقة بذهبي (ألوان رويال) */
.offer-tag.mine{background:#29251f;color:#f3d48a;font-weight:800;font-size:12px;padding:3px 10px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.22)}
/* elak2 (المالك: «السعر القديم صغير ومو مبين إنه مميز»): السعرين بسطر واحد، القديم أكبر ومشطوب بأحمر، وإطار ذهبي للكرت */
.product.has-offer .price{display:flex;flex-direction:row;align-items:baseline;gap:8px;flex-wrap:wrap}
.product.has-offer .price-now{color:#c2410c;font-size:19px;font-weight:900}
.product.has-offer .price-was{font-size:15px;font-weight:700;color:#8a8275;opacity:1;text-decoration:line-through;text-decoration-color:#d12f2f;text-decoration-thickness:2px}
.product.has-offer{border-color:#e7cf95;box-shadow:0 0 0 1.5px #e7cf95 inset}
/* ==== /shop/search.css (v=20261115-search1) ==== */
/* 20261115-search1 (المالك 2026-11-14 «زر البحث ضايع، ما بقدر أكتب أو أبحث» + «زي طلبات»): البحث ظاهر دايمًا فوق بأي مكان بالصفحة.
   الهيدر position:fixed (rm-fixhead من store.js) — sticky كان ينكسر مع overflow-x:hidden على html/body (آيفون قبل iOS 16 والشاشات الأعرض من 700).
   بعد ما ينزل الزبون (rm-compact): سطر واحد «بحث + السلة»، والشعار/حسابي/المنطقة/العروض بيرجعوا لما يطلع لفوق. يُحمَّل آخر ملف. */
html.rm-fixhead body{padding-top:var(--header-full,124px)}
html.rm-fixhead header{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:40}
html.rm-compact header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"search cart"!important;padding-top:6px!important;padding-bottom:6px!important;box-shadow:0 4px 16px #2a20100f}
html.rm-compact header>.brand,html.rm-compact header>.menu-trigger,html.rm-compact #accountBtn,html.rm-compact #offersNav,html.rm-compact #zoneBar,html.rm-compact #searchBtn{display:none!important}
html.rm-compact header .search{grid-area:search!important;grid-column:auto!important}
html.rm-compact #cartBtn{grid-area:cart}
/* حقل البحث: 16px حتى ما يكبّر آيفون الصفحة، وحدّ واضح لما يكون الزبون بيكتب */
.search input{font-size:16px!important}
.search:focus-within{border-color:var(--royal-gold,#c39a42);box-shadow:0 0 0 3px #f1dfb466}
.search-clear{min-width:36px;font-size:17px}
/* «ما لقينا» + أقرب الأقسام */
.search-empty .empty-depts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}
.search-empty .empty-depts button{background:#fff7e6;border:1px solid #f1dfb4;color:#29251f;border-radius:999px;padding:8px 14px;min-height:40px;font-size:14px}
/* ==== /shop/discover.css (v=20261115-pop1) ==== */
/* 20261115-search2 (المالك 2026-11-14، صور طلبات وأشيائي «القائمة الرئيسية بتضل معهم»): شريط الأقسام والفرعية جوّا الهيدر الثابت،
   شاشة البحث (الأخيرة + الأكثر بحثًا + الاقتراحات)، رف الوقت والماركات، خيارات التوصيل. ألوان رويال (ذهبي/كريمي) — آخر ملف. */
/* ── شريط الأقسام بالهيدر: بالرئيسية بعد النزول، وبالقسم ونتائج البحث دايمًا */
header>#rmTabs,header>#subcategories{grid-area:auto!important;grid-column:1/-1!important;min-width:0;width:100%}
header>#rmTabs{order:20}header>#subcategories{order:21}/* بعد شريط المنطقة */
#rmTabs{display:none;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -2px -6px;padding:0 2px}
#rmTabs::-webkit-scrollbar{display:none}
html.rm-dept #rmTabs,html.rm-searching #rmTabs,html.rm-home.rm-compact #rmTabs{display:flex}
#rmTabs button{flex:0 0 auto;background:none;border:0;border-bottom:3px solid transparent;border-radius:0;padding:7px 10px 6px;min-height:38px;font:inherit;font-size:14px;font-weight:600;color:#6b6255;white-space:nowrap;cursor:pointer}
#rmTabs button.selected{border-bottom-color:var(--royal-gold,#c39a42);color:#29251f;font-weight:800}
/* الصف الثاني بصفحة القسم: «الكل» + الفرعية — تبويبات بتفلتر بمكانها */
html:not(.rm-dept) header>#subcategories{display:none!important}
html.rm-dept header>#subcategories:not([hidden]){display:block!important;margin:6px 0 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
header>#subcategories .subcategories-label{display:none!important}
header>#subcategories .subcategory-options{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:none;padding:0 0 2px}
header>#subcategories .subcategory-options::-webkit-scrollbar{display:none}
header>#subcategories .subcategory-options button{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:6px 14px!important;min-height:34px!important;border-radius:999px!important;background:#fff;border:1px solid #ece4d3;color:#413a30}
header>#subcategories .subcategory-options button.selected{background:#29251f;border-color:#29251f;color:#fff}
/* بالقسم: الشريط اللي بالصفحة بيتكرر بالهيدر — منخفيه */
html.rm-dept main #categories,html.rm-dept main .scroller:has(>#categories){display:none!important}
/* ── شاشة البحث */
.rm-search-panel{position:fixed;left:0;right:0;bottom:0;z-index:39;background:#fffdf9;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:10px max(14px,calc((100vw - 1100px)/2)) 120px;border-top:1px solid #eee6d6}
.rm-search-panel[hidden]{display:none}
html.rm-search-open .cart-bar,html.rm-search-open .wa-float{visibility:hidden}
.rm-search-panel .sp-head{display:flex;align-items:center;justify-content:space-between;margin:6px 0 8px}
.rm-search-panel h3{font-size:16px;margin:0;color:#29251f}
.rm-search-panel .linkbtn{background:none;border:0;color:#8a6d2f;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;padding:6px}
.sp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.sp-chips button{background:#fff;border:1px solid #e6dcc6;border-radius:999px;padding:7px 13px;min-height:38px;font:inherit;font-size:14px;color:#29251f}
.sp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}
.sp-grid button{background:none;border:0;padding:0;font:inherit;display:flex;flex-direction:column;align-items:center;gap:6px;color:#29251f;cursor:pointer}
.sp-pic{display:block;width:100%;aspect-ratio:1/1;background:#fff;border:1px solid #eee6d6;border-radius:16px;padding:7px;box-sizing:border-box}
.sp-pic img{width:100%;height:100%;object-fit:contain;display:block}
.sp-grid b{font-size:13px;font-weight:700}
.sp-list{list-style:none;margin:0;padding:0}
.sp-list li{display:flex;align-items:center;border-bottom:1px solid #f0e9da}
.sp-go{flex:1;display:flex;align-items:center;gap:10px;background:none;border:0;padding:13px 2px;font:inherit;font-size:15px;color:#29251f;text-align:start;cursor:pointer;min-width:0}
.sp-go span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}
.sp-go b{font-weight:800}
.sp-ico{font-size:14px;opacity:.65}
.sp-fill{background:none;border:0;min-width:44px;min-height:44px;font-size:18px;color:#8a7d66;cursor:pointer}
.sp-hint{color:#8a7d66;font-size:14px;text-align:center;margin:24px 0}
/* ── الرئيسية: رف الوقت + الماركات */
.brand-track{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 6px;scroll-snap-type:x proximity}
.brand-track::-webkit-scrollbar{display:none}
.brand-tile{flex:0 0 auto;width:86px;background:none;border:0;padding:0;font:inherit;display:flex;flex-direction:column;align-items:center;gap:6px;scroll-snap-align:start;cursor:pointer;color:#29251f}
.bt-pic{display:block;width:86px;height:86px;background:#fff;border:1px solid #eee6d6;border-radius:50%;padding:12px;box-sizing:border-box;overflow:hidden}
.bt-pic img{width:100%;height:100%;object-fit:contain;display:block}
.brand-tile b{font-size:13px;font-weight:800;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.dept-row-head .dept-row-all{background:none;border:0;color:#8a6d2f;font:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:6px 2px;text-decoration:underline;text-underline-offset:3px}
/* وأنت بتكتب: الاقتراحات فوق (لنص الشاشة) والأصناف بتبيّن تحتها */
.rm-search-panel.sp-typing{bottom:auto;max-height:52vh;padding-bottom:6px;box-shadow:0 14px 24px #2a20101f;border-bottom:1px solid #eee6d6}
/* ── الموقع التلقائي (geo-auto.js) */
.geo-auto{display:flex;flex-direction:column;gap:10px;padding-bottom:18px}
.geo-auto .ga-text{font-size:15px;line-height:1.7;color:#413a30;margin:2px 0 6px}
.geo-auto .ga-note{font-size:12.5px;color:#8a7d66;text-align:center;margin:4px 0 0}
.geo-auto .ga-later{align-self:center}
.zone-list .zone-auto{display:block;width:100%;background:#29251f;color:#fff;border:0;border-radius:14px;padding:13px;font:inherit;font-size:15px;font-weight:700;margin:0 0 10px;cursor:pointer}
/* شاشة البحث مفتوحة: بس خانة البحث فوق */
html.rm-search-open #rmTabs,html.rm-search-open header>#subcategories{display:none!important}
/* 20261115-search3 (المالك «شوف كيف أشيائي عاملينه وشكله»): المنطقة كبسولة صغيرة بسطر الهيدر العلوي بين الشعار والحساب/السلة،
   بدل الصف العريض تحت البحث. بتختفي بالهيدر المصغّر (search.css) وكل ما شاشة البحث مفتوحة/فيها كلمة («وبالبحث ما يطلع خيار الموقع»). */
header{grid-template-columns:44px auto auto minmax(0,1fr) auto auto auto;grid-template-areas:"menu brand zone search offers account cart"}
@media(max-width:700px){header{grid-template-columns:40px auto minmax(0,1fr) auto auto;grid-template-areas:"menu brand zone account cart" "search search search search offers"}}
header #zoneBar.zone-pill{grid-area:zone!important;grid-column:auto!important;grid-row:auto!important;order:0!important;flex-basis:auto;justify-self:start;align-self:center;width:auto;max-width:100%;min-width:0;min-height:38px;margin:0!important;padding:4px 12px!important;gap:0!important;border-radius:999px!important;background:#fff7e6;border:1px solid #efdcae;box-shadow:none;display:flex;align-items:center;text-align:right}
header #zoneBar.zone-pill:hover{background:#fff3d6}
header #zoneBar.zone-pill.unset{background:#fdf0d6;border-color:#e2c27d}
header #zoneBar.zone-pill .zb-text{flex:0 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
header #zoneBar.zone-pill small{font-size:10.5px!important;color:#8a7a5a;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
header #zoneBar.zone-pill b{display:flex;align-items:center;gap:4px;max-width:100%;min-width:0;font-size:13px!important;line-height:1.25!important;color:#29251f;white-space:nowrap!important}
header #zoneBar.zone-pill .zb-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
header #zoneBar.zone-pill .zb-chev{flex:0 0 auto;font-size:14px;font-weight:800;color:#9e7b35;line-height:1;margin-top:-6px}
html.rm-search-open header #zoneBar,html.rm-searching header #zoneBar{display:none!important}
/* 20261115-search3: بطاقة الموقع بإتمام الطلب (خريطة صغيرة OSM + التوصيل إلى + تغيير) */
.co-loc{margin:4px 0 12px;border:1px solid #efdcae;border-radius:16px;background:#fffaf0;overflow:hidden}
.co-loc-map{position:relative;height:112px;overflow:hidden;background:#efe9dc}
.co-loc-tiles{position:absolute;width:768px;height:768px}
.co-loc-tiles img{position:absolute;width:256px;height:256px;max-width:none;border:0}
.co-loc-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-92%);font-size:30px;line-height:1;filter:drop-shadow(0 2px 2px #0005)}
.co-loc-attr{position:absolute;left:6px;bottom:3px;font-size:9px;color:#5c5446;background:#fffc;padding:0 4px;border-radius:4px}
.co-loc-row{display:flex;align-items:center;gap:10px;padding:10px 12px}
.co-loc-ic{font-size:18px;line-height:1}
.co-loc-txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.co-loc-txt small{font-size:11px;color:#8a7a5a;font-weight:700}
.co-loc-txt b{font-size:15px;color:#29251f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-loc-txt span{font-size:12px;color:#7a6f5c}
.co-loc-change{flex:0 0 auto;border-radius:999px!important;padding:8px 16px!important;min-height:38px;background:#fff!important;border:1px solid var(--royal-gold,#c39a42)!important;color:#7d5c1e!important;font-weight:800;font-size:13.5px}
.co-loc.unset{padding:12px;display:flex;flex-direction:column;gap:4px;background:#fdf3e0;border-color:#e2c27d}
.co-loc.unset b{font-size:15px;color:#29251f}
.co-loc.unset small{font-size:12px;color:#7a6f5c}
.co-loc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.co-loc-actions button{flex:1 1 130px;min-height:42px;padding:8px 6px!important;border-radius:12px!important;font-weight:800;font-size:13px;white-space:nowrap}
.co-loc-auto{background:var(--royal-gold,#c39a42)!important;color:#fff!important;border:0!important}
.co-loc-pick{background:#fff!important;color:#5c4513!important;border:1px solid var(--royal-gold,#c39a42)!important}
html.rm-search-open .co-loc{display:none}
/* 20261115-search3: صفحة الماركة (زي صفحة القسم: بلا مربعات الأقسام، والتبويبات بالهيدر) + شاشة كل الماركات + أسهم شريط الماركات */
html.rm-brand main #categories#categories,html.rm-brand main .scroller:has(>#categories){display:none!important}
html.rm-brand #rmTabs{display:flex}
.brands-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:14px 10px;padding:4px 0 10px}
.brands-grid .brand-tile{width:auto}
.brand-row .scroller{position:relative}

/* 20261115-search3 تنزيل التطبيق الناعم: شريط نحيف مش نافذة (install.js)، بيختفي تحت أي نافذة/البحث، وزر 📲 بالهيدر الكبير بس */
#installBar{position:fixed;inset-inline:12px;z-index:36;max-width:760px;margin:0 auto;display:flex;align-items:center;gap:8px;padding:7px 8px 7px 6px;background:#fffaf0;border:1px solid #e9d39f;border-radius:14px;box-shadow:0 6px 18px #0002;color:#29251f;font-size:13px;animation:ibIn .25s ease-out}
#installBar[hidden]{display:none}
#installBar .ib-text{flex:1;min-width:0;line-height:1.35;font-weight:700}
#installBar .ib-go{flex:0 0 auto;background:var(--royal-gold,#c39a42);color:#fff;border:0;border-radius:999px;padding:7px 16px;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
#installBar .ib-x{flex:0 0 auto;background:none;border:0;color:#8a7a5a;font-size:15px;width:28px;height:28px;padding:0;cursor:pointer}
@keyframes ibIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html.rm-search-open #installBar,html.rm-searching #installBar,body:has(dialog[open]) #installBar{display:none!important}
#installHead{grid-area:app;display:none}
html.rm-can-install:not(.rm-compact):not(.rm-search-open) #installHead:not([hidden]){display:inline-flex;align-items:center;justify-content:center;align-self:center;width:36px;height:36px;padding:0;margin:0;border-radius:50%;background:#fff7e6;border:1px solid #efdcae;font-size:17px;line-height:1;cursor:pointer}
html.rm-can-install:not(.rm-compact) header{grid-template-columns:44px auto auto minmax(0,1fr) auto auto auto auto;grid-template-areas:"menu brand zone search offers app account cart"}
/* بالجوال الزر بالسطر الثاني جنب البحث (تحت «حسابي») حتى الكبسولة ما تنقص */@media(max-width:700px){html.rm-can-install:not(.rm-compact) header{grid-template-columns:40px auto minmax(0,1fr) auto auto;grid-template-areas:"menu brand zone account cart" "search search search app offers"}html.rm-can-install:not(.rm-compact) header:not(:has(#offersNav:not([hidden]))) .search{grid-column:1/5}html.rm-can-install:not(.rm-compact) header:not(:has(#offersNav:not([hidden]))) #installHead{grid-area:auto;grid-row:2;grid-column:5}}
#shopMenu .menu-install{color:#9e7b35;font-weight:800}
/* ui1 (المالك 15/11 «الأكثر طلبًا: البطاقة كبيرة والسعر نازل لتحت… الأبعاد للتلفون»): اختيار الوحدة (حبة/شرنك) صار سطر واحد صغير بلا عنوان وبدل سطر «حبة»، فالبطاقة اللي فيها اختيار ما بتطوّل باقي الصف */
.product .unit-choice-label{font-size:0!important;margin:2px 0 0!important;line-height:0}
.product .unit-choice-label select{font-size:12px!important;min-height:30px!important;height:30px;margin-top:0!important;padding:2px 6px!important;line-height:1.2}
.product:has(.unit-choice-label) .info>.unit{display:none}
/* ui3 (المالك 15/11 «زبّط الأزرار بشكل مرتب، الاسم يكون طالع، البحث… بدي ياه بروفشنال» + سكرين تلفونه): هيدر التلفون 3 سطور —
   1) ☰ الشعار + ROYAL MARKET … الحساب (أيقونة) + السلة  2) سطر «📍 التوصيل إلى <الحي> ▾» بعرض الشاشة  3) البحث + زر التنزيل.
   قبلها الكبسولة كانت محشورة بين الاسم و«أهلًا فلان» وبتنسحق لفراغ على 381–700px. الهيدر المصغّر (rm-compact) وشاشة البحث زي ما هم. */
@media(max-width:700px){
html:not(.rm-compact) header{grid-template-columns:40px auto minmax(0,1fr) auto auto!important;grid-template-areas:"menu brand brand account cart" "zone zone zone zone zone" "search search search search offers"!important;row-gap:8px}
html:not(.rm-compact) header .brand span{display:block!important;font-size:15px!important;font-weight:800;max-width:none!important;letter-spacing:.3px;white-space:nowrap}
html:not(.rm-compact) header .brand span small{display:none!important}
/* ui4 (المالك: «اسم المستخدم بالتلفون مو باين»): زر الحساب بيعرض «أهلًا فلان» (… إذا طويل)؛ تحت 390px بنخبّي نص ROYAL MARKET عشان الاسم ياخذ مكانه */
header #accountBtn{font-size:12.5px!important;font-weight:700;min-width:40px;max-width:124px;padding:8px 10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:not(.rm-compact) header .search{grid-row:3!important}
html:not(.rm-compact) header #installHead{grid-row:3!important}
html:not(.rm-compact) header #zoneBar.zone-pill{grid-column:1/-1!important;grid-row:2!important;justify-self:stretch!important;width:100%!important;max-width:none!important;box-sizing:border-box;min-height:34px;padding:5px 12px!important;border-radius:12px!important}
html:not(.rm-compact) header #zoneBar.zone-pill .zb-text{flex:1 1 auto;width:100%;max-width:none;flex-direction:row;align-items:center;gap:6px}
html:not(.rm-compact) header #zoneBar.zone-pill small{display:block!important;font-size:12px!important;flex:0 0 auto;overflow:visible!important;max-width:none!important}
html:not(.rm-compact) header #zoneBar.zone-pill b{flex:1 1 auto;font-size:13.5px!important;justify-content:space-between}
html:not(.rm-compact) header #zoneBar.zone-pill .zb-chev{margin-top:-4px}
}
@media(max-width:389px){html:not(.rm-compact) header .brand span{display:none!important}}
/* pop1: نافذة التنزيل المنبثقة — ✕ بالزاوية */
#installPromo{position:fixed}
#installPromo .promo-x{position:absolute;top:10px;left:10px;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#f3ece0;color:#5a4d36;font-size:15px;font-weight:700;line-height:1;cursor:pointer}
#installPromo::backdrop{background:rgba(30,24,14,.45)}
/* ==== /shop/rating.css (v=20261115-rate1) ==== */
/* 20261115-rate1 نافذة «كيف كان طلبك؟» — صغيرة ومرتبة على الجوال (360–412 px) */
#ratePrompt{position:fixed;max-width:360px;width:calc(100% - 32px);margin:auto;padding:0;border:0;border-radius:20px;background:#fff;color:var(--royal-ink,#29251f);box-shadow:0 18px 48px rgba(30,24,14,.28);text-align:center;direction:rtl;overflow:visible}
#ratePrompt::backdrop{background:rgba(30,24,14,.45)}
#ratePrompt .rate-body{padding:22px 18px 16px}
#ratePrompt .rate-x{position:absolute;top:10px;left:10px;width:34px;height:34px;min-height:0;padding:0;border:0;border-radius:50%;background:#f3ece0;color:#5a4d36;font-size:15px;font-weight:700;line-height:1;cursor:pointer}
#ratePrompt h2{margin:4px 30px 6px;font-size:18px;line-height:1.45;font-weight:800}
#ratePrompt .rate-sub{margin:0 0 12px;color:var(--muted,#7a705f);font-size:13.5px;line-height:1.6}
#ratePrompt .rate-stars{display:flex;justify-content:center;gap:6px;margin:0 0 2px}
#ratePrompt .rate-star{width:46px;height:46px;min-height:0;padding:0;border:0;background:none;color:#ddd3c2;font-size:36px;line-height:1;cursor:pointer;transition:transform .12s,color .12s;-webkit-tap-highlight-color:transparent}
#ratePrompt .rate-star.on{color:var(--royal-gold,#d4a53d)}
#ratePrompt .rate-star:active{transform:scale(.9)}
#ratePrompt .rate-star:focus-visible{outline:2px solid var(--royal-gold,#d4a53d);outline-offset:2px;border-radius:10px}
#ratePrompt .rate-label{min-height:20px;margin:0 0 10px;color:var(--royal-gold-dark,#9a7424);font-size:14px;font-weight:700}
#ratePrompt .rate-note{display:block;box-sizing:border-box;width:100%;min-height:52px;margin:0 0 12px;padding:10px 12px;border:1px solid #e5dccb;border-radius:12px;background:#fbf8f2;color:inherit;font:inherit;font-size:16px;line-height:1.5;resize:none}
#ratePrompt .rate-note:focus{outline:none;border-color:var(--royal-gold,#d4a53d);background:#fff}
#ratePrompt .rate-send{display:block;width:100%;min-height:48px;border:0;border-radius:14px;background:var(--primary,#29251f);color:var(--on-primary,#fff);font-size:16px;font-weight:800;cursor:pointer}
#ratePrompt .rate-send:disabled{opacity:.45;cursor:default}
#ratePrompt .rate-err{margin:8px 0 0;color:#b3261e;font-size:13px}
#ratePrompt .rate-err[hidden]{display:none}
#ratePrompt .rate-thanks{padding:26px 18px 22px}
#ratePrompt .rate-ok{font-size:40px;line-height:1;margin-bottom:8px}
@media (max-width:360px){#ratePrompt .rate-star{width:42px;height:42px;font-size:33px}#ratePrompt .rate-body{padding:20px 14px 14px}}
/* ==== /shop/rm-tokens.css (v=20261118-tok2) ==== */
/* rm-tokens.css — tok1 (2026-11-18) «توحيد التصميم — المرحلة 1، CSS فقط».
   يُربط آخر ملف بـ index.html؛ حذف سطر الربط = رجوع كامل. كل بلوك عليه رقم الملاحظة من التدقيق (F1..F14). */
:root{
 --rm-ink:#29251f;--rm-ink-2:#6f675b;--rm-gold:#c39a42;--rm-gold-ink:#8a6416;--rm-cream:#f6f1e7;
 --rm-bg:#faf9f6;--rm-surface:#fff;--rm-photo:#f4f4f2;--rm-line:#ece4d3;--rm-danger:#a82d2d;--rm-ok:#2f7d32;
 --fs-xs:12px;--fs-sm:13px;--fs-md:15px;--fs-lg:17px;--fs-xl:20px;--fs-price:16px;
 --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;
 --r-sm:8px;--r-md:12px;--r-lg:20px;--r-pill:999px;
 --sh-1:0 1px 3px rgba(41,37,31,.08);--sh-2:0 8px 24px rgba(41,37,31,.16);--tap:44px;
 /* F9: بقايا الثيم الأخضر (experience.css سطر 1) */
 --royal-ink:#29251f;--royal-soft:#f6f1e7;
}
/* ملاحظة: --r-sm بالموقع القديم كانت 11px وبتستخدمها store.css للأزرار والحقول؛ القيم تحت بتثبّت 12px صراحة للأزرار/الحقول. */

/* F1 + F6: كرت المنتج (الشبكة، رفوف الرئيسية/الأقسام، نتائج البحث) */
.product{border:1px solid var(--rm-line);border-radius:var(--r-md);box-shadow:var(--sh-1);background:var(--rm-surface)}
.product .photo{border-radius:10px}
.product .info h3{font-size:var(--fs-sm)!important;font-weight:700;line-height:1.35!important;min-height:2.7em;margin:0 0 2px!important;color:var(--rm-ink)}
.product .info .unit{font-size:var(--fs-xs)!important;color:var(--rm-ink-2);margin:0!important}
.product:not(.has-offer) .price-now{font-size:var(--fs-price);font-weight:700;color:var(--rm-ink)}
.product .info .price-row{margin-top:auto;padding-top:6px}
.ro-info h3{font-size:var(--fs-sm);font-weight:700;line-height:1.35;min-height:2.7em}
/* F6: الرف بنفس منطق الكرت — الكروت بتتمدد لارتفاع الصف، والسعر تحت */
.dept-row-track{align-items:stretch}
.dept-row-track>article.product{display:flex;flex-direction:column}

/* F2: أهداف اللمس ≥44 — «+» على زاوية الصورة والعدّاد (browse.css @supports 38px) */
.product .price-row>.add{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;font-size:26px!important}
.product .price-row>.card-count{height:44px}
.product .price-row>.card-count button{min-width:40px!important;min-height:40px!important}
@supports (top:1cqw){.product .price-row>.add,.product .price-row>.card-count{top:calc(100cqw - 56px)}}
/* F2: أزرار الكمية بالسلة (browse.css 34px) */
.cart-line .quantity button{width:40px;height:40px!important;min-width:40px!important;min-height:40px!important}
/* F2 + chips: تبويبات الهيدر (38px) والحبوب الفرعية (34px) */
#rmTabs button{min-height:var(--tap);padding-block:9px 8px}
#subcategories .subcategory-options button,header>#subcategories .subcategory-options button{min-height:var(--tap)!important}
.dept-row-head .dept-row-all{min-height:var(--tap)}

/* F3: فقاعة واتساب 44px. مع السلة: جنب شريط السلة بنفس سطره (الشريط بيقصر 64px من جهة «عرض السلة»)،
   فما بتغطي ولا كرت ولا الشريط. بلا سلة: الرئيسية على اليسار (آخر صف أقسام فيه مربعين يمين بس — مربع الدخان ما بينغطى)،
   باقي الصفحات على اليمين (أزرار «+» على يسار كل كرت، فالحافة اليمنى صور بس). */
#waFloat.wa-float{width:var(--tap);height:var(--tap);box-shadow:var(--sh-2)}
@media(max-width:700px){
 html:not(.rm-home) body:not(.has-cartbar) #waFloat.wa-float{left:auto;right:12px}
 body:not(.has-cartbar):not(:has(.order-strip:not([hidden]))) #waFloat.wa-float{bottom:max(14px,calc(env(safe-area-inset-bottom) + 10px))}
 body.has-cartbar .cart-bar{inset-inline-end:64px!important;padding-inline:12px!important}
 body.has-cartbar .cart-bar .cb-go,body.has-cartbar #cartBarTotal{white-space:nowrap}
 body.has-cartbar #waFloat.wa-float,body.has-cartbar:has(.cart-bar.with-free) #waFloat.wa-float{left:12px;right:auto;bottom:max(18px,calc(env(safe-area-inset-bottom) + 8px))!important}
}
/* F3 + F10: التوست — مكانه الحالي (88/114 فوق الشريط) صار فوق الواتساب لأنه نزل جنب الشريط؛ بس الشكل */
#toast{border-radius:var(--r-md);box-shadow:var(--sh-2)}

/* F4: شريط «مسكرين» فحمي، سطر واحد */
.closed-bar{background:var(--rm-ink);color:#fff;font-size:var(--fs-sm);line-height:1.4;padding:8px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* F5: زر الإغلاق — شكل واحد: دائرة 44 كريمي ورمز فحمي 18 */
#closePanel,#menuClose,#installPromo .promo-x,#ratePrompt .rate-x,dialog>.close{width:var(--tap);height:var(--tap);min-width:var(--tap);min-height:var(--tap);padding:0;border:0;border-radius:50%;background:var(--rm-cream);color:var(--rm-ink);font-size:18px;font-weight:700;line-height:1;display:grid;place-items:center}
/* F5: القائمة الجانبية — ظل الخلفية فحمي بدل الأخضر، وبتطلع من اليمين جنب زر ☰ */
#shopMenu::backdrop{background:rgba(41,37,31,.45)}
#shopMenu{inset:0 0 0 auto;box-shadow:-10px 0 40px rgba(41,37,31,.2)}
#shopMenu nav button{min-height:var(--tap);color:var(--rm-ink)}
#shopMenu .menu-install{color:var(--rm-gold-ink)}

/* F6: «الأكثر طلبًا» بلا صندوق ملوّن؛ رأس كل رف = عنوان 17 + «عرض الكل» 13 ذهبي غامق */
.best-row{background:none;border:0;border-radius:0;padding:0}
.dept-row-head h3{font-size:var(--fs-lg);font-weight:700;color:var(--rm-ink)}
.dept-row-head .dept-row-all,.gentle-row .dept-row-head .gentle-all{font-size:var(--fs-sm);font-weight:700;color:var(--rm-gold-ink)}

/* F7: الذهبي كنص على أبيض → ذهبي غامق (الذهبي يضل للتعبئة والحدود والخط تحت التبويب) */
.linkbtn,.cl-more,.dept-row-all{color:var(--rm-gold-ink)}

/* F8: الزر الرئيسي بكل مكان = فحمي بنص أبيض 48/12/15-700 */
button.primary,button.full:not(.secondary):not(.os-push-go),#checkout,#confirmOrder,.promo-go,.push-go,#ratePrompt .rate-send,.ux-dialog .action.primary{background:var(--rm-ink);color:#fff;border:0;border-radius:var(--r-md);min-height:48px;font-size:var(--fs-md);font-weight:700;box-shadow:none}
.push-go{min-height:var(--tap)}
button.primary:disabled,button.full:not(.secondary):disabled,#checkout:disabled,#ratePrompt .rate-send:disabled{background:var(--rm-cream);color:var(--rm-ink-2);opacity:1}
/* الثانوي: أبيض بحد خفيف ونص فحمي */
button.secondary,.ux-dialog .action:not(.primary){background:var(--rm-surface);color:var(--rm-ink);border:1px solid var(--rm-line);border-radius:var(--r-md);min-height:48px}
#moreBtn.auto-more{min-height:0}

/* F8 + F9: نوافذ /ux.css كانت خضرا */
.ux-dialog{border-color:var(--rm-line);color:var(--rm-ink);border-radius:var(--r-lg)}
.ux-dialog::backdrop{background:rgba(41,37,31,.45)}
.ux-dialog textarea{border-color:var(--rm-line);border-radius:var(--r-md)}

/* F9: ظل الهيدر الأخضر وخلفية النوافذ الخضرا */
header{box-shadow:var(--sh-1)}
dialog::backdrop{background:rgba(41,37,31,.5)}

/* F10: store.css بتعطي الأزرار والحقول var(--r-sm) (كانت 11) — صارت 8 بالتوكنز، فنثبّتها 12 هون */
button,input,select,textarea{border-radius:var(--r-md)}
/* F10: الحقول 48/12/16 (16 بتمنع تكبير آيفون) + تركيز ذهبي */
dialog input:not([type=checkbox]):not([type=radio]):not([type=number]):not([type=range]),dialog select,dialog textarea{min-height:48px;border-radius:var(--r-md);font-size:16px;border:1px solid var(--rm-line)}
dialog input:not([type=checkbox]):not([type=radio]):focus,dialog select:focus,dialog textarea:focus{border-color:var(--rm-gold);box-shadow:0 0 0 3px #c39a4233;outline:0}
/* F10: الشيتات حواف علوية 20، والشريط السفلي ظل 2 */
dialog.sheet{border-radius:var(--r-lg) var(--r-lg) 0 0}
.cart-bar{box-shadow:var(--sh-2)}

/* F11: الفوتر */
footer b{font-size:16px;color:#f0e4ca}
footer nav{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;max-width:320px;margin:8px auto 0}
footer nav button{font-size:14px;font-weight:400;min-height:var(--tap);color:#f0e4ca}

/* F12: سلم العناوين */
main .section-head h2{font-size:var(--fs-xl);font-weight:700}
.sheet-head h2,#panelContent>h2{font-size:var(--fs-xl);font-weight:700;line-height:1.3}

/* F13: صفحة القسم — العنوان مكرر مع التبويب المختار؛ بالبحث سطر النتائج هو العنوان */
html.rm-dept main .section-head h2,html.rm-searching main .section-head h2{display:none}
html.rm-searching #searchInfo{font-size:var(--fs-md);font-weight:700;color:var(--rm-ink)}

/* F14: والمحل مسكر «+» شكله مش فعّال (الحالة: .closed-bar ظاهر) */
/* tok2: الحالة صارت صف html.rm-closed من store.js closedBar() بدل :has (آيفون قبل iOS 15.4) */
html.rm-closed .product .price-row>.add{opacity:.45;box-shadow:none}

/* تركيز موحّد */
:focus-visible{outline:3px solid var(--rm-gold-ink);outline-offset:2px}

/* ───────── tok2 (20261118) — المرحلة 2: سلوك + ألفاظ. كل بلوك عليه رقم البند ───────── */
/* 1: عنوان الشبكة تحت رفوف الرئيسية «🛒 كل الأصناف» بنفس شكل رأس الرف */
#products>.all-head{grid-column:1/-1;margin:18px 0 2px}
#products>.all-head h3{margin:0}
/* 3: بلا عروض لهالزائر (offers.js بيحط html.rm-no-offers) = «العروض» بالقائمة بتنخفى */
html.rm-no-offers #shopMenu [data-nav="offers"]{display:none}
/* 4: سلة فاضية = كرت ودود + زر رئيسي */
.cart-empty{text-align:center;padding:28px 8px 12px}
.cart-empty .ce-icon{font-size:44px;line-height:1}
.cart-empty h3{font-size:var(--fs-md);font-weight:700;color:var(--rm-ink);margin:12px 0 18px;line-height:1.5}
/* 5: عنوان نتائج البحث + رابط واتساب بكرت «ما لقينا» */
#searchInfo .search-title{display:inline;margin:0;font-size:var(--fs-lg);font-weight:700;color:var(--rm-ink)}
.search-empty .empty-wa{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--tap);margin-top:14px;padding:0 18px;border:1px solid var(--rm-line);border-radius:var(--r-md);background:var(--rm-surface);color:var(--rm-ink);font-weight:700;text-decoration:none}
/* 8: أول رسم بلا قفزات — هيكل الأقسام (12 مربع) بنفس ارتفاع الشبكة الحقيقية (4 صفوف: عرض الشاشة + 156px بالجوال)،
   حاجز كبسولة المنطقة، ورفوف هيكل بمكان الرفوف */
#categories .cat-skel{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
#categories .cat-skel i{display:block;width:100%;aspect-ratio:1;border-radius:16px;background:#efe8db}
#categories .cat-skel b{display:block;width:70%;height:12px;margin-top:6px;border-radius:6px;background:#efe8db}
@media(max-width:700px){#categories.rm-skel{min-height:calc(100vw + 156px);box-sizing:border-box}}
#zoneBar.zb-skel{pointer-events:none}
#zoneBar.zb-skel .zb-name{color:transparent}
.rm-skel-row .dept-row-head h3 .skel-line{display:inline-block;width:120px;height:16px;border-radius:8px;background:#efe8db;vertical-align:middle}
.rm-skel-row .dept-row-track>article.product{min-height:254px}
/* 9: ما في قاعدة جديدة — قواعد env(safe-area-inset-*) الموجودة (السلة، الواتساب، sheet-foot، push) صارت فعّالة مع viewport-fit=cover بـ index.html */
