/* knewit shop: subject picker, cart page and order slip. Loaded after home.css (uses its tokens). */

/* header cart */
.nav-cart { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.nav-cart:hover { background: var(--soft); }
.nav-cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.nav-cart-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.nav-cart-n[hidden] { display: none; }

/* subject picker */
html.pk-open { overflow: hidden; }
.pk-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(12, 10, 20, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: pkFade .25s ease; }
.pk { width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); border-radius: 28px; padding: clamp(20px, 4vw, 30px); display: grid; gap: 18px; box-shadow: 0 40px 80px -30px rgba(12, 10, 20, .6); animation: pkUp .35s var(--ease); }
@keyframes pkFade { from { opacity: 0; } } @keyframes pkUp { from { transform: translateY(24px); opacity: 0; } }
.pk-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pk-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin: 0; }
.pk-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: -0.04em; margin: 4px 0 0; }
.pk-sub { color: var(--stone); margin: 6px 0 0; font-size: .95rem; }
.pk-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; }
.pk-x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.pk-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-quick button { font: inherit; font-size: .84rem; font-weight: 650; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pk-quick button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pk-quick [data-none] { color: var(--stone); border-style: dashed; }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) { .pk-list { grid-template-columns: 1fr; } }
.pk-list label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--soft); cursor: pointer; font-weight: 600; font-size: .93rem; line-height: 1.25; transition: background .2s, box-shadow .2s; }
.pk-list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pk-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9c7d3; background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.pk-box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.pk-list input:checked + .pk-box { background: var(--ink); border-color: var(--ink); } .pk-list input:checked + .pk-box svg { opacity: 1; }
.pk-list label:has(input:checked) { background: var(--lav-mist); box-shadow: inset 0 0 0 1.5px var(--lav); }
.pk-list input:focus-visible + .pk-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.pk-foot { position: sticky; bottom: calc(-1 * clamp(20px, 4vw, 30px)); margin-bottom: calc(-1 * clamp(20px, 4vw, 30px)); padding-bottom: clamp(20px, 4vw, 30px); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); background: var(--paper); }
.pk-total { margin: 0; font-size: .95rem; } .pk-total small { display: block; color: var(--stone); font-size: .78rem; }
.pk-go { flex: none; height: 50px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pk-go:disabled { opacity: .4; cursor: default; }

/* shop pages */
.shop-body { background: #f7f6fa; min-height: 100svh; }
.shop-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(var(--gutter), calc((100vw - 1120px) / 2)); background: rgba(247, 246, 250, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.shop-top .brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.shop-top a.back { color: var(--stone); font-weight: 600; font-size: .92rem; text-decoration: none; } .shop-top a.back:hover { color: var(--ink); }
.shop-main { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 44px) var(--gutter) 80px; }
.shop-main h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); letter-spacing: -0.05em; margin: 0 0 6px; }
.shop-lede { color: var(--stone); margin: 0 0 clamp(20px, 3vw, 32px); }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
@media (max-width: 880px) { .cart-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 24px; padding: clamp(18px, 3vw, 26px); box-shadow: 0 0 0 1px #ebeaf0; }
.card + .card { margin-top: 14px; }
.card h2 { font-size: 1.1rem; letter-spacing: -0.02em; margin: 0 0 14px; }

/* line items */
.lines { list-style: none; margin: 0; padding: 0; display: grid; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid #eeecf3; }
.line:first-child { padding-top: 0; } .line:last-child { border-bottom: 0; padding-bottom: 0; }
.line-art { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-family: var(--head); font-weight: 800; font-size: .95rem; letter-spacing: -0.02em;
  background: radial-gradient(90% 90% at 100% 0%, rgba(255,255,255,.35), transparent 60%), var(--a, #6a4ae0); box-shadow: 0 10px 20px -12px var(--a, #6a4ae0); }
.line-art.box { --a: #ff8a4c; } .line-art.set { --a: #6a4ae0; } .line-art.ext { --a: #1f9d74; } .line-art.app { --a: #111; }
.line-txt b { display: block; font-size: 1rem; } .line-txt small { display: block; color: var(--stone); font-size: .86rem; margin-top: 2px; line-height: 1.4; }
.line-tools { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 34px; height: 34px; border: 0; background: none; font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; border-radius: 50%; color: var(--ink); }
.qty button:disabled { opacity: .3; cursor: default; } .qty span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.lnk { border: 0; background: none; padding: 0; font: inherit; font-size: .86rem; font-weight: 650; color: var(--lav-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lnk.rm { color: var(--stone); }
.line-amt { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; } .chips i { font-style: normal; font-size: .76rem; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: var(--soft); }

/* add lifetime access */
.addapp { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #15121f, #2c2360); color: #fff; cursor: pointer; }
.addapp input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addapp .sw { flex: none; width: 46px; height: 28px; border-radius: 999px; background: rgba(255,255,255,.25); position: relative; transition: background .25s; }
.addapp .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.addapp input:checked + .sw { background: #7be0a6; } .addapp input:checked + .sw::after { transform: translateX(18px); }
.addapp input:focus-visible + .sw { outline: 2px solid #fff; outline-offset: 3px; }
.addapp-txt { flex: 1; min-width: 0; } .addapp-txt b { display: block; } .addapp-txt small { color: rgba(255,255,255,.7); font-size: .85rem; }
.addapp-price { text-align: right; white-space: nowrap; } .addapp-price s { display: block; color: rgba(255,255,255,.55); font-size: .82rem; } .addapp-price b { font-size: 1.1rem; }
.addapp.off { opacity: .55; cursor: default; }

/* summary + form */
.summary { position: sticky; top: 84px; }
@media (max-width: 880px) { .summary { position: static; } }
@media (max-width: 520px) { .line { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; } .line-art { width: 44px; height: 44px; border-radius: 12px; font-size: .8rem; } .line-tools { gap: 8px 12px; } }
.sum-rows { display: grid; gap: 8px; margin: 0 0 16px; font-size: .95rem; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; } .sum-rows dt { color: var(--stone); } .sum-rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.sum-rows .free { color: #17653a; font-weight: 700; }
.sum-rows .tot { padding-top: 12px; margin-top: 4px; border-top: 1px solid #eeecf3; font-size: 1.15rem; font-weight: 800; } .sum-rows .tot dt { color: var(--ink); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; } .fld span { font-size: .82rem; font-weight: 650; color: var(--stone); }
.fld input, .fld select { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #e4e2ea; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 16, 40, .08); }
.fld.bad input, .fld.bad select { border-color: #d92d20; }
.fset { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; } .fset legend { font-weight: 750; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.paybtn { margin-top: 18px; width: 100%; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; box-shadow: 0 16px 30px -16px rgba(20, 16, 40, .7); transition: transform .25s var(--ease); }
.paybtn:hover { transform: translateY(-2px); } .paybtn:disabled { opacity: .6; cursor: progress; transform: none; }
.err { margin: 12px 0 0; color: #b42318; font-size: .9rem; } .err[hidden] { display: none; }
.fine { display: flex; gap: 8px; margin: 12px 0 0; color: var(--stone); font-size: .82rem; line-height: 1.45; }
.fine svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.empty { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; } .empty p { color: var(--stone); }
.btn-ink { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; border: 0; font: inherit; cursor: pointer; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font-weight: 650; text-decoration: none; background: #fff; border: 0; font: inherit; cursor: pointer; }

/* order slip */
.slip { max-width: 680px; margin: 0 auto; }
.slip-hero { text-align: center; display: grid; justify-items: center; gap: 10px; margin-bottom: 26px; }
.slip-tick { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #e6f6ec; color: #17653a; }
.slip-tick svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slip-paper { background: #fff; border-radius: 26px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 0 0 1px #ebeaf0, 0 30px 60px -40px rgba(20, 16, 40, .4); position: relative; }
.slip-paper::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -8px; height: 16px; background: radial-gradient(circle at 8px 0, transparent 7px, #fff 7.5px) 0 0 / 16px 16px repeat-x; display: none; }
.slip-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1.5px dashed #e4e2ea; }
.slip-top small { display: block; color: var(--stone); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.slip-no { font-family: var(--head); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #e6f6ec; color: #17653a; text-transform: capitalize; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.created { background: #fff4e5; color: #7a3d00; } .status.cancelled { background: #fde8e4; color: #8a1c0b; } .status.shipped, .status.delivered { background: #e8f0ff; color: #1d4ed8; }
.slip-lines { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 12px; border-bottom: 1.5px dashed #e4e2ea; }
.slip-lines li { display: flex; justify-content: space-between; gap: 16px; } .slip-lines small { display: block; color: var(--stone); font-size: .84rem; } .slip-lines span:last-child { font-weight: 700; white-space: nowrap; }
.slip-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 18px; }
@media (max-width: 560px) { .slip-cols { grid-template-columns: 1fr; } }
.slip-cols h3 { margin: 0 0 6px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.slip-cols p { margin: 0; line-height: 1.55; font-size: .94rem; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
@media print {
  .shop-top, .slip-actions, .slip-hero .lede-print-hide { display: none !important; }
  .shop-body { background: #fff; } .slip-paper { box-shadow: none; border: 1px solid #ddd; }
}
/* Cart count sits on the Marketplace link (owner, 15 Nov 2026: no separate cart icon) */
.nav-mk { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav-mk .nav-cart-n { position: static; }
/* Cart + order slip line up with the header (owner, 15 Nov 2026): same 1240px column, same edges */
.shop-main { max-width: none; padding-inline: max(clamp(16px, 4.5vw, 48px), calc((100% - 1240px) / 2)); }
.cart-grid { grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr); }
@media (max-width: 880px) { .cart-grid { grid-template-columns: 1fr; } }
/* Trust card + "powered by" (owner, 15 Nov 2026). Facts only: no counts, no badges we haven't earned. */
.trust { margin-top: 14px; }
.tr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 1100px) { .tr-list { grid-template-columns: 1fr 1fr; gap: 16px 22px; } }
.tr-list li { display: flex; gap: 12px; align-items: flex-start; }
.tr-list svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: #f2eefe; stroke: #5b3fc4; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-list b { display: block; font-size: .93rem; }
.tr-list span { display: block; color: var(--stone); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.tr-list a { color: var(--lav-deep); }
.pw { margin-top: 16px; padding-top: 14px; border-top: 1px solid #eeecf3; }
.pw-by { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .86rem; color: var(--stone); }
.pw-by svg { width: 18px; height: 18px; fill: none; stroke: #17653a; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pw-by b { color: var(--ink); }
.pw-m { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pw-m li { font-size: .74rem; font-weight: 700; letter-spacing: .01em; padding: 5px 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #e4e2ea; color: #3d3b48; }
/* Trust v2: pictures over words */
.tr-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tr-tiles li, .tr-tiles a { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--ink); text-decoration: none; }
.tr-tiles li { padding: 14px 8px 12px; border-radius: 16px; background: #faf9fd; }
.tr-tiles svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #f2eefe; stroke: #5b3fc4; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-tiles b { font-size: .8rem; line-height: 1.25; font-weight: 700; }
.tr-tiles a:hover b { text-decoration: underline; }
.pw-by .rzp { width: 92px; height: 22px; stroke: none; }
.pw-m li { display: grid; place-items: center; height: 34px; padding: 0 10px; border-radius: 8px; }
.pw-m li svg { height: 22px; width: auto; }
.pw-m li svg.ic { fill: none; stroke: #3d3b48; stroke-width: 1.8; stroke-linecap: round; height: 20px; }
/* Trust v3: UPI apps + security strip */
.trust h2 { margin-bottom: 12px; }
.upi-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.upi-apps li { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 16px; background: #faf9fd; text-align: center; }
.upi-apps svg { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px #ebeaf0, 0 6px 14px -8px rgba(20,16,40,.35); }
.upi-apps b { font-size: .78rem; font-weight: 700; line-height: 1.2; }
.sec-row { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #eeecf3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sec-row li { display: flex; align-items: center; gap: 10px; }
.sec-row svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #e9f7ef; stroke: #17653a; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sec-row span { font-size: .74rem; color: var(--stone); line-height: 1.25; } .sec-row b { display: block; font-size: .9rem; color: var(--ink); }
@media (max-width: 520px) { .upi-apps { grid-template-columns: repeat(2, 1fr); } .sec-row { grid-template-columns: 1fr; } }
.upi-apps img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px #ebeaf0, 0 6px 14px -8px rgba(20,16,40,.35); }
.sec-row svg { background: linear-gradient(145deg, #16a34a, #0f7a3a); stroke: #fff; box-shadow: 0 6px 14px -8px rgba(15,122,58,.7); } .sec-row b { color: #0f5132; }
.pw { border-top: 0; padding-top: 0; }
.paybtn { border-radius: 14px; }
.sum-rows .was { color: #9a98a6; font-weight: 500; margin-right: 6px; } .sum-rows .free { display: inline-block; padding: 2px 10px; border-radius: 999px; background: linear-gradient(145deg, #16a34a, #0f7a3a); color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .02em; }
.sec-row svg { background: none; box-shadow: none; stroke: #16a34a; padding: 4px; stroke-width: 2.1; }
/* Lifetime "ticket" flying into the summary */
.fly-x { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; will-change: transform; }
.fly-tk { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: linear-gradient(135deg, #15121f, #2c2360); color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; box-shadow: 0 18px 34px -14px rgba(44,35,96,.65), 0 0 0 1px rgba(255,255,255,.08) inset; will-change: transform, opacity; }
.fly-tk i { width: 18px; height: 18px; border-radius: 50%; background: #7be0a6; box-shadow: 0 0 0 4px rgba(123,224,166,.18); }
.fly-tk b { font-weight: 800; }
.sum-rows > div { position: relative; }
.sum-rows > div.land::before { content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 3px; border-radius: 3px; background: #7464d2; animation: landbar 1.3s ease forwards; }
.sum-rows > div.land dd { animation: landpop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes landbar { 0% { transform: scaleY(0); opacity: 1; } 25% { transform: scaleY(1); } 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes landpop { 0% { transform: scale(.85); } 100% { transform: scale(1); } }
.addapp { border-radius: 14px; } .sum-rows .free { background: none; padding: 0; color: var(--ink); font-size: inherit; font-weight: 700; letter-spacing: 0; border-radius: 0; }
/* Lifetime "printer" scene (owner, 15 Nov 2026) */
.trust { position: relative; }
.roll-bar { position: absolute; top: 0; bottom: 0; left: 0; width: 20px; border-radius: 10px; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, #d9d6e4, #ffffff 40%, #f1eff7 60%, #c9c5d8); box-shadow: -6px 0 14px -6px rgba(20,16,40,.35); }
.pslip { position: fixed; left: 0; top: 0; z-index: 70; width: 252px; pointer-events: none; transform-origin: 50% 0; will-change: transform, clip-path;
  filter: drop-shadow(0 0 .6px rgba(20,16,40,.35)); }
/* the slip (owner's picture 2): white ticket, notches at the cut line, scalloped foot */
.ps-in { --n: 9px; background: #fff; color: #17151f; font: 500 12px/1.4 Inter, system-ui, sans-serif; border-radius: 14px 14px 0 0; padding-bottom: 22px;
  -webkit-mask: radial-gradient(circle var(--n) at 0 104px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 104px, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--n) at 0 104px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 104px, #0000 98%, #000) right / 51% 100% no-repeat; }
.ps-sc { -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle 10px at 50% 100%, #0000 97%, #000) bottom / 28px 9px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 9px) no-repeat, radial-gradient(circle 10px at 50% 100%, #0000 97%, #000) bottom / 28px 9px repeat-x; }
.ps-in p { margin: 0; }
.ps-top { text-align: center; padding: 16px 16px 0; height: 104px; box-sizing: border-box; }
.ps-pop { font-size: 26px; line-height: 1; display: block; }
.ps-t { font-weight: 800; font-size: 16px; letter-spacing: -.01em; margin-top: 6px !important; }
.ps-s { color: #77748a; font-size: 11.5px; margin-top: 2px !important; }
.ps-cut { margin: 0 22px; border-top: 1.5px dashed #cfccd9; height: 0; }
.ps-mid { padding: 14px 18px 4px; display: grid; gap: 10px; }
.ps-mid small { display: block; color: #77748a; font-size: 10px; letter-spacing: .02em; }
.ps-mid b { display: block; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ps-two { display: flex; justify-content: space-between; gap: 8px; } .ps-two .r { text-align: right; }
.ps-card { display: flex; align-items: center; gap: 10px; background: #f5f6fa; border-radius: 10px; padding: 9px 11px; }
.ps-card img { width: 26px; height: 26px; border-radius: 7px; } .ps-card b { font-size: 11.5px; } .ps-card small { font-size: 10px; }
.ps-dash { margin: 10px 0 12px; height: 0; border-top: 2px dashed #e6e6ef; }
.ps-code { text-align: center; } .ps-bars { display: inline-flex; height: 34px; align-items: stretch; } .ps-bars i { background: #111; display: block; }
.ps-code small { display: block; font: 500 8px/1 ui-monospace, Consolas, monospace; color: #444; margin-top: 3px; letter-spacing: .05em; }
.pslip.torn .ps-in { clip-path: none; }
/* the printer's mouth (owner's picture 1): brushed-metal plate with a dark slot */
.pslot { position: fixed; z-index: 71; height: 30px; pointer-events: none; border-radius: 15px; overflow: hidden;
  background: linear-gradient(#ffffff, #ecebf2 55%, #f7f6fb); box-shadow: 0 6px 14px -4px rgba(20,16,40,.25), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.08); }
.pslot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#f4f4f6, #c9c9cf 55%, #e7e7eb); opacity: 0; transition: opacity .26s; }
.pslot::after { content: ""; position: absolute; left: 10px; right: 10px; top: 13px; height: 8px; border-radius: 5px;
  background: linear-gradient(#1c1b22, #4a4952); box-shadow: inset 0 2px 3px rgba(0,0,0,.6); opacity: 0; transform: scaleX(.3); transition: opacity .26s, transform .26s; }
.pslot.metal { border-radius: 9px; } .pslot.metal::before, .pslot.metal::after { opacity: 1; } .pslot.metal::after { transform: none; }
.pw-by img.rzp { height: 20px; width: auto; display: block; }

/* Email + address after payment (15 Nov 2026) */
.after-note { margin: 10px 0 0; font-size: .82rem; color: var(--stone, #6b6b78); }
.details { max-width: 640px; margin: 8px auto 0; }
.details h2 { margin: 6px 0 4px; }
.details .fgrid { margin: 18px 0; }
.paid-k { margin: 0; font-size: .8rem; font-weight: 700; color: #17653a; }

/* "Secured by" spacing */
.pw-by { gap: 8px; }
.pw-by .rzp { margin-left: 2px; }
/* Order route: 5 steps at the top, animated as the buyer moves on (15 Nov 2026) */
.route { --n: 5; list-style: none; margin: 4px 0 26px; padding: 18px 8px 14px; display: grid; grid-template-columns: repeat(var(--n), 1fr); position: relative; background: #fff; border: 1px solid #ececf2; border-radius: 16px; }
.route::before, .route::after { content: ""; position: absolute; top: 34px; left: calc(100% / var(--n) / 2 + 8px); height: 3px; border-radius: 3px; }
.route::before { right: calc(100% / var(--n) / 2 + 8px); background: #ececf2; }
.route::after { width: calc((100% - 100% / var(--n) - 16px) * var(--p) / (var(--n) - 1)); background: linear-gradient(90deg, #7464d2, #14102a); transition: width .7s cubic-bezier(.65,0,.25,1); }
.route li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .8rem; font-weight: 600; color: #8a8a96; position: relative; z-index: 1; transition: color .4s; }
.route i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: #fff; border: 2px solid #e4e4ec; color: #8a8a96; position: relative; transition: background .4s, border-color .4s, color .4s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.route i b { font-size: .82rem; font-weight: 800; transition: opacity .25s, transform .3s; }
.route i svg { position: absolute; width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s .15s; }
.route li.done { color: #14102a; }
.route li.done i { background: #14102a; border-color: #14102a; }
.route li.done i b { opacity: 0; transform: scale(.4); }
.route li.done i svg { stroke-dashoffset: 0; }
.route li.now { color: #14102a; font-weight: 800; }
.route li.now i { border-color: #7464d2; color: #7464d2; background: #f2eefe; transform: scale(1.12); }
.route li.now i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #7464d2; opacity: 0; animation: routePing 1.8s ease-out infinite; }
@keyframes routePing { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 600px) { .route { padding: 14px 2px 10px; } .route li { font-size: .68rem; } .route::before, .route::after { top: 30px; } }
@media (prefers-reduced-motion: reduce) { .route::after, .route i, .route i svg, .route i b { transition: none; } .route li.now i::after { animation: none; } }
.d-info { margin: 14px 0 22px; padding: 16px 18px; border-radius: 14px; background: #f6f6fa; border: 1px solid #ececf2; }
.d-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0; }
.d-meta dt { font-size: .72rem; font-weight: 600; color: var(--stone, #6b6b78); }
.d-meta dd { margin: 2px 0 0; font-weight: 700; font-size: .92rem; word-break: break-all; }
.d-info h3 { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid #e4e4ec; font-size: .9rem; }
.d-lines { list-style: none; margin: 0; padding: 0; }
.d-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .88rem; }
.d-lines small { display: block; color: var(--stone, #6b6b78); font-size: .75rem; }
.d-lines .was { color: #8a8a96; margin-right: 4px; }
.d-lines .tot { border-top: 1px solid #e4e4ec; margin-top: 4px; padding-top: 10px; font-weight: 800; font-size: 1rem; }

/* Paid summary + address: two columns in landscape, summary folded on phones/portrait */
.details { max-width: 640px; }
.d-paid summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 0; }
.d-paid summary::-webkit-details-marker { display: none; }
.d-paid .paid-k { flex: 1; }
.d-tot { font-weight: 800; font-size: .95rem; }
.d-chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .25s; }
.d-paid[open] .d-chev { transform: rotate(180deg); }
.d-paid .d-info { margin: 10px 0 18px; }
@media (min-width: 1024px) and (min-height: 600px) and (orientation: landscape) {
  .details { max-width: 1040px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
  .details > .d-paid { position: sticky; top: 24px; }
  .d-paid summary { pointer-events: none; }
  .d-paid .d-chev, .d-paid .d-tot { display: none; }
  .d-paid .d-info { margin-bottom: 0; }
  .d-form h2 { margin-top: 0; }
}
@media (max-width: 1023.98px), (max-height: 599.98px), (orientation: portrait) {
  .d-paid { border: 1px solid #ececf2; border-radius: 14px; background: #f6f6fa; padding: 10px 14px; margin-bottom: 16px; }
  .d-paid .d-info { border: 0; padding: 0; margin: 8px 0 4px; background: none; }
}
.upi-apps { grid-template-columns: repeat(5, 1fr) !important; }
@media (max-width: 600px) { .upi-apps { grid-template-columns: repeat(3, 1fr) !important; } }
.details[hidden] { display: none !important; }
