/* Live checkout demo */
.frame-cart{cursor:pointer;user-select:none;}
.frame-cart:hover{transform:translateY(-1px);box-shadow:0 8px 16px -10px rgba(16,40,33,.6);}
.frame-cart.ready{border-color:#C9A84C;}
.frame-cart.ready::after{content:"Pay →";margin-left:4px;padding:2px 8px;border-radius:999px;background:linear-gradient(135deg,#E7D08A,#C9A84C);color:#2A2107;font-weight:800;animation:dm-nudge 1.6s ease-in-out infinite;}
@keyframes dm-nudge{0%,100%{transform:translateX(0);}50%{transform:translateX(3px);}}
.dm-run-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-bottom:10px;padding:11px 14px;border-radius:12px;border:1px solid rgba(201,168,76,.55);background:linear-gradient(135deg,#1F5A4B,#0E241D);color:#F6E7B9;font:inherit;font-weight:800;font-size:13px;cursor:pointer;position:relative;overflow:hidden;transition:transform .25s cubic-bezier(.2,.9,.3,1.3),box-shadow .25s;}
.dm-run-btn::before{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.3),transparent);transform:skewX(-18deg);animation:nm-shine 4s ease-in-out infinite;}
.dm-run-btn:hover{transform:translateY(-2px);box-shadow:0 14px 24px -12px rgba(16,40,33,.9);}
.dm-run-btn .lc{width:16px;height:16px;}

.dm-overlay{position:fixed;inset:0;z-index:420;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(3,10,8,.66);backdrop-filter:blur(6px);opacity:0;transition:opacity .25s;}
.dm-overlay.open{opacity:1;}
.dm-card{width:100%;max-width:940px;max-height:calc(100dvh - 40px);overflow-y:auto;border-radius:26px;background:#fff;box-shadow:0 50px 100px -30px rgba(0,0,0,.7);transform:translateY(22px) scale(.96);transition:transform .45s cubic-bezier(.2,.9,.3,1.15);}
.dm-overlay.open .dm-card{transform:none;}
.dm-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(135deg,#0F2A23,#0A1A16);color:#F6EFD9;border-radius:26px 26px 0 0;}
.dm-title{display:flex;gap:10px;align-items:center;font-weight:800;font-size:15px;}.dm-title .lc{width:18px;height:18px;color:#E7D08A;}
.dm-x{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .25s,background .2s;}.dm-x:hover{background:rgba(255,255,255,.16);transform:rotate(90deg);}
.dm-steps{display:flex;align-items:center;gap:8px;padding:14px 20px;border-bottom:1px solid #EEF2EF;background:#FAFCFB;overflow-x:auto;}
.dm-st{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:#8A9893;white-space:nowrap;transition:color .3s;}
.dm-st i{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;background:#E9EEEB;color:#6B7A75;transition:all .35s cubic-bezier(.2,.9,.3,1.3);}
.dm-st.on{color:#13231F;}.dm-st.on i{background:linear-gradient(135deg,#E7D08A,#C9A84C);color:#2A2107;transform:scale(1.15);box-shadow:0 6px 14px -6px rgba(201,168,76,.9);}
.dm-st.done i{background:#2E8B74;color:#fff;}.dm-st.done{color:#1F6F5C;}
.dm-ln{flex:1;min-width:18px;height:2px;border-radius:2px;background:#E3E9E5;}
.dm-note{display:flex;gap:10px;align-items:center;padding:11px 20px;background:linear-gradient(90deg,#FFF6D9,#F3FAF6);border-bottom:1px solid #F0E4B8;font-size:13px;color:#4A3E10;animation:xs-up .35s both;}
.dm-note .lc{width:15px;height:15px;color:#A8872F;flex-shrink:0;}.dm-note span{flex:1;}.dm-note button{border:1px solid #D9C27C;background:#fff;border-radius:999px;padding:4px 12px;font:inherit;font-size:11.5px;font-weight:700;color:#6A560F;cursor:pointer;}
.dm-body{padding:22px 24px 26px;}.dm-in{animation:dm-in .45s cubic-bezier(.2,.9,.3,1.1);}@keyframes dm-in{from{opacity:0;transform:translateX(18px);}to{opacity:1;transform:none;}}
.dm-cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start;}
.dm-h{font-size:15px;font-weight:800;color:#13231F;margin-bottom:12px;}
.dm-line{display:grid;grid-template-columns:48px 1fr auto 76px;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #EEF2EF;animation:xs-up .4s both;}
.dm-line img{width:48px;height:48px;border-radius:12px;object-fit:cover;background:#F2F5F3;}
.dm-ln2 b{display:block;font-size:14px;color:#13231F;}.dm-ln2 span{font-size:12px;color:#6B7A75;}
.dm-qty{display:flex;align-items:center;gap:8px;}.dm-qty button{width:28px;height:28px;border-radius:50%;border:1px solid #D8E2DC;background:#fff;font-size:16px;line-height:1;cursor:pointer;color:#13231F;transition:all .2s;}.dm-qty button:hover{background:#13231F;color:#fff;}.dm-qty b{min-width:18px;text-align:center;}
.dm-lt{text-align:right;font-weight:800;font-variant-numeric:tabular-nums;}
.dm-empty{padding:30px;text-align:center;color:#8A9893;}
.dm-sum{padding:18px;border-radius:20px;background:linear-gradient(180deg,#F8FBF9,#F1F7F4);border:1px solid #E3E9E5;position:sticky;top:0;}
.dm-r{display:flex;justify-content:space-between;padding:6px 0;font-size:13.5px;color:#4F5F5A;}.dm-r b{color:#13231F;font-variant-numeric:tabular-nums;}.dm-r.tot{border-top:1px dashed #CFDDD5;margin-top:6px;padding-top:12px;font-size:16px;}.dm-r.tot b{font-size:20px;}
.dm-big{font-size:34px;font-weight:800;color:#13231F;margin:2px 0 12px;font-variant-numeric:tabular-nums;}
.dm-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:14px;padding:13px 16px;border-radius:14px;border:1px solid rgba(201,168,76,.55);background:linear-gradient(135deg,#1F5A4B,#0E241D);color:#F6E7B9;font:inherit;font-weight:800;font-size:14.5px;cursor:pointer;transition:transform .25s cubic-bezier(.2,.9,.3,1.3),box-shadow .25s,opacity .2s;}
.dm-go:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 14px 26px -12px rgba(16,40,33,.9);}.dm-go:disabled{opacity:.5;cursor:not-allowed;}.dm-go.busy{opacity:.6;cursor:wait;}.dm-go .lc{width:16px;height:16px;}
.dm-ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:12px;border:1px solid #D8E2DC;background:#fff;font:inherit;font-weight:700;font-size:13px;color:#13231F;cursor:pointer;transition:all .2s;}.dm-ghost:hover{background:#F5FAF7;transform:translateY(-1px);}.dm-ghost .lc{width:16px;height:16px;}
.dm-back{margin-top:12px;border:none;background:none;color:#6B7A75;font:inherit;font-size:12.5px;cursor:pointer;}.dm-back:hover{color:#13231F;}
.dm-tip{margin-top:10px;font-size:11.5px;color:#8A9893;text-align:center;}
.dm-methods{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:14px;}
.dm-m{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 6px;border-radius:14px;border:1.5px solid #E3E9E5;background:#fff;font:inherit;font-size:11.5px;font-weight:700;color:#4F5F5A;cursor:pointer;transition:all .25s cubic-bezier(.2,.9,.3,1.2);}
.dm-m:hover{transform:translateY(-3px);border-color:#BFD9CC;}.dm-m.on{border-color:#1F6F5C;background:#EAF5EF;color:#1F6F5C;transform:translateY(-3px);box-shadow:0 12px 20px -14px rgba(31,111,92,.8);}.dm-m .lc{width:20px;height:20px;}
.dm-panel{min-height:150px;padding:16px;border-radius:18px;border:1px dashed #CFDDD5;background:#FBFDFC;}
.dm-panel:empty::before{content:"Choose a payment method to continue";display:block;text-align:center;color:#8A9893;font-size:13px;padding:34px 0;}
.dm-intro{font-size:13px;color:#4F5F5A;margin-bottom:12px;line-height:1.55;}
.dm-tender{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;}.dm-tender button{padding:9px 14px;border-radius:12px;border:1.5px solid #E3E9E5;background:#fff;font:inherit;font-weight:800;cursor:pointer;}.dm-tender button.on{border-color:#1F6F5C;background:#EAF5EF;color:#1F6F5C;}
.dm-reader{position:relative;width:110px;height:110px;margin:0 auto 6px;display:flex;align-items:center;justify-content:center;color:#1F6F5C;}
.dm-reader i{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(31,111,92,.45);animation:dm-ring 2.2s ease-out infinite;}.dm-reader i:nth-child(2){animation-delay:.7s;}.dm-reader i:nth-child(3){animation-delay:1.4s;}
@keyframes dm-ring{from{transform:scale(.4);opacity:1;}to{transform:scale(1.15);opacity:0;}}
.dm-phone{display:flex;justify-content:center;margin-bottom:8px;}.dm-ph{width:210px;padding:16px;border-radius:22px;border:6px solid #13231F;background:#FFF9E5;text-align:center;font-size:12px;color:#4A3E10;display:grid;gap:6px;animation:dm-buzz 1.6s ease-in-out infinite;}.dm-ph b{font-size:13px;}.dm-ph em{font-style:normal;font-weight:800;letter-spacing:.1em;}
@keyframes dm-buzz{0%,70%,100%{transform:rotate(0);}74%{transform:rotate(-2deg);}78%{transform:rotate(2deg);}82%{transform:rotate(-2deg);}86%{transform:rotate(1deg);}}
.dm-bank{padding:10px 12px;border-radius:12px;background:#F5FAF7;border:1px solid #E3E9E5;margin-bottom:6px;}
.dm-ps{border-radius:14px;border:1px solid #E3E9E5;background:#fff;overflow:hidden;margin-bottom:6px;}.dm-psh{display:flex;justify-content:space-between;padding:10px 14px;background:#0BA4DB;color:#fff;}.dm-psh b{letter-spacing:.02em;}.dm-psm{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;}.dm-psm u{text-decoration:none;font-size:11.5px;font-weight:700;padding:5px 10px;border-radius:999px;background:#EAF6FB;color:#0B7BA3;}
.dm-run{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px;}.dm-run li{display:flex;gap:10px;align-items:center;font-size:13px;color:#B0BAB5;transition:color .3s;}
.dm-sp{width:16px;height:16px;border-radius:50%;border:2.5px solid #D8E2DC;display:inline-block;flex-shrink:0;}
.dm-run li.on{color:#13231F;}.dm-run li.on .dm-sp{border-top-color:#1F6F5C;animation:xs-r .7s linear infinite;}
.dm-run li.ok{color:#1F6F5C;}.dm-run li.ok .dm-sp{animation:none;border:none;background:#2E8B74 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat;}
.dm-paper-wrap{display:flex;justify-content:center;padding:6px 0 10px;background:linear-gradient(180deg,#E9EEEB,#F4F7F5);border-radius:20px;}
.dm-paper{width:300px;max-width:100%;background:#FDFCF6;padding:18px 18px 22px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;color:#2B3733;box-shadow:0 20px 40px -20px rgba(0,0,0,.45);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 8px),95% 100%,90% calc(100% - 8px),85% 100%,80% calc(100% - 8px),75% 100%,70% calc(100% - 8px),65% 100%,60% calc(100% - 8px),55% 100%,50% calc(100% - 8px),45% 100%,40% calc(100% - 8px),35% 100%,30% calc(100% - 8px),25% 100%,20% calc(100% - 8px),15% 100%,10% calc(100% - 8px),5% 100%,0 calc(100% - 8px));}
.dm-paper.print{animation:dm-print 1.3s cubic-bezier(.2,.8,.2,1);}@keyframes dm-print{from{transform:translateY(-40px);opacity:.2;max-height:0;}to{transform:none;opacity:1;max-height:700px;}}
.dm-pc{text-align:center;display:grid;gap:2px;}.dm-pc b{font-size:13px;}.dm-pc span{color:#6B7A75;font-size:11px;}
.dm-dash{border-top:1px dashed #B9B49C;margin:9px 0;}.dm-pr{display:flex;justify-content:space-between;gap:10px;padding:2px 0;}.dm-pr.tot{font-weight:800;font-size:14px;}
.dm-bars{height:34px;margin-top:12px;background:repeating-linear-gradient(90deg,#2B3733 0 2px,transparent 2px 4px,#2B3733 4px 5px,transparent 5px 8px,#2B3733 8px 11px,transparent 11px 13px);opacity:.85;}
.dm-ok{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;color:#1F6F5C;margin-bottom:14px;}.dm-ok .lc{width:46px;height:46px;animation:xp-pop .7s cubic-bezier(.2,.9,.3,1.4);}.dm-ok b{font-size:17px;color:#13231F;}.dm-ok span{font-size:13px;color:#6B7A75;}
.dm-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.dm-log{min-height:22px;margin-top:10px;font-size:12.5px;color:#1F6F5C;display:flex;gap:8px;align-items:center;}.dm-log .lc{width:15px;height:15px;}
.dm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.dm-card2{padding:16px;border-radius:18px;border:1px solid #E3E9E5;background:linear-gradient(180deg,#fff,#F8FBF9);animation:xs-up .5s both;}.dm-card2:nth-child(2){animation-delay:.1s;}.dm-card2:nth-child(3){animation-delay:.2s;}.dm-card2:nth-child(4){animation-delay:.3s;}
.dm-ct{display:flex;gap:8px;align-items:center;font-weight:800;font-size:13.5px;color:#13231F;margin-bottom:12px;}.dm-ct .lc{width:17px;height:17px;color:#1F6F5C;}
.dm-stk{display:grid;grid-template-columns:96px 1fr 58px;gap:10px;align-items:center;font-size:12.5px;margin-bottom:8px;color:#4F5F5A;}.dm-stk b{text-align:right;color:#13231F;font-variant-numeric:tabular-nums;}.dm-stk s{color:#A5B0AB;font-weight:500;}.dm-stk em{font-style:normal;color:#1F6F5C;}
.dm-bar{height:8px;border-radius:8px;background:#E9EEEB;overflow:hidden;}.dm-bar i{display:block;height:100%;width:0;border-radius:8px;background:linear-gradient(90deg,#3FB28F,#E7D08A);}
.dm-cn{font-size:12px;color:#6B7A75;line-height:1.5;margin-top:8px;}
.dm-count{font-size:30px;font-weight:800;color:#13231F;font-variant-numeric:tabular-nums;}.dm-pn{font-size:12.5px;color:#6B7A75;}
.dm-mini{display:flex;gap:6px;align-items:flex-end;height:54px;margin-top:10px;}.dm-mini i{flex:1;border-radius:5px 5px 2px 2px;background:#CFE6DB;height:0;animation:xs-h2 .7s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:calc(var(--i) * 60ms + 200ms);}.dm-mini i.new{background:linear-gradient(180deg,#E7D08A,#C9A84C);}
@keyframes xs-h2{to{height:var(--h);}}
.dm-mn{display:flex;gap:10px;align-items:center;color:#1F6F5C;}.dm-mn .lc{width:22px;height:22px;}.dm-mn b{font-size:14.5px;color:#13231F;}
.dm-end{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px;}.dm-end .dm-go{width:auto;margin-top:0;}
@media (max-width:760px){
  .dm-overlay{padding:0;align-items:flex-end;}.dm-card{border-radius:24px 24px 0 0;max-height:94dvh;}.dm-head{border-radius:24px 24px 0 0;}
  .dm-cols{grid-template-columns:1fr;}.dm-sum{position:static;}.dm-grid{grid-template-columns:1fr;}.dm-methods{grid-template-columns:repeat(3,1fr);}
  .dm-line{grid-template-columns:44px 1fr auto;}.dm-lt{grid-column:2 / 4;text-align:left;}.dm-body{padding:18px 16px 22px;}
}
@media (prefers-reduced-motion:reduce){.dm-card,.dm-in,.dm-line,.dm-card2,.dm-mini i,.dm-reader i,.dm-ph{animation:none !important;transition:none !important;}.dm-mini i{height:var(--h);}}
.dm-card{overflow-x:hidden;}
.dm-steps{overflow-x:hidden;gap:6px;}
@media (max-width:560px){.dm-st span{display:none;}.dm-st.on span{display:inline;}}
