/* زاد — ستايل صفحات الزبون. الألوان أدوار، ولون البراند بيجي من الإعدادات (--accent). */
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-ar-400.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-ar-500.woff2) format("woff2");font-weight:500;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-ar-600.woff2) format("woff2");font-weight:600;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-ar-700.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-lat-400.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-lat-500.woff2) format("woff2");font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-lat-600.woff2) format("woff2");font-weight:600;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:"Plex Ar";src:url(/fonts/plex-lat-700.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC}

:root{
  --bg:#FBF7F1;--surface:#FFFFFF;--surface-2:#F3ECE2;--border:#E6DCCF;--border-input:#8E8073;
  --text:#1D1915;--muted:#6A5E54;--danger:#B42318;--success:#1E7148;--warning:#8A5A00;
  --success-bg:#E5F3EA;--danger-bg:#FBE9E7;
  --r-sm:6px;--r-md:10px;--r-lg:14px;
  --shadow-sheet:0 -8px 30px rgba(29,25,21,.18);
  --top-h:57px;--cats-h:49px;
  color-scheme:light;
}
:root[data-theme="dark"]{
  --bg:#14110E;--surface:#1E1A16;--surface-2:#2A241F;--border:#3A322B;--border-input:#857669;
  --text:#F4EDE4;--muted:#B5A89B;--danger:#F2867B;--success:#5DC793;--warning:#E9B44C;
  --success-bg:#16301F;--danger-bg:#3A1A16;
  --shadow-sheet:0 -8px 30px rgba(0,0,0,.5);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Plex Ar",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;font-size:16px;line-height:1.6;font-variant-numeric:tabular-nums;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;line-height:1.3}
button,input,textarea,select{font:inherit;color:inherit}
bdi{unicode-bidi:isolate}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fine{font-size:13px;color:var(--muted);margin:0}
.center{text-align:center}
[hidden]{display:none!important}

/* أزرار */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r-md);border:1px solid transparent;font-weight:600;font-size:15px;cursor:pointer;white-space:nowrap;transition:background-color .15s,border-color .15s}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}
.btn-ghost{background:transparent;color:var(--muted)}
.btn-danger{background:var(--danger);color:#fff}
.btn-sm{min-height:36px;padding:0 12px;font-size:14px}
.btn-lg{min-height:52px;font-size:17px}
.btn-block{width:100%}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn.loading{position:relative;color:transparent!important}
.btn.loading::after{content:"";position:absolute;width:18px;height:18px;border:2px solid var(--on-accent);border-top-color:transparent;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (hover:hover){.btn-primary:hover{filter:brightness(1.07)}.btn-secondary:hover{border-color:var(--border-input)}.btn-ghost:hover{color:var(--text)}}
.icon-btn{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:var(--r-md);border:0;background:transparent;color:var(--text);cursor:pointer;font-size:16px}
@media (hover:hover){.icon-btn:hover{background:var(--surface-2)}}

/* الشريط العلوي */
.topbar{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--border)}
.topbar-in{max-width:1080px;margin:0 auto;height:56px;display:flex;align-items:center;gap:6px;padding:0 12px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;min-width:0;margin-inline-end:auto}
.brand img,.brand-mark{width:32px;height:32px;border-radius:8px;object-fit:cover;flex:none}
.brand-mark{display:grid;place-items:center;background:var(--accent);color:var(--on-accent);font-size:16px}
.brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme-btn .i-moon{display:none}
[data-theme="dark"] .theme-btn .i-sun{display:none}
[data-theme="dark"] .theme-btn .i-moon{display:inline}

/* الهيرو */
.menu{max-width:1080px;margin:0 auto;padding-bottom:110px}
.cover{height:190px;overflow:hidden;background:var(--surface-2)}
.cover img{width:100%;height:100%;object-fit:cover}
.cover-empty{height:72px;background:var(--tint)}
.hero-card{position:relative;margin:-36px 12px 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:16px}
.hero-head{display:flex;gap:14px;align-items:center}
.logo{width:72px;height:72px;border-radius:var(--r-md);object-fit:cover;border:1px solid var(--border);background:var(--surface);flex:none;margin-top:-40px}
.logo-letter{display:grid;place-items:center;background:var(--accent);color:var(--on-accent);font-size:30px;font-weight:700}
.hero h1{font-size:24px;font-weight:700}
.tagline{margin:2px 0 0;color:var(--muted);font-size:14px}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}
.status{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:3px 10px;border-radius:var(--r-sm)}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status.is-open{background:var(--success-bg);color:var(--success)}
.status.is-closed{background:var(--danger-bg);color:var(--danger)}
.meta,.meta-btn{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.meta-btn{border:1px solid var(--border);background:transparent;border-radius:var(--r-sm);padding:3px 9px;cursor:pointer;color:var(--text)}
.meta svg,.meta-btn svg{flex:none}
.table-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:10px 12px;background:var(--tint);border-radius:var(--r-md);font-size:15px}
.seg{display:flex;gap:4px;margin-top:14px;padding:4px;background:var(--surface-2);border-radius:var(--r-md)}
.seg button{flex:1;min-height:40px;border:0;background:transparent;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;color:var(--muted)}
.seg button[aria-checked="true"]{background:var(--surface);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hero-card .fine{margin-top:8px}

/* البحث والأقسام */
.search-wrap{padding:14px 12px 0}
.search{display:flex;align-items:center;gap:8px;height:46px;padding:0 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);color:var(--muted)}
.search input{flex:1;border:0;background:transparent;outline:0;font-size:16px;color:var(--text);min-width:0}
.search:focus-within{border-color:var(--accent)}
.cats{position:sticky;top:var(--top-h);z-index:20;background:var(--bg);border-bottom:1px solid var(--border);margin-top:10px}
.cats-in{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;padding:0 8px}
.cats-in::-webkit-scrollbar{display:none}
.cats a{flex:none;padding:12px 10px;font-size:15px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;white-space:nowrap}
.cats a.on{color:var(--accent-text);border-bottom-color:var(--accent);font-weight:700}
.cat-sec{padding:22px 12px 4px;scroll-margin-top:calc(var(--top-h) + var(--cats-h) + 4px)}
.cat-sec h2{font-size:20px;font-weight:700;margin-bottom:12px}

