/* עמודי קטגוריה, מוצרים ומסך ניהול. נטען אחרי styles.css */

/* ---------- כותרת עמוד פנימי ---------- */
.hero--page { min-height: 0; background: linear-gradient(rgba(12,12,12,.8), rgba(12,12,12,.8)), url("assets/hero.jpg") center 30% / cover no-repeat; padding-bottom: clamp(36px, 5vw, 72px); }
.hero--page::before { display: none; }
.page-title { position: relative; padding: clamp(36px, 5vw, 72px) clamp(16px, 4.4vw, 64px) 0; }
.page-title h1 { margin: 0 0 10px; font-size: clamp(44px, 6vw, 88px); line-height: .95; font-weight: 800; }
.page-title p { margin: 0; max-width: 56ch; font-size: clamp(17px, 1.5vw, 21px); opacity: .9; }

/* ---------- אזור מוצרים ---------- */
.shop { background: var(--paper); padding: clamp(24px, 3.4vw, 48px) clamp(16px, 4.4vw, 64px) clamp(40px, 6vw, 88px); min-height: 40vh; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.chip { font: inherit; font-size: 16px; font-weight: 700; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 30px; padding: 6px 18px; min-height: 40px; cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: var(--mist); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.sort select { font: inherit; font-weight: 400; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); min-height: 40px; }
.count { color: #555; font-size: 16px; margin: 0 0 14px; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid #dcdcd9; border-radius: 16px; overflow: hidden; min-width: 0; }
.thumb { position: relative; aspect-ratio: 4 / 3; background: var(--mist); display: grid; place-items: center; }
.thumb > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { width: 46%; max-width: 150px; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--disc); display: grid; place-items: center; overflow: hidden; }
.thumb .ph img { width: 80%; height: auto; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.badge--sample { background: #fff; color: #444; border: 1px dashed #888; }
.badge--out { background: var(--wine); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; min-width: 0; }
.card h2, .card h3 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.card .desc { margin: 0; font-size: 16px; line-height: 1.45; color: #444; overflow-wrap: anywhere; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 20px; background: var(--mist); border: 1px solid #cfcfcb; }
.tag--hot { background: var(--fire); border-color: var(--fire); color: #fff; }
.qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 4px; border-top: 1px solid #e6e6e3; margin-top: 4px; }
.qty-label { font-size: 15px; font-weight: 700; color: #444; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 30px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 24px; font-weight: 700; line-height: 1; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--mist); }
.stepper button:disabled { color: #aaa; cursor: not-allowed; }
.qty-val { min-width: 56px; text-align: center; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty-total { margin-inline-start: auto; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; font-weight: 400; color: #555; margin-inline-start: 4px; }
.order { border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 18px; background: var(--fire); color: #fff; border-radius: 30px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background .15s; }
.order:hover { background: #e03500; }
.card.is-out .thumb, .card.is-out h2, .card.is-out h3, .card.is-out .desc { opacity: .5; }
.card.is-out .order { background: #888; cursor: not-allowed; }

.empty { border: 2px dashed #bbb; border-radius: 16px; padding: clamp(28px, 5vw, 64px); text-align: center; background: var(--mist); }
.empty h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.empty p { margin: 0 0 16px; font-size: 18px; }
.empty a { color: var(--fire); font-weight: 700; }

/* ---------- מי אנחנו ---------- */
.about-page { background: var(--mist); padding: clamp(28px, 4.4vw, 64px) clamp(16px, 4.4vw, 64px); }

/* ---------- מסך ניהול ---------- */
.admin-body { background: var(--mist); min-height: 100vh; }
.admin-bar { background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); }
.admin-bar h1 { margin: 0; font-size: 22px; font-weight: 800; }
.admin-bar a { color: #fff; font-weight: 700; }
@media (min-width: 961px) { .admin-wrap > .panel:first-child { position: sticky; top: 16px; } }
.admin-wrap { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 48px) 64px; }
.panel { background: var(--paper); border: 1px solid #dcdcd9; border-radius: 16px; padding: clamp(16px, 2vw, 24px); min-width: 0; }
.panel h2 { margin: 0 0 16px; font-size: 22px; font-weight: 800; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .lbl { font-weight: 700; font-size: 16px; }
.field input[type="text"], .field input[type="number"], .field input[type="tel"], .field select, .field textarea { font: inherit; font-size: 17px; padding: 10px 12px; border: 2px solid #b9b9b4; border-radius: 10px; background: var(--paper); color: var(--ink); min-width: 0; width: 100%; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,60,0,.35); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 14px; color: #555; margin: 0; }
.tag-input { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 2px solid #b9b9b4; border-radius: 10px; min-height: 48px; align-items: center; }
.tag-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,60,0,.35); }
.tag-input input { border: 0 !important; box-shadow: none !important; padding: 4px !important; flex: 1; min-width: 90px; width: auto !important; }
.tag-input .tag { display: inline-flex; align-items: center; gap: 6px; }
.tag-input .tag button { border: 0; background: none; font: inherit; font-weight: 800; cursor: pointer; padding: 0 2px; line-height: 1; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { font: inherit; font-size: 14px; border: 1px dashed #888; background: var(--paper); border-radius: 20px; padding: 2px 10px; cursor: pointer; min-height: 30px; }
.suggest button:hover { background: var(--mist); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.check input { width: 22px; height: 22px; accent-color: var(--fire); }
.drop { display: grid; place-items: center; gap: 8px; text-align: center; border: 2px dashed #888; border-radius: 12px; padding: 14px; background: var(--mist); cursor: pointer; }
.drop:hover, .drop.is-over { background: #ececea; border-color: var(--ink); }
.drop img { max-width: 100%; max-height: 170px; border-radius: 8px; display: none; }
.drop.has-img img { display: block; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { box-shadow: 0 0 0 3px rgba(255,60,0,.35); }
.seg { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.seg label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 2px solid #b9b9b4; border-radius: 10px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--mist); }
.seg input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fire); flex: none; }
.seg b { display: block; font-size: 17px; }
.seg small { display: block; font-size: 14px; color: #555; }
.admin-link { color: #444; font-size: 14px; font-weight: 400; }
.btn { font: inherit; font-weight: 700; font-size: 17px; min-height: 46px; padding: 8px 22px; border-radius: 30px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--mist); }
.btn--primary { background: var(--fire); border-color: var(--fire); color: #fff; }
.btn--primary:hover { background: #e03500; }
.btn--danger { border-color: var(--wine); color: var(--wine); }
.btn--danger.is-armed { background: var(--wine); color: #fff; }
.btn--small { min-height: 36px; font-size: 15px; padding: 4px 14px; }
.btn[disabled] { opacity: .55; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid #dcdcd9; border-radius: 12px; }
.item .t { width: 64px; height: 64px; border-radius: 10px; background: var(--mist); overflow: hidden; display: grid; place-items: center; }
.item .t img { width: 100%; height: 100%; object-fit: cover; }
.item .t img.ph { width: 70%; height: auto; object-fit: contain; }
.item .info { min-width: 0; display: grid; gap: 4px; }
.item .name { font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.item .meta { font-size: 15px; color: #444; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.item .btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.toast { position: fixed; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; width: fit-content; max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 30px; font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.toast.is-error { background: var(--wine); }
.toast[hidden] { display: none; }

@media (max-width: 960px) {
  .hero--page .topbar { padding-bottom: 0; }
  .admin-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
  .item { grid-template-columns: 56px minmax(0, 1fr); }
  .item .t { width: 56px; height: 56px; }
  .item .btns { grid-column: 1 / -1; justify-content: flex-start; }
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- מסך הזמנות ---------- */
.orders-wrap { padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 48px) 64px; display: grid; gap: 16px; max-width: 1100px; margin-inline: auto; }
.orders-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.order-card { background: var(--paper); border: 1px solid #dcdcd9; border-radius: 16px; padding: clamp(14px, 2vw, 22px); display: grid; gap: 14px; min-width: 0; }
.order-card.is-cancelled { opacity: .6; }
.order-card.is-new { border: 2px solid var(--fire); }
.o-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.o-id { font-weight: 800; font-size: 22px; letter-spacing: .05em; direction: ltr; }
.o-time { color: #555; font-size: 15px; }
.o-status { font: inherit; font-weight: 700; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); min-height: 42px; }
.o-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; }
.o-cols h3 { margin: 0 0 6px; font-size: 16px; color: #555; font-weight: 700; }
.o-cols p { margin: 0 0 4px; font-size: 17px; overflow-wrap: anywhere; }
.o-cols a { color: inherit; font-weight: 700; }
.o-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 17px; }
.o-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.o-lines .q { color: #555; }
.o-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; border-top: 1px solid #dcdcd9; padding-top: 10px; font-size: 17px; font-variant-numeric: tabular-nums; }
.o-total strong { font-size: 22px; }
.note-box { background: var(--mist); border-radius: 10px; padding: 10px 14px; font-size: 16px; }

/* ---------- ניהול: ניווט, עמודים, מבצעים, חברים, הגדרות ---------- */
.admin-bar { flex-wrap: wrap; }
.admin-nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.admin-nav a { text-decoration: none; padding: 4px 2px; border-bottom: 3px solid transparent; }
.admin-nav a:hover { border-bottom-color: #888; }
.admin-nav a[aria-current="page"] { border-bottom-color: var(--fire); }
.page-wrap { max-width: 1100px; margin-inline: auto; display: grid; gap: clamp(16px, 2vw, 28px); padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 48px) 64px; }
.page-wrap--narrow { max-width: 720px; }
.pages-check { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.pages-check legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 16px; }
.pages-check label { display: inline-flex; align-items: center; gap: 8px; border: 2px solid #b9b9b4; border-radius: 30px; padding: 6px 14px; min-height: 40px; cursor: pointer; font-weight: 700; background: var(--paper); }
.pages-check label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.pages-check input { width: 18px; height: 18px; accent-color: var(--fire); }
.pages-check label:focus-within { box-shadow: 0 0 0 3px rgba(255,60,0,.35); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pill { display: inline-block; font-size: 13px; font-weight: 800; padding: 2px 10px; border-radius: 20px; background: var(--mist); border: 1px solid #b9b9b4; }
.pill--on { background: #e3f3e6; border-color: #2f8a45; color: #14541f; }
.pill--off { background: #eee; color: #555; }
.pill--soon { background: #fff4d6; border-color: #b58900; color: #5c4500; }
.pill--end { background: #fbe9ec; border-color: var(--wine); color: #6d1220; }
.row-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 14px; border: 1px solid #dcdcd9; border-radius: 12px; }
.row-card .name { font-weight: 800; font-size: 18px; overflow-wrap: anywhere; }
.row-card .meta { font-size: 15px; color: #444; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-top: 4px; }
.row-card .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.stack { display: grid; gap: 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar .field { flex: 1 1 220px; }
.picker { border: 2px solid #b9b9b4; border-radius: 10px; max-height: 220px; overflow: auto; padding: 6px; display: grid; gap: 2px; }
.picker label { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.picker label:hover { background: var(--mist); }
.picker input { width: 18px; height: 18px; accent-color: var(--fire); flex: none; }
.field input[type="date"] { font: inherit; font-size: 17px; padding: 10px 12px; border: 2px solid #b9b9b4; border-radius: 10px; background: var(--paper); color: var(--ink); min-width: 0; width: 100%; }
.field input[type="date"]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,60,0,.35); }
.field input:disabled { background: var(--mist); color: #777; }
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } .row-card { grid-template-columns: minmax(0, 1fr); } }

/* מבצעים בכרטיס מוצר ובעגלה */
.badge--sale { background: var(--fire); }
.price-wrap { display: grid; gap: 2px; }
.price-was { font-size: 16px; color: #666; text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price--sale { color: #c42b00; }
.sale-note { margin: 0; font-size: 14px; font-weight: 700; color: #a02300; }
.club-note { margin: 0; font-size: 14px; font-weight: 700; color: #14541f; }

/* ---------- דשבורד ---------- */
.dash { max-width: 1200px; margin-inline: auto; display: grid; gap: clamp(16px, 2vw, 28px); padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 48px) 64px; }
.dash-hello { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; }
.dash-hello h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.dash-hello p { margin: 0; color: #555; font-size: 17px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.kpi { background: var(--paper); border: 1px solid #dcdcd9; border-radius: 16px; padding: 18px 20px; display: grid; gap: 6px; text-decoration: none; color: inherit; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--ink); }
.kpi--fire::before { background: var(--fire); }
.kpi--wine::before { background: var(--wine); }
.kpi .k-label { font-size: 16px; font-weight: 700; color: #444; }
.kpi .k-num { font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .k-sub { font-size: 14px; color: #555; }
a.kpi:hover { border-color: var(--ink); }
.kpi--hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi--hot .k-label, .kpi--hot .k-sub { color: #ddd; }
.kpi--hot::before { background: var(--fire); }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.dash-cols > div { display: grid; gap: clamp(16px, 2vw, 28px); min-width: 0; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.panel-head a { color: var(--fire); font-weight: 700; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 16px); align-items: end; height: 220px; padding-top: 24px; }
.bar { display: grid; grid-template-rows: 1fr auto auto; gap: 4px; height: 100%; justify-items: center; text-align: center; min-width: 0; }
.bar .col { align-self: end; width: 100%; max-width: 56px; background: var(--ash); border-radius: 8px 8px 0 0; min-height: 3px; }
.bar.is-today .col { background: var(--fire); }
.bar .v { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bar .d { font-size: 13px; color: #555; }
.bar.is-today .d { color: var(--ink); font-weight: 800; }
.open-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.open-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid #dcdcd9; border-radius: 12px; text-decoration: none; color: inherit; }
.open-item:hover { border-color: var(--ink); }
.open-item.is-new { border-inline-start: 6px solid var(--fire); }
.open-item .who { font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.open-item .sub { font-size: 14px; color: #555; grid-column: 1; }
.open-item .amt { font-weight: 800; font-variant-numeric: tabular-nums; align-self: center; grid-row: 1 / span 2; grid-column: 2; text-align: end; }
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: top; }
.top-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; counter-increment: top; }
.top-list li::before { content: counter(top); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.top-list .nm { overflow-wrap: anywhere; font-weight: 700; }
.top-list .q { font-size: 14px; color: #555; font-variant-numeric: tabular-nums; }
.shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.shortcut { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: var(--paper); border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.shortcut b { font-size: 20px; }
.shortcut span { font-size: 14px; color: #555; }
.shortcut:hover { background: var(--ink); color: #fff; }
.shortcut:hover span { color: #ddd; }
@media (max-width: 900px) { .dash-cols { grid-template-columns: minmax(0, 1fr); } }

/* כרטיס לקוח */
.d-info { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0 0 16px; font-size: 16px; }
.d-info dt { font-weight: 700; color: #555; }
.d-info dd { margin: 0; overflow-wrap: anywhere; }
.d-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.d-tile { background: var(--mist); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.d-tile b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.d-tile span { font-size: 14px; color: #555; }
.d-sec { margin-top: 20px; display: grid; gap: 10px; }
.d-sec h3 { margin: 0; font-size: 18px; font-weight: 800; }
.d-tips { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.d-table { overflow-x: auto; }
.d-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.d-table th, .d-table td { text-align: start; padding: 8px 10px; border-bottom: 1px solid #e6e6e3; white-space: nowrap; }
.d-table thead th { font-size: 13px; color: #555; }
.d-table tbody th { font-weight: 700; white-space: normal; min-width: 130px; }
.d-order { border: 1px solid #dcdcd9; border-radius: 12px; padding: 10px 14px; display: grid; gap: 4px; }
.d-order.is-cancelled { opacity: .6; }
.d-order-top { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.d-order-top strong { margin-inline-start: auto; font-variant-numeric: tabular-nums; }
.d-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) { .d-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.d-info dd { text-align: right; }
.d-order-top a { color: var(--ink); font-weight: 800; }
.d-order-top a:hover { color: var(--fire); }
/* עמוד הזמנה בניהול */
.od { max-width: 900px; margin-inline: auto; display: grid; gap: 18px; padding: clamp(16px, 3vw, 40px) clamp(16px, 4vw, 48px) 64px; }
.od-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.od-head h2 { margin: 0; font-size: 30px; font-weight: 800; direction: ltr; }
.od-back { color: var(--fire); font-weight: 700; }
.od-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.od-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.od-table th, .od-table td { text-align: start; padding: 10px 8px; border-bottom: 1px solid #e6e6e3; vertical-align: top; }
.od-table thead th { font-size: 13px; color: #555; }
.od-table s { color: #777; }
.od-sums { display: grid; gap: 6px; margin-top: 14px; max-width: 360px; margin-inline-start: auto; }
.od-sums .sum-row.total { border-top: 2px solid var(--ink); padding-top: 8px; font-weight: 800; }
@media (max-width: 700px) { .od-grid { grid-template-columns: minmax(0, 1fr); } }
.card-cut { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* מסכי ניהול: גדלים יחסיים לרוחב הדפדפן */
.admin-wrap { grid-template-columns: minmax(340px, 30%) minmax(0, 1fr); }
.dash, .page-wrap { max-width: min(1500px, 100%); }
@media (min-width: 961px) { .admin-body { zoom: .88; } }
@media (min-width: 1800px) { .admin-body { zoom: 1; } }
@media (min-width: 2200px) { .admin-body { zoom: 1.15; } }
@media (min-width: 2800px) { .admin-body { zoom: 1.4; } }
@media (max-width: 960px) { .admin-wrap { grid-template-columns: minmax(0, 1fr); } }
.field input[type="search"] { font: inherit; font-size: 17px; padding: 10px 12px; border: 2px solid #b9b9b4; border-radius: 10px; background: var(--paper); color: var(--ink); min-width: 0; width: 100%; }
.field input[type="search"]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255,60,0,.35); }
.card.is-found { outline: 4px solid var(--fire); outline-offset: 3px; transition: outline-color .4s; }

.admin-bar h1 { display: inline-flex; align-items: center; gap: 10px; }
.admin-logo { width: 36px; height: auto; display: block; }

/* עמוד כל המוצרים */
.catnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.catnav .chip { text-decoration: none; display: inline-flex; align-items: center; }
.cat-section { margin: 0 0 clamp(28px, 4vw, 52px); scroll-margin-top: 16px; }
.cat-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 18px; }
.cat-section-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cat-section-count { color: #555; font-size: 17px; }
.cat-section-link { margin-inline-start: auto; color: var(--ink); font-weight: 700; font-size: 17px; }

/* התראות הזמנות חדשות */
.oa-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-inline-start: 6px; border-radius: 11px; background: #d10000; color: #fff; font-size: 13px; font-weight: 800; vertical-align: middle; }
.oa-toggle { font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.45); border-radius: 20px; padding: 3px 12px; cursor: pointer; }
.oa-toggle[aria-pressed="false"] { opacity: .75; }
.oa-banner { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; align-items: center; gap: 14px; max-width: min(640px, calc(100vw - 24px)); background: #0f7a3d; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.4); font-weight: 700; font-size: 17px; }
.oa-view { color: #fff; background: rgba(0,0,0,.28); border-radius: 20px; padding: 6px 14px; text-decoration: underline; white-space: nowrap; }
.oa-x { font: inherit; color: #fff; background: none; border: 0; font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* לוח הזמנות (קנבן) */
.kb-main { padding: clamp(12px, 2vw, 24px) clamp(12px, 2.4vw, 32px) 48px; max-width: 1900px; margin-inline: auto; }
.kb-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.kb-search { flex: 1 1 260px; max-width: 420px; }
.kb-search input { width: 100%; font: inherit; font-size: 16px; padding: 9px 12px; border: 2px solid #b9b9b4; border-radius: 10px; background: var(--paper); color: var(--ink); }
.kb-range { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kb-range select { font: inherit; padding: 8px 10px; border: 2px solid #b9b9b4; border-radius: 10px; background: var(--paper); }
.kb-hint { color: #555; font-size: 14px; flex-basis: 100%; }
.kb-board { display: grid; grid-template-columns: repeat(5, minmax(230px, 1fr)); gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 8px; }
.kb-col { background: #ebebe8; border-radius: 14px; border-top: 5px solid #8a8a85; min-width: 0; display: flex; flex-direction: column; max-height: calc(100vh - 210px); }
.kb-col--new { border-top-color: #d10000; } .kb-col--preparing { border-top-color: #e08a00; } .kb-col--ready { border-top-color: #0f7a3d; } .kb-col--done { border-top-color: #4a4a47; } .kb-col--cancelled { border-top-color: #b3263a; opacity: .88; }
.kb-col.is-over { outline: 3px dashed var(--ink); outline-offset: -3px; background: #dcdcd8; }
.kb-col-head { margin: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 8px; font-size: 18px; font-weight: 800; }
.kb-count { min-width: 28px; height: 28px; display: inline-grid; place-items: center; background: var(--ink); color: #fff; border-radius: 14px; font-size: 14px; padding: 0 8px; }
.kb-col-body { display: grid; gap: 10px; padding: 4px 10px 12px; overflow-y: auto; min-height: 90px; align-content: start; }
.kb-empty { margin: 10px 0; text-align: center; color: #666; font-size: 15px; }
.kb-more { justify-self: center; }
.kc { background: var(--paper); border: 1px solid #d3d3cf; border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; cursor: grab; box-shadow: 0 1px 2px rgba(0,0,0,.08); min-width: 0; }
.kc.is-new { border: 2px solid #d10000; }
.kc.is-cancelled { opacity: .65; }
.kc.is-drag { opacity: .45; }
.kc.is-fresh { animation: kcflash 2.4s ease-out 1; }
@keyframes kcflash { 0% { box-shadow: 0 0 0 4px rgba(15,122,61,.7); background: #e7f6ec; } 100% { box-shadow: 0 1px 2px rgba(0,0,0,.08); background: var(--paper); } }
.kc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kc-open { font: inherit; font-weight: 800; font-size: 15px; color: var(--ink); background: none; border: 0; padding: 2px 0; cursor: pointer; text-decoration: underline; }
.kc-age { font-size: 13px; color: #555; } .kc-age.is-late { color: #b00000; font-weight: 800; }
.kc-name { font-weight: 800; font-size: 17px; overflow-wrap: anywhere; }
.kc-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.kc-tag { font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 12px; background: var(--mist); border: 1px solid #cfcfcb; }
.kc-tag--club { background: #fde8ec; border-color: #e7aab6; color: #8c1226; }
.kc-items { font-size: 14px; color: #444; overflow-wrap: anywhere; }
.kc-note { font-size: 13px; font-weight: 700; color: #8a5300; }
.kc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kc-total { font-size: 18px; font-variant-numeric: tabular-nums; }
.kc-go { font: inherit; font-size: 14px; font-weight: 800; color: #fff; background: var(--ink); border: 0; border-radius: 20px; padding: 6px 12px; cursor: pointer; min-height: 36px; }
.kc-sel { font: inherit; font-size: 14px; padding: 5px 6px; border: 1px solid #b9b9b4; border-radius: 8px; background: #fafafa; color: var(--ink); width: 100%; }
.kc button:focus-visible, .kc select:focus-visible { outline: 3px solid var(--fire); outline-offset: 2px; }
.kb-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.5); }
.kb-scrim[hidden], .kb-panel[hidden] { display: none; }
.kb-panel { position: fixed; top: 0; bottom: 0; left: 0; z-index: 91; width: min(560px, 100vw); background: var(--mist); overflow: auto; padding: 14px 16px 24px; box-shadow: 8px 0 30px rgba(0,0,0,.4); }
.kb-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 20px; }
.kb-panel-links { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.kb-x { font: inherit; font-size: 20px; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--paper); border-radius: 10px; cursor: pointer; }
body.kb-lock { overflow: hidden; }
@media (max-width: 960px) {
  .kb-board { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; scroll-snap-type: x mandatory; }
  .kb-col { scroll-snap-align: center; max-height: none; }
  .kc { cursor: default; }
}

.wa-ico { display: inline-flex; vertical-align: middle; border-radius: 8px; line-height: 0; }
.wa-ico img { display: block; width: 32px; height: 32px; }
.wa-ico:hover img { filter: brightness(.92); }
.wa-ico:focus-visible { outline: 3px solid var(--fire); outline-offset: 2px; }
.o-lines-title { margin: 4px 0 0; font-size: 16px; color: #555; font-weight: 700; }
.kc { cursor: pointer; }
.kc:hover { border-color: #8a8a85; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.kc.is-new:hover { border-color: #d10000; }

.kb-filter { display: flex; flex-wrap: wrap; gap: 8px; flex-basis: 100%; }
@media (min-width: 961px) {
  .kb-board.kb-few { grid-template-columns: repeat(var(--kb-cols), minmax(230px, 1fr)); }
  .kb-board.kb-few[style*="--kb-cols: 1"] { grid-template-columns: minmax(230px, 520px); }
}

.card-note { display: grid; gap: 4px; }
.o-note { flex-basis: 100%; width: 100%; font-size: 14px; font-weight: 700; background: #fff3cd; border-radius: 8px; padding: 4px 8px; margin-top: 4px; overflow-wrap: anywhere; }

.city-warn { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff3cd; border: 2px solid #c98a00; color: #4d3500; font-weight: 700; font-size: 15px; }
.appr { border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-weight: 700; font-size: 15px; background: #fff3cd; border: 2px solid #c98a00; color: #4d3500; display: grid; gap: 8px; }
.appr.is-approved { background: #e3f4e3; border-color: #2d7a2d; color: #1c4d1c; }
.appr.is-declined { background: #f1f1ee; border-color: #888; color: #333; }
.appr-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.appr-btns button, .appr-btns a { font: inherit; font-size: 14px; font-weight: 800; padding: 6px 12px; border-radius: 10px; border: 2px solid #1a1a1a; background: #fff; color: #1a1a1a; cursor: pointer; text-decoration: none; }
.kc-appr { font-size: 12px; font-weight: 800; color: #7a4f00; background: #fff3cd; border-radius: 8px; padding: 2px 8px; display: inline-block; }

.note-sum { background: #fff3cd; border: 2px solid #c98a00; border-radius: 10px; padding: 8px 12px; margin: 10px 0; color: #3d2b00; }
.note-sum h3 { margin: 0 0 4px; }
.note-sum p { margin: 2px 0; font-size: 16px; overflow-wrap: anywhere; }
.kc-note { font-size: 13px; font-weight: 700; color: #7a2e00; background: #fff3cd; border-radius: 6px; padding: 2px 6px; margin-top: 4px; overflow-wrap: anywhere; }

.city-add { display: flex; gap: 8px; }
.city-add input { flex: 1; min-width: 0; }
.city-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.city-chips li { display: inline-flex; align-items: center; gap: 6px; background: #f1f1ee; border: 2px solid #1a1a1a; border-radius: 20px; padding: 2px 4px 2px 12px; font-weight: 700; }
.city-chips button { font: inherit; font-weight: 800; border: 0; background: #1a1a1a; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; }
.addr-list { position: absolute; z-index: 20; inset-inline: 0; top: 100%; margin: 2px 0 0; padding: 4px; list-style: none; background: #fff; color: #1a1a1a; border: 2px solid #1a1a1a; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.addr-list li { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 16px; }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: #1a1a1a; color: #fff; }
.addr-list[hidden] { display: none; }
.addr-verified { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #e3f4e3; border: 2px solid #2d7a2d; color: #1c4d1c; font-weight: 700; font-size: 15px; }
.addr-verified[hidden] { display: none; }
.addr-ok { color: #1c6b1c; font-weight: 800; }
.addr-no { color: #666; }

.days-row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.day-chk { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.day-chk input { width: 20px; height: 20px; }
.when-box { background: #e8f0ff; border: 2px solid #2b5bb8; border-radius: 10px; padding: 8px 12px; margin: 8px 0; font-weight: 800; color: #14306b; }
.kc-when { font-size: 13px; font-weight: 800; color: #14306b; background: #e8f0ff; border-radius: 6px; padding: 2px 6px; margin-top: 4px; display: inline-block; }

.cut-del { font: inherit; font-weight: 800; border: 0; background: #1a1a1a; color: #fff; width: 22px; height: 22px; line-height: 20px; border-radius: 50%; cursor: pointer; margin-inline-start: 4px; padding: 0; }
.cut-add { margin-top: 4px; }

.cut-edit { font: inherit; font-weight: 800; border: 2px solid #1a1a1a; background: #fff; color: #1a1a1a; width: 22px; height: 22px; line-height: 16px; border-radius: 50%; cursor: pointer; margin-inline-start: 4px; padding: 0; }
.cut-modal { border: 3px solid #1a1a1a; border-radius: 14px; padding: 20px; max-width: min(92vw, 460px); width: 100%; background: #fff; color: #1a1a1a; }
.cut-modal::backdrop { background: rgba(0,0,0,.5); }
.cut-modal h2 { margin: 0 0 10px; font-size: 22px; }
.cut-modal label { display: block; font-weight: 700; margin: 10px 0 4px; }
.cut-modal input, .cut-modal select { font: inherit; font-size: 17px; padding: 8px 10px; border: 2px solid #b9b9b4; border-radius: 10px; width: 100%; box-sizing: border-box; background: #fff; color: #1a1a1a; }
.cut-modal ul { margin: 4px 0; padding-inline-start: 22px; max-height: 160px; overflow: auto; }
.cm-warn { background: #fff3cd; border: 2px solid #c98a00; border-radius: 8px; padding: 6px 10px; font-weight: 700; margin: 8px 0 0; }
.cm-err { color: #b00020; font-weight: 700; min-height: 1em; margin: 8px 0 0; }
.cm-btns { display: flex; gap: 10px; margin-top: 10px; }
.cm-btns .btn--danger { background: #b00020; color: #fff; border-color: #b00020; }

/* ---------- עמוד מוצר ---------- */
.thumb-link { display: block; color: inherit; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover, .card-link:focus-visible { text-decoration: underline; }
.crumbs { font-size: 15px; color: #5b5b57; margin-bottom: 16px; }
.crumbs a { color: inherit; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; max-width: 1000px; margin-inline: auto; }
.pd-pic { position: relative; aspect-ratio: 4 / 3; background: var(--mist); border-radius: 16px; overflow: hidden; display: grid; place-items: center; border: 1px solid #dcdcd9; }
.pd-pic > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-pic .ph { width: 40%; aspect-ratio: 1; border: 3px solid var(--ink); border-radius: 50%; background: var(--disc); display: grid; place-items: center; overflow: hidden; }
.pd-pic .ph img { width: 80%; height: auto; }
.pd-info { display: grid; gap: 14px; min-width: 0; }
.pd-desc { margin: 0; font-size: 18px; line-height: 1.5; color: #333; overflow-wrap: anywhere; }
.pd-order { align-self: start; }
.pd-back { color: inherit; font-weight: 700; }
.pd-rel { max-width: 1000px; margin: 40px auto 0; }
.pd-rel h2 { margin: 0 0 12px; font-size: 24px; }
.pd-rel .sg-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 760px) { .pd { grid-template-columns: minmax(0, 1fr); } }
.pages-check label.k-editing { cursor: default; flex-wrap: wrap; border-color: var(--ink); }
.pages-check .k-edit-in { width: min(15em, 100%); height: auto; accent-color: auto; font: inherit; font-weight: 400; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; color: #111; }

.pp-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.pp-list li { display: grid; gap: 4px; padding: 8px 10px; border: 1px solid #d0d0cb; border-radius: 10px; background: var(--mist); }
.pp-list label { margin: 0 !important; }
