/* חנות ההזמנות (index.html). דף ההצטרפות נשאר על style.css */
*{box-sizing:border-box;margin:0;padding:0}
:root{--navy:#141b36;--gold:#ffd04d;--gold-d:#e0a800;--ink:#1a2038;--mut:#6a7186;--line:#e3e5ec;--red:#d81f2a;--green:#1f8a4c;
 --disp:'Suez One','Frank Ruhl Libre',Georgia,serif;--body:'Assistant','Segoe UI',Arial,sans-serif}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--body);color:var(--ink);background:#fff;line-height:1.5;font-size:17px}
.sec{max-width:520px;margin:0 auto;padding-left:20px;padding-right:20px}

/* פתיחה: כהה, עם האיור מהספר */
.hero{position:relative;background:var(--navy);color:#fff;text-align:center;overflow:hidden;padding:34px 0 40px}
.hero::before{content:"";position:absolute;left:0;right:0;top:0;height:560px;background:url(images/ninjas.jpg) center 30%/cover;opacity:.55;
 -webkit-mask-image:linear-gradient(180deg,#000 0,#000 45%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 45%,transparent 100%)}
.hero>*{position:relative}
.kicker{font-size:15px;font-weight:700;letter-spacing:2px;color:var(--gold)}
h1{margin-top:12px;font-family:var(--disp);font-weight:400;line-height:1.02}
h1 em{display:block;font-style:normal;font-size:clamp(46px,14vw,66px);text-shadow:0 3px 20px rgba(0,0,0,.45)}
h1 span{display:block;margin-top:6px;font-size:clamp(24px,7vw,32px);color:var(--gold);text-shadow:0 2px 12px rgba(0,0,0,.5)}
.sub{margin:14px auto 0;max-width:340px;font-size:19px;color:#e6e9f5;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.stage{position:relative;margin:28px auto 0;width:clamp(210px,60vw,270px)}
.stage .cov{display:block;width:100%;aspect-ratio:1080/1600;border-radius:3px 9px 9px 3px;overflow:hidden;box-shadow:0 28px 46px -12px rgba(0,0,0,.75);transform:rotate(-2.5deg);position:relative}
.stage .cov img{width:100%;height:100%;object-fit:cover;display:block}
.stage .cov::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.25),rgba(0,0,0,0) 4%,rgba(255,255,255,.2) 5.5%,rgba(0,0,0,0) 8%)}
.burst{position:absolute;z-index:2;top:-16px;right:-26px;width:80px;height:80px;background:var(--red);color:#fff;font-family:var(--disp);font-size:22px;display:flex;align-items:center;justify-content:center;transform:rotate(10deg);clip-path:polygon(50% 0,60% 14%,76% 6%,80% 22%,96% 24%,90% 40%,100% 52%,88% 62%,92% 78%,76% 80%,70% 96%,56% 86%,44% 100%,36% 84%,20% 90%,18% 74%,4% 68%,12% 52%,0 40%,14% 30%,10% 14%,28% 16%,34% 2%)}
.buy{margin-top:34px}
.buy .pr{font-family:var(--disp);font-size:58px;line-height:1;color:var(--gold)}
.buy .pr small{font-family:var(--body);font-weight:700;font-size:20px;color:#fff;margin-right:8px}
.buy p{margin-top:6px;font-size:16px;color:#c9cee3}
.cta{display:block;margin:18px auto 0;max-width:360px;background:var(--gold);color:var(--navy);text-decoration:none;font-family:var(--disp);font-size:24px;border-radius:50px;padding:14px;box-shadow:0 5px 0 var(--gold-d)}
.cta:active{transform:translateY(3px);box-shadow:0 2px 0 var(--gold-d)}

/* שלבים: שורה פשוטה, בלי קופסאות */
.how{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:34px;padding-bottom:6px;text-align:center}
.how div{font-size:15.5px;font-weight:700;line-height:1.3;color:var(--ink)}
.how i{display:block;font-family:var(--disp);font-style:normal;font-size:38px;line-height:1;color:var(--navy);margin-bottom:4px}
.how i::after{content:"";display:block;width:26px;height:3px;background:var(--gold);margin:6px auto 0;border-radius:2px}

/* טופס: דף לבן פתוח */
.order{padding-top:30px;padding-bottom:10px}
.order h2.t{font-family:var(--disp);font-weight:400;font-size:30px;text-align:center;color:var(--navy)}
.order .ln{width:44px;height:3px;background:var(--gold);margin:8px auto 22px;border-radius:2px}
.deadline{display:none}
.steps{display:flex;justify-content:center;gap:18px;font-size:14px;font-weight:700;margin-bottom:6px;color:#9aa0b4}
.steps span.on{color:var(--navy);box-shadow:0 2px 0 var(--gold)}
label{display:block;font-weight:700;font-size:16px;margin:22px 0 7px;color:var(--navy)}
label small{font-weight:400;color:var(--mut)}
input,textarea{width:100%;font:inherit;font-size:18px;color:var(--ink);background:#fff;border:1px solid #c9cdd9;border-radius:10px;padding:13px 14px;outline:none;transition:border-color .15s,box-shadow .15s}
input:focus,textarea:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(20,27,54,.1)}
textarea{min-height:74px;resize:vertical}
.pts{font-size:15px;color:var(--mut);margin:-3px 0 9px}
.pts b{color:var(--ink);font-weight:700}
.pts b:after{content:" "}
.shop{display:none}

.combo{position:relative}
.combo input[type=search]{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a7186' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 14px center;background-size:21px;padding-left:46px}
.plist{margin-top:8px;max-height:236px;overflow-y:auto;border:1px solid #c9cdd9;border-radius:10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b3b8c8 #f1f2f6}
.plist::-webkit-scrollbar{width:7px}.plist::-webkit-scrollbar-thumb{background:#b3b8c8;border-radius:6px}
.opt{display:block;width:100%;text-align:right;font:inherit;font-size:18px;color:var(--ink);background:#fff;border:0;border-bottom:1px solid #eef0f5;padding:0 14px;height:52px;cursor:pointer}
.opt:last-child{border-bottom:0}
.opt:hover,.opt:focus{background:#f6f7fb;outline:none}
.opt.none{color:var(--mut);font-weight:700}
.nores{padding:14px 14px 4px;color:var(--mut);font-size:16px}
.chosen{display:none;align-items:center;gap:8px;flex-wrap:wrap;border:1px solid var(--navy);border-radius:10px;padding:12px 14px;font-size:18px}
.chosen .ck{color:var(--green);font-weight:900;font-size:21px}
.chosen .chg{margin-right:auto;font:inherit;font-size:15px;font-weight:700;color:var(--navy);background:none;border:0;border-bottom:1px solid var(--navy);padding:0 2px;cursor:pointer}
.sugg{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 14px 14px}
.sugg span{font-size:15px;color:var(--mut);font-weight:700}
.sugg button{font:inherit;font-size:17px;font-weight:700;color:var(--navy);background:#fff;border:1px solid var(--navy);border-radius:20px;padding:5px 14px;cursor:pointer}
.invite{display:flex;flex-direction:column;gap:6px;padding:16px 14px;border-top:1px solid var(--line)}
.invite b{font-family:var(--disp);font-weight:400;font-size:20px;color:var(--navy)}
.invite span{font-size:16px;color:var(--mut)}
.invite a.wa{display:block;margin-top:6px;background:#1fa855;color:#fff;text-decoration:none;font-weight:800;font-size:17px;text-align:center;border-radius:10px;padding:12px}
.plist.free{max-height:none;overflow:visible}

.qty{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px auto 0;width:max-content}
.qty button{width:48px;height:48px;border-radius:50%;border:1px solid #c9cdd9;background:#fff;color:var(--navy);font-size:26px;font-weight:700;cursor:pointer}
.qty button:active{background:#f1f2f6}
.qty output{font-family:var(--disp);font-size:32px;min-width:56px;text-align:center}

.sum{display:flex;justify-content:space-between;align-items:baseline;margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:18px;font-weight:700}
.sum b{font-family:var(--disp);font-weight:400;font-size:34px;color:var(--navy);white-space:nowrap}
.err{color:#b3121c;font-size:15px;margin-top:10px;display:none;font-weight:700}
.go{display:block;width:100%;margin-top:18px;border:0;border-radius:50px;background:var(--gold);color:var(--navy);font-family:var(--disp);font-size:24px;padding:15px;cursor:pointer;box-shadow:0 5px 0 var(--gold-d);text-align:center;text-decoration:none}
.go:active{transform:translateY(3px);box-shadow:0 2px 0 var(--gold-d)}
.go[disabled]{opacity:.6}
.go.done-btn{background:var(--green);color:#fff;box-shadow:0 5px 0 #146636;margin-top:24px}
.hold{font-size:14.5px;color:var(--mut);text-align:center;margin-top:14px}
.demo{color:#b3121c;border:1px dashed #b3121c;border-radius:10px;padding:8px 12px;margin-top:14px;font-size:14px;text-align:center;display:none}

/* שלב תשלום */
.sumbox{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 2px;margin:14px 0;font-size:18px;line-height:1.8}
.sumbox b{color:var(--navy)}
.how2{margin:14px 0;font-size:16.5px;line-height:1.55}
.how2 ol{margin:8px 22px 0 0}.how2 li{margin-bottom:5px}
.bitnote{margin-top:10px;font-size:15px;color:var(--mut)}
a.pay{display:flex;align-items:center;gap:14px;margin-top:12px;border-radius:14px;padding:12px 16px;text-decoration:none}
a.pay:active{transform:translateY(2px)}
a.pay .lg{flex:none;display:block;border-radius:12px}
a.pay .lg.wide{border-radius:0;height:33px;width:auto}
a.pay .tx{flex:1;display:flex;flex-direction:column;line-height:1.2}
a.pay .tx b{font-size:22px;font-weight:800}
a.pay .tx small{font-size:14px;opacity:.85;margin-top:2px}
a.pay .ar{font-size:34px;font-weight:300;opacity:.8}
a.pay.bit{background:#00353b;color:#fff}
a.pay.bit .tx b{color:#3be3f5}
a.pay.box{background:#fff;color:#0d2a44;border:2px solid #29a8ee;padding:10px 16px}
.done{display:none;text-align:center;padding:10px 4px}
.done .ok{width:70px;height:70px;border-radius:50%;background:var(--green);margin:0 auto 12px;display:flex;align-items:center;justify-content:center}
.done .ok svg{width:38px;height:38px;stroke:#fff;fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.done h2{font-family:var(--disp);font-weight:400;font-size:30px;color:var(--navy)}
.done p{font-size:18px;line-height:1.5;margin-top:8px;color:var(--mut)}
.closed{display:none;text-align:center;padding:14px 6px}.closed h2{font-family:var(--disp);font-weight:400;font-size:28px}.closed p{margin-top:8px;font-size:18px;color:var(--mut)}

.foot{background:var(--navy);color:#aab1cc;text-align:center;font-size:14.5px;padding:22px 20px;margin-top:40px}

/* בחירה איפה שילמו */
.who{margin-top:22px;text-align:center}
.who .wt{font-weight:800;font-size:17px;color:var(--navy);margin-bottom:10px}
.who .wr{display:flex;gap:12px;justify-content:center}
.chip{flex:1;max-width:210px;margin:0;display:block;cursor:pointer}
.chip input{position:absolute;opacity:0;width:1px;height:1px;padding:0;border:0}
.chip span{display:block;padding:13px 8px;border:2px solid #c9cdd9;border-radius:14px;font-weight:800;font-size:19px;color:var(--navy);background:#fff}
.chip input:checked+span{border-color:var(--navy);background:var(--navy);color:#fff}
.chip input:focus-visible+span{box-shadow:0 0 0 3px rgba(20,27,54,.25)}
#paiderr{display:none;text-align:center}
.who+.go.done-btn{margin-top:16px}
/* ספרים נוספים מהסדרה: כריכות קטנות שמובילות לדף של כל ספר */
.series{padding-top:34px;padding-bottom:30px}
.series h2.t{font-family:var(--disp);font-weight:400;font-size:28px;text-align:center;color:var(--navy)}
.series .ln{width:44px;height:3px;background:var(--gold);margin:8px auto 20px;border-radius:2px}
.sgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:end}
.sb{display:block;text-align:center;text-decoration:none;color:var(--ink)}
.sb img{width:100%;height:auto;border-radius:4px;box-shadow:0 6px 16px rgba(0,0,0,.28);display:block;margin-bottom:8px;transition:transform .15s}
.sb:active img,.sb:hover img{transform:translateY(-3px)}
.sb small{display:block;font-size:12.5px;color:var(--mut);line-height:1.2}
.sb b{display:block;font-size:15px;line-height:1.2;margin-top:2px;color:var(--navy)}
.sn{text-align:center;color:var(--mut);font-size:14px;margin-top:14px}
/* דף ספר */
.bkhero{background:var(--navy);color:#fff;padding:18px 0 30px}
.bkhero .back{display:inline-block;color:#c9cee3;font-size:14px;text-decoration:none;margin-bottom:16px}
.bkrow{display:flex;gap:18px;align-items:center}
.bkrow img{width:42%;max-width:190px;height:auto;border-radius:4px;box-shadow:0 18px 30px -8px rgba(0,0,0,.7);flex:none}
.bkt small{display:block;font-size:15px;color:var(--gold);font-weight:700}
.bkt h1{font-family:var(--disp);font-weight:400;font-size:clamp(28px,8vw,38px);line-height:1.05;margin-top:4px}
.bkd{margin-top:8px;font-size:16px;color:#e6e9f5}
.bkp{margin-top:12px;font-family:var(--disp);font-size:40px;color:var(--gold);line-height:1}
.bkp small{display:inline;font-family:var(--body);font-weight:700;font-size:16px;color:#fff;margin-right:6px}

/* הצצה לתוך הספר */
.peeklink{display:inline-block;margin-top:12px;color:var(--gold);font-weight:700;font-size:16px;text-decoration:underline;text-underline-offset:4px}
.peek{padding-top:34px;padding-bottom:10px}
.peek h2.t{font-family:var(--disp);font-weight:400;font-size:30px;text-align:center;color:var(--navy)}
.peek .ln{width:44px;height:3px;background:var(--gold);margin:8px auto 8px;border-radius:2px}
.peek .pn{text-align:center;color:var(--mut);font-size:15.5px;margin-bottom:18px}
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pgrid button{border:0;padding:0;background:none;cursor:zoom-in;display:block}
.pgrid img{width:100%;height:auto;display:block;border-radius:3px;box-shadow:0 6px 16px rgba(0,0,0,.3);transition:transform .15s}
.pgrid button:active img,.pgrid button:hover img{transform:translateY(-3px)}
.pgrid small{display:block;margin-top:7px;font-size:13px;font-weight:700;color:var(--navy);line-height:1.25}
.lb{position:fixed;inset:0;z-index:50;background:rgba(10,13,28,.94);display:none;align-items:center;justify-content:center;padding:14px}
.lb.on{display:flex}
.lb img{max-width:100%;max-height:92vh;border-radius:3px;box-shadow:0 10px 40px rgba(0,0,0,.6)}
.lb .x,.lb .nv{position:absolute;border:0;background:rgba(255,255,255,.16);color:#fff;border-radius:50%;width:46px;height:46px;font-size:26px;line-height:1;cursor:pointer}
.lb .x{top:12px;left:12px}
.lb .nv.nx{left:10px;top:50%;margin-top:-23px}
.lb .nv.pv{right:10px;top:50%;margin-top:-23px}

.sb .pr{display:block;margin-top:4px;font-family:var(--disp);font-size:18px;color:var(--navy)}

/* עגלה */
.more{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}
.more .mt{font-family:var(--disp);font-size:24px;color:var(--navy);text-align:center}
.more .ms{text-align:center;font-size:15px;margin:2px 0 14px;opacity:.8}
.bk{display:flex;gap:14px;align-items:center;padding:12px;margin-bottom:12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.bk img{width:84px;height:auto;border-radius:6px;flex:none;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.bk .bi{flex:1;min-width:0}
.bk .bs{font-size:13px;opacity:.75}
.bk .bt{font-weight:800;font-size:18px;line-height:1.2}
.bk .bd{font-size:14px;opacity:.85;margin-top:2px}
.bk .bq{display:flex;align-items:center;gap:6px;flex:none}
.bk .bq button{width:40px;height:40px;border-radius:50%;border:1px solid #c9cdd9;background:#fff;color:var(--navy);font-size:22px;font-weight:700;cursor:pointer}
.bk .bq button:active{background:#f1f2f6}
.bk .bq output{font-family:var(--disp);font-size:26px;min-width:30px;text-align:center}
@media(max-width:420px){.bk{flex-wrap:wrap}.bk .bq{margin:0 auto}}
.bk.on{border-color:var(--navy);box-shadow:0 0 0 2px rgba(20,27,54,.12)}
