/* ROXPRO — checkout page (direction A, approved mockup checkout.html, version 40). Ported by tools/port_checkout_css.py
   (do not edit by hand). */
/* ================= checkout ================= */
.ckbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:30;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;height:60px;padding-inline:4px;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid var(--line)}
.ckbar .cb-ic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:23px;color:var(--ink);justify-self:center}
.ckbar h1{justify-self:center;display:flex;align-items:center;gap:6px;font-size:18px;font-weight:600}
.ckbar h1 i{font-size:18px;color:var(--ok)}
.ck-page{padding:10px var(--gut) 24px;display:grid;gap:14px}
.ck-page>*,.ck-done>*{min-width:0}
.cartbar{display:none!important}   /* the page itself is the cart's next step */
.ck-card{position:relative;border-radius:22px;border:1px solid var(--line);background:#fff;padding:16px}
.ck-card h2{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:600;margin-bottom:12px}
.ck-card h2 .step{width:26px;height:26px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:600;flex:none}
/* 3. order summary (folded on the phone) */
.ck-sum{padding:0;overflow:hidden}
.ck-sum-h{width:100%;min-height:60px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 16px;text-align:start}
.ck-sum-h .ic{width:40px;height:40px;border-radius:50%;background:var(--tile);display:grid;place-items:center;font-size:20px}
.ck-sum-h b{font-size:15px;font-weight:600}
.ck-sum-h small{display:block;font-size:13px;color:var(--ink-2)}
.ck-sum-h .tot{font-size:18px;font-weight:700}
.ck-sum-h .chev{font-size:19px;color:var(--ink-2);transition:transform .25s}
.ck-sum.open .ck-sum-h .chev{transform:rotate(180deg)}
.ck-lines{padding:0 16px 12px;border-top:1px solid var(--line)}
.ck-line{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.ck-line:last-of-type{border-bottom:0}
.ck-th{position:relative;width:52px;height:52px;border-radius:13px;background:var(--tile-bg);padding:5px}
.ck-th img{width:100%;height:100%;object-fit:contain}
.ck-th .q{position:absolute;top:-6px;left:-6px;min-width:22px;height:22px;padding-inline:6px;border-radius:11px;background:var(--ink);color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center}
.ck-line b{display:block;font-size:14px;font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-line span{font-size:13px;color:var(--ink-2)}
.ck-line .pr{font-size:14px;font-weight:600;white-space:nowrap}
.ck-line .ck-opt{display:block;font-size:13px;color:var(--ink-2);line-height:1.35}
.ck-edit{min-height:44px;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
/* 4. delivery / pickup */
.opts{display:grid;gap:10px}
.opt{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:4px 12px;align-items:start;padding:14px;border-radius:18px;border:1.5px solid var(--line);cursor:pointer;transition:border-color .2s,background-color .2s}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt .dot{grid-row:1 / span 2;margin-top:1px;width:22px;height:22px;border-radius:50%;border:1.5px solid #c9c6c0;display:grid;place-items:center}
.opt .dot::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--ink);transform:scale(0);transition:transform .2s var(--ease)}
.opt b{font-size:15px;font-weight:600}
.opt .price{font-size:15px;font-weight:600;white-space:nowrap}
.opt .price.free{color:var(--ok)}
.opt .sub{grid-column:2 / -1;font-size:13px;line-height:1.45;color:var(--ink-2)}
.opt .sub s{color:var(--ink-3)}
.opt:has(input:checked){border-color:var(--ink);background:#fbfaf8}
.opt:has(input:checked) .dot{border-color:var(--ink)}
.opt:has(input:checked) .dot::after{transform:scale(1)}
.opt:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.opt .wallet{display:inline-flex;align-items:center;gap:6px}
.opt .wallet i{font-size:20px}
/* a wallet named inside a Hebrew title ("כרטיס אשראי או Apple Pay", session 83): its name sits on the title's baseline, the icon stays centred on it */
.opt b .nw .wallet{align-items:baseline}
.opt b .nw .wallet i{align-self:center}
.opt-w{display:grid;gap:8px}
/* 5-6. fields */
.fields{display:grid;gap:12px}
.fld{display:grid;gap:6px}
.fld label{font-size:14px;font-weight:600}
.fld label small{font-weight:400;color:var(--ink-2)}
.fld input{height:50px;border-radius:14px;border:1px solid #d9d5ce;background:#fff;padding-inline:14px;font:inherit;font-size:16px;color:var(--ink);min-width:0;width:100%}
.fld input:focus-visible{outline:2px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
.fld input[aria-invalid="true"]{border-color:var(--red);background:var(--red-tint)}
.fld .hint{font-size:13px;color:var(--ink-2)}
.fld .err{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--red);font-weight:500}
.fld .err:empty{display:none}
.fld .err i{font-size:15px}
.row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
/* "שם פרטי" ו"שם משפחה" זה לצד זה, גם בטלפון (הראל 16.11.26; כמו בכרטיס שבאזור האישי). השדות מתחילים באותו גובה גם כשרק לאחד יש הערה */
.name2{align-items:start}
/* ההערה מתחת לשדה צר: שתי שורות מאוזנות (בלי מילה לבד בשורה), והסימן ליד השורה הראשונה */
.name2 .err{align-items:flex-start;text-wrap:balance}
.name2 .err i{margin-top:2px}
.add-more{justify-self:start;min-height:44px;display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600}
.biz-f{display:grid;gap:12px;padding:12px;border-radius:16px;background:var(--tile)}
.biz-f .ttl{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600}
p.signed{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;border-radius:14px;background:var(--tile);font-size:14px}
p.signed i{font-size:19px;color:var(--ok)}   /* only the row "הפרטים שלך מהחשבון": rox.js also puts "signed" on <html> for a signed-in customer */
/* 7. card fields (Tranzila's own, inside the page) */
.cardbox{display:grid;gap:10px;padding:12px;border-radius:16px;background:var(--tile)}
.cardbox .fld input{background:#fff;direction:ltr;text-align:left}
.cardbox .lock{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2)}
.cardbox .lock i{font-size:16px;color:var(--ok)}
.paynote{display:flex;align-items:flex-start;gap:6px;padding:10px 12px;border-radius:14px;background:var(--tile);font-size:13px;line-height:1.45;color:var(--ink-2)}
.paynote i{font-size:17px;color:var(--ink)}
.pay-logos{display:flex;gap:6px;flex-wrap:wrap;margin-inline-start:auto}
/* 8-10. totals, pay, legal */
.ck-pay{display:grid;gap:10px}
.tot-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px;color:var(--ink-2)}
.tot-row .num{color:var(--ink);font-weight:500}
.tot-row.minus .num{color:var(--ok);font-weight:600}
.tot-row.big{margin-top:4px;padding-top:12px;border-top:1px solid var(--line);color:var(--ink)}
.tot-row.big span:first-child{font-size:16px;font-weight:600}
.tot-row.big .num{font-size:24px;font-weight:700}
.tot-row small{font-size:12.5px}
.earn{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2)}
.earn i{font-size:16px;color:var(--ink)}
.notes{display:flex;flex-wrap:wrap;gap:6px}
.notes .tbd{height:auto;min-height:22px;padding-block:3px;white-space:normal;line-height:1.35}
.ck-go{justify-content:center}
.ck-go .spin{width:20px;height:20px;border-radius:50%;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.ck-go[aria-busy="true"]{background:var(--red-press);color:#fff;cursor:progress}
.legal{font-size:13px;line-height:1.5;color:var(--ink-2)}
.ck-priv{margin-top:10px;text-align:center}
.legal button,.legal a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;min-height:24px}
.mkt{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start;cursor:pointer;font-size:14px;line-height:1.45;min-height:44px;padding-top:6px} .mkt span{text-wrap:pretty}
.mkt input{width:22px;height:22px;margin:0;accent-color:var(--ink)}
.acc-line{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.45;color:var(--ink-2)}
.acc-line i{font-size:17px;color:var(--ink)}
.errsum{display:flex;gap:8px;align-items:flex-start;padding:12px 14px;border-radius:16px;background:var(--red-tint);color:var(--ink);font-size:14px;line-height:1.45}
.errsum i{font-size:20px;color:var(--red)}
.errsum[hidden]{display:none}
.state{display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:16px;font-size:14px;line-height:1.5}
.state[hidden]{display:none}
.state i{font-size:22px;flex:none}
.state b{display:block;font-size:15px}
.state.fail{background:var(--red-tint)}
.state.fail i{color:var(--red)}
.state.wait{background:#fff7e0}
.state.wait .spin{width:22px;height:22px;border-radius:50%;border:2.5px solid #e8d9a8;border-top-color:#7a5b00;animation:spin .8s linear infinite;flex:none}
/* 11. thank you */
.ck-done{display:grid;gap:14px;padding:16px var(--gut) 24px;max-width:640px;margin-inline:auto}
.ck-done[hidden]{display:none}
.done-top{text-align:center;padding:18px 8px 6px}
.done-top .ok{width:76px;height:76px;margin:0 auto 14px;border-radius:50%;background:#e9f7ee;color:var(--ok);display:grid;place-items:center;font-size:40px;animation:pop .5s var(--ease) both}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
.done-top h1{font-size:26px;font-weight:700;letter-spacing:-.02em}
.done-top p{margin-top:6px;font-size:15px;color:var(--ink-2)}
.done-top p b{color:var(--ink)}
.steps-next{display:grid;gap:12px}
.steps-next li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;font-size:14px;line-height:1.5}
.steps-next li i{width:32px;height:32px;border-radius:50%;background:var(--tile);display:grid;place-items:center;font-size:17px}
.steps-next li b{display:block;font-size:15px}
.done-acts{display:grid;gap:10px}
.done-acts .ghost{height:50px;border-radius:16px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;gap:6px;font-size:15px;font-weight:600}
.ck-emptyp{text-align:center;padding:40px 12px}
.ck-emptyp .big{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;background:var(--tile);display:grid;place-items:center;font-size:32px}
.ck-emptyp b{display:block;font-size:18px;font-weight:600}
.ck-emptyp p{margin:6px 0 16px;font-size:14px;color:var(--ink-2)}
.ck-emptyp .btn-red{max-width:360px;margin-inline:auto}
.ck-emptyp .ck-in{justify-content:center}   /* "לכניסה לחשבון", for a visitor who was signed out meanwhile */
.cx-link{position:relative}
@media (min-width:1024px){
  .ckbar{display:none}
  body:not(.rox-ck-done) .dk-nav,body:not(.rox-ck-done) .dk-search{display:none!important}
  .dk-secure{display:inline-flex;align-items:center;gap:6px;margin-inline-end:auto;margin-inline-start:24px;font-size:15px;font-weight:600}
  .dk-secure i{color:var(--ok);font-size:19px}
  .ck-page{max-width:1120px;margin-inline:auto;padding:24px var(--gut) 40px;grid-template-columns:minmax(0,1fr) 400px;column-gap:32px;align-items:start;
    grid-template-areas:"sum pay" "form pay";grid-template-rows:auto 1fr;row-gap:14px}
  .ck-form{grid-area:form}
  .ck-pay{grid-area:pay;align-self:start;position:sticky;top:calc(96px + env(safe-area-inset-top,0px))}
  .ck-sum{grid-area:sum}
  .ck-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .ck-lines .ck-edit{grid-column:1 / -1}
  .ck-line:nth-last-of-type(2){border-bottom:0}
  .ck-sum-h{pointer-events:none}
  .ck-sum-h .chev{display:none}
  .ck-done{padding-top:36px}
}
.ck-head{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}   /* the page title, for screen readers (the header says it) */
@media (max-width:1023px){ .dk-secure{display:none} }

/* ---------- the real store (27.10.26), added by tools/port_checkout_css.py ---------- */
/* the phone header: a <p> instead of the mockup's second <h1> (the page has one, for screen readers) */
.ckbar .ck-t{justify-self:center;display:flex;align-items:center;gap:6px;font-size:18px;font-weight:600}
.ckbar .ck-t i{font-size:18px;color:var(--ok)}
/* the mockup's inline styles, as classes */
.ck-steps{display:grid;gap:14px}
.ck-tots{display:grid;gap:8px}
.ck-legal{display:grid;gap:6px}
.ck-page[hidden],.ck-done [hidden]{display:none}
/* a note on a long line wraps (the shared .tbd tag stays on one line elsewhere) */
.ck-page .tbd,.ck-done .tbd{white-space:normal;height:auto;min-height:24px;padding-block:3px;line-height:1.35}
/* until the cart arrives from the server */
.ck-load{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50vh;font-size:15px;color:var(--ink-2)}
.ck-load[hidden]{display:none}
.ck-load .spin{width:22px;height:22px;border-radius:50%;border:2.5px solid var(--line);border-top-color:var(--ink);animation:spin .8s linear infinite}
/* the local test before iCount: no charge — a plain line instead of the card fields */
.paynote.later{background:#fff7e0;color:#5c4400}
.paynote.later i{color:#7a5b00}
/* orders closed until the terminal is ready (Harel 30.10.26): one line, and the button leads to the Wix site */
.paynote.closed{padding:12px 14px}
.paynote.closed b{display:block;margin-bottom:2px;font-size:14px;color:var(--ink)}
/* a field the server sent back */
.errsum a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* the empty cart: back to the store when there is no last order */
.ck-emptyp .ck-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:50px;padding-inline:22px;border-radius:16px;border:1px solid var(--line);font-size:15px;font-weight:600}
@media (prefers-reduced-motion:reduce){ .ck-load .spin{animation:none} }
/* the computer: a pay column taller than the screen scrolls with the page instead of hiding its bottom (page-checkout.js tallPay) */
@media (min-width:1024px){ .ck-pay.tall{position:static} }
/* a viewer's-eye pass (27.10.26): the amount left for free shipping in the line's size, not a bigger bold number; no word alone
   on the last line of the legal lines */
.opt .sub b{font-size:inherit}
.opt .sub,.ck-line b,.acc-line,.ck-priv{text-wrap:pretty}
.ck-pay .legal{text-wrap:pretty}
.ck-pay .legal a{white-space:nowrap}
/* the computer, density (Claude's choice, like the other pages): the two ways to get the order side by side, phone + email and
   street + city in pairs, so the form is about half as tall next to the pay column; a long product name gets two lines */
@media (min-width:1024px){
  #delOpts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ck-form .fields{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
  .ck-form .fields>*{grid-column:1 / -1}
  .ck-form .fields>.name2{column-gap:14px}   /* the two names stand exactly over the phone and the e-mail */
  .ck-form .fields>.fld:has(#fPhone),.ck-form .fields>.fld:has(#fEmail),.ck-form .fields>.fld:has(#fStreet),.ck-form .fields>.fld:has(#fCity){grid-column:auto;align-content:start}
  .ck-line b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-wrap:balance}
}
/* a small computer (1024–1199): the form column is ~560px, so the two ways to get the order and the order's lines stay one under
   the other (side by side they were 235px each, the pickup line in four rows and the names cut) */
@media (min-width:1024px) and (max-width:1199.98px){
  #delOpts,.ck-lines{grid-template-columns:minmax(0,1fr)}
  .ck-line:nth-last-of-type(2){border-bottom:1px solid var(--line)}
}
/* the email on the thank-you page moves to the next line as one piece; only an address longer than the line breaks (full test 28.10.26) */
#doneMail bdi{display:inline-block;max-width:100%;overflow-wrap:anywhere}
/* the addition to an order of today (inc/rox-addon.php): the way out under the choices, the reason under the paid delivery, the address line */
.add-out{margin:4px 0 0}
.add-out[hidden]{display:none}
.add-link{color:var(--ink);text-decoration:underline;text-underline-offset:3px;font-weight:500}
.opt .sub .add-why{display:block;margin-top:3px;color:var(--ink)}
p.add-addr{margin:2px 0 12px}
p.add-addr i{color:var(--ink-2)}
