:root {
  --rose: #c2185b;
  --rose-dark: #8e0f42;
  --rose-soft: #fde7ef;
  --cream: #fff8f5;
  --ink: #2b1a22;
  --muted: #7a6670;
  --line: #f0d7e0;
  --ok: #1b7a43;
  --warn: #a35b00;
  --err: #b00020;
  --wa: #128c4b;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
a { color: var(--rose); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.8rem; font-weight: 800; }
h2 { font-size: 1.3rem; }
small { color: var(--muted); font-weight: 400; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 20px; padding-bottom: 40px; }
.narrow { max-width: 420px; }
.center { text-align: center; }
.hidden { display: none !important; }
.muted { color: var(--muted); font-size: .9rem; }
.hint { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.empty { color: var(--muted); padding: 20px 0; }

/* כותרת עליונה */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 16px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand .logo { height: 56px; width: auto; display: block; }
.admin-top .brand .logo { height: 45px; }
.adm-tag { color: var(--muted); font-size: .85rem; }
.foot-logo { width: 200px; height: auto; mix-blend-mode: multiply; }
.narrow img { mix-blend-mode: multiply; }
.brand b { display: block; font-size: 1.1rem; font-weight: 800; color: var(--rose); }
.brand small { display: block; font-size: .78rem; margin-top: -3px; }

/* כפתורים */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; background: var(--rose); color: #fff; font: inherit; font-weight: 700; padding: 10px 20px; text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--rose-dark); }
.btn-small { padding: 6px 14px; min-height: 36px; font-size: .92rem; }
.btn-big { width: 100%; padding: 14px 20px; font-size: 1.12rem; min-height: 52px; }
.btn-ghost { background: #fff; color: var(--rose); border: 1.5px solid var(--rose); }
.btn-ghost:hover { background: var(--rose-soft); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #0d6b39; }
.btn[disabled] { opacity: .6; cursor: wait; }
.linkbtn { background: none; border: 0; color: var(--rose); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.inline { display: inline; }

/* hero */
.hero { background: linear-gradient(160deg, #fde7ef 0%, #fff8f5 70%); padding: 30px 0 26px; text-align: center; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: 2.2rem; color: var(--rose); }
.lead { font-size: 1.12rem; margin: 0 0 14px; }
.badge { display: inline-block; background: var(--rose); color: #fff; font-weight: 700; padding: 6px 16px; border-radius: 999px; margin: 0 0 12px; font-size: .95rem; }
.perks { list-style: none; padding: 0; margin: 10px auto 0; display: inline-grid; gap: 4px; text-align: right; font-weight: 500; }
.search { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; }
.search input { flex: 1; min-width: 0; }
.count { margin: 12px 0 0; color: var(--muted); }
.count b { color: var(--rose); font-size: 1.2rem; }

/* קטגוריות */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.cat:hover { border-color: var(--rose); }
.cat span { color: var(--muted); font-size: .85rem; }
.cta { text-align: center; padding: 30px 16px; }

/* כרטיסי עסק */
.cards { display: grid; gap: 12px; }
.card { display: flex; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); align-items: flex-start; }
.card:hover { border-color: var(--rose); }
.card img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; flex: none; background: #fff; border: 1px solid var(--line); }
.card-body { min-width: 0; }
.card h3 { font-size: 1.05rem; margin: 0 0 2px; overflow-wrap: anywhere; }
.card p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.city { font-size: .85rem; color: var(--muted); }
.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }

/* עמוד עסק */
.biz-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.biz-head img { width: 110px; height: 110px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); background: #fff; flex: none; }
.biz-head h1 { overflow-wrap: anywhere; margin-bottom: 6px; }
.tag { display: inline-block; background: var(--rose-soft); color: var(--rose-dark); padding: 2px 12px; border-radius: 999px; font-size: .88rem; text-decoration: none; }
.desc { font-size: 1.05rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; overflow-wrap: anywhere; }
.facts { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; overflow-wrap: anywhere; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share { margin-top: 18px; }

/* טופס */
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px; margin: 0 0 14px; min-width: 0; }
.form legend { font-weight: 800; font-size: 1.08rem; padding: 0 6px; color: var(--rose-dark); }
.f { display: block; font-weight: 500; margin-bottom: 12px; flex: 1; min-width: 0; }
input[type=text], input[type=search], input[type=email], input:not([type]), input[type=password], select, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #e3c6d2; border-radius: 12px; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(194, 24, 91, .15); }
input[type=file] { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: .95rem; }
textarea { resize: vertical; min-height: 96px; }
.counter { display: block; text-align: left; font-size: .82rem; color: var(--muted); font-weight: 400; }
.counter.bad { color: var(--err); }
.row { display: flex; gap: 10px; align-items: flex-end; }
.show { display: flex; align-items: center; gap: 4px; flex: none; font-size: .82rem; color: var(--muted); margin-bottom: 22px; white-space: nowrap; cursor: pointer; }
.show input, .terms input, .chip input { width: 20px; height: 20px; accent-color: var(--rose); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; }
.chip { cursor: pointer; position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; background: #fff; }
.chip input:checked + span { background: var(--rose); color: #fff; border-color: var(--rose); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(194, 24, 91, .25); }
.terms { display: flex; gap: 10px; align-items: center; margin: 6px 0 16px; font-weight: 500; }
.preview { width: 110px; height: 110px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.errors { background: #fff0f2; border: 1.5px solid var(--err); color: var(--err); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; }
.errors ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ok { color: var(--ok); font-weight: 700; }
.warn { color: var(--warn); font-weight: 700; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form { position: relative; }

/* תנאים */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.2em; color: var(--rose-dark); font-size: 1.12rem; }

.foot { text-align: center; color: var(--muted); font-size: .88rem; padding: 24px 16px 34px; border-top: 1px solid var(--line); background: #fff; }
.foot p { margin: 4px 0; }

/* ניהול */
.admin-top { flex-wrap: wrap; }
.admin-top nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .92rem; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stats span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.adm-biz { display: flex; gap: 14px; align-items: flex-start; }
.adm-biz img { width: 90px; height: 90px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; flex: none; }
.adm-info { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kv { border-collapse: collapse; font-size: .92rem; width: 100%; }
.kv th { text-align: right; color: var(--muted); font-weight: 500; padding: 3px 0 3px 10px; white-space: nowrap; vertical-align: top; }
.kv td { padding: 3px 4px; }
.st { font-size: .78rem; padding: 2px 8px; border-radius: 999px; vertical-align: middle; background: #eee; }
.st-pending { background: #fff3cd; color: #7a5600; }
.st-approved { background: #e3f6ea; color: var(--ok); }
.st-rejected { background: #fde2e4; color: var(--err); }
.st-hidden { background: #eee; color: #555; }
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.grid { border-collapse: collapse; width: 100%; font-size: .92rem; }
.grid th, .grid td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.grid td input { min-height: 36px; padding: 6px 8px; display: inline-block; width: 190px; margin: 0; }
.grid td select { display: inline-block; width: auto; min-height: 36px; padding: 4px 8px; margin: 0; }
.dim { opacity: .5; }
.post-card.dim { opacity: .65; }
.post-head h3 { margin-bottom: 2px; }
.post-grid { display: grid; gap: 12px; margin: 10px 0; }
.post-grid textarea { font-size: .92rem; }
.post-imgs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.post-imgs figure { margin: 0; width: 150px; }
.post-imgs img { width: 150px; height: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: block; }
.post-imgs figcaption { font-size: .85rem; text-align: center; margin-top: 4px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: 2fr 1fr; } }

@media (min-width: 640px) {
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.8rem; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-big { width: auto; min-width: 260px; }
  .form { max-width: 640px; margin: 0 auto; }
}
@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
