/* SofaMend v4.9.1 — polished accessible e-commerce checkout, receipts & confirmation */
.sm491-coupon-form,.sm491-order-card,.sm491-success-card{box-sizing:border-box}
.sm491-coupon-form{background:#fff;border:1px solid #e0eaf0;border-radius:18px;padding:19px;margin-bottom:17px;box-shadow:0 12px 30px #1d3b5010}
.sm491-coupon-form label{display:block;color:#0a2a42;font-weight:850;font-size:15px;margin-bottom:10px}
.sm491-coupon-form>div{display:flex;gap:7px;min-width:0}.sm491-coupon-form input{width:100%;flex:1;min-width:0;height:45px;padding:9px 12px;border:1px solid #d6e3eb;border-radius:10px;letter-spacing:.06em;font-weight:700;font-size:13px}
.sm491-coupon-form button{border:0;cursor:pointer;padding:8px 17px;border-radius:10px;background:#0b605e;color:white;font-weight:850}.sm491-coupon-good{color:#078054}.sm491-coupon-error{color:#b04841}.sm491-coupon-form p{font-weight:700;font-size:12px;margin:10px 0 0}.sm491-discount{color:#087754}.sm491-discount strong{color:#078055!important}
.sm491-pin-status{grid-column:1/-1;font-size:12px;color:#52697c;border-radius:10px;background:#eff7fc;border:1px solid #dbeaf1;padding:10px 12px;margin:0;line-height:1.5}
.sm491-pin-status[data-status=ok]{color:#116344;background:#ecf9f1;border-color:#b8e6cd}.sm491-pin-status[data-status=error]{color:#9c3f35;background:#fff2ee;border-color:#f4c6bf}
.sm491-success{padding:20px 15px 85px;position:relative;max-width:980px;margin:auto;min-height:620px;overflow:hidden;isolation:isolate;font-family:Inter,system-ui,sans-serif}
.sm491-success-card{position:relative;z-index:1;max-width:700px;margin:35px auto 0;padding:clamp(24px,5vw,55px);border-radius:30px;background:#fff;border:1px solid #d9e6ee;text-align:center;box-shadow:0 25px 70px #123b5930}
.sm491-confirmed-icon{width:86px;height:86px;background:linear-gradient(145deg,#078c74,#2aaf80);box-shadow:0 13px 30px #28a4804a;display:grid;place-items:center;border-radius:50%;color:white;font-size:43px;font-weight:800;margin:0 auto 19px;animation:sm491-pop .65s cubic-bezier(.22,1.55,.46,1)}
.sm491-overline{font-size:11px;letter-spacing:.19em;font-weight:900;color:#117872;text-transform:uppercase}.sm491-success h1{font-size:clamp(27px,4.8vw,41px);line-height:1.2;letter-spacing:-.035em;margin:13px 0;color:#0a2b43;font-weight:900}.sm491-success-message{color:#5d7282;font-size:16px;line-height:1.6;max-width:520px;margin:0 auto 22px}
.sm491-reference{display:flex;justify-content:center;align-items:center;gap:11px;flex-wrap:wrap;padding:16px;background:#f2f8fb;border:1px dashed #b8d9e3;border-radius:14px}.sm491-reference>span{width:100%;color:#58778b;font-size:10px;font-weight:900;letter-spacing:.13em}.sm491-reference strong{font-size:clamp(16px,3vw,22px);letter-spacing:.06em;color:#0a3654;overflow-wrap:anywhere}.sm491-reference button{border:1px solid #cedfe7;border-radius:9px;padding:7px 10px;background:#fff;color:#0f586d;cursor:pointer;font-weight:800;font-size:11px}
.sm491-status-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0;gap:10px;text-align:left}.sm491-status-grid>div{padding:14px;background:#f7f9fb;border-radius:13px}.sm491-status-grid small{display:block;font-size:10px;letter-spacing:.07em;font-weight:850;color:#71818e;margin-bottom:8px}.sm491-status-grid b{display:block;color:#153b51;font-size:14px}
.sm491-actions{display:flex;flex-wrap:wrap;gap:11px;justify-content:center;margin:20px 0}.sm491-primary,.sm491-secondary{display:inline-flex;justify-content:center;align-items:center;min-height:45px;padding:10px 19px;border-radius:11px;font-size:13px;font-weight:850;text-decoration:none!important}.sm491-primary{background:linear-gradient(115deg,#073e54,#087e73);color:white!important}.sm491-secondary{background:white;color:#0d4561!important;border:1px solid #c7dbe3}.sm491-primary:hover{filter:brightness(1.12)}.sm491-secondary:hover{background:#f1f9fa}
.sm491-sound{background:none;color:#256a79;cursor:pointer;border:0;padding:9px 13px;font-size:12px;text-decoration:underline}.sm491-honest{font-size:12px;color:#6b7b89;line-height:1.65;max-width:560px;margin:16px auto 0}
.sm491-celebrate{pointer-events:none;position:absolute;inset:0;overflow:hidden}.sm491-celebrate i{position:absolute;width:9px;height:16px;top:-7%;left:calc(9% * var(--i,1));background:var(--col,#1a987c);opacity:0;transform:rotate(35deg);animation:sm491-confetti 2.6s ease-out forwards}.sm491-celebrate i:nth-child(1){--i:1;--col:#e7b953;animation-delay:0s}.sm491-celebrate i:nth-child(2){--i:2;--col:#169c83;animation-delay:.2s}.sm491-celebrate i:nth-child(3){--i:3;--col:#4c84b0;animation-delay:.4s}.sm491-celebrate i:nth-child(4){--i:4;--col:#df817e;animation-delay:.1s}.sm491-celebrate i:nth-child(5){--i:5;--col:#e7b953;animation-delay:.5s}.sm491-celebrate i:nth-child(6){--i:6;--col:#159f82;animation-delay:.22s}.sm491-celebrate i:nth-child(7){--i:7;--col:#4996bd;animation-delay:.38s}.sm491-celebrate i:nth-child(8){--i:8;--col:#de7fa0;animation-delay:.11s}.sm491-celebrate i:nth-child(9){--i:9;--col:#e7b953;animation-delay:.28s}.sm491-celebrate i:nth-child(10){--i:10;--col:#159f82;animation-delay:.65s}.sm491-celebrate i:nth-child(11){--i:4;--col:#62afaf;animation-delay:.7s}.sm491-celebrate i:nth-child(12){--i:8;--col:#e8a974;animation-delay:.83s}
@keyframes sm491-pop{0%{transform:scale(.45);opacity:.2}75%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}@keyframes sm491-confetti{0%{transform:translate3d(0,-20px,0) rotate(0deg);opacity:1}100%{transform:translate3d(30px,650px,0) rotate(680deg);opacity:0}}
.sm491-orders h1,.sm491-order-detail h1{font-size:clamp(27px,4vw,40px);font-weight:900;color:#082e44}.sm491-order-list{display:grid;gap:14px}.sm491-order-card{border:1px solid #dce7ec;background:white;border-radius:20px;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 8px 26px #103b5610}.sm491-order-card h2{font-size:19px;margin:5px 0;letter-spacing:.03em}.sm491-order-card p,.sm491-order-card small{color:#637889}.sm491-order-card>div:last-child{text-align:right;display:grid;gap:13px}.sm491-order-card>div:last-child b{font-size:22px;color:#062f44}.sm491-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:20px}.sm491-order-status{background:#e7f8f1;color:#087a57;padding:12px 14px;border-radius:12px;font-weight:800}.sm491-itemline{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #e2ecf0;padding:13px 0}.sm491-itemline b{color:#193a50}.sm491-itemline p{font-size:12px;color:#78909e}.sm491-bill{padding:18px 0}.sm491-bill p{display:flex;justify-content:space-between;gap:10px;margin:8px 0}.sm491-bill .sm491-total{font-size:18px;font-weight:900;border-top:1px solid #dce6ed;padding-top:15px;color:#073e4d}
@media(max-width:780px){.sm491-detail-grid{grid-template-columns:1fr}.sm491-success{padding-bottom:130px}.sm491-success-card{padding:25px 16px}.sm491-status-grid{grid-template-columns:1fr}.sm491-order-card{align-items:flex-start;flex-direction:column}.sm491-order-card>div:last-child{text-align:left;display:flex;flex-wrap:wrap;align-items:center}.sm491-actions a{flex:1 1 155px}.sm491-coupon-form{margin-top:8px}}
@media(max-width:380px){.sm491-reference strong{font-size:15px}.sm491-success h1{font-size:26px}.sm491-coupon-form{padding:12px}.sm491-coupon-form button{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.sm491-confirmed-icon,.sm491-celebrate i{animation:none!important}.sm491-celebrate{display:none}}

/* v4.9.5 | 30% advance, all India state selector, prominent PIN */
.sm490-checkout select[name="state"] {width:100%;min-height:52px;border:1px solid #d6e0e8;border-radius:12px;background:#fff;padding:12px;color:#132d44;font:inherit;}
.sm490-checkout select[name="state"]:focus,.sm495-pin-field input:focus{outline:3px solid rgba(15,137,128,.18);border-color:#0f8980;}
.sm495-pin-field{display:flex!important;flex-direction:column;gap:8px;}
.sm495-pin-field strong{font-size:14px;color:#102f48;}
.sm495-pin-field input{font-size:17px;letter-spacing:.055em;min-height:55px;}
.sm495-advance-info{border:1px solid #bfdfcf;background:#eff9f4;border-radius:14px;padding:15px 18px;margin:13px 0;display:grid;gap:6px;color:#075b47;}
.sm495-advance-info b{font-size:16px;} .sm495-advance-info span{font-size:14px;}
.sm495-custom-policy{background:#f5f8fc;border-radius:12px;padding:13px!important;margin-top:12px;}
.sm491-pin-status[data-status="error"]{color:#ba2424;background:#fff3f3;border:1px solid #efcaca;}
@media(max-width:640px){.sm490-checkout select[name="state"],.sm495-pin-field input{min-height:52px;max-width:100%;}.sm495-advance-info{padding:13px 15px;}}
