/* NIJO checkout page — loaded after product.css (header/footer come from there) */
.nijo-checkout main{max-width:1200px;margin:0 auto;padding:18px 16px 48px;padding:18px clamp(16px,3.2vw,52px) 48px}
.nijo-checkout .ic{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.co-crumb{display:flex;align-items:center;gap:9px;font-size:12px;color:#6b7280;margin-bottom:14px}
.co-crumb a{display:inline-flex;align-items:center;gap:6px;color:#4b5058}.co-crumb b{font-weight:500;color:#1b1f24}
.co-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;flex-wrap:wrap}
.co-head h1{margin:0 0 4px;font:700 32px/1.15 'Poppins',sans-serif;letter-spacing:-.03em;color:#0b0c0e}
.co-head p{margin:0;font-size:13.5px;color:#4b5563}
.co-steps{display:flex;align-items:flex-start;width:min(470px,100%)}
.co-step{display:grid;justify-items:center;gap:7px;font-size:11.5px;color:#6b7280;flex:none;min-width:80px}
.co-step i{width:38px;height:38px;border-radius:50%;background:#f1f2f4;display:grid;place-items:center;font-size:17px;color:#4b5058}
.co-step.on{color:#0b0c0e;font-weight:600}.co-step.on i{background:#0b0c0e;color:#fff}
.co-line{flex:1;height:1px;background:#d8dbe0;margin-top:19px}
.co-grid{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);gap:16px;align-items:start}
.co-card{background:#fff;border:1px solid #ececef;border-radius:18px;box-shadow:0 2px 14px #0000000a;padding:26px 26px 22px}
.co-sec{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.co-sec>.ic{font-size:27px;margin-top:2px;color:#111}
.co-sec h2{margin:0;font:600 19px/1.25 'Poppins',sans-serif;color:#0b0c0e}
.co-sec p{margin:2px 0 0;font-size:12.5px;color:#4b5563}
.co-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.co-field{min-width:0}.co-field.full{grid-column:1/-1}
.co-field label{display:block;margin:0 0 6px;font:600 12.5px 'Poppins',sans-serif;color:#1b1f24}
.co-field label em{font-style:normal;color:#e5384b}.co-field label small{font-weight:400;font-size:12.5px}
.co-input{position:relative;display:flex;align-items:center}
.co-input>.ic{position:absolute;left:13px;font-size:17px;color:#4b5058;pointer-events:none}
.co-input input,.co-input select,.co-input textarea{width:100%;height:40px;border:1px solid #dcdfe3;border-radius:8px;background:#fff;padding:0 12px 0 40px;font:400 12.5px 'Poppins','Hind Siliguri',sans-serif;color:#111;outline:0;appearance:none;-webkit-appearance:none}
.co-input textarea{height:74px;padding:12px 12px 12px 44px;resize:vertical}
.co-input textarea+.ic,.co-input.ta>.ic{top:13px}
.co-input select{padding-right:36px}
.co-input .chev{left:auto;right:13px;font-size:16px;color:#111}
.co-input input:focus,.co-input select:focus,.co-input textarea:focus{border-color:#111;box-shadow:0 0 0 3px #1110}
.co-input input::placeholder,.co-input textarea::placeholder{color:#6b7280}
.co-hr{border:0;border-top:1px solid #e6e8eb;margin:22px 0}
.co-opts{display:grid;gap:10px}.co-opts.two{grid-template-columns:1fr 1fr}
.co-opt{position:relative;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e1e4e8;border-radius:12px;background:#fff;cursor:pointer;min-width:0}
.co-opt.on{border:1.5px solid #111;background:#f4f5f6;box-shadow:0 1px 0 #111}
.co-opt input{position:absolute;opacity:0;pointer-events:none}
.co-radio{width:18px;height:18px;border-radius:50%;border:1.5px solid #cfd3d8;flex:none;display:grid;place-items:center}
.co-opt.on .co-radio{border-color:#111}.co-opt.on .co-radio::after{content:"";width:10px;height:10px;border-radius:50%;background:#111}
.co-opt>.ic{font-size:26px;color:#111}
.co-opt .t{flex:1;min-width:0}.co-opt b{display:block;font:600 13px 'Poppins',sans-serif;color:#0b0c0e}
.co-opt small{display:block;font-size:11px;color:#4b5563;line-height:1.4}
.co-opt .amt{font:700 14px 'Poppins','Hind Siliguri',sans-serif;align-self:flex-start}
.co-opt.off{cursor:not-allowed}.co-opt.off .soon{font-size:10px;font-weight:600;color:#6b7280;background:#f1f2f4;border-radius:99px;padding:3px 8px;align-self:center;white-space:nowrap}
.co-pay{padding:11px 14px}.co-pay>svg{width:34px;height:34px;font-size:34px}
.co-pay .t small{font-size:12px}
.co-sum{position:sticky;top:12px}
.co-item{display:grid;grid-template-columns:88px 1fr auto;gap:14px;padding:0 0 14px}
.co-item+.co-item{border-top:1px solid #eef0f2;padding-top:14px}
.co-item img,.co-item .ph{width:88px;height:98px;border-radius:10px;object-fit:cover;background:#eceef0;display:block}
.co-item b{display:block;font:600 13px 'Poppins',sans-serif;margin-bottom:6px}
.co-item span{display:block;font-size:11.5px;color:#4b5563;line-height:1.65}
.co-item strong{font:700 15px 'Poppins','Hind Siliguri',sans-serif;padding-top:2px}
.co-item .co-stock{color:#98620c;font-size:11px}.co-item .co-stock.bad{color:#b42318}
.co-empty{padding:18px 0;color:#4b5563;font-size:13px}.co-empty a{font-weight:600;text-decoration:underline}
.co-rows{border-top:1px solid #e6e8eb;padding-top:14px;display:grid;gap:11px}
.co-rows div{display:flex;justify-content:space-between;font-size:12.5px;color:#1b1f24}
.co-rows b{font-weight:600;font-family:'Poppins','Hind Siliguri',sans-serif}
.co-total{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding:12px 14px;background:#f3f4f6;border-radius:10px;font:700 16px 'Poppins',sans-serif}
.co-total strong{font-size:19px;font-weight:700}
.co-place{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:52px;margin-top:18px;border:0;border-radius:10px;background:#0b0c0e;color:#fff;font:600 15px 'Poppins',sans-serif;cursor:pointer}
.co-place .ic{font-size:19px}.co-place:disabled{opacity:.55;cursor:wait}
.co-why{margin-top:20px;background:#f2f9f1;border:1px solid #e0eddd;border-radius:12px;padding:14px}
.co-why h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;font:600 13.5px 'Poppins',sans-serif}.co-why h3 .ic{font-size:24px;color:#2ea44f}
.co-why div{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.co-why span{display:grid;justify-items:center;gap:6px;background:#fff;border-radius:8px;padding:10px 4px;font-size:11px;font-weight:500;text-align:center;line-height:1.3}
.co-why span .ic{font-size:26px;color:#111}
@media(max-width:900px){.co-grid{grid-template-columns:1fr}.co-sum{position:static}}
@media(max-width:600px){.co-fields,.co-opts.two{grid-template-columns:1fr}.co-card{padding:20px 16px}.co-head h1{font-size:27px}.co-step{min-width:64px}.co-item{grid-template-columns:72px 1fr auto}.co-item img,.co-item .ph{width:72px;height:84px}.co-why div{grid-template-columns:1fr 1fr}}
.co-combo input{padding-right:36px}.co-combo input:disabled{background:#f6f7f8;color:#6b7280;cursor:not-allowed}
.co-list{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid #dcdfe3;border-radius:10px;box-shadow:0 12px 28px #00000022;max-height:240px;overflow-y:auto}
.co-list li{padding:9px 12px;border-radius:7px;font:400 12.5px 'Poppins',sans-serif;color:#1b1f24;cursor:pointer}
.co-list li b{font-weight:700}.co-list li.on,.co-list li:hover{background:#f1f2f4}.co-list li.none{color:#6b7280;cursor:default;background:none}

/* ---- mobile wallet payment (bKash / Nagad / Rocket / Upay) ---- */
.pm-ic{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;color:#fff;font-weight:800;font-size:14px}
.pay-box{margin-top:14px;padding:16px;border:1px dashed #cfd6cf;border-radius:16px;background:#fafcfa}
.pay-box[hidden]{display:none}
.pay-steps ol{margin:8px 0 10px;padding-left:20px;font-size:13px;color:#444;line-height:1.7}
.pay-num{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid #e3e8e3;border-radius:12px;padding:10px 14px;margin-bottom:10px}
.pay-num span{font-size:20px;font-weight:800;letter-spacing:.04em}
.pay-num button{border:0;background:#111;color:#fff;border-radius:8px;padding:7px 14px;font-weight:600;cursor:pointer}
.pay-sum{margin:6px 0 14px;font-size:14px}
.pay-note{margin:6px 0 0;font-size:12px;color:#6b7280}
@media(max-width:700px){.pay-box{padding:13px}.pay-num span{font-size:18px}}

/* menu bar stays on top, logo/search row scrolls away; body must not be a scroll box or sticky breaks */
body.nijo-product-page{overflow-x:clip!important}
.site-header{position:sticky!important;top:calc(-1*var(--hh,0px))!important}
