/* פורטל ההזמנות – השלושה טריימארט. אורח: כיוון ב' (פרימיום כהה). לקוח מחובר: כיוון ג' (אפליקציה). */
@font-face{font-family:Heebo;font-weight:400;font-display:swap;src:url(fonts/heebo-hebrew-400-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:400;font-display:swap;src:url(fonts/heebo-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:Heebo;font-weight:500;font-display:swap;src:url(fonts/heebo-hebrew-500-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:500;font-display:swap;src:url(fonts/heebo-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:Heebo;font-weight:700;font-display:swap;src:url(fonts/heebo-hebrew-700-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Heebo;font-weight:700;font-display:swap;src:url(fonts/heebo-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}
@font-face{font-family:Rubik;font-weight:600;font-display:swap;src:url(fonts/rubik-hebrew-600-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Rubik;font-weight:800;font-display:swap;src:url(fonts/rubik-hebrew-800-normal.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:Rubik;font-weight:800;font-display:swap;src:url(fonts/rubik-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+20AC}

:root{--ink:#141613;--ink-2:#24271F;--line-d:#34382F;--ground:#F5F4EE;--card:#fff;--line:#E8E7E0;--soft:#F3F3EF;--green:#3FAE2A;--green-ink:#0E1A0B;--green-text:#1F6B14;--muted:#6E7369;--danger:#B42318;--r:16px}
*{box-sizing:border-box}
html,body{margin:0}
body{font-family:Heebo,Arial,sans-serif;background:var(--ground);color:var(--ink);line-height:1.45;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:Rubik,Heebo,sans-serif;font-weight:800;margin:0;line-height:1.15}
button,input,textarea,select{font:inherit;color:inherit}
a{color:var(--green-text)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--green);outline-offset:2px}

/* כפתורים */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;border:0;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn-green{background:var(--green);color:var(--green-ink)}
.btn-dark{background:var(--ink);color:#fff}
.btn-ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}
.btn-block{width:100%}
.btn:disabled{opacity:.55;cursor:default}
.icon-btn{width:44px;height:44px;border-radius:14px;border:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}

/* ראש עמוד */
.top{background:var(--ink);color:#fff;border-radius:0 0 24px 24px}
.top .wrap{padding-top:14px;padding-bottom:18px;display:flex;flex-direction:column;gap:14px}
.top-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-family:Rubik,sans-serif;font-weight:800;font-size:17px}
.hello{display:flex;flex-direction:column}
.hello small{color:#B9BDB4;font-size:13px}
.hello b{font-family:Rubik,sans-serif;font-size:22px}
.lead{color:#B9BDB4;font-size:14px}
.search{display:flex;gap:8px}
.search label{flex:1;display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border-radius:14px;background:var(--ink-2);border:1px solid var(--line-d)}
.search input{flex:1;border:0;background:transparent;color:#fff;font-size:15px;outline:none;min-width:0}
.search input::placeholder{color:#9DA297}
.search .icon-btn{background:var(--green);color:var(--green-ink)}
.avatar{width:44px;height:44px;border-radius:50%;background:#2E3A28;color:#BDEBB0;display:flex;align-items:center;justify-content:center;font-weight:800;border:0;cursor:pointer}

/* קטגוריות */
.cats{display:flex;gap:8px;overflow-x:auto;padding:16px 16px 4px;scrollbar-width:none;max-width:1100px;margin:0 auto}
.cats::-webkit-scrollbar{display:none}
.chip{flex:none;padding:9px 16px;border-radius:999px;background:var(--card);border:1px solid var(--line);font-size:14px;font-weight:500;cursor:pointer}
.chip[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}

/* כרטיס "הזמן שוב" */
.reorder{margin:12px auto 0;max-width:1068px;padding:14px 16px;border-radius:18px;background:var(--green);color:var(--green-ink);display:flex;justify-content:space-between;align-items:center;gap:12px}
@media (max-width:1100px){.reorder{margin:12px 16px 0}}
.reorder b{display:block;font-size:16px}

/* רשימת מוצרים */
.bar{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 6px;max-width:1100px;margin:0 auto;color:var(--muted);font-size:13px}
.bar select{border:0;background:transparent;font-weight:700;color:var(--ink)}
.grid{max-width:1100px;margin:0 auto;padding:6px 16px 120px;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.p{background:var(--card);border-radius:18px;padding:10px;display:flex;gap:12px;align-items:center;border:1px solid transparent}
.p-img{width:84px;height:84px;flex:none;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in;border:1px solid var(--line)}
.p-img img{width:88%;height:88%;object-fit:contain}
.p-img .ph{color:#C9C7BC}
.p-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.p-name{font-weight:700;font-size:15px;line-height:1.3}
.p-meta{font-size:12px;color:var(--muted)}
.p-price{font-weight:800;font-size:15px}
.p-price small{font-weight:400;font-size:12px;color:var(--muted)}
.lock{font-size:12px;color:var(--green-text);font-weight:700;display:flex;align-items:center;gap:4px}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;margin-inline-end:4px}
.tag-new{background:var(--green);color:var(--green-ink)}
.tag-best{background:#FFE9B8;color:#5C3D00}
.step{display:flex;align-items:center;gap:2px;border-radius:12px;background:var(--soft);padding:3px;flex:none}
.step button{width:36px;height:36px;border:0;border-radius:9px;background:#fff;font-size:18px;cursor:pointer}
.step button.plus{background:var(--ink);color:#fff}
.step span{min-width:28px;text-align:center;font-weight:800}
.p.in-cart{border-color:var(--green)}
.empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:40px 0}

/* פס עגלה צף */
.cartbar{position:fixed;inset-inline:12px;bottom:12px;max-width:640px;margin:0 auto;height:56px;border-radius:16px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-weight:700;border:0;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.25);z-index:20}
.joinbar{position:fixed;inset-inline:12px;bottom:12px;max-width:640px;margin:0 auto;border-radius:18px;background:#fff;padding:12px;display:flex;gap:10px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:20}
.joinbar p{flex:1;margin:0;font-size:14px}

/* חלונות */
.sheet{position:fixed;inset:0;background:rgba(20,22,19,.55);display:flex;align-items:flex-end;justify-content:center;z-index:50}
@media (min-width:720px){.sheet{align-items:center}}
.sheet-box{background:#fff;width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:24px 24px 0 0;padding:20px}
@media (min-width:720px){.sheet-box{border-radius:24px}}
.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.close{background:var(--soft)}
.form{display:grid;gap:12px}
.form .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field{display:flex;flex-direction:column;gap:6px;font-weight:500;font-size:14px}
.field input,.field textarea{min-height:48px;border:1px solid #CFCDC3;border-radius:12px;padding:10px 12px;font-size:16px;background:#fff}
.field textarea{min-height:80px;resize:vertical}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.check input{width:20px;height:20px;margin:2px 0 0}
.msg{border-radius:12px;padding:10px 12px;font-size:14px}
.msg-err{background:#FDECEA;color:var(--danger)}
.msg-ok{background:#EAF6E6;color:var(--green-text)}
.muted{color:var(--muted);font-size:14px}
.trap{position:absolute;left:-9999px}
.lines{display:flex;flex-direction:column;gap:8px;margin:8px 0 14px}
.line{display:flex;justify-content:space-between;gap:10px;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:8px}
.totals{display:grid;gap:4px;font-size:15px;margin-bottom:12px}
.totals div{display:flex;justify-content:space-between}
.totals .big{font-size:18px;font-weight:800}
.order{border:1px solid var(--line);border-radius:14px;padding:12px;display:grid;gap:4px}
.order-top{display:flex;justify-content:space-between;align-items:center}
.status{padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--soft)}
.status-approved,.status-shipped,.status-delivered{background:#EAF6E6;color:var(--green-text)}
.status-cancelled,.status-rejected{background:#FDECEA;color:var(--danger)}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.85);display:flex;align-items:center;justify-content:center;z-index:60;cursor:zoom-out}
.lightbox img{max-width:92vw;max-height:88vh;background:#fff;border-radius:16px;padding:12px}
.foot{text-align:center;color:var(--muted);font-size:13px;padding:0 16px 90px}
.foot a{color:var(--muted)}
.toast{position:fixed;top:16px;inset-inline:16px;max-width:420px;margin:0 auto;background:var(--ink);color:#fff;border-radius:14px;padding:12px 16px;z-index:70;text-align:center}
