:root{
  --new:#ed7a18;
  --new-dark:#bd5608;
  --new-light:#fff5e9;
  --offer:#a61b2b;
  --offer-dark:#7c1220;
  --offer-light:#fff2f2;
  --navy:#073956;
  --navy-deep:#052b43;
  --gold:#f3ca62;
  --gold-soft:#f9e8b2;
  --cream:#fffaf0;
  --paper:#fffdf8;
  --ink:#17364a;
  --muted:#7c8589;
  --line:#eadbb8;
  --shadow:0 12px 32px rgba(7,57,86,.09);
}
*{box-sizing:border-box}
html{background:var(--cream)}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Cairo",Tahoma,Arial,sans-serif;min-height:100vh}
.hero{position:relative;overflow:hidden;text-align:center;padding:30px 18px 28px;background:radial-gradient(ellipse at 50% 0%,#145273 0%,var(--navy) 55%,var(--navy-deep) 100%);border-bottom:4px solid var(--gold);box-shadow:0 5px 22px #052b4320}
.hero:before,.hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #f3ca6230;border-radius:50%;pointer-events:none}
.hero:before{top:-165px;right:-100px}.hero:after{bottom:-190px;left:-90px}
.menu-toolbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 16px;background:var(--navy);border-bottom:1px solid #f3ca6280;box-shadow:0 3px 12px #052b4320}
.brand-panel{flex:0 0 auto;width:clamp(78px,23vw,118px);padding:4px;border:1px solid #f3ca6280;border-radius:9px;background:#052f49}
.brand-logo{display:block;width:100%;height:auto;border-radius:5px}
.menu-search{width:100%;max-width:520px;min-width:0;min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--navy);font:inherit;font-size:16px}
.menu-search:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.hero-copy{position:relative;z-index:1}
.eyebrow{margin:10px 0 0;color:var(--gold);font-size:12px;font-weight:700;letter-spacing:.5px}
h1{margin:2px 0;color:#fff8e8;font-size:27px;font-weight:800}
.social-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 8px;margin:10px 0}
.social-links a{display:grid;place-items:center;width:44px;height:44px;border:1px solid #f3ca6280;border-radius:50%;color:#fff8e8}
.social-links svg{width:22px;height:22px;fill:currentColor}
.social-links a:hover,.social-links a:focus-visible{background:var(--gold);color:var(--navy-deep)}
.ornament{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--gold);font-size:15px}
.ornament i{display:block;width:48px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}.ornament i:last-child{transform:scaleX(-1)}
.container{width:min(100%,1050px);margin:auto;padding:23px 16px 48px;min-height:230px}
.status{text-align:center;color:var(--muted);font-size:13px;padding:5px 0 18px;min-height:27px}
.category-bar{position:sticky;top:var(--toolbar-height);z-index:5;display:flex;align-items:center;gap:6px;background:var(--cream);padding:6px 0 10px;margin-bottom:10px}
.category-bar:has(.categories:empty){display:none}
.categories{display:flex;flex:1;min-width:0;justify-content:safe center;gap:9px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c0a468 transparent;padding:2px 0 5px}
.category-scroll{flex:none;width:34px;height:38px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--navy);font-size:23px;line-height:1;cursor:pointer}
.category-scroll:disabled{opacity:.45;cursor:default}
.category{flex:none;white-space:nowrap;border:1px solid var(--line);background:var(--paper);border-radius:22px;padding:8px 17px;color:var(--navy);font-size:13px;font-weight:700;cursor:pointer;transition:.2s}
.category:hover{border-color:var(--gold)}.category.active{background:var(--navy);border-color:var(--navy);color:var(--gold)}
.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product{overflow:hidden;background:var(--paper);border:1px solid #eee3cd;border-radius:17px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.product:hover{transform:translateY(-3px);box-shadow:0 15px 32px #07395618}
.product img{display:block;width:100%;aspect-ratio:1.18/1;object-fit:cover;background:#f5eedf}
.product-info{padding:12px 14px 15px;text-align:center}
.product h3{font-size:15px;line-height:1.7;margin:0 0 5px;font-weight:700;color:var(--navy)}
.price{display:inline-block;color:var(--navy);font-size:14px;font-weight:800;padding:3px 13px;border-radius:20px;background:#f9edcc;border:1px solid #f0d991}
.empty{text-align:center;padding:45px 15px;color:var(--muted)}
.empty-icon{font-size:45px;color:#d8b85f}.empty h2{font-size:19px;color:var(--navy);margin:7px}.empty p{font-size:13px}
footer{display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center;padding:22px 15px 25px;background:#f7f0df;border-top:1px solid var(--line);color:var(--navy)}
.footer-heart{color:#d7a94e;font-size:17px}footer strong{font-size:15px}footer .footer-en{font-family:Georgia,serif;font-size:11px;letter-spacing:2px;color:#9a7833}footer small{margin-top:5px;color:#8b8170;font-size:11px}
.footer-contact{display:inline-block;padding:7px 13px;color:var(--navy);font-size:14px;font-weight:700;text-underline-offset:3px}
[hidden]{display:none!important}
@media(min-width:650px){.hero{padding-top:34px;padding-bottom:30px}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.container{padding-top:28px}}
@media(min-width:950px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:390px){.products{grid-template-columns:1fr}.product{display:grid;grid-template-columns:42% 1fr}.product img{height:100%;aspect-ratio:auto;min-height:120px}.product-info{align-self:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}

.category.category-offers{background:var(--offer);border-color:var(--offer);color:#fff}
.category.category-offers:hover,.category.category-offers.active{background:var(--offer-dark);border-color:var(--offer-dark)}
.category.category-offers.active{box-shadow:inset 0 0 0 1px #fff}
.product.product-offer{background:var(--offer-light);border-color:var(--offer)}
.offer-badge{display:inline-block;margin-bottom:5px;padding:2px 9px;border-radius:10px;background:var(--offer);color:#fff;font-size:12px;font-weight:800}
.product-offer .price{background:#fff;border-color:#e8acb3;color:var(--offer-dark)}

.offer-prices{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px 9px}
.old-price{color:#69545a;font-size:13px;text-decoration-thickness:2px}

.menu-cover{position:relative;margin-bottom:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.cover-images{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:inherit}
.cover-images::-webkit-scrollbar{display:none}
.cover-images img{display:block;flex:0 0 100%;width:100%;min-width:0;aspect-ratio:16 / 5;object-fit:contain;scroll-snap-align:start}
.cover-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:1px solid var(--gold);border-radius:50%;background:var(--navy-deep);color:#fff;font-size:20px;cursor:pointer}
.cover-prev{inset-inline-start:8px}
.cover-next{inset-inline-end:8px}
.cover-arrow:disabled{opacity:.4;cursor:default}

.status:empty{display:none}
.container:has(.menu-cover:not([hidden])){padding-top:8px}
@media(max-width:649px){
  .menu-cover{margin-inline:-12px;margin-bottom:6px;border-radius:10px}
  .cover-arrow{width:30px;height:30px;padding:0;font-size:16px}
}

/* قسم جديدنا: يظهر فقط عند وجود منتجات في مجلد جديدنا */
.category.category-new{background:var(--new);border-color:var(--new);color:#fff}
.category.category-new:hover,.category.category-new.active{background:var(--new-dark);border-color:var(--new-dark);color:#fff}
.category.category-new.active{box-shadow:inset 0 0 0 1px #fff}

/* فواصل الأقسام أثناء التمرير، مع تمييز واضح للعروض وجديدنا */
.products{display:block}
.product-section{margin:6px 0 34px;scroll-margin-top:calc(var(--toolbar-height, 75px) + 82px)}
.product-section:first-child{margin-top:0}
.section-heading{display:flex;align-items:center;gap:14px;margin:0 0 17px;padding:11px 16px;border-radius:12px;background:#eef3f5;border-right:5px solid var(--navy)}
.section-heading h2{margin:0;white-space:nowrap;color:var(--navy);font-size:clamp(17px,2.8vw,22px);font-weight:800}
.section-rule{height:1px;min-width:12px;flex:1;background:currentColor;opacity:.22}
.section-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.section-offers .section-heading{background:var(--offer);border-right-color:#78121f;box-shadow:0 5px 18px #a61b2b20}
.section-new .section-heading{background:linear-gradient(105deg,#e87717,#ff9e38);border-right-color:#b75108;box-shadow:0 5px 18px #d86b112b}
.section-offers .section-heading h2,.section-new .section-heading h2{color:#fff}
.section-offers .section-rule,.section-new .section-rule{color:#fff;opacity:.58}
.product.product-new{background:var(--new-light);border-color:#f4bb7f}
.new-badge{display:inline-block;margin-bottom:5px;padding:2px 10px;border-radius:10px;background:var(--new);color:#fff;font-size:12px;font-weight:800}
.product-new .price{background:#fff7e9;border-color:#edbd84;color:var(--new-dark)}
@media(min-width:650px){.section-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(min-width:950px){.section-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:390px){.section-products{grid-template-columns:1fr}}

/* سلة الطلب — إضافة مستقلة لا تغيّر تخطيط المنيو */
.add-to-cart{display:block;width:100%;margin-top:10px;padding:9px 7px;border:1px solid var(--navy);border-radius:9px;background:var(--navy);color:#fff;font:700 12px "Cairo",sans-serif;cursor:pointer}
.add-to-cart:hover,.add-to-cart:focus-visible{background:#145273}
.cart-fab{position:fixed;inset-inline-end:18px;bottom:18px;z-index:20;display:flex;align-items:center;gap:8px;border:0;border-radius:50px;background:#128c51;color:#fff;box-shadow:0 8px 28px #0003;padding:12px 16px;font:800 15px "Cairo",sans-serif;cursor:pointer}
.cart-fab:hover{background:#0d7543}
.cart-count{display:inline-grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:#fff;color:#12683c;padding:0 5px;font-size:13px}
.cart-backdrop{position:fixed;inset:0;background:#061d2ab0;z-index:30}
.cart-panel{position:fixed;top:0;bottom:0;inset-inline-end:0;z-index:31;width:min(440px,100vw);display:flex;flex-direction:column;background:var(--paper);box-shadow:0 0 35px #0003;overflow:hidden}
body.cart-open{overflow:hidden}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;background:var(--navy);color:#fff}
.cart-head h2{margin:0;font-size:19px}
.cart-close{background:transparent;border:1px solid #fff8;color:#fff;border-radius:8px;font-size:28px;width:40px;height:40px;cursor:pointer}
.cart-items{flex:1;overflow-y:auto;padding:16px}
.cart-row{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
.cart-row img{width:78px;height:78px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
.cart-row-info{flex:1;min-width:0}
.cart-row-info strong{display:block;font-size:14px}
.cart-row-info small{display:block;font-size:12px;color:#596774;margin-top:3px}
.cart-quantity{display:flex;align-items:center;gap:10px;margin-top:8px}
.cart-quantity button{min-width:31px;height:31px;border:1px solid var(--line);background:#fff;border-radius:7px;font-size:18px;font-weight:bold;cursor:pointer}
.cart-quantity span{min-width:20px;text-align:center;font-weight:bold}
.cart-quantity .cart-remove{margin-inline-start:auto;font:700 12px "Cairo",sans-serif;padding:0 9px;color:#a61b2b}
.cart-bottom{border-top:1px solid var(--line);padding:16px 20px;background:#fffaf0}
.cart-total-line{display:flex;justify-content:space-between;font-size:17px;margin-bottom:15px;color:var(--navy)}
.cart-send{width:100%;border:0;border-radius:10px;background:#128c51;color:#fff;padding:13px;font:800 15px "Cairo",sans-serif;cursor:pointer}
.cart-send:disabled{opacity:.55;cursor:not-allowed}
.cart-hint{font-size:11px;color:#65737d;text-align:center;margin:9px 0 0}
.cart-empty{color:var(--muted);text-align:center;padding:35px 8px;font-size:14px}
@media(max-width:390px){.add-to-cart{font-size:11px}.cart-fab{bottom:12px;inset-inline-end:12px}}

.cart-download{width:100%;margin-top:9px;padding:11px;border:1px solid var(--navy);border-radius:10px;background:#fff;color:var(--navy);font:800 14px "Cairo",sans-serif;cursor:pointer}
.cart-download:disabled{opacity:.55;cursor:not-allowed}
.cart-pdf-status{font:600 12px "Cairo",sans-serif;line-height:1.9;color:#135038;margin-top:8px}
.cart-pdf-status a{color:#075d3a;text-decoration:underline;font-weight:800}
.cart-panel[hidden],.cart-backdrop[hidden]{display:none!important}

/* إظهار زر حفظ الصورة كشكل ثانوي */
.cart-download{background:#fff;color:#073956;}

.cart-link-result{display:block;margin:8px 0;text-align:center;color:#105a8a;font-size:13px;text-decoration:underline;font-weight:bold}.cart-link-result[hidden]{display:none}

/* إصدار السلة المحسن: شريط كمية على كل بطاقة وجدول منظم داخل السلة */
.product-quantity{margin-top:10px;min-height:39px}
.product-quantity .add-to-cart{margin-top:0}
.qty-control{display:inline-flex;direction:ltr;align-items:center;justify-content:center;border:1.5px solid #0d7650;border-radius:10px;background:#fff;overflow:hidden;min-height:39px;width:100%;max-width:190px}
.qty-control button{flex:0 0 39px;align-self:stretch;border:0;border-radius:0;background:#0d7650;color:white;cursor:pointer;font-size:23px;font-weight:800;line-height:1}
.qty-control button:hover{background:#08613f}
.qty-control button:disabled{opacity:.5;cursor:wait}
.qty-control span{flex:1;text-align:center;font:800 16px "Cairo",sans-serif;color:#153a43;min-width:23px}
.cart-panel{width:min(620px,100vw)}
.cart-items{padding:12px;scrollbar-gutter:stable}
.cart-table{width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.cart-table-head,.cart-table-row{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(85px,1.15fr) minmax(70px,1fr) minmax(80px,1fr);align-items:center;text-align:center}
.cart-table-head{background:#073956;color:#fff;font-size:12px;font-weight:800;padding:11px 5px}
.cart-table-row{border-bottom:1px solid #e8e2d9;min-height:90px;padding:9px 5px;gap:3px}
.cart-table-row:last-child{border-bottom:0}
.cart-table-row:nth-child(odd){background:#fffcf6}
.cart-product-cell{display:flex;align-items:center;gap:8px;text-align:start;min-width:0}
.cart-product-cell img{width:60px;height:60px;object-fit:cover;flex:none;border:1px solid #eee1d1;border-radius:8px}
.cart-product-details{min-width:0;overflow-wrap:anywhere}
.cart-product-details strong{font-size:12px;line-height:1.6;display:block}
.cart-remove{border:0;background:none;color:#b42331;font:700 11px "Cairo",sans-serif;cursor:pointer;padding:2px 0;text-decoration:underline}
.cart-cell-price,.cart-cell-sum{font-size:12px;font-weight:700;overflow-wrap:anywhere}
.cart-cell-sum{color:#0b744f}
.qty-compact{min-height:32px;width:100%;max-width:110px}
.qty-compact button{flex-basis:30px;font-size:20px}
.qty-compact span{font-size:13px}
.order-progress[hidden]{display:none!important}
.order-progress{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#062434b3;padding:20px}
.order-progress-card{display:flex;align-items:center;flex-direction:column;gap:14px;text-align:center;background:#fffdf9;border-radius:18px;box-shadow:0 15px 65px #0004;padding:29px 22px;min-width:min(350px,90vw);color:#073956}
.order-progress-card strong{font:800 18px "Cairo",sans-serif}
.order-progress-card>span:last-child{font-size:12px;color:#65727c}
.order-progress-ring,.order-spinner{display:inline-block;border-radius:50%;border:4px solid #e9dfc7;border-top-color:#16834b;animation:order-spin .8s linear infinite}
.order-progress-ring{width:46px;height:46px}
.order-spinner{width:16px;height:16px;border-width:2px;vertical-align:middle;margin-inline-end:8px}
@keyframes order-spin{to{transform:rotate(360deg)}}
@media(max-width:480px){
 .cart-items{padding:8px}
 .cart-table-head,.cart-table-row{grid-template-columns:minmax(0,1.8fr) minmax(76px,1fr) minmax(58px,.9fr) minmax(63px,.9fr)}
 .cart-table-head{font-size:10px}
 .cart-table-row{padding:8px 3px;gap:2px}
 .cart-product-cell{flex-direction:column;text-align:center;gap:4px}
 .cart-product-cell img{width:55px;height:55px}
 .cart-product-details strong{font-size:11px}
 .cart-cell-price,.cart-cell-sum{font-size:10px}
 .qty-compact{max-width:90px}
 .qty-compact button{flex-basis:25px}
}

/* واجهة الإضافة المصغّرة: علامة + وحدها، ثم + 1 − بشكل لا يوسّع البطاقة */
.product-quantity{margin-top:7px;min-height:30px;display:flex;justify-content:center;align-items:center}
.product-quantity .add-to-cart{margin:0!important;width:31px;height:31px;min-height:31px;padding:0;border-radius:9px;display:inline-grid;place-items:center;font:800 23px/1 Arial,sans-serif}
.product-quantity .qty-control{width:auto;max-width:none;min-height:30px;height:30px;border-radius:8px;border-width:1px}
.product-quantity .qty-control button{flex:0 0 30px;width:30px;min-width:30px;font-size:19px}
.product-quantity .qty-control span{flex:0 0 27px;min-width:27px;font:800 12px/1.2 "Cairo",sans-serif}
@media(max-width:390px){.product-quantity .qty-control button{flex-basis:28px;min-width:28px;width:28px}.product-quantity .qty-control span{min-width:25px;flex-basis:25px}}
/* skeleton & shimmer أثناء جلب دفعات المنيو؛ يُزال تدريجيًا مع عرض المنتجات */
.skeleton-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:8px 0 28px}
.skeleton-card{border:1px solid #eee3cd;border-radius:17px;background:#fff;overflow:hidden;box-shadow:var(--shadow);pointer-events:none}
.skeleton-image{width:100%;aspect-ratio:1.18/1;background:#ede8df}
.skeleton-content{padding:13px;display:flex;flex-direction:column;align-items:center;gap:9px}
.skeleton-line{height:15px;width:86%;border-radius:6px;background:#ede8df}
.skeleton-line-short{width:49%;height:13px}
.skeleton-action{height:28px;width:30px;border-radius:8px;margin-top:4px;background:#ede8df}
.shimmer{background-image:linear-gradient(105deg,#ebe7df 0%,#ebe7df 35%,#f9f6ef 50%,#ebe7df 65%,#ebe7df 100%);background-size:220% 100%;animation:latefa-shimmer 1.35s ease-in-out infinite}
@keyframes latefa-shimmer{0%{background-position:110% 0}100%{background-position:-110% 0}}
@media(min-width:650px){.skeleton-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
@media(min-width:950px){.skeleton-products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:390px){.skeleton-products{grid-template-columns:1fr}.skeleton-card{display:grid;grid-template-columns:42% 1fr}.skeleton-image{height:100%;min-height:135px;aspect-ratio:auto}.skeleton-content{justify-content:center}}
@media(prefers-reduced-motion:reduce){.shimmer{animation:none;background:#ede8df}}

/* إضافة السلة في الركن السفلي الأيسر، فوق البطاقة دون أي ارتفاع إضافي */
.product{position:relative}
.product-quantity{
  position:absolute!important;
  left:9px!important;
  right:auto!important;
  bottom:9px!important;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:max-content!important;
  max-width:calc(100% - 16px);
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
.product-quantity .add-to-cart{
  width:28px!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#118551!important;
  color:#fff!important;
  box-shadow:0 2px 7px #073a2440;
  font:800 22px/1 Arial,sans-serif!important;
  display:grid;
  place-items:center;
}
.product-quantity .add-to-cart:hover,.product-quantity .add-to-cart:focus-visible{background:#086c41!important}
.product-quantity .qty-control{
  width:auto!important;
  min-height:26px!important;
  height:26px!important;
  max-width:100%!important;
  border:1px solid #128151!important;
  border-radius:14px!important;
  background:#fff;
  box-shadow:0 2px 7px #073a2426;
}
.product-quantity .qty-control button{
  flex:0 0 24px!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  padding:0!important;
  background:#118551;
  font-size:16px!important;
  line-height:1!important;
}
.product-quantity .qty-control span{
  flex:0 0 20px!important;
  min-width:20px!important;
  padding:0!important;
  font:800 11px/1.1 Cairo,sans-serif!important;
}
@media(max-width:390px){
  .product-quantity{left:8px!important;bottom:8px!important}
  .product-quantity .qty-control button{flex-basis:24px!important;min-width:24px!important;width:24px!important}
  .product-quantity .qty-control span{flex-basis:20px!important;min-width:20px!important}
}

/* Install notification: floating, dismissible, separate from the menu toolbar */
.install-banner[hidden],.install-banner *[hidden]{display:none!important}
.install-banner{position:fixed;z-index:25;bottom:calc(92px + env(safe-area-inset-bottom, 0px));left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(480px,calc(100vw - 28px));display:flex;align-items:center;gap:11px;background:#fff;color:#153d40;border:1px solid #d9e8e1;border-radius:18px;box-shadow:0 9px 35px #0b302a2b;padding:14px 15px 14px 37px;direction:rtl;font-family:inherit;text-align:right}
.install-banner-symbol{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#e9f5ee;color:#20734e;display:grid;place-items:center;font-size:22px}
.install-banner-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;line-height:1.5}
.install-banner-copy strong{font-size:13px;font-weight:800}
.install-banner-copy span{font-size:11px;color:#667973}
.install-banner-actions{display:flex;gap:6px;flex-direction:column;align-items:stretch;flex:0 0 auto}
.install-banner-primary,.install-banner-done{font:700 12px inherit;font-family:inherit;font-size:12px;font-weight:700;border-radius:9px;border:0;padding:8px 11px;cursor:pointer;white-space:nowrap}
.install-banner-primary{background:#13764c;color:#fff}
.install-banner-done{background:#ecf4f0;color:#145a3d}
.install-banner-close{position:absolute;left:7px;top:7px;display:grid;place-items:center;width:33px;height:33px;border:1px solid #d3e2db;border-radius:50%;background:#f5faf7;color:#2b5b48;font:24px/1 Arial,sans-serif;cursor:pointer;touch-action:manipulation}
@media(max-width:400px){.install-banner{gap:7px;padding:12px 11px 12px 30px}.install-banner-symbol{width:30px;height:30px;flex-basis:30px}.install-banner-copy strong{font-size:12px}.install-banner-copy span{font-size:10px}.install-banner-primary,.install-banner-done{padding:7px 8px;font-size:11px}}

/* Keep the install notice clear of the cart. The cart drawer takes priority. */
body:has(#cart-panel:not([hidden])) .install-banner,body:has(#cart-backdrop:not([hidden])) .install-banner{display:none!important}
@media(min-width:680px){.install-banner{left:18px;transform:none;bottom:calc(22px + env(safe-area-inset-bottom, 0px));width:min(390px,calc(100vw - 125px))}}
@media(max-width:679px){.install-banner{bottom:calc(88px + env(safe-area-inset-bottom, 0px));max-width:390px}}

/* تحسين تجربة الجوال: بطاقتان ثابتتان في كل صف دون المساس بعرض الكمبيوتر */
@media(max-width:649px){
  .section-products,.skeleton-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product,.skeleton-card{display:block;min-width:0}
  .product img{display:block;width:100%;height:auto;min-height:0;aspect-ratio:1/1;object-fit:cover}
  .product-info{padding:9px 7px 39px;text-align:center;min-width:0;align-self:auto}
  .product h3{font-size:12px;line-height:1.5;min-height:36px;overflow-wrap:anywhere;margin:0 0 4px}
  .price{font-size:12px;padding:2px 7px}
  .old-price{font-size:11px}
  .offer-badge,.new-badge{font-size:10px;padding:2px 6px}
  .section-products .product-quantity{left:8px!important;bottom:7px!important}
  .skeleton-image{height:auto;min-height:0;aspect-ratio:1/1}
  .skeleton-content{padding:10px;justify-content:flex-start}
  .section-heading{padding:9px 11px;margin-bottom:11px}
  .section-heading h2{font-size:16px}
  .container{padding-inline:12px}
}

/* بطاقات الجوال: سعر واضح، وسعر الخصم منفصل عن السعر المشطوب */
.product-pricing{display:flex;align-items:center;justify-content:center;min-width:0;margin:7px 0 3px;min-height:30px}
.standard-pricing .price{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.offer-prices{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;gap:3px 0;margin-top:5px;min-height:49px}
.old-price-line,.discount-price-line{display:flex;align-items:center;justify-content:center;gap:5px;max-width:100%;min-width:0;line-height:1.35}
.old-price-line{color:#75666b}
.price-caption{flex-shrink:0;font-size:11px;font-weight:700;color:#74676a}
.old-price{color:#76666b;font-size:12px;font-weight:600;text-decoration:line-through;text-decoration-color:#bf5559;text-decoration-thickness:1.5px;overflow-wrap:anywhere}
.discount-price-line .price{font-weight:900;font-size:15px;color:var(--offer-dark);background:#fff;border-color:#e8acb3;padding:3px 10px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:649px){
  .product-pricing{margin-top:5px;min-height:28px}
  .offer-prices{min-height:47px;gap:3px}
  .price-caption{font-size:10px}
  .old-price{font-size:11px}
  .discount-price-line .price{font-size:13px;padding:2px 8px}
  .standard-pricing .price{font-size:13px;padding:3px 10px}
}
@media(max-width:355px){
  .old-price-line,.discount-price-line{gap:3px}
  .discount-price-line .price{font-size:12px;padding:2px 6px}
  .price-caption{font-size:9px}
}

/* زر الوصول السريع للأقسام بجانب الشرائح المتحركة */
.all-categories-button{flex:none;white-space:nowrap;border:1px solid var(--navy);background:var(--navy);color:#fff8e8;border-radius:22px;padding:8px 12px;font:800 12px "Cairo",sans-serif;cursor:pointer;min-height:39px}
.all-categories-button span{font-size:16px;margin-inline-end:3px;vertical-align:middle}
@media(max-width:649px){.category-bar{gap:4px}.categories{gap:6px}.category{font-size:12px;padding:8px 12px}.all-categories-button{font-size:11px;padding:8px 10px}.category-scroll{width:27px}}
.all-categories-overlay{position:fixed;inset:0;z-index:100;background:rgba(4,28,42,.57);display:flex;justify-content:center;align-items:flex-end;padding:10px;direction:rtl}
.all-categories-sheet{width:min(100%,490px);max-height:min(76dvh,690px);background:var(--paper);border:1px solid var(--line);border-radius:18px 18px 14px 14px;box-shadow:0 20px 65px #001c2e55;overflow:hidden;display:flex;flex-direction:column}
.all-categories-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line);flex:none}
.all-categories-header h2{margin:0;font-size:18px;color:var(--navy)}
#all-categories-close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);font:26px Arial;cursor:pointer}
.all-categories-list{overflow-y:auto;overscroll-behavior:contain;padding:8px 14px 16px;display:grid;gap:4px}
.all-categories-choice{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:right;gap:12px;padding:12px 14px;border:1px solid transparent;border-bottom-color:var(--line);border-radius:9px;background:transparent;color:var(--navy);font:700 14px "Cairo",sans-serif;cursor:pointer}
.all-categories-choice:hover,.all-categories-choice:focus-visible{background:#f4f1e8;border-color:var(--line);outline-offset:2px}
.all-categories-choice.is-active{background:#e7f0f4;border-color:#bdd2dc}
.all-categories-choice .choice-arrow{font-size:17px;color:var(--muted)}
body.categories-dialog-open{overflow:hidden}
@media(min-width:650px){.all-categories-overlay{align-items:center}.all-categories-sheet{border-radius:18px}}
/* Ensure closed category sheet cannot cover the page. */
.all-categories-overlay[hidden], .all-categories-button[hidden]{display:none!important}

/* Custom category colors affect only headings and navigation, never special offers/new badges. */
.category:not(.category-offers):not(.category-new)[style*="--category-custom-color"]{border-color:var(--category-custom-color);color:var(--category-custom-color)}
.category.active[style*="--category-custom-color"]{background:var(--category-custom-color);color:white}
.product-section[style*="--section-custom-color"] .section-heading h2{color:var(--section-custom-color)}
.all-categories-choice[style*="--category-custom-color"]{border-inline-start:4px solid var(--category-custom-color)}
.promotion-overlay:not([hidden]){position:fixed;inset:0;z-index:10020;background:rgba(0,0,0,.73);display:flex;align-items:center;justify-content:center;padding:20px}
.promotion-card{position:relative;max-width:min(94vw,520px);max-height:86vh;border-radius:18px;overflow:visible}
.promotion-card img{display:block;width:auto;max-width:100%;max-height:82vh;object-fit:contain;border-radius:14px;box-shadow:0 15px 55px #0008}
.promotion-close{position:absolute;top:-17px;left:-15px;z-index:1;background:#fff;border:0;border-radius:50%;width:40px;height:40px;font-size:29px;color:#193e52;cursor:pointer;box-shadow:0 2px 12px #0004}

/* Category customization: same background on navigation button and product section heading */
.category:not(.category-offers):not(.category-new)[style*="--category-custom-color"]{background:var(--category-custom-color);border-color:var(--category-custom-color);color:var(--custom-ink,#fff)}
.category:not(.category-offers):not(.category-new)[style*="--category-custom-color"]:hover,.category:not(.category-offers):not(.category-new)[style*="--category-custom-color"].active{background:var(--category-custom-color);border-color:var(--category-custom-color);color:var(--custom-ink,#fff);filter:brightness(.94)}
.product-section:not(.section-offers):not(.section-new)[style*="--section-custom-color"] .section-heading{background:var(--section-custom-color);border-right-color:var(--section-custom-color)}
.product-section:not(.section-offers):not(.section-new)[style*="--section-custom-color"] .section-heading h2{color:var(--custom-ink,#fff)}
.product-section:not(.section-offers):not(.section-new)[style*="--section-custom-color"] .section-heading .section-rule{background:var(--custom-ink,#fff);opacity:.45}

/* Product stays listed when inventory is unavailable; ordering is disabled. */
.product-soldout .product-info{position:relative}
.soldout-badge{display:inline-block;padding:4px 10px;border-radius:20px;background:#f1e7e5;color:#8a342e;font-weight:800;font-size:12px;margin:4px auto 2px}
.soldout-action{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfc5c1;border-radius:9px;background:#f7f2f1;color:#8a342e;font-size:12px;font-weight:800;min-height:31px;padding:4px 9px}
.product-soldout img{opacity:.76}

/* Sold-out: show one notice in the exact position of the + control. */
.product-soldout .price,
.product-soldout .discount-price-line .price,
.product-soldout .standard-pricing .price,
.product-soldout .old-price,
.product-soldout .price-caption,
.product-soldout .old-price-line,
.product-soldout .discount-price-line {
  color:#858b92!important;
  border-color:#d9dde1!important;
  text-decoration-color:#a9aeb4!important;
}
.product-soldout .price {background:#f0f1f2!important}
.product-soldout .product-quantity {pointer-events:none}
.product-soldout .soldout-action {
  background:#f0f1f2!important; color:#777d84!important;
  border:1px solid #dadde1!important; font-size:11px!important;
  padding:3px 7px!important; white-space:nowrap;
}

/* ===== LATEFA SWEET — واجهة المنيو الجديدة (خارج نافذة السلة فقط) ===== */
:root{
  --ui-bg:#fff9f3;
  --ui-paper:#ffffff;
  --ui-ink:#263b39;
  --ui-muted:#78827d;
  --ui-green:#176b53;
  --ui-green-dark:#104d3d;
  --ui-coral:#d95f52;
  --ui-line:#eee2d8;
  --ui-shadow:0 10px 28px rgba(59,42,31,.075);
}
html,body{background:var(--ui-bg);color:var(--ui-ink)}
.menu-toolbar{position:sticky;top:0;z-index:10;justify-content:space-between;gap:14px;padding:10px clamp(14px,3vw,30px);background:rgba(255,250,245,.94);border:0;border-bottom:1px solid #eadfd5;box-shadow:0 5px 22px rgba(54,39,28,.055);backdrop-filter:blur(14px)}
.brand-panel{width:clamp(66px,17vw,94px);padding:3px;border:1px solid #e8d7c8;border-radius:15px;background:#fff;box-shadow:0 3px 12px #49301b12}
.brand-logo{border-radius:11px}
.menu-search{max-width:660px;min-height:46px;padding:10px 17px;border:1px solid #e8ddd4;border-radius:15px;background:#fff;color:var(--ui-ink);box-shadow:inset 0 1px 2px #2c1b1008;font-size:14px}
.menu-search::placeholder{color:#9b9b93}
.menu-search:focus-visible{outline:3px solid #176b5325;border-color:var(--ui-green)}
.hero{padding:36px 18px 32px;background:radial-gradient(ellipse at 50% 0%,#347d68 0%,#1b604d 48%,#123f35 100%);border:0;border-bottom:5px solid #e8b96f;box-shadow:0 12px 28px #173f3220}
.hero:before,.hero:after{width:270px;height:270px;border-color:#f4d49b22}
.hero:before{top:-190px;right:-105px}.hero:after{bottom:-215px;left:-105px}
.eyebrow{margin:0 0 6px;color:#f3d5a6;font-size:13px;letter-spacing:.7px}
h1{font-size:clamp(25px,5vw,38px);letter-spacing:-.5px;text-shadow:0 3px 12px #092e2580}
.social-links{gap:8px;margin:16px 0 12px}
.social-links a{width:40px;height:40px;border:1px solid #f4d7ad70;background:#ffffff12;transition:transform .2s,background .2s,color .2s}
.social-links a:hover,.social-links a:focus-visible{transform:translateY(-3px);background:#f3d5a6;color:#174b3c}
.ornament{color:#f0cf98}
.container{width:min(100%,1160px);padding:22px clamp(13px,3vw,28px) 56px}
.menu-cover{margin:0 0 20px;border:1px solid #eaded3;border-radius:20px;background:#fff;box-shadow:var(--ui-shadow);overflow:hidden}
.cover-images{border-radius:20px}
.cover-images img{aspect-ratio:16/5;max-height:280px;object-fit:cover}
.cover-arrow{width:38px;height:38px;border:1px solid #ffffff8a;background:#174f40eF;box-shadow:0 4px 14px #0002}
.category-bar{top:var(--toolbar-height);gap:8px;margin:0 -2px 18px;padding:10px 2px 13px;background:var(--ui-bg);}
.categories{justify-content:flex-start;gap:8px;padding:3px 0 7px;scrollbar-width:none}
.categories::-webkit-scrollbar{display:none}
.category{padding:9px 17px;border:1px solid #e8dcd1;border-radius:30px;background:#fff;color:#59645f;font-size:12px;font-weight:800;box-shadow:0 2px 7px #3b29100a;transition:all .18s ease}
.category:hover{border-color:#9eb9aa;color:var(--ui-green);transform:translateY(-1px)}
.category.active{background:var(--ui-green);border-color:var(--ui-green);color:#fff;box-shadow:0 5px 13px #176b5330}
.category.category-offers{background:#c64e49;border-color:#c64e49;color:#fff}
.category.category-offers:hover,.category.category-offers.active{background:#a83e3a;border-color:#a83e3a}
.category.category-new{background:#d87832;border-color:#d87832;color:#fff}
.category.category-new:hover,.category.category-new.active{background:#b85e24;border-color:#b85e24}
.category-scroll{width:34px;height:36px;border:1px solid #e8dcd1;border-radius:12px;background:#fff;color:var(--ui-green)}
.all-categories-button{min-height:38px;padding:8px 13px;border:0;border-radius:30px;background:#e7f0e9;color:var(--ui-green);font-size:12px}
.status{padding:8px 0 16px;color:var(--ui-muted);font-size:12px}
.product-section{margin:10px 0 36px;scroll-margin-top:150px}
.section-heading{position:relative;gap:12px;margin:0 0 15px;padding:13px 16px;border:0;border-radius:15px;background:#e8f0eb;border-right:4px solid var(--ui-green);box-shadow:0 4px 13px #183c2d0b}
.section-heading h2{color:var(--ui-green-dark);font-size:clamp(16px,2.8vw,21px)}
.section-rule{opacity:.18}
.section-offers .section-heading{background:linear-gradient(110deg,#b94743,#d96b5d);border-right-color:#92302e;box-shadow:0 6px 16px #b9474324}
.section-new .section-heading{background:linear-gradient(110deg,#c86a2c,#e99a50);border-right-color:#9e4b1e;box-shadow:0 6px 16px #c86a2c20}
.section-offers .section-heading h2,.section-new .section-heading h2{color:#fff}
.section-products{gap:14px}
.product{position:relative;overflow:hidden;border:1px solid #eee3da;border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(61,43,29,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.product:hover{transform:translateY(-4px);border-color:#d9e5dc;box-shadow:0 14px 28px rgba(35,73,54,.12)}
.product img{aspect-ratio:1.13/1;background:#f2e9df;transition:transform .35s ease}
.product:hover img{transform:scale(1.025)}
.product-info{position:relative;padding:13px 12px 43px;text-align:center;min-height:108px}
.product h3{margin:0 0 8px;color:#30443d;font-size:14px;line-height:1.65;font-weight:800}
.price{padding:5px 13px;border:1px solid #e1eee4;border-radius:30px;background:#eef6ef;color:#176b53;font-size:13px;font-weight:900}
.product-offer{background:#fffafa!important;border-color:#f0d3d1!important}
.product-offer .price{background:#fff0ef;border-color:#f1d1ce;color:#a83e3a}
.product-new{background:#fffaf4!important;border-color:#f0ddca!important}
.product-new .price{background:#fff2e3;border-color:#f0d5b7;color:#a75c2a}
.offer-badge,.new-badge{padding:4px 10px;border-radius:30px;font-size:10px;letter-spacing:.1px}
.product-soldout{border-color:#edc8c5!important}
.product-soldout img{opacity:.58;filter:grayscale(.35)}
.soldout-badge{padding:5px 11px;border-radius:30px;background:#c62828!important;color:#fff!important;font-size:11px;font-weight:900;box-shadow:0 3px 9px #c6282828}
.soldout-action{border-color:#efc3c3!important;background:#fff0f0!important;color:#bd2525!important;border-radius:30px!important}
.product-quantity{left:10px!important;bottom:10px!important}
.product-quantity .add-to-cart{width:32px!important;height:32px!important;min-height:32px!important;border-radius:50%!important;background:var(--ui-green)!important;box-shadow:0 4px 10px #176b5338!important;font-size:22px!important}
.product-quantity .add-to-cart:hover{background:var(--ui-green-dark)!important;transform:scale(1.06)}
.product-quantity .qty-control{height:29px!important;min-height:29px!important;border:1px solid #b7d3c2!important;border-radius:30px!important;background:#fff!important;box-shadow:0 3px 10px #183c2d14!important;overflow:hidden}
.product-quantity .qty-control button{height:27px!important;background:#e8f2eb!important;color:var(--ui-green)!important;font-weight:900!important}
.product-quantity .qty-control span{color:#254c3b!important;font-size:11px!important}
.empty{padding:48px 16px;border:1px dashed #dfd1c4;border-radius:20px;background:#fff;color:var(--ui-muted)}
.empty-icon{color:#d98d78}
.empty h2{color:var(--ui-green);font-size:20px}
footer{gap:7px;padding:28px 15px 32px;background:#123f35;border:0;color:#fff8ef}
footer .social-links{margin:0 0 8px}
footer .social-links a{border-color:#ffffff40;background:#ffffff12;color:#fff8ef}
footer .social-links a:hover{background:#f3d5a6;color:#174b3c}
.footer-heart{color:#e9b86c}
footer strong{font-size:17px}
footer .footer-en{color:#e8c99a;letter-spacing:3px}
footer small{color:#d4d9d2}
.footer-contact{padding:8px 16px;border:1px solid #ffffff50;border-radius:30px;color:#fff8ef;text-decoration:none;font-size:13px}
.footer-contact:hover{background:#ffffff14}
/* زر السلة الخارجي فقط؛ نافذة السلة نفسها لم تتغير */
.cart-fab{bottom:18px;inset-inline-end:18px;padding:11px 17px;border:1px solid #ffffff35;border-radius:17px;background:#176b53;color:#fff;box-shadow:0 9px 24px #103f3050;font-size:14px;transition:transform .2s,background .2s}
.cart-fab:hover{background:#104d3d;transform:translateY(-2px)}
.cart-count{min-width:24px;height:24px;background:#fff;color:#176b53;font-size:12px}
.install-banner{border-radius:17px;box-shadow:0 12px 35px #183c2d24}
@media(min-width:650px){
 .hero{padding-top:42px;padding-bottom:36px}
 .section-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .product-info{padding:15px 14px 45px;min-height:112px}
}
@media(min-width:950px){.section-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}}
@media(max-width:520px){
 .menu-toolbar{gap:9px;padding:8px 11px}
 .brand-panel{width:65px}
 .menu-search{min-height:42px;padding:9px 12px;font-size:13px}
 .hero{padding:29px 15px 25px}
 .social-links a{width:36px;height:36px}
 .container{padding-top:14px}
 .menu-cover{margin-inline:-4px;border-radius:15px}
 .cover-images{border-radius:15px}
 .cover-images img{aspect-ratio:16/7;object-fit:cover}
 .category-bar{margin-bottom:12px}
 .section-heading{padding:11px 13px;margin-bottom:12px}
 .section-products{gap:10px}
 .product{border-radius:15px}
 .product img{aspect-ratio:1/1}
 .product-info{padding:10px 8px 42px;min-height:99px}
 .product h3{font-size:12px;margin-bottom:7px}
 .price{font-size:12px;padding:4px 10px}
 .product-quantity{left:8px!important;bottom:8px!important}
 .product-quantity .add-to-cart{width:29px!important;height:29px!important;min-height:29px!important}
}
@media(max-width:390px){
 .section-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product{display:block}
 .product img{width:100%;height:auto;min-height:0;aspect-ratio:1/1}
 .product-info{align-self:stretch}
}
@media(prefers-reduced-motion:reduce){.product,.product img,.cart-fab,.social-links a{transition:none!important}}
