/* ===== אתר הלקוחות: סגנון "דוכן טורטיות" — צבעי סלסה וחרדל, קווי דיו ועיצוב שובב ===== */
body.c {
  background:
    radial-gradient(circle, #f2d9c2 1.3px, transparent 1.5px) 0 0 / 22px 22px,
    var(--bg);
}
.center { text-align: center; }
.page { max-width: 640px; margin: 0 auto; padding: 12px 16px 40px; }
.page.narrow { max-width: 460px; }
.page h2 { font-size: 22px; margin: 18px 0 12px; }
.back { margin-top: 4px; text-decoration: none; }
.mt { margin-top: 18px; }

/* כפתורים "בולטים" עם צל של דיו */
body.c .btn {
  border: 2.5px solid var(--ink); border-radius: 16px;
  box-shadow: -4px 4px 0 var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .2px;
  transition: transform .08s, box-shadow .08s, background .15s;
}
body.c .btn:hover { background: var(--brand-dark); }
body.c .btn:active { transform: translate(-3px, 3px); box-shadow: -1px 1px 0 var(--ink); }
body.c .btn:disabled { background: #e3d3c6; color: #8b7a70; box-shadow: none; border-color: #c9b5a6; }
body.c .btn.ghost { background: #fff; color: var(--ink); }
body.c .btn.ghost:hover { background: var(--mustard-soft); }
body.c .btn.sm { font-size: 15px; min-height: 40px; box-shadow: -3px 3px 0 var(--ink); }
body.c .card { border: 2.5px solid var(--ink); box-shadow: -5px 5px 0 var(--ink); border-radius: 20px; }
body.c .field input, body.c .field textarea, body.c .field select { border: 2px solid #d9c2b1; }
body.c .field input:focus, body.c .field textarea:focus, body.c .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--mustard); }

/* סרגל עליון עם שוליים משוננים */
body.c .topbar { background: var(--surface); border-bottom: 0; backdrop-filter: none; }
body.c .topbar::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -11px; height: 12px; pointer-events: none;
  background:
    linear-gradient(135deg, var(--surface) 33%, transparent 33%) 0 0 / 16px 12px,
    linear-gradient(225deg, var(--surface) 33%, transparent 33%) 0 0 / 16px 12px;
  filter: drop-shadow(0 2px 0 var(--ink));
}
body.c .chip { border: 2px solid currentColor; }

.banner { margin: 22px 16px 0; padding: 14px 16px; border-radius: 16px; font-weight: 600; text-align: center; border: 2.5px solid var(--ink); box-shadow: -4px 4px 0 var(--ink); }
.banner.busy { background: var(--mustard); color: var(--ink); }
.banner.closed { background: #efe6df; color: var(--ink); }

/* ===== הירו ===== */
.hero {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 900px; margin: 26px 16px 4px; padding: 22px 20px; overflow: hidden;
  background: var(--mustard); border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: -6px 6px 0 var(--ink);
}
@media (min-width: 932px) { .hero { margin-inline: auto; } }
.hero::before { /* גל של סלסה ברקע */
  content: ''; position: absolute; inset-inline-start: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: #ffb21e; z-index: 0;
}
.hero-text { position: relative; z-index: 1; min-width: 0; }
.kicker {
  display: inline-block; padding: 4px 12px; margin-bottom: 8px; border-radius: 999px;
  background: var(--ink); color: var(--mustard); font-weight: 700; font-size: 14px; transform: rotate(-2deg);
}
.hero h1 { margin: 0; font-size: clamp(30px, 8.5vw, 46px); line-height: 1.02; font-weight: 700; color: var(--ink); }
.hero h1 .hl { color: var(--brand); }
.hero p { margin: 10px 0 0; font-size: 15px; max-width: 34ch; color: #4a3328; }
.hero-art { position: relative; z-index: 1; flex: none; width: 118px; height: 118px; }
.hero-wrap {
  display: grid; place-items: center; width: 100%; height: 100%; font-size: 78px;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 50%; box-shadow: -4px 4px 0 var(--ink);
  animation: wobble 4s ease-in-out infinite;
}
.sticker {
  position: absolute; padding: 5px 9px; border: 2px solid var(--ink); border-radius: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1.15; text-align: center; white-space: nowrap;
}
.sticker.s1 { top: -12px; inset-inline-end: -14px; background: var(--brand); color: #fff; transform: rotate(9deg); }
.sticker.s2 { bottom: -8px; inset-inline-start: -16px; background: #fff; color: var(--ink); transform: rotate(-10deg); }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) scale(1.04); } }

/* ===== קטגוריות ===== */
.cats {
  position: sticky; top: 64px; z-index: 10; display: flex; gap: 10px; overflow-x: auto;
  padding: 16px 16px 12px; scrollbar-width: none; max-width: 900px; margin: 0 auto;
  background: linear-gradient(var(--bg) 80%, transparent);
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: none; padding: 8px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--ink); font-size: 16px;
  transition: transform .1s;
}
.cats a.active { background: var(--brand); color: #fff; box-shadow: -3px 3px 0 var(--ink); transform: translateY(-1px); }

/* ===== תפריט ===== */
.menu { padding: 0 16px; max-width: 900px; margin: 0 auto; }
.menu section { scroll-margin-top: 130px; }
.menu h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; margin: 22px 0 12px; }
.menu h2::after { content: ''; flex: 1; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .25; }
.items { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.item {
  position: relative; display: flex; gap: 14px; align-items: center; width: 100%; padding: 14px; text-align: start; cursor: pointer;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: -4px 4px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.item:hover { transform: translate(2px, -2px); box-shadow: -6px 6px 0 var(--ink); }
.item:active { transform: translate(-2px, 2px); box-shadow: -2px 2px 0 var(--ink); }
.item:hover .item-art { transform: rotate(-10deg) scale(1.06); }
.item-body { flex: 1; min-width: 0; }
.item-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.2; }
.item-desc { color: var(--muted); font-size: 14px; margin: 3px 0 8px; }
.item-price {
  display: inline-block; padding: 2px 10px; border-radius: 10px; background: var(--mustard); border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; transform: rotate(-2deg);
}
.item-art {
  flex: none; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-size: 42px;
  background: var(--brand-soft); border: 2.5px solid var(--ink); transition: transform .2s;
}
.item-art.sides { background: var(--mustard-soft); }
.item-art.drinks { background: #dff1ff; }
.in-cart { display: inline-block; margin-inline-start: 6px; background: var(--brand); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 13px; font-family: var(--font-body); vertical-align: middle; }
.cart-spacer { height: 120px; }

/* ===== סרגל סל ===== */
.cartbar {
  position: fixed; z-index: 30; inset-inline: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 62px; padding: 10px 18px; border: 2.5px solid var(--ink); border-radius: 20px; cursor: pointer;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 18px;
  box-shadow: -4px 4px 0 var(--brand);
}
.cart-count { background: var(--mustard); color: var(--ink); border-radius: 12px; min-width: 34px; padding: 2px 8px; font-weight: 700; }
#cartTotal { color: var(--mustard); }
.cartbar.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 30% { transform: scale(1.06) rotate(-1.5deg); } 60% { transform: scale(.98) rotate(1deg); } }

/* ===== חלון תחתון ===== */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgb(43 26 18 / 55%); animation: fade .2s; }
.sheet-panel {
  position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: #fff; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 26px 26px 0 0;
  padding: 26px 18px calc(18px + env(safe-area-inset-bottom));
  animation: up .25s cubic-bezier(.2, 1.2, .4, 1);
}
.sheet-panel::before { /* ידית */
  content: ''; position: absolute; top: 9px; inset-inline: 0; margin: auto; width: 46px; height: 5px; border-radius: 5px; background: #e2cfc1;
}
@media (min-width: 700px) {
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 26px; border-bottom: 2.5px solid var(--ink); box-shadow: -6px 6px 0 var(--ink); }
  .sheet-panel::before { display: none; }
}
@keyframes up { from { transform: translateY(60px); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }
.sheet-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mustard); font-size: 18px; cursor: pointer; }
.sheet h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 26px; font-weight: 700; padding-inline-end: 50px; }
fieldset.opt-group { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.opt-group h4 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.opt-group h4 small { color: var(--muted); font-weight: 500; font-family: var(--font-body); font-size: 13px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1.5px dashed #ecdccf; cursor: pointer; border-radius: 10px; }
.opt:has(input:checked) { background: var(--mustard-soft); }
.opt input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.opt span { flex: 1; }
.opt em { font-style: normal; color: var(--brand-dark); font-weight: 600; font-size: 15px; }
.sheet-foot { display: flex; gap: 12px; align-items: center; margin-top: 20px; position: sticky; bottom: 0; background: #fff; padding-top: 12px; }
.stepper { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 14px; background: #fff; }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--brand-dark); font-weight: 700; }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; font-family: var(--font-display); font-size: 18px; }
.sheet-foot .btn { flex: 1; }

/* ===== סל וסיכום ===== */
.cart-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1.5px dashed #ecdccf; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .opts { color: var(--muted); font-size: 14px; }
.cart-line .price { font-weight: 700; white-space: nowrap; }
.stepper.sm button { width: 36px; height: 36px; font-size: 18px; }
.totals { margin-top: 12px; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; }
.totals .discount { color: #2f8f46; font-weight: 600; }
.totals .grand { font-family: var(--font-display); font-weight: 700; font-size: 22px; padding-top: 6px; }

.summary { padding: 6px 16px 14px; }
.form-card { padding: 20px 18px 22px; margin-top: 18px; }
.form-card h2:first-child { margin-top: 0; }
.pay-note { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 16px; border-radius: 16px; background: var(--mustard-soft); border: 2px dashed var(--ink); font-size: 26px; }
.pay-note b { display: block; font-size: 16px; }
.pay-note small { display: block; color: var(--muted); font-size: 14px; }

/* קופון */
.coupon-box { margin-top: 18px; padding: 12px 14px; }
body.c .coupon-box { border-style: dashed; box-shadow: none; background: #fffdf7; }
.coupon-row { display: flex; align-items: center; gap: 10px; }
.coupon-ico { font-size: 24px; }
.coupon-row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 2px solid #d9c2b1; border-radius: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase; background: #fff;
}
.coupon-row input::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; font-size: 15px; }
.coupon-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--mustard); }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 2px; font-weight: 500; color: #2f6b2f; }
.coupon-box .error { margin: 10px 0 0; }

/* ===== תשלום וסיום ===== */
.step-icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 10px; font-size: 32px; background: var(--mustard); border: 2.5px solid var(--ink); }
.step-icon.done { background: #c8f0cf; color: #1d6b31; font-weight: 900; font-size: 36px; animation: pop .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { from { transform: scale(.3); } }
.test-box { margin: 12px 0; padding: 10px 14px; border-radius: 12px; border: 2px dashed #9aa6e6; background: #f3f5ff; color: #3b4cc0; font-size: 15px; }
.pay-total { font-size: 42px; font-weight: 700; margin: 4px 0; }
.pay-saving { margin: 0 0 8px; color: #2f8f46; font-weight: 600; }
.order-big { font-size: 58px; font-weight: 700; color: var(--brand); margin: 0 0 8px; }
#donePay { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.done-saving { font-weight: 600; color: #2f8f46; }
.confetti { display: flex; justify-content: center; gap: 14px; height: 30px; font-size: 24px; }
.confetti span { animation: fall 1.4s ease-out both; }
.confetti span:nth-child(2) { animation-delay: .1s; }
.confetti span:nth-child(3) { animation-delay: .2s; }
.confetti span:nth-child(4) { animation-delay: .05s; }
.confetti span:nth-child(5) { animation-delay: .15s; }
@keyframes fall { from { transform: translateY(-40px) rotate(-40deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-wrap, .cartbar.bump, .confetti span, .step-icon.done { animation: none; }
}
@media (max-width: 380px) {
  .hero-art { width: 92px; height: 92px; }
  .hero-wrap { font-size: 58px; }
}
.banner.unavailable { background: #fde4e4; color: var(--ink); }
.hidden.kicker, #bizTagline.hidden { display: none !important; }