/* الأكثر طلبًا */
.feat{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 -12px;padding:0 12px 6px;scroll-snap-type:x mandatory}
.feat::-webkit-scrollbar{display:none}
.feat-card{flex:none;width:150px;scroll-snap-align:start;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden;padding-bottom:10px}
.feat-img{aspect-ratio:4/3;background:var(--surface-2)}
.feat-img img{width:100%;height:100%;object-fit:cover}
.feat-card h3{font-size:14px;font-weight:600;padding:8px 10px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feat-card > div:last-child{padding:0 10px;font-size:14px}

/* كرت الصنف */
.items{display:grid;gap:10px}
.item{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md)}
.item-link{display:flex;gap:12px;padding:12px;min-height:136px}
.item-text{flex:1;min-width:0;display:flex;flex-direction:column}
.item h3{font-size:16px;font-weight:600}
.item p{margin:4px 0 0;font-size:14px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item-meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.item-price{margin-top:auto;padding-top:8px;font-size:15px}
.item-img{flex:none;width:112px;height:112px;border-radius:var(--r-md);overflow:hidden;background:var(--surface-2)}
.item-img img{width:100%;height:100%;object-fit:cover}
.noimg{display:grid;place-items:center;width:100%;height:100%;font-size:34px;font-weight:700;color:var(--accent-text);background:var(--tint)}
.noimg.big{font-size:80px}
.add-btn{position:absolute;bottom:18px;left:18px;width:38px;height:38px;display:grid;place-items:center;border-radius:var(--r-md);border:0;background:var(--accent);color:var(--on-accent);cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.item.sold .item-img{filter:grayscale(1);opacity:.6}
.item.sold h3{color:var(--muted)}
.sold-label{font-size:13px;font-weight:600;color:var(--danger)}
.price{font-weight:700;white-space:nowrap}
.cur{font-size:.8em;font-weight:500;color:var(--muted)}
.from{font-size:13px;color:var(--muted);font-weight:500}
.tag,.kcal{font-size:12px;padding:1px 7px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--muted);font-weight:500}
.tag-spicy{color:var(--danger)}
.tag-vegan,.tag-vegetarian,.tag-gluten_free{color:var(--success)}
.tag-popular,.tag-new{color:var(--accent-text)}
.empty-search{text-align:center;color:var(--muted);padding:40px 16px}
.foot{max-width:1080px;margin:0 auto;padding:24px 16px 120px;border-top:1px solid var(--border);text-align:center;color:var(--muted);font-size:14px}
.foot p{margin:0 0 4px}
.menu > .fine.center{padding:16px}

/* شريط السلة */
.cartbar{position:fixed;inset-inline:0;bottom:0;z-index:40;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg) 70%,transparent)}
.cartbar-btn{display:flex;align-items:center;gap:12px;width:100%;max-width:560px;margin:0 auto;min-height:54px;padding:0 16px;border:0;border-radius:var(--r-md);background:var(--accent);color:var(--on-accent);font-weight:700;font-size:16px;cursor:pointer}
.cartbar-btn .count{display:grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:var(--r-sm);background:rgba(255,255,255,.22)}
[data-theme="dark"] .cartbar-btn .count{background:rgba(0,0,0,.15)}
.cartbar-btn span:nth-child(2){margin-inline-end:auto}

