/* Live HTML mockups of the real NewPOS screens (used on marketing pages). Prefix m- */
.phone { width: 262px; flex: none; padding: 9px; border-radius: 38px; background: #111827; box-shadow: 0 24px 50px rgba(15,23,42,.28), inset 0 0 0 2px #374151; position: relative; margin: 0 auto; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 70px; height: 16px; background: #111827; border-radius: 10px; z-index: 5; }
.phone .screen { height: 540px; background: #f3f4f6; border-radius: 30px; overflow: hidden; position: relative; font-size: 12px; line-height: 1.35; color: #111827; padding-top: 30px; display: flex; flex-direction: column; }
.phone.sm { width: 220px; } .phone.sm .screen { height: 456px; font-size: 10.5px; }
.phone-cap { text-align: center; margin-top: .8rem; font-weight: 600; } .phone-cap small { display: block; font-weight: 400; color: var(--muted); }
.m-ic { display: inline-flex; } .m-ic svg.i { width: 16px; height: 16px; }

/* top bar, chips, grid */
.m-top { display: flex; gap: .4rem; align-items: center; padding: .45rem .6rem; background: #fff; border-bottom: 1px solid var(--line); }
.m-search { flex: 1; background: #f3f4f6; border-radius: 9px; padding: .42rem .6rem; color: #6b7280; }
.m-chips { display: flex; gap: .3rem; padding: .5rem .6rem; overflow: hidden; } .m-chips b { font-weight: 600; padding: .25rem .6rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); white-space: nowrap; } .m-chips b.on { background: #111827; color: #fff; border-color: #111827; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; padding: 0 .6rem; }
.m-tile { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c, #0f766e); border-radius: 10px; padding: .5rem; min-height: 62px; display: flex; flex-direction: column; justify-content: space-between; position: relative; animation: m-pop .5s both; animation-delay: calc(var(--d, 0) * 90ms); }
.m-tile b { font-weight: 600; } .m-tile span { color: var(--brand); font-weight: 700; }
.m-tile .q { position: absolute; top: -6px; right: -6px; background: var(--brand); color: #fff; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.m-cartbar { margin: auto .6rem .6rem; background: var(--brand); color: #fff; border-radius: 12px; padding: .65rem .8rem; display: flex; justify-content: space-between; font-weight: 700; }

/* cart sheet */
.m-sheet { flex: 1; background: #fff; margin-top: .5rem; border-radius: 18px 18px 0 0; padding: .7rem .7rem .6rem; display: flex; flex-direction: column; gap: .35rem; box-shadow: 0 -4px 14px rgba(0,0,0,.08); }
.m-sheet h4 { margin: 0 0 .2rem; font-size: 13px; }
.m-line { display: grid; grid-template-columns: 1fr auto; gap: 0 .5rem; padding: .3rem 0; border-bottom: 1px solid #f3f4f6; animation: m-slide .5s both; animation-delay: calc(var(--d, 0) * 150ms); } .m-line small { color: var(--muted); grid-column: 1; }
.m-qty { display: flex; align-items: center; gap: .3rem; grid-column: 2; justify-self: end; } .m-qty i { font-style: normal; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line); display: grid; place-items: center; }
.m-cust { display: flex; align-items: center; gap: .4rem; background: var(--brand-l); border-radius: 10px; padding: .4rem .5rem; } .m-cust b { flex: 1; } .m-cust em { font-style: normal; color: var(--brand-d); font-weight: 700; font-size: 10.5px; } .m-mini { border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: .15rem .45rem; font-weight: 600; }
.m-sum { display: flex; justify-content: space-between; } .m-sum.ok { color: #15803d; } .m-sum.mu { color: var(--muted); font-size: 11px; } .m-sum.tot { font-weight: 800; font-size: 15px; border-top: 1px solid var(--line); padding-top: .3rem; margin-top: .1rem; }
.m-btn { background: var(--brand); color: #fff; border-radius: 11px; text-align: center; padding: .65rem; font-weight: 700; margin-top: auto; } .m-btn.ghost { background: #fff; color: #111827; border: 1px solid var(--line); margin-top: 0; }
.m-seg { display: flex; background: #e5e7eb; border-radius: 10px; padding: 3px; gap: 3px; } .m-seg b { flex: 1; text-align: center; padding: .4rem; border-radius: 8px; font-weight: 600; } .m-seg b.on { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); color: var(--brand); }
.m-field { border: 1px solid var(--line); border-radius: 9px; padding: .45rem .6rem; background: #fff; } .m-label { color: var(--muted); font-size: 10.5px; margin-bottom: .15rem; }
.m-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; } .m-quick b { text-align: center; border: 1px solid var(--line); border-radius: 9px; padding: .4rem 0; font-weight: 600; background: #fff; } .m-quick b.on { border-color: var(--brand); background: var(--brand-l); color: var(--brand-d); }
.m-big { font-size: 26px; font-weight: 800; text-align: center; } .m-center { text-align: center; } .m-mu { color: var(--muted); }
.m-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .6rem; margin: 0 .6rem .35rem; } .m-row .s { color: var(--muted); font-size: 10.5px; }
.m-badge { font-weight: 700; font-size: 10px; padding: .12rem .5rem; border-radius: 99px; background: #dcfce7; color: #15803d; } .m-badge.low { background: #fef3c7; color: #b45309; } .m-badge.out { background: #fee2e2; color: #b91c1c; } .m-badge.br { background: var(--brand-l); color: var(--brand-d); }
.m-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; padding: 0 1rem; } .m-pad b { background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; padding: .6rem 0; font-size: 17px; }
.m-dots { display: flex; justify-content: center; gap: .55rem; margin: .8rem 0 1rem; } .m-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--brand); } .m-dots i:nth-child(-n+4) { animation: m-fill 4s infinite; animation-delay: calc(var(--n) * .45s); }
.m-pad-in { display: flex; flex-direction: column; justify-content: center; flex: 1; padding-bottom: 1rem; } .m-logo { text-align: center; font-weight: 800; font-size: 20px; color: var(--brand); } .m-logo small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
.m-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; padding: .6rem; } .m-kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .5rem; } .m-kpi small { color: var(--muted); display: block; } .m-kpi b { font-size: 16px; }
.m-bars { display: flex; align-items: flex-end; gap: .35rem; height: 92px; padding: .5rem .7rem 0; margin: 0 .6rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; } .m-bars i { flex: 1; background: linear-gradient(var(--brand), #14b8a6); border-radius: 5px 5px 0 0; height: var(--h); transform-origin: bottom; }
.reveal.in .m-bars i, .m-flow .m-bars i, .in .m-bars i { animation: m-grow 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--n, 0) * 70ms); }
.m-check { width: 70px; height: 70px; margin: 1.2rem auto .6rem; } .m-check circle { fill: #dcfce7; } .m-check path { fill: none; stroke: #15803d; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: m-draw .7s .3s forwards; }
.m-modal { margin-top: auto; background: #fff; border-radius: 18px 18px 0 0; padding: .8rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; box-shadow: 0 -6px 18px rgba(0,0,0,.12); }
.m-opt { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .55rem; } .m-opt i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #9ca3af; flex: none; } .m-opt.on { border-color: var(--brand); background: var(--brand-l); } .m-opt.on i { border-color: var(--brand); background: radial-gradient(var(--brand) 45%, transparent 50%); } .m-opt.sq i { border-radius: 4px; } .m-opt.sq.on i { background: var(--brand); } .m-opt span { margin-left: auto; color: var(--muted); }
.dim { filter: brightness(.55); }

/* receipt + desktop-style cards */
.receipt-mock { width: 270px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(15,23,42,.14); padding: 1rem; font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; margin: 0 auto; transform: rotate(-1.5deg); } .receipt-mock .ln { display: flex; justify-content: space-between; } .receipt-mock hr { border: 0; border-top: 1px dashed #9ca3af; margin: .45rem 0; } .receipt-mock .tot { font-weight: 800; font-size: 14px; } .receipt-mock .c { text-align: center; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(15,23,42,.14); overflow: hidden; font-size: 12px; } .win-bar { background: #f3f4f6; border-bottom: 1px solid var(--line); padding: .45rem .7rem; display: flex; gap: .3rem; align-items: center; } .win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; } .win-bar span { margin-left: .6rem; color: var(--muted); font-size: 11px; }
.win table { width: 100%; border-collapse: collapse; } .win th { text-align: left; font-weight: 600; color: var(--muted); padding: .45rem .7rem; border-bottom: 1px solid var(--line); font-size: 11px; } .win td { padding: .45rem .7rem; border-bottom: 1px solid #f3f4f6; } .win tr.hl { animation: m-hl 3s infinite; }
.lang-demo { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; } .lang-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; min-width: 180px; box-shadow: 0 10px 24px rgba(15,23,42,.08); } .lang-card .sw { display: inline-block; animation: m-swap 6s infinite; } .lang-card .sw.b { position: absolute; animation-delay: 3s; }

/* auto-playing sale flow (5 screens) */
.m-flow { position: relative; flex: 1; } .m-flow .m-s { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; animation: m-cycle 15s infinite; animation-delay: calc(var(--i) * 3s); }
.m-steps { display: flex; justify-content: center; gap: .4rem; margin-top: .8rem; flex-wrap: wrap; } .m-steps b { color: #111827; font-size: 12px; padding: .2rem .7rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); opacity: .55; animation: m-step 15s infinite; animation-delay: calc(var(--i) * 3s); }

@keyframes m-pop { from { opacity: 0; transform: scale(.8) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes m-slide { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes m-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes m-draw { to { stroke-dashoffset: 0; } }
@keyframes m-fill { 0%, 10% { background: transparent; } 20%, 80% { background: var(--brand); } 90%, 100% { background: transparent; } }
@keyframes m-cycle { 0% { opacity: 0; transform: translateY(10px); } 3%, 19% { opacity: 1; transform: none; } 22%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes m-step { 0%, 2% { opacity: .55; } 3%, 19% { opacity: 1; background: var(--brand); color: #fff; border-color: var(--brand); } 22%, 100% { opacity: .55; background: #fff; color: #111827; border-color: var(--line); } }
@keyframes m-hl { 0%, 60%, 100% { background: transparent; } 70%, 90% { background: #ecfdf5; } }
@keyframes m-swap { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes m-fade { 0% { opacity: 0; } 3%, 19% { opacity: 1; } 22%, 100% { opacity: 0; } }
/* Reduced motion: no movement, but keep the slow fades so the demo still plays */
@media (prefers-reduced-motion: reduce) {
  .m-tile, .m-line, .m-dots i, .win tr, .lang-card .sw, .m-bars i { animation: none !important; transform: none; }
  .m-check path { animation: none !important; stroke-dashoffset: 0; }
  .m-flow .m-s { animation-name: m-fade; }
}

/* Tablet / desktop screens */
.win-app, .win-pos { max-width: 100%; }
.wa-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.wa-side { background: #0b1f1d; color: #cbd5e1; padding: .7rem .5rem; } .wa-brand { color: #fff; font-weight: 800; font-size: 14px; padding: .2rem .5rem .7rem; }
.wa-nav { display: flex; align-items: center; gap: .45rem; padding: .38rem .5rem; border-radius: 8px; font-size: 11.5px; } .wa-nav svg.i { width: 14px; height: 14px; } .wa-nav.on { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }
.wa-main { background: #f3f4f6; min-width: 0; } .wa-top { background: #fff; border-bottom: 1px solid var(--line); padding: .55rem .9rem; display: flex; justify-content: space-between; align-items: center; font-size: 14px; } .wa-content { padding: .8rem; }
.wa-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .8rem; } .wa-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: .8rem; } .wa-h { font-weight: 700; margin-bottom: .35rem; }
.wa-t { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; font-size: 11.5px; } .wa-t th { text-align: left; color: var(--muted); font-weight: 600; padding: .45rem .6rem; border-bottom: 1px solid var(--line); background: #fafafa; } .wa-t td { padding: .45rem .6rem; border-bottom: 1px solid #f3f4f6; } .wa-t .r { text-align: right; } .wa-t .s, .s { color: var(--muted); font-size: 10.5px; } .wa-t tr.hl { animation: m-hl 3s infinite; }
.win-pos .wp-body { display: grid; grid-template-columns: 1fr 270px; background: #f3f4f6; } .wp-cat { padding: .7rem; min-width: 0; } .wp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.wp-cart { background: #fff; border-left: 1px solid var(--line); padding: .8rem; display: flex; flex-direction: column; gap: .4rem; } .wp-cart h4 { margin: 0; font-size: 14px; }
.win-pos .m-tile, .win-app .m-tile { font-size: 12px; }
@media (max-width: 760px) { .wa-body { grid-template-columns: 1fr; } .wa-side { display: none; } .wa-kpis { grid-template-columns: 1fr 1fr; } .wa-two { grid-template-columns: 1fr; } .win-pos .wp-body { grid-template-columns: 1fr; } .wp-grid { grid-template-columns: repeat(3, 1fr); } .wp-cart { border-left: 0; border-top: 1px solid var(--line); } }
.wa-content { overflow-x: auto; } .wa-t td b { font-size: 11.5px; }
.desk-two .wa-body { grid-template-columns: 1fr; } .desk-two .wa-side { display: none; } .desk-two .wa-t { min-width: 0; }

/* fashion picker + matrix mockups */
.pk-grid { display: grid; grid-template-columns: 26px repeat(5, 1fr); gap: .25rem; align-items: center; } .pk-grid b { color: var(--muted); font-size: 10.5px; } .pk-grid i { font-style: normal; font-weight: 700; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: .3rem 0; background: #fff; line-height: 1.1; } .pk-grid i s { display: block; text-decoration: none; font-size: 8px; font-weight: 500; color: var(--muted); } .pk-grid i.x { opacity: .35; text-decoration: line-through; } .pk-grid i.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.mx-demo { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; margin-top: .4rem; } .mx-demo th { font-size: 10.5px; color: var(--muted); text-align: center; font-weight: 600; } .mx-demo td { background: #fff; border: 1px solid var(--line); border-radius: 6px; text-align: center; padding: .35rem 0; font-weight: 700; } .mx-demo td.z { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; } .mx-demo td.l { background: #fef3c7; border-color: #fcd34d; color: #92400e; }

/* new marketing screens */
.m-else { font-style: normal; display: block; font-size: 9px; font-weight: 700; color: #99f6e4; }
.m-ring { --p: 0; width: 62px; height: 62px; border-radius: 50%; display: inline-grid; place-items: center; background: conic-gradient(#0f766e calc(var(--p) * 1%), #e5e7eb 0); position: relative; } .m-ring::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; } .m-ring b { position: relative; font-size: 14px; } .m-ring.sm { width: 40px; height: 40px; margin-left: auto; } .m-ring.sm::before { inset: 5px; } .m-ring.sm b { font-size: 10px; }
.pg-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; } .pg-m { border: 1px solid #e5e7eb; border-radius: 10px; padding: .4rem .5rem; display: flex; flex-direction: column; gap: .15rem; font-size: 11px; } .pg-m.used { border-color: #86efac; } .pg-m.setup { border-color: #fde68a; } .pg-m small { color: #6b7280; }
