/* מועדון לקוחות · העמודים הציבוריים — במותג של המסעדה. ‎--brand = הצבע מהגדרות המועדון,
   ‎--brand-ink = טקסט קריא עליו (מחושב בשרת). רקע חם ובהיר, כמו בעיצוב (מסכים 1-9). */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:#F3EEE6; color:#2A2119; font-family:Heebo,"Assistant",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden}
[hidden]{display:none !important}
.pb{max-width:480px; margin:0 auto; padding:24px 16px calc(28px + env(safe-area-inset-bottom,0px)); display:flex; flex-direction:column; gap:14px; min-height:100vh}
.pb-logo{display:block; max-width:200px; max-height:84px; width:auto; height:auto; margin:6px auto 4px; object-fit:contain}
.pb-logo-txt{text-align:center; font-weight:800; font-size:28px; margin:6px 0 4px; letter-spacing:.01em}
.pb-hello{display:flex; justify-content:space-between; align-items:center; gap:10px; font-weight:600}
.pb-soft{color:#5E4D3F; font-size:14px; margin:4px 0 0}
.pb-center{text-align:center}
.pb-card{background:#FBF8F3; border-radius:16px; padding:16px 18px; border:1px solid rgba(58,44,33,.1)}
.pb-card h1{font-size:22px; margin:0 0 6px; line-height:1.3}
.pb-card h2{font-size:17px; margin:0 0 8px}
.pb-dark{background:var(--brand); color:var(--brand-ink); border-radius:18px; padding:18px; display:flex; flex-direction:column; gap:12px}
.pb-h{font-size:20px; margin:0; line-height:1.3}
.pb-dim{margin:0; opacity:.88; font-size:14px}
.pb-row{display:flex; justify-content:space-between; align-items:center; gap:10px; min-width:0}
.pb-row > *{min-width:0}
.pb-line{border-top:1px solid rgba(58,44,33,.12); padding:10px 0; flex-wrap:wrap}
.pb-card h2 + .pb-line{border-top:0}
.pb-dots{display:flex; flex-wrap:wrap; gap:8px}
.pb-dots i{width:34px; height:34px; border-radius:50%; border:2px dashed currentColor; opacity:.5}
.pb-dots i.on{background:currentColor; border-style:solid; opacity:1}
.pb-code{font-weight:800; font-size:22px; letter-spacing:.06em; color:var(--brand)}
.pb-ok{color:#15803D}
.pb-flash{background:#FBF8F3; border-radius:12px; padding:10px 14px; margin:0; font-weight:600; text-align:center}
.pb-btn{display:flex; align-items:center; justify-content:center; min-height:52px; width:100%; border:0; border-radius:12px; cursor:pointer;
  background:var(--brand); color:var(--brand-ink); font:inherit; font-weight:700; font-size:17px; margin-top:12px}
.pb-btn-quiet{background:transparent; color:#2A2119; border:1px solid rgba(58,44,33,.35); min-height:46px; font-size:15px}
.pb-btn:focus-visible,.pb-link:focus-visible{outline:3px solid #2A2119; outline-offset:2px}
.pb-link{background:none; border:0; padding:6px 0; font:inherit; font-size:15px; color:#2A2119; text-decoration:underline; cursor:pointer; min-height:36px}
.pb-consent{flex-basis:100%; background:#F3EEE6; border-radius:12px; padding:12px; margin-top:6px; font-size:14px}
.pb-consent p{margin:0 0 8px}
.pb-check,.pb-radio{display:flex; gap:10px; align-items:center; min-height:44px; cursor:pointer}
.pb-check input,.pb-radio input{width:20px; height:20px; accent-color:var(--brand); flex:none}
.pb-radio{background:#F3EEE6; border-radius:12px; padding:8px 12px; margin-top:8px}
.pb-unsub{margin-top:8px}
.pb-leave{text-align:center; margin-top:8px}
.pb-foot{margin-top:auto; text-align:center; font-size:12px; color:#5E4D3F; padding-top:14px}
@media (prefers-color-scheme:dark){
  body{background:#1A1410; color:#EFE6D6}
  .pb-card,.pb-flash{background:#241C16; border-color:rgba(239,230,214,.12)}
  .pb-soft,.pb-foot{color:#C9B9A6}
  .pb-line{border-top-color:rgba(239,230,214,.14)}
  .pb-consent,.pb-radio{background:#1A1410}
  .pb-link,.pb-btn-quiet{color:#EFE6D6}
  .pb-btn-quiet{border-color:rgba(239,230,214,.35)}
  .pb-code{color:#EFE6D6}
  .pb-ok{color:#4ADE80}
}

/* 18/10: משפט תודה, מתנה לביקור הבא, העלאת חשבונית, השלמת פרטים */
.pb-thanks{margin:0; font-size:17px; font-style:italic; text-align:center; color:#5E4D3F; line-height:1.5}
.pb-perk{display:flex; flex-direction:column; background:rgba(255,255,255,.14); border-radius:12px; padding:10px 12px}
.pb-perk small{font-size:13px; opacity:.9}
.pb-perk b{font-size:17px}
.pb-cta{display:flex; flex-direction:column; gap:2px; text-decoration:none; color:inherit; border:2px solid var(--brand)}
.pb-file{cursor:pointer}
.pb-form h2{margin:18px 0 8px}
.pb-form input,.pb-form select{width:100%; min-height:46px; padding:9px 11px; font:inherit; font-size:16px; color:inherit; background:#fff;
  border:1px solid rgba(58,44,33,.3); border-radius:10px}
.pb-2{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:8px}
.pb-3{display:grid; grid-template-columns:1fr 1.4fr 1.1fr; gap:8px}
.pb-fam{display:flex; flex-direction:column; gap:8px; padding:10px 0; border-top:1px solid rgba(58,44,33,.12)}
.pb-fam:first-of-type{border-top:0}
@media (prefers-color-scheme:dark){
  .pb-thanks{color:#C9B9A6}
  .pb-form input,.pb-form select{background:#1A1410; border-color:rgba(239,230,214,.25)}
}

/* הטבות שמומשו — היסטוריה בכרטיס (27/10) */
.pb-used>summary{display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; list-style:none}
.pb-used>summary::-webkit-details-marker{display:none}
.pb-used>summary h2{margin:0}
.pb-used>summary::after{content:'+'; font-weight:700; margin-inline-start:8px}
.pb-used[open]>summary::after{content:'–'}
.pb-used[open]>summary{margin-bottom:8px}
.pb-code.is-used{text-decoration:line-through; opacity:.55}
/* „כמעט בפנים" בכרטיס: לאן נשלח מייל האישור (28/10) */
.pb-mail{font-weight:700; background:#F3EEE6; border-radius:12px; padding:12px; margin:12px 0; overflow-wrap:anywhere}
@media (prefers-color-scheme:dark){ .pb-mail{background:#1A1410} }
/* השאלון בדף „עוד קצת עליך" (28/10: עבר מההרשמה לכרטיס) */
.pb-q{border:0; margin:16px 0 0; padding:0; min-width:0}
.pb-q legend{font-weight:700; padding:0; margin-bottom:8px}
.pb-chips{display:flex; flex-wrap:wrap; gap:8px}
.pb-chip{position:relative; cursor:pointer}
.pb-chip input{position:absolute; opacity:0; inset:0; margin:0}
.pb-chip span{display:inline-flex; align-items:center; min-height:42px; padding:0 14px; border-radius:999px; border:1px solid rgba(58,44,33,.3); background:#fff; font-weight:600; font-size:15px}
.pb-chip input:checked + span{background:var(--brand); color:var(--brand-ink); border-color:var(--brand)}
.pb-chip input:focus-visible + span{outline:3px solid #2A2119; outline-offset:2px}
@media (prefers-color-scheme:dark){ .pb-chip span{background:#1A1410; border-color:rgba(239,230,214,.3)} .pb-chip input:focus-visible + span{outline-color:#EFE6D6} }