/* الدرج السفلي */
.sheet{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center}
.sheet-bg{position:absolute;inset:0;background:rgba(20,17,14,.5)}
.sheet-panel{position:relative;width:100%;max-width:560px;max-height:88vh;overflow-y:auto;background:var(--surface);border-radius:var(--r-lg) var(--r-lg) 0 0;box-shadow:var(--shadow-sheet);padding:0 16px calc(16px + env(safe-area-inset-bottom));animation:up .22s ease-out}
@keyframes up{from{transform:translateY(30px);opacity:.4}}
.sheet-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:14px 0 10px;background:var(--surface);z-index:1}
.sheet-head h2{font-size:19px}
.sheet-foot{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));background:var(--surface);padding:12px 0 4px;border-top:1px solid var(--border);margin-top:12px;display:grid;gap:8px}
.sum-row{display:flex;justify-content:space-between;font-size:16px}
.about{color:var(--muted);margin:0 0 12px}
.info-line{display:flex;gap:8px;align-items:flex-start;margin:0 0 12px}
.sub{font-size:15px;margin:8px 0}
.hours{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:var(--r-md)}
.hours li{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;font-size:14px}
.hours li+li{border-top:1px solid var(--border)}
.info-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.branch-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.branch-list a{display:grid;gap:4px;padding:12px;border:1px solid var(--border);border-radius:var(--r-md)}
.branch-list a.is-current{border-color:var(--accent);background:var(--tint)}
.branch-list .status{justify-self:start}

/* سطور السلة */
.line{display:grid;grid-template-columns:56px 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid var(--border);align-items:start}
.line img,.line .noimg{width:56px;height:56px;border-radius:8px;object-fit:cover}
.line h3{font-size:15px;font-weight:600}
.line .opts{font-size:13px;color:var(--muted);margin:2px 0 0}
.line-end{display:grid;justify-items:end;gap:6px}
.qty{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface)}
.qty button{width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer;color:var(--text)}
.qty output{min-width:26px;text-align:center;font-weight:700}
.qty.sm button{width:30px;height:30px}
.qty.sm svg{width:16px;height:16px}
.upsell{margin-top:14px}
.upsell h3{font-size:15px;margin-bottom:8px}
.upsell .feat{margin:0;padding:0 0 6px}
.upsell .feat-card{width:132px;position:relative}
.upsell .add-mini{position:absolute;top:6px;left:6px;width:32px;height:32px;border-radius:8px;border:0;background:var(--accent);color:var(--on-accent);display:grid;place-items:center;cursor:pointer}

/* صفحة الصنف */
.item-page{max-width:760px;margin:0 auto;padding-bottom:120px}
.ip-media{aspect-ratio:4/3;max-height:420px;width:100%;background:var(--surface-2);overflow:hidden}
.ip-media img{width:100%;height:100%;object-fit:cover}
.ip-body{padding:16px}
.ip-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.ip-title h1{font-size:24px;font-weight:700}
.ip-price{font-size:18px;margin-top:4px}
.ip-desc{color:var(--muted);margin:8px 0 0}
.og{border:1px solid var(--border);border-radius:var(--r-md);padding:4px 14px 8px;margin:16px 0 0;background:var(--surface)}
.og legend{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;padding:10px 0 4px;font-weight:700;float:left}
.og legend+*{clear:both}
.og-rule{font-size:12px;font-weight:600;color:var(--muted);background:var(--surface-2);padding:2px 8px;border-radius:var(--r-sm)}
.og-rule.req{color:var(--accent-text);background:var(--tint)}
.og.err{border-color:var(--danger)}
.og-err{color:var(--danger);font-size:13px;margin:4px 0 0}
.opt{display:flex;align-items:center;gap:12px;min-height:48px;border-top:1px solid var(--border);cursor:pointer}
.og legend + .opt{border-top:0}
.opt input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:0}
.opt-name{flex:1}
.opt-price{font-size:14px;color:var(--muted)}
.opt.off{opacity:.5;cursor:not-allowed}
.field{display:grid;gap:6px;margin-top:14px}
.field>span{font-size:14px;font-weight:600}
.field input,.field textarea,.field select{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--border-input);border-radius:var(--r-md);background:var(--surface);font-size:16px}
.field textarea{resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid var(--accent);outline-offset:-1px;border-color:var(--accent)}
.field.err input,.field.err textarea{border-color:var(--danger)}
.more{margin-top:28px}
.more h2{font-size:17px;margin-bottom:10px}
.more .feat{margin:0 -16px;padding:0 16px 6px}
.addbar{position:fixed;inset-inline:0;bottom:0;z-index:40;display:flex;gap:10px;align-items:center;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}
.addbar .qty button{width:44px;height:48px}
.addbar-btn{flex:1;min-height:50px;justify-content:space-between;font-size:16px}
.sold-note{margin:0 auto;color:var(--danger);font-weight:600;padding:12px}
@media (min-width:760px){.addbar{max-width:760px;margin:0 auto;border-inline:1px solid var(--border);border-radius:var(--r-lg) var(--r-lg) 0 0}}

/* الدفع */
.narrow{max-width:620px;margin:0 auto;padding:18px 16px 140px}
.narrow h1{font-size:24px;margin-bottom:6px}
.co-sec{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:16px;margin-top:14px}
.co-sec h2{font-size:17px}
.seg-col{flex-wrap:wrap}
.seg-col button{min-width:calc(50% - 4px)}
.coupon{display:flex;gap:8px;align-items:flex-end}
.coupon .field{flex:1}
.coupon .btn{min-height:48px}
.totals{display:grid;grid-template-columns:1fr auto;gap:6px 12px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--border)}
.totals dt{color:var(--muted)}
.totals dd{margin:0;text-align:end}
.totals .grand{font-size:18px;font-weight:700;color:var(--text)}
.pay{display:flex;align-items:center;gap:10px;margin-top:10px;padding:12px;border:1px solid var(--accent);border-radius:var(--r-md);background:var(--tint)}
.pay input{accent-color:var(--accent);width:20px;height:20px;margin:0}
.pay span:nth-child(2){font-weight:600;margin-inline-end:auto}
.form-err{color:var(--danger);background:var(--danger-bg);padding:10px 12px;border-radius:var(--r-md);margin:14px 0 0;font-weight:500}
.co-submit{position:fixed;inset-inline:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--border)}
.co-submit .btn{max-width:588px;margin:0 auto;display:flex}
.empty-state{text-align:center;padding:60px 16px}
.empty-state p{color:var(--muted)}

/* صفحة الطلب */
.ord-head{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:18px}
.ord-code{font-size:14px;color:var(--muted)}
.ord-code b{color:var(--text);font-size:18px;direction:ltr;unicode-bidi:isolate}
.ord-head h1{font-size:22px;margin:6px 0 4px}
.steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:0}
.steps li{position:relative;display:flex;gap:12px;align-items:center;padding:8px 0;color:var(--muted)}
.steps li::before{content:"";width:14px;height:14px;border-radius:50%;border:2px solid var(--border-input);background:var(--surface);flex:none;z-index:1}
.steps li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:6px;top:28px;height:calc(100% - 14px);width:2px;background:var(--border)}
.steps li.done{color:var(--text)}
.steps li.done::before{background:var(--accent);border-color:var(--accent)}
.steps li.done:not(:last-child)::after{background:var(--accent)}
.steps li.now{color:var(--text);font-weight:700}
.steps li.now::before{border-color:var(--accent);box-shadow:0 0 0 4px var(--tint)}
.cancelled{color:var(--danger);font-weight:700}

/* التنبيه */
.toast{position:fixed;left:50%;top:68px;transform:translate(-50%,-12px);z-index:90;max-width:calc(100% - 32px);padding:12px 16px;border-radius:var(--r-md);background:var(--text);color:var(--bg);font-weight:500;font-size:15px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* الكمبيوتر */
@media (min-width:760px){
  .cover{height:300px;border-radius:0 0 var(--r-lg) var(--r-lg)}
  .hero-card{margin:-56px 24px 0;padding:22px 24px}
  .logo{width:96px;height:96px;margin-top:-60px}
  .hero h1{font-size:30px}
  .hero-card .seg{max-width:460px}
  .search-wrap{padding:18px 24px 0}
  .search-wrap .search{max-width:460px}
  .cats-in{padding:0 18px}
  .cat-sec{padding:28px 24px 4px}
  .items{grid-template-columns:1fr 1fr;gap:14px}
  .feat{margin:0;padding:0 0 6px}
  .feat-card{width:190px}
  .ip-media{border-radius:0 0 var(--r-lg) var(--r-lg)}
  .ip-body{padding:22px 24px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.btn-primary .cur,.cartbar-btn .cur{color:inherit;opacity:.9}
.co-sec .line:last-of-type,.sheet #cartLines .line:last-child{border-bottom:0}
.totals .price{font-weight:600}
.totals .grand .price{font-weight:700}

/* منيو الطباعة */
.print-menu{max-width:900px;margin:0 auto;padding:28px 24px 40px;background:var(--surface);color:var(--text)}
.pm-head{display:flex;align-items:center;gap:16px;padding-bottom:16px;border-bottom:2px solid var(--text)}
.pm-head img{border-radius:12px}
.pm-head h1{font-size:30px}
.pm-head p{margin:0;color:var(--muted)}
.pm-qr{margin-inline-start:auto;display:grid;justify-items:center;gap:2px;font-size:12px;color:var(--muted)}
.pm-qr img{border-radius:0}
.pm-cols{columns:2;column-gap:36px;margin-top:20px}
.pm-cat{break-inside:avoid-column;margin-bottom:20px}
.pm-cat h2{font-size:18px;color:var(--accent-text);border-bottom:1px solid var(--border);padding-bottom:4px;margin-bottom:6px}
.pm-item{display:flex;justify-content:space-between;gap:12px;padding:6px 0;break-inside:avoid}
.pm-item p{margin:0;font-size:13px;color:var(--muted);line-height:1.5}
.pm-item small{font-size:11px;color:var(--muted)}
.pm-price{font-weight:700;white-space:nowrap}
.pm-foot{margin-top:12px;padding-top:10px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}
.pm-actions{display:flex;gap:8px;margin-top:20px}
@media (max-width:640px){.pm-cols{columns:1}.pm-head h1{font-size:24px}}
@media print{
  @page{size:A4;margin:12mm}
  body[data-page="print"]{background:#fff}
  :root,:root[data-theme="dark"]{--surface:#fff;--text:#1D1915;--muted:#5b5048;--border:#ddd}
  .print-menu{padding:0;max-width:none}
  .pm-actions,.toast{display:none!important}
}
