/* 2026-11-12: tours (What you get, Live in three steps), feature tiles with media, and the
   "Works with" tiles. Markup: tour(), showcase(), stepsTour(), worksVis() in next/product-page.js.
   Behaviour: assets/tour.js. Only products with that data use them (Bundles first). */

/* ---------------------------------------------------------------- tour: points + browser frame */
.tour { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tour-i {
  position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 18px 18px; border-radius: 16px; border: 1px solid transparent; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer;
  transition: background 300ms var(--ease), border-color 300ms, box-shadow 300ms, opacity 300ms; opacity: 0.62;
}
.tour-i:hover { opacity: 1; background: rgb(255 255 255 / 0.6); }
.tour-i.on { opacity: 1; background: #fff; border-color: var(--border); box-shadow: var(--shadow-2); }
.tour-c, .tour-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--ink-3); transition: background 300ms, color 300ms; }
.tour-c svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-n { width: 32px; height: 32px; font-weight: 650; font-size: 14px; }
.tour-i.on .tour-c, .tour-i.on .tour-n { background: var(--violet); color: #fff; }
.tour-t b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; padding-top: 2px; }
.tour-t small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.tour-bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.tour-i.on .tour-bar { background: var(--surface-3); }
.tour-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet-2), var(--violet)); }
.tour-i.on .tour-bar i { animation: tourFill var(--dur, 3400ms) linear forwards; }
.tour.idle .tour-i.on .tour-bar i { animation-play-state: paused; }
@keyframes tourFill { to { width: 100%; } }

.sc-frame { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgb(30 10 60 / 0.35), 0 2px 8px rgb(0 0 0 / 0.04); }
.sc-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--surface-1); border-bottom: 1px solid var(--border); }
.sc-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .sc-bar > i:nth-child(2) { background: #febc2e; } .sc-bar > i:nth-child(3) { background: #28c840; }
.sc-url { margin-left: 14px; padding: 3px 12px; border-radius: 7px; background: #fff; border: 1px solid var(--border); font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.sc { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s 700ms; }
.sc.on { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }
/* .sc-cam is the view; it zooms toward the focus side. Shot + pins cover it at one consistent size (--l/--t/--w/--h). */
.sc-cam { position: absolute; inset: 0; transform-origin: var(--ox) var(--oy); transform: scale(1); transition: transform 1800ms var(--ease-out); }
.sc.on .sc-cam { transform: scale(var(--z)); transition-delay: 250ms; }
.sc-shot, .sc-pins { position: absolute; left: var(--l, 0%); top: var(--t, 0%); width: var(--w, 100%); height: var(--h, 100%); }
/* pins ride the zoom to stay on their spot, but keep their size */
.sc-pin { transform: scale(1); transform-origin: 0 0; transition: transform 1800ms var(--ease-out); }
.sc.on .sc-pin { transform: scale(calc(1 / var(--z))); transition-delay: 250ms; }
.sc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-pins { pointer-events: none; z-index: 2; }
.sc-pin { position: absolute; }
.sc-pin i { position: absolute; left: 0; top: 0; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: rgb(139 92 246 / 0.25); border: 2px solid var(--violet-2); opacity: 0; scale: 0.4; transition: opacity 400ms, scale 500ms var(--spring); }
.sc-pin i::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--violet-2); animation: pinPing 1.8s ease-out infinite; }
@keyframes pinPing { to { transform: scale(2.4); opacity: 0; } }
.sc-pin em { position: absolute; left: 20px; top: -16px; padding: 7px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.45); opacity: 0; translate: -6px 0; transition: opacity 400ms, translate 500ms var(--ease-out); }
.sc-pin.l em { left: auto; right: 20px; translate: 6px 0; }
.sc.on .sc-pin i { opacity: 1; scale: 1; transition-delay: 1300ms; }
.sc.on .sc-pin em { opacity: 1; translate: 0 0; transition-delay: 1500ms; }
.sc-phone { position: absolute; z-index: 3; right: 5%; bottom: -12%; width: 22%; aspect-ratio: 390 / 844; padding: 5px; border-radius: 26px; background: #0c0c10; box-shadow: 0 30px 60px -20px rgb(30 10 60 / 0.5); translate: 0 40%; opacity: 0; transition: translate 900ms var(--ease-out), opacity 500ms; }
.sc-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 21px; }
.sc.on .sc-phone { translate: 0 0; opacity: 1; transition-delay: 700ms; }
.sc.on.has-phone .sc-cam { transform: scale(var(--z)) translateX(-6%); }
.tour.idle .sc-pin i::after { animation-play-state: paused; }

/* drawn scene: the block editor with the Bundle block */
.sc-ed { position: absolute; inset: 0; background: #f6f6f8; font-size: 12px; }
.sc-ed-top { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 18px; background: #fff; border-bottom: 1px solid var(--border); }
.sc-ed-top span { padding: 5px 12px; border-radius: 6px; background: #3858e9; color: #fff; font-weight: 600; font-size: 11.5px; }
.sc-ed-body { position: absolute; left: 50%; top: 58px; translate: -50% 0; width: 58%; display: grid; gap: 9px; padding: 22px 26px; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgb(0 0 0 / 0.06); }
.sc-ed-body > i { height: 9px; border-radius: 5px; background: var(--surface-3); } .sc-ed-body > i.s { width: 70%; }
.sc-ed-blk { border: 2px solid #3858e9; border-radius: 6px; padding: 10px 12px; display: grid; gap: 7px; transform-origin: 50% 0; }
.sc-ed-l { display: flex; align-items: center; gap: 6px; font-weight: 650; font-size: 11.5px; } .sc-ed-l small { font-weight: 500; color: var(--ink-3); }
.sc-ed-l svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sc-ed-b { display: flex; align-items: baseline; gap: 8px; padding: 8px 10px; border-radius: 6px; background: var(--surface-1); } .sc-ed-b span { margin-right: auto; font-weight: 600; } .sc-ed-b s { color: var(--ink-4); }
.sc-ed-btn { justify-self: start; padding: 6px 12px; border-radius: 5px; background: #0f6fd6; color: #fff; font-weight: 600; font-size: 11px; }
.sc-ed-sc { font-family: var(--mono); font-size: 11.5px; padding: 8px 10px; border-radius: 6px; background: #1e1e2a; color: #c4b5fd; }
.sc-ed-ins { position: absolute; left: 13%; top: 46%; padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-2); display: grid; gap: 1px; }
.sc-ed-ins p { font-weight: 650; } .sc-ed-ins small { color: var(--ink-3); font-size: 10.5px; }
.sc.on .sc-ed-blk { animation: blkIn 4s 300ms var(--ease-out) both; }
.sc.on .sc-ed-ins { animation: insPop 4s 300ms var(--ease-out) both; }
.sc.on .sc-ed-sc { animation: blkIn 4s 900ms var(--ease-out) both; }
@keyframes blkIn { 0% { opacity: 0; transform: scaleY(0.6) translateY(-8px); } 25%, 100% { opacity: 1; transform: none; } }
@keyframes insPop { 0% { opacity: 0; transform: translateY(10px); } 15%, 30% { opacity: 1; transform: none; } 45%, 100% { opacity: 0; transform: translate(40px, -30px) scale(0.9); } }

/* ---------------------------------------------------------------- What you get (showcase rows) */
.pp-show { padding: 96px 0 40px; }
.show-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 72px; row-gap: 22px; padding: 56px 0; }
.show-row + .show-row { border-top: 1px solid var(--border); }
.show-row .tour { display: contents; }
.show-copy { grid-column: 1; grid-row: 2; align-self: end; display: grid; gap: 10px; }
.show-h { font-size: clamp(28px, 2.6vw, 40px); }
.show-row .tour-list { grid-column: 1; grid-row: 3; align-self: start; }
.show-row .tour-media { grid-column: 2; grid-row: 1 / -1; align-self: center; }
.show-row.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.show-row.flip .show-copy, .show-row.flip .tour-list { grid-column: 2; }
.show-row.flip .tour-media { grid-column: 1; }

/* ---------------------------------------------------------------- Live in three steps */
.tour-steps { border-top: 1px solid var(--border); background: linear-gradient(var(--bg), var(--surface-1)); }
.tour-steps .tour { margin-top: 8px; }

/* ---------------------------------------------------------------- feature tiles with media */
.fg-t.has-m { padding-top: 12px; }
.fg-m { position: relative; display: block; height: 190px; margin: 0 -8px 10px; border-radius: 12px; overflow: hidden; background: var(--surface-1); border: 1px solid var(--surface-3); }
.fg-m img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); animation: fgPan 14s ease-in-out infinite alternate; transition: transform 600ms var(--ease-out); }
.fg-t:hover .fg-m img { transform: scale(1.04); }
@keyframes fgPan { 0% { object-position: var(--px, 50%) 0%; } 100% { object-position: var(--px, 50%) 100%; } }
.fg-t.has-m .tier-tag { top: 22px; right: 18px; z-index: 1; box-shadow: 0 2px 8px rgb(0 0 0 / 0.08); }

/* ---------------------------------------------------------------- Works with */
.pp-works { padding: 88px 0; border-top: 1px solid var(--border); }
.works-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.works-head .eyebrow { margin-bottom: 12px; }
.works-plat { display: flex; gap: 10px; flex-wrap: wrap; }
.plat { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-1); }
.plat svg { height: 26px; width: auto; }
.plat.wp circle { fill: #fff; stroke: #1d2327; stroke-width: 2.4; } .plat.wp text { font: 700 17px Georgia, serif; fill: #1d2327; }
.plat.woo path { fill: #7f54b3; } .plat.woo text { font: 800 10px var(--font, sans-serif); fill: #fff; letter-spacing: -0.02em; }
.works-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wk { display: grid; gap: 4px; padding: 14px 14px 18px; border-radius: 16px; border: 1px solid var(--border); background: #fff; transition: border-color 300ms, box-shadow 300ms; }
.wk:hover { border-color: var(--violet-line); box-shadow: var(--shadow-2); }
.wk b { font-size: 15.5px; letter-spacing: -0.01em; margin-top: 8px; }
.wk small { font-size: 13.5px; color: var(--ink-3); }
.wk-art { position: relative; height: 130px; border-radius: 12px; background: linear-gradient(160deg, var(--surface-1), var(--violet-soft)); overflow: hidden; display: grid; place-items: center; }
.wa { position: relative; width: 70%; height: 74%; }
.wa span, .wa i { position: absolute; display: block; }
/* block themes: blocks get selected one after another */
.wa-fse .h { left: 0; right: 0; top: 0; height: 14%; border-radius: 4px; background: #fff; box-shadow: var(--shadow-1); }
.wa-fse .b { left: 0; right: 0; border-radius: 5px; background: #fff; box-shadow: var(--shadow-1); } .wa-fse .b1 { top: 22%; height: 30%; } .wa-fse .b2 { top: 58%; height: 18%; width: 48%; } .wa-fse .b3 { top: 58%; height: 18%; left: 52%; }
.wa-fse .sel { border: 2px solid #3858e9; border-radius: 6px; animation: fseSel 6s infinite; }
@keyframes fseSel { 0%, 28% { left: -2px; right: -2px; top: 20%; height: 34%; } 33%, 61% { left: -2px; right: 50%; top: 56%; height: 22%; } 66%, 100% { left: 50%; right: -2px; top: 56%; height: 22%; } }
/* classic themes: header, sidebar, content lines filling in */
.wa-classic .h { left: 0; right: 0; top: 0; height: 16%; background: #1d2327; border-radius: 4px; }
.wa-classic .side { right: 0; top: 24%; width: 26%; bottom: 0; background: #fff; border-radius: 4px; box-shadow: var(--shadow-1); }
.wa-classic .c { left: 0; height: 12%; background: #fff; border-radius: 3px; box-shadow: var(--shadow-1); animation: grow 4s infinite; } .wa-classic .c1 { top: 26%; } .wa-classic .c2 { top: 46%; animation-delay: 0.4s; } .wa-classic .c3 { top: 66%; animation-delay: 0.8s; }
@keyframes grow { 0% { width: 0; } 30%, 100% { width: 68%; } }
/* checkout blocks: lines + totals, button pulse */
.wa-co { display: grid; align-content: center; gap: 6px; padding: 10px 12px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-1); }
.wa-co .l, .wa-co .t { position: static; height: 8px; border-radius: 4px; background: var(--surface-3); } .wa-co .l:nth-child(2) { width: 70%; }
.wa-co .t { height: auto; background: none; display: flex; justify-content: space-between; } .wa-co .t i { position: static; width: 30%; height: 8px; border-radius: 4px; background: var(--ink-4); }
.wa-co .btn { position: static; margin-top: 4px; padding: 6px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 600; text-align: center; animation: coPulse 2.4s infinite; }
@keyframes coPulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(139 92 246 / 0.5); } 60% { box-shadow: 0 0 0 8px rgb(139 92 246 / 0); } }
/* HPOS: order rows stream in */
.wa-hpos { overflow: hidden; display: grid; align-content: center; gap: 4px; }
.wa-hpos .r { position: static; display: flex; align-items: center; gap: 8px; padding: 2px 8px; line-height: 1.5; border-radius: 6px; background: #fff; box-shadow: var(--shadow-1); font-size: 10.5px; animation: rowIn 4.8s infinite; }
.wa-hpos .r b { font-family: var(--mono); font-weight: 600; } .wa-hpos .r i { position: static; flex: 1; height: 6px; border-radius: 3px; background: var(--green-soft); }
.wa-hpos .r:nth-child(2) { animation-delay: 0.3s; } .wa-hpos .r:nth-child(3) { animation-delay: 0.6s; } .wa-hpos .r:nth-child(4) { animation-delay: 0.9s; }
@keyframes rowIn { 0% { opacity: 0; transform: translateY(8px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* variable products: size and colour picks move */
.wa-var { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; align-content: center; }
.wa-var span { position: static; min-width: 30px; padding: 5px 6px; border-radius: 7px; background: #fff; border: 1.5px solid var(--border); font-size: 11px; font-weight: 600; text-align: center; animation: varPick 6s infinite; }
.wa-var span:nth-child(2) { animation-delay: 1.5s; } .wa-var span:nth-child(3) { animation-delay: 3s; } .wa-var span:nth-child(4) { animation-delay: 4.5s; }
@keyframes varPick { 0%, 22% { border-color: var(--violet); background: var(--violet-soft); color: var(--violet); } 25%, 100% { border-color: var(--border); background: #fff; color: var(--ink); } }
.wa-var .dot { position: static; width: 18px; height: 18px; border-radius: 50%; background: #2f5d8a; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent; animation: dotPick 4.5s infinite; } .wa-var .c2 { background: #8a6a4f; animation-delay: 1.5s; } .wa-var .c3 { background: #4b5d3a; animation-delay: 3s; }
@keyframes dotPick { 0%, 30% { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--violet); } 33%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px transparent; } }
/* cash on delivery: the choice flips */
.wa-cod { display: grid; align-content: center; gap: 8px; }
.wa-cod .o { position: static; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1.5px solid var(--border); font-size: 11.5px; font-weight: 600; animation: codOn 5s infinite; }
.wa-cod .o i { position: static; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink-4); animation: codDot 5s infinite; }
.wa-cod .o2, .wa-cod .o2 i { animation-delay: -2.5s; }
@keyframes codOn { 0%, 45% { border-color: var(--violet); } 50%, 100% { border-color: var(--border); } }
@keyframes codDot { 0%, 45% { border: 4px solid var(--violet); } 50%, 100% { border: 1.5px solid var(--ink-4); } }
/* shortcode: typed in */
.wa-sc { display: grid; place-items: center; }
.wa-sc code { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; padding: 8px 10px; border-radius: 8px; background: #1e1e2a; color: #c4b5fd; font-family: var(--mono); font-size: 11px; border-right: 2px solid #c4b5fd; animation: type 5s steps(26) infinite, caret 0.8s step-end infinite; }
@keyframes type { 0% { width: 0; } 50%, 100% { width: 22.5ch; } }
@keyframes caret { 50% { border-color: transparent; } }
/* bundle block: inserter opens and the block is picked */
.wa-blk { display: grid; place-items: center; }
.wa-blk .ins { position: absolute; left: 12%; top: 34%; width: 30px; height: 30px; border-radius: 6px; background: #1e1e1e; color: #fff; display: grid; place-items: center; font-size: 18px; animation: insBtn 4s infinite; }
.wa-blk .pop { position: absolute; left: 34%; top: 22%; padding: 10px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-2); display: grid; animation: insList 4s infinite; }
.wa-blk .pop b { font-size: 12.5px; } .wa-blk .pop small { font-size: 10px; color: var(--ink-3); }
@keyframes insBtn { 0%, 10% { transform: scale(1); } 15% { transform: scale(0.88); } 20%, 100% { transform: scale(1); } }
@keyframes insList { 0%, 15% { opacity: 0; transform: translateY(6px); } 25%, 70% { opacity: 1; transform: none; box-shadow: var(--shadow-2); } 75%, 85% { opacity: 1; box-shadow: 0 0 0 2px #3858e9; } 95%, 100% { opacity: 0; } }

/* ---------------------------------------------------------------- drawn scenes (product-page.js SCENE_HTML)
   Laid out in % of the 16:10 view so data pins (products.js fx/fy) can point at their parts. They play while .sc.on. */
.dz { position: absolute; inset: 0; overflow: hidden; background: #f6f6f8; color: var(--ink); font-size: 12px; line-height: 1.35; }
.dz span, .dz i, .dz b, .dz small, .dz em { display: block; }
.dz em { font-style: normal; }
.dz svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; }
/* a plain storefront, used behind carts and popups */
.dz .sf-h { position: absolute; left: 0; right: 0; top: 0; height: 9%; background: #fff; border-bottom: 1px solid var(--border); }
.dz .sf-img { position: absolute; left: 7%; top: 16%; width: 38%; height: 70%; border-radius: 10px; background: linear-gradient(150deg, #e9e3f7, #d9e5f5); }
.dz .sf-l { position: absolute; left: 51%; top: 20%; width: 34%; height: 4%; border-radius: 4px; background: var(--surface-3); } .dz .sf-l.s { top: 28%; width: 22%; }
.dz .sf-btn { position: absolute; left: 51%; top: 40%; padding: 9px 20px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 11.5px; }

/* a tall phone screenshot, whole, in the middle */
.dz-dev { background: radial-gradient(70% 90% at 50% 40%, var(--violet-soft), var(--surface-1)); }
.dz-dev .dev { position: absolute; top: 5%; height: 90%; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 6px #0c0c10, 0 30px 60px -20px rgb(30 10 60 / 0.45); }
.dz-dev .dev img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* WordPress: Plugins > Add New */
.dz-wp { background: #f0f0f1; }
.wp-top { position: absolute; left: 0; right: 0; top: 0; height: 6%; background: #1d2327; }
.wp-side { position: absolute; left: 0; top: 6%; bottom: 0; width: 13%; background: #1d2327; padding: 14px 10px; display: grid !important; align-content: start; gap: 10px; }
.wp-side i { height: 7px; border-radius: 4px; background: #3c434a; } .wp-side i.on { background: #2271b1; }
.wp-h { position: absolute; left: 17%; top: 10%; font-size: 17px; font-weight: 500; }
.wp-q { position: absolute; right: 4%; top: 9%; width: 30%; height: 6.5%; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; display: flex !important; align-items: center; padding: 0 10px; }
.wp-q em { overflow: hidden; white-space: nowrap; width: 0; border-right: 1.5px solid #2271b1; }
.sc.on .wp-q em { animation: wpType 1.4s 400ms steps(16) forwards; }
@keyframes wpType { to { width: 16ch; } }
.wp-card { position: absolute; left: 17%; top: 22%; width: 47%; height: 46%; padding: 16px; background: #fff; border: 1px solid #dcdcde; display: grid !important; grid-template-columns: 56px 1fr; column-gap: 14px; row-gap: 6px; align-content: start; }
.wp-card > b { font-size: 14px; color: #2271b1; padding-right: 90px; } .wp-card > small { grid-column: 2; color: var(--ink-3); }
.wp-card > i { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: var(--surface-3); margin-top: 6px; } .wp-card > i.s { width: 70%; }
.wp-ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 10px; background: var(--c, var(--surface-3)); color: #fff; display: grid !important; place-items: center; font-size: 26px; }
.wp-card.ghost { left: 67%; width: 29%; opacity: 0.55; } .wp-card.ghost .wp-ic { grid-row: auto; }
.wp-btn { position: absolute; right: 16px; top: 16px; display: grid !important; }
.wp-btn em { grid-area: 1 / 1; padding: 6px 12px; border: 1px solid #2271b1; border-radius: 4px; color: #2271b1; background: #f6f7f7; font-size: 11.5px; font-weight: 600; text-align: center; opacity: 0; }
.wp-btn em:first-child { opacity: 1; } .wp-btn em:nth-child(2) { background: #2271b1; color: #fff; } .wp-btn em:nth-child(3) { border-color: #c3c4c7; color: #8c8f94; }
.sc.on .wp-btn em:nth-child(1) { animation: swapOut 4.6s 1.8s forwards; }
.sc.on .wp-btn em:nth-child(2) { animation: swapMid 4.6s 1.8s forwards; }
.sc.on .wp-btn em:nth-child(3) { animation: swapIn 4.6s 1.8s forwards; }
@keyframes swapOut { 0%, 20% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes swapMid { 0%, 20% { opacity: 0; } 24%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes swapIn { 0%, 56% { opacity: 0; } 60%, 100% { opacity: 1; } }

/* an app listing */
.dz-app { background: #fff; }
.app-top { position: absolute; left: 0; right: 0; top: 0; height: 7%; background: #1f1f1f; }
.app-ic { position: absolute; left: 7%; top: 17%; width: 11%; aspect-ratio: 1; border-radius: 16px; background: var(--c); color: #fff; display: grid !important; place-items: center; font-size: 34px; box-shadow: var(--shadow-2); }
.app-n { position: absolute; left: 21%; top: 17%; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.app-t { position: absolute; left: 21%; top: 25%; width: 30%; color: var(--ink-3); font-size: 12.5px; }
.app-r { position: absolute; left: 21%; top: 34%; color: #f5a623; font-size: 12px; } .app-r em { display: inline !important; color: var(--ink-3); margin-left: 6px; }
.app-btn { position: absolute; left: 21%; top: 41%; padding: 9px 26px; border-radius: 8px; background: #1f1f1f; color: #fff; font-weight: 600; }
.sc.on .app-btn { animation: tapIt 3.4s 1.2s; }
@keyframes tapIt { 0%, 100% { transform: none; box-shadow: none; } 8% { transform: scale(0.94); } 16% { transform: none; box-shadow: 0 0 0 6px rgb(139 92 246 / 0.25); } 40% { box-shadow: 0 0 0 0 rgb(139 92 246 / 0); } }
.app-shot { position: absolute; right: 5%; top: 15%; width: 42%; height: 72%; border-radius: 14px; background: var(--surface-1); border: 1px solid var(--border); padding: 18px; display: grid !important; align-content: start; gap: 10px; }
.app-shot i { height: 9px; border-radius: 5px; background: var(--surface-3); } .app-shot i.s { width: 60%; }
.app-shot span { height: 58%; margin-top: 8px; border-radius: 10px; background: linear-gradient(150deg, var(--violet-soft), #dbeafe); }

/* theme editor: app embed on, cart slides in */
.dz-emb { background: #f1f1f1; }
.emb-side { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; padding: 18px 16px; background: #fff; border-right: 1px solid var(--border); display: grid !important; align-content: start; gap: 10px; }
.emb-side > b { font-size: 13px; margin-bottom: 6px; }
.emb-row { display: flex !important; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; }
.emb-row:not(.on) { opacity: 0.5; }
.emb-row i { width: 30px; height: 17px; border-radius: 9px; background: #c9c9cf; position: relative; }
.emb-row i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: left 300ms; }
.sc.on .emb-row.on i { animation: togOn 400ms 900ms forwards; } .sc.on .emb-row.on i::after { animation: togKnob 400ms 900ms forwards; }
@keyframes togOn { to { background: #1f1f1f; } } @keyframes togKnob { to { left: 15px; } }
.emb-view { position: absolute; left: 30%; right: 0; top: 0; bottom: 0; background: #fff; overflow: hidden; }
.emb-cart { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; padding: 16px 14px; background: #fff; box-shadow: -20px 0 40px -20px rgb(0 0 0 / 0.3); display: grid !important; align-content: start; gap: 12px; transform: translateX(105%); }
.sc.on .emb-cart { animation: slideIn 700ms 1.7s var(--ease-out) forwards; }
@keyframes slideIn { to { transform: none; } }
.emb-cart .bar { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; } .emb-cart .bar i { height: 100%; width: 70%; background: #16a34a; }
.emb-cart .ln { height: 34px; border-radius: 8px; background: var(--surface-1); }
.emb-cart .go { margin-top: 6px; padding: 9px; border-radius: 8px; background: var(--ink); color: #fff; text-align: center; font-weight: 600; }

/* the Pro sliding cart, open */
.cp-page { position: absolute; inset: 0; filter: saturate(0.7); }
.dz-cp::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 58%; background: rgb(20 15 35 / 0.32); }
.cp-cart { position: absolute; left: 58%; right: 0; top: 0; bottom: 0; z-index: 1; padding: 3% 2.6%; background: #fff; display: flex !important; flex-direction: column; gap: 2.2%; box-shadow: -30px 0 50px -30px rgb(0 0 0 / 0.5); }
.cp-t { font-size: 14px; }
.cp-rw { padding: 8px 10px; border-radius: 8px; background: #f0fdf4; display: grid !important; gap: 5px; font-size: 11px; }
.cp-rw .bar { height: 6px; border-radius: 3px; background: #dcfce7; overflow: hidden; } .cp-rw .bar i { height: 100%; width: 30%; background: #16a34a; }
.sc.on .cp-rw .bar i { animation: rwFill 2.6s 500ms var(--ease-out) forwards; } @keyframes rwFill { to { width: 86%; } }
.cp-rw .ms { display: flex !important; justify-content: space-between; color: var(--ink-3); font-size: 10px; }
.cp-it { display: flex !important; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.cp-it i, .cp-up i { width: 32px; height: 32px; border-radius: 7px; background: color-mix(in srgb, var(--c) 22%, #fff); border: 2px solid color-mix(in srgb, var(--c) 45%, #fff); }
.cp-it b { flex: 1; font-weight: 600; }
.cp-yl { font-weight: 650; font-size: 11px; color: var(--ink-2); }
.cp-up { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-up span { display: flex !important; align-items: center; gap: 8px; padding: 7px; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; font-size: 11px; }
.cp-up span b { margin-left: auto; color: var(--violet); }
.sc.on .cp-up span:first-child { animation: tapIt 3s 2.2s; }
.cp-tier { display: flex !important; justify-content: space-between; padding: 7px 10px; border-radius: 8px; background: var(--violet-soft); font-size: 11px; } .cp-tier em { color: var(--violet); font-weight: 600; }
.cp-go { margin-top: auto; padding: 10px; border-radius: 9px; background: var(--ink); color: #fff; text-align: center; font-weight: 600; }

/* exit intent */
.ex-tabs { position: absolute; left: 0; right: 0; top: 0; height: 6%; background: #e7e5ee; display: flex !important; gap: 6px; padding: 6px 10px 0; }
.ex-tabs i { width: 110px; border-radius: 6px 6px 0 0; background: #f6f6f8; } .ex-tabs i + i { background: #dedbe7; }
.ex-page { position: absolute; left: 0; right: 0; top: 6%; bottom: 0; }
.ex-cur { position: absolute; left: 62%; top: 70%; width: 22px !important; height: 22px !important; fill: #fff !important; stroke: #111 !important; stroke-width: 1.2 !important; z-index: 3; }
.sc.on .ex-cur { animation: curUp 1.5s 300ms var(--ease-out) forwards; } @keyframes curUp { to { left: 55%; top: 2%; } }
.dz-ex::after { content: ''; position: absolute; inset: 0; background: rgb(20 15 35 / 0.45); opacity: 0; z-index: 1; }
.sc.on .dz-ex::after { animation: fadeTo 500ms 1.7s forwards; } @keyframes fadeTo { to { opacity: 1; } }
.ex-pop { position: absolute; left: 50%; top: 50%; width: 34%; padding: 20px; border-radius: 14px; background: #fff; z-index: 2; translate: -50% -50%; display: grid !important; gap: 8px; text-align: center; opacity: 0; scale: 0.9; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.5); }
.sc.on .ex-pop { animation: popIn 500ms 1.9s var(--spring) forwards; } @keyframes popIn { to { opacity: 1; scale: 1; } }
.ex-pop small { color: #0f766e; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 10px; }
.ex-pop b { font-size: 17px; letter-spacing: -0.01em; }
.ex-pop .f, .ex-pop .g { justify-self: stretch; }
.ex-pop .f { padding: 8px; border: 1px solid var(--border); border-radius: 7px; color: var(--ink-4); text-align: left; }
.ex-pop .g { padding: 9px; border-radius: 7px; background: #0f766e; color: #fff; font-weight: 600; }

/* A/B test */
.dz-ab { background: #fff; }
.ab-h { position: absolute; left: 6%; top: 8%; font-size: 15px; }
.ab-c { position: absolute; top: 20%; width: 41%; height: 70%; padding: 16px; border-radius: 12px; border: 1px solid var(--border); display: grid !important; align-content: start; gap: 8px; }
.ab-A { left: 6%; } .ab-B { left: 53%; }
.ab-c > small { color: var(--ink-3); font-weight: 600; } .ab-c > b { font-size: 14px; }
.ab-m { height: 70px; border-radius: 8px; background: var(--surface-1); padding: 10px; display: grid !important; gap: 6px; align-content: center; }
.ab-m i { height: 6px; border-radius: 3px; background: var(--surface-3); } .ab-m i.s { width: 60%; } .ab-m .g { height: 14px; width: 50%; border-radius: 4px; background: #0f766e; }
.ab-bar { height: 10px; border-radius: 5px; background: var(--surface-2, #eee); overflow: hidden; margin-top: 6px; } .ab-bar i { height: 100%; width: 0; background: var(--ink-4); }
.ab-B .ab-bar i { background: var(--violet); }
.sc.on .ab-bar i { animation: abGrow 2s 400ms var(--ease-out) forwards; } @keyframes abGrow { to { width: var(--w); } }
.ab-c > em { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; } .ab-c > em small { display: inline !important; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.ab-win { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: #16a34a; color: #fff; font-weight: 700; font-size: 11px; opacity: 0; scale: 0.6; }
.sc.on .ab-win { animation: popIn 500ms 2.4s var(--spring) forwards; }

/* checkout summary */
.dz-co { background: #fff; }
.co-form { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; padding: 6% 5%; display: grid !important; align-content: start; gap: 10px; }
.co-form b { font-size: 13px; margin-top: 6px; } .co-form i { height: 30px; border-radius: 7px; border: 1px solid var(--border); } .co-form i.s { width: 60%; }
.co-pay { margin-top: 10px; padding: 11px; border-radius: 8px; background: #1773b0; color: #fff; font-weight: 600; text-align: center; }
.co-sum { position: absolute; left: 55%; right: 0; top: 0; bottom: 0; padding: 0 5%; background: #f5f5f5; border-left: 1px solid var(--border); display: flex !important; flex-direction: column; padding-top: 16%; }
.co-sum p { height: 9%; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; border-radius: 8px; font-size: 12.5px; }
.co-sum p.hi b { color: #15803d; }
.sc.on .co-sum p.hi { animation: hiOn 3s calc(600ms + var(--d) * 400ms) both; } @keyframes hiOn { 0% { background: transparent; } 20%, 70% { background: #dcfce7; } 100% { background: transparent; } }
.co-sum .tot { margin-top: 2%; border-top: 1px solid #ddd; border-radius: 0; font-weight: 700; font-size: 15px; }
.co-sum > small { padding: 0 10px; color: var(--ink-3); }

/* ---------------------------------------------------------------- more tile art */
.cy, .wa .cy { position: relative; display: grid !important; }
.cy em { font-style: normal; }
.cy em { grid-area: 1 / 1; position: static !important; opacity: 0; animation: cyShow calc(var(--n) * 1.8s) calc((var(--i) - var(--n)) * 1.8s) infinite; }
@keyframes cyShow { 0% { opacity: 0; transform: translateY(6px); } 4%, 20% { opacity: 1; transform: none; } 24%, 100% { opacity: 0; transform: translateY(-6px); } }
.wa-tr { display: grid; place-items: center; align-content: center; gap: 10px; }
.wa-tr .lang { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; }
.wa-tr .word { padding: 9px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; min-width: 70%; text-align: center; }
.wa-tr .word em { text-align: center; }
.wa-bld .pan { left: 0; top: 0; bottom: 0; width: 26%; border-radius: 6px; background: #fff; box-shadow: var(--shadow-1); display: grid; align-content: start; gap: 6px; padding: 8px 6px; }
.wa-bld .pan i { position: static; height: 12px; border-radius: 3px; background: var(--surface-3); }
.wa-bld .cv { left: 32%; right: 0; top: 0; bottom: 0; border-radius: 6px; background: #fff; box-shadow: var(--shadow-1); padding: 10px; display: grid; align-content: start; gap: 6px; }
.wa-bld .cv i { position: static; height: 8px; border-radius: 4px; background: var(--surface-3); } .wa-bld .cv i.s { width: 60%; }
.wa-bld .cv .slot { height: 30px; border: 1.5px dashed var(--violet-line); background: none; animation: slotOn 4s infinite; }
.wa-bld .drag { left: 2%; top: 8%; padding: 5px 9px; border-radius: 6px; background: var(--violet); color: #fff; font-size: 10.5px; font-weight: 700; box-shadow: var(--shadow-2); animation: dragIt 4s infinite; }
@keyframes dragIt { 0%, 12% { left: 2%; top: 8%; } 50%, 80% { left: 42%; top: 56%; } 81%, 100% { left: 2%; top: 8%; opacity: 0; } 90% { opacity: 0; } }
@keyframes slotOn { 0%, 45% { background: none; } 50%, 80% { background: var(--violet-soft); } 85%, 100% { background: none; } }
.wa-cache { display: grid; place-items: center; align-content: center; gap: 2px; }
.wa-cache .g { position: relative; width: 74px; height: 37px; border-radius: 74px 74px 0 0; border: 6px solid var(--surface-3); border-bottom: 0; }
.wa-cache .g::before { content: ''; position: absolute; inset: -6px -6px 0; border-radius: 74px 74px 0 0; border: 6px solid #16a34a; border-bottom: 0; clip-path: inset(0 0 0 50%); }
.wa-cache .g i { position: absolute; left: 50%; bottom: 0; width: 2px; height: 30px; background: var(--ink); transform-origin: 50% 100%; animation: needle 3.6s infinite var(--ease-out); }
@keyframes needle { 0%, 10% { transform: translateX(-50%) rotate(-80deg); } 45%, 100% { transform: translateX(-50%) rotate(62deg); } }
.wa-cache b { position: static; font-size: 16px; } .wa-cache small { font-size: 10px; color: var(--ink-3); }
.wa-cur { display: grid; place-items: center; align-content: center; gap: 4px; padding: 10px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-1); }
.wa-cur small { font-size: 10.5px; color: var(--ink-3); } .wa-cur .price { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.wa-names { display: grid; place-items: center; align-content: center; gap: 6px; }
.wa-names small { font-size: 10.5px; color: var(--ink-3); }
.wa-names .name { padding: 8px 14px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-1); font-weight: 700; font-size: 13px; min-width: 76%; text-align: center; }
.wa-names .ok { position: absolute; right: 4%; bottom: 8%; width: 20px; height: 20px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 11px; display: grid; place-items: center; }
.wa-rule { display: grid; place-items: center; align-content: center; gap: 10px; }
.wa-rule .chip { position: static; padding: 5px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--border); font-family: var(--mono); font-size: 10.5px; animation: ruleOk 4s infinite; }
.wa-rule .pop { position: static; padding: 9px 12px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; animation: popLoop 4s infinite; }
@keyframes ruleOk { 0%, 30% { border-color: var(--border); } 35%, 85% { border-color: #16a34a; box-shadow: 0 0 0 3px #dcfce7; } 90%, 100% { border-color: var(--border); } }
@keyframes popLoop { 0%, 35% { opacity: 0; transform: translateY(6px) scale(0.95); } 42%, 85% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.wa-cap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-1); }
.wa-cap .box { position: relative; width: 22px; height: 22px; border-radius: 4px; border: 2px solid var(--ink-4); }
.wa-cap .box i { left: 5px; top: 1px; width: 7px; height: 12px; border: solid #16a34a; border-width: 0 3px 3px 0; transform: rotate(45deg); animation: tickOn 3.6s infinite; }
.wa-cap b { position: static; font-size: 11.5px; }
@keyframes tickOn { 0%, 30% { opacity: 0; scale: 0.4; } 40%, 90% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
.wa-dig { display: grid; place-items: center; align-content: center; gap: 10px; }
.wa-dig .file { position: relative; width: 42px; height: 52px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-2); }
.wa-dig .file::before { content: 'PDF'; position: absolute; left: 6px; top: 8px; font-size: 9px; font-weight: 800; color: #dc2626; }
.wa-dig .file i { left: 50%; bottom: -12px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--violet); animation: dl 2.4s infinite; }
.wa-dig .file i::after { content: '↓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
@keyframes dl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.wa-dig .tag { position: static; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 10.5px; font-weight: 700; }
.wa-grp { display: grid; align-content: center; gap: 4px; }
.wa-grp .r { position: static; display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 7px; background: #fff; box-shadow: var(--shadow-1); font-size: 11px; animation: rowIn 4.8s infinite; }
.wa-grp .r.b { border-left: 3px solid var(--violet); font-weight: 700; } .wa-grp .r.s { margin-left: 14px; color: var(--ink-3); animation-delay: 0.3s; } .wa-grp .r.s + .r.s { animation-delay: 0.6s; }
.wa-a11y { display: flex; align-items: center; justify-content: center; gap: 6px; }
.wa-a11y span { position: static; min-width: 28px; padding: 7px 8px; border-radius: 7px; background: #fff; border: 1px solid var(--border); text-align: center; font-weight: 700; font-size: 11.5px; }
.wa-a11y .w { background: var(--ink); color: #fff; }
.wa-a11y .ring { position: absolute; top: 50%; height: 34px; margin-top: -17px; border-radius: 9px; box-shadow: 0 0 0 2.5px #2563eb; animation: ringMove 4.8s steps(1) infinite; }
@keyframes ringMove { 0% { left: 4%; width: 32px; } 25% { left: 21%; width: 32px; } 50% { left: 38%; width: 32px; } 75% { left: 55%; width: 44%; } }
.wa-resp { display: grid; place-items: center; }
.wa-resp .rf { position: relative; height: 100%; border-radius: 8px; background: #fff; box-shadow: var(--shadow-1); animation: squeeze 5s ease-in-out infinite alternate; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 6px; align-content: start; }
.wa-resp .rf i { position: static; border-radius: 4px; background: var(--surface-3); height: 22px; } .wa-resp .rf .h { grid-column: 1 / -1; height: 9px; background: var(--ink-4); } .wa-resp .rf .c { grid-column: 1 / -1; height: 14px; background: var(--violet-soft); }
@keyframes squeeze { 0%, 15% { width: 100%; } 85%, 100% { width: 38%; } }
.wa-pin { display: grid; place-items: center; align-content: center; gap: 8px; }
.wa-pin .in { position: static; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--border); }
.wa-pin code { display: block; width: 6ch; overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; animation: pinType 5s steps(6) infinite; }
.wa-pin .in b { position: static; padding: 4px 8px; border-radius: 5px; background: var(--ink); color: #fff; font-size: 10.5px; }
.wa-pin .ans { position: static; font-size: 10.5px; font-weight: 600; color: #15803d; animation: popLoop 5s infinite; }
@keyframes pinType { 0% { width: 0; } 30%, 100% { width: 6ch; } }
.wa-exp { display: grid; align-content: center; gap: 6px; }
.wa-exp span { position: static; padding: 7px; border-radius: 7px; background: #111; color: #fff; text-align: center; font-size: 11px; font-weight: 700; animation: coPulse 3s infinite; }
.wa-exp span:nth-child(2) { background: #fff; color: #111; border: 1px solid var(--border); animation-delay: 1s; } .wa-exp span:nth-child(3) { background: #ffc439; color: #111; animation-delay: 2s; }
.wa-tog { display: grid; align-content: center; gap: 8px; }
.wa-tog small { font-size: 10.5px; font-weight: 700; color: var(--ink-3); }
.wa-tog .row { position: static; display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-1); font-size: 11.5px; }
.wa-tog .row b { position: static; } .wa-tog .row i { position: relative; width: 30px; height: 17px; border-radius: 9px; animation: togLoop 4s infinite; }
.wa-tog .row i::after { content: ''; position: absolute; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; animation: knobLoop 4s infinite; }
@keyframes togLoop { 0%, 30% { background: #c9c9cf; } 38%, 90% { background: #1f1f1f; } 100% { background: #c9c9cf; } }
@keyframes knobLoop { 0%, 30% { left: 2px; } 38%, 90% { left: 15px; } 100% { left: 2px; } }
.wa-ab { display: grid; align-content: center; gap: 10px; }
.wa-ab .r { position: static; display: grid; grid-template-columns: 18px 1fr 38px; align-items: center; gap: 8px; font-size: 11px; }
.wa-ab .r b { position: static; } .wa-ab .r em { position: static; font-weight: 700; text-align: right; }
.wa-ab .r i { position: static; height: 12px; border-radius: 6px; background: var(--ink-4); animation: barGrow 4s var(--ease-out) infinite; } .wa-ab .r.b i { background: var(--violet); }
@keyframes barGrow { 0% { width: 0; } 40%, 90% { width: var(--w); } 100% { width: var(--w); opacity: 0; } }
.wa-cpn { display: grid; place-items: center; align-content: center; gap: 8px; }
.wa-cpn code { display: block; overflow: hidden; white-space: nowrap; padding: 8px 12px; border: 1.5px dashed var(--violet); border-radius: 8px; background: #fff; font-family: var(--mono); font-weight: 700; font-size: 12px; color: var(--violet); animation: type12 5s steps(12) infinite; }
.wa-cpn .ok { position: static; font-size: 10.5px; color: #15803d; font-weight: 600; animation: popLoop 5s infinite; }
@keyframes type12 { 0% { width: 26px; } 40%, 100% { width: calc(12ch + 26px); } }
.wa-exm .tb { left: 0; right: 0; top: 0; height: 12%; border-radius: 5px 5px 0 0; background: #dedbe7; }
.wa-exm .pg { left: 0; right: 0; top: 12%; bottom: 0; background: #fff; box-shadow: var(--shadow-1); }
.wa-exm .cur { position: absolute; width: 16px; height: 16px; fill: #fff; stroke: #111; stroke-width: 1.2; z-index: 2; animation: curLoop 4.4s infinite var(--ease-out); }
@keyframes curLoop { 0%, 10% { left: 60%; top: 70%; } 40%, 100% { left: 55%; top: -4%; } }
.wa-exm .pp { left: 22%; right: 22%; top: 30%; padding: 8px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-2); text-align: center; font-size: 11px; animation: popLoop 4.4s infinite; }
.wa-exm .pp i { position: static; margin: 6px auto 0; width: 70%; height: 10px; border-radius: 4px; background: #0f766e; }
.wa-sty { display: flex; align-items: center; justify-content: center; gap: 14px; }
.wa-sty .cart { position: relative; width: 46%; height: 100%; border-radius: 8px; background: #fff; box-shadow: var(--shadow-1); padding: 8px; display: grid; gap: 5px; align-content: start; }
.wa-sty .cart i { position: static; height: 7px; border-radius: 4px; background: var(--surface-3); } .wa-sty .cart .l.s { width: 60%; }
.wa-sty .cart .t { height: 6px; animation: accent 6s infinite; } .wa-sty .cart .btn { margin-top: 18px; height: 16px; animation: accent 6s infinite; }
.wa-sty .sw { position: static; display: grid; gap: 6px; }
.wa-sty .sw i { position: static; width: 16px; height: 16px; border-radius: 50%; background: #111; box-shadow: 0 0 0 2px #fff; }
.wa-sty .sw i:nth-child(2) { background: #7c3aed; } .wa-sty .sw i:nth-child(3) { background: #0f766e; } .wa-sty .sw i:nth-child(4) { background: #ea580c; }
@keyframes accent { 0%, 22% { background: #111; } 25%, 47% { background: #7c3aed; } 50%, 72% { background: #0f766e; } 75%, 97% { background: #ea580c; } }
.wa-bars { display: grid; align-content: center; gap: 6px; }
.wa-bars small { font-size: 10.5px; color: var(--ink-3); } .wa-bars b { position: static; font-size: 16px; }
.wa-bars .bs { position: static; display: flex; align-items: end; gap: 5px; height: 48px; }
.wa-bars .bs i { position: static; flex: 1; border-radius: 3px 3px 0 0; background: var(--violet); animation: barUp 4s var(--ease-out) infinite; }
.wa-bars .bs i:nth-child(2) { animation-delay: 0.1s; } .wa-bars .bs i:nth-child(3) { animation-delay: 0.2s; } .wa-bars .bs i:nth-child(4) { animation-delay: 0.3s; } .wa-bars .bs i:nth-child(5) { animation-delay: 0.4s; } .wa-bars .bs i:nth-child(6) { animation-delay: 0.5s; }
@keyframes barUp { 0% { height: 0; } 35%, 90% { height: var(--h); } 100% { height: var(--h); opacity: 0.3; } }
.wa-rw { display: grid; align-content: center; gap: 7px; padding: 10px 12px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-1); }
.wa-rw small { font-size: 10.5px; font-weight: 600; }
.wa-rw .bar { position: static; height: 8px; border-radius: 4px; background: #dcfce7; overflow: hidden; } .wa-rw .bar i { position: static; height: 100%; background: #16a34a; animation: rwLoop 5s var(--ease-out) infinite; }
.wa-rw .ms { position: static; display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-4); }
.wa-rw .ms em { font-style: normal; animation: msOn 5s infinite; } .wa-rw .ms em:nth-child(2) { animation-delay: 0.8s; } .wa-rw .ms em:nth-child(3) { animation-delay: 1.6s; }
@keyframes rwLoop { 0% { width: 8%; } 60%, 92% { width: 100%; } 100% { width: 8%; } }
@keyframes msOn { 0%, 25% { color: var(--ink-4); } 35%, 90% { color: #15803d; font-weight: 700; } 100% { color: var(--ink-4); } }
.wa-tiers { display: grid; align-content: center; gap: 5px; }
.wa-tiers span { position: static; padding: 7px 10px; border-radius: 8px; background: #fff; border: 1.5px solid var(--border); font-size: 11px; font-weight: 600; animation: varPick 6s infinite; }
.wa-tiers span:nth-child(2) { animation-delay: 2s; } .wa-tiers span:nth-child(3) { animation-delay: 4s; }

/* art in a feature tile */
.fg-m.art { display: grid; place-items: center; background: linear-gradient(160deg, var(--surface-1), var(--violet-soft)); }
.fg-m.art .wa { width: 66%; height: 70%; }
/* Shopify badge (a plain bag mark) */
.plat.shop svg path { fill: #5e8e3e; } .plat.shop svg path.h { fill: none; stroke: #fff; stroke-width: 2.2; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .tour, .show-row, .show-row.flip { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .show-row { grid-template-rows: none; }
  .show-row .show-copy, .show-row .tour-list, .show-row .tour-media, .show-row.flip .show-copy, .show-row.flip .tour-list, .show-row.flip .tour-media { grid-column: 1; grid-row: auto; }
  .show-row .tour-media { order: 3; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pp-show { padding-top: 64px; }
  .show-row { padding: 36px 0; }
  .tour-i { padding: 12px 12px 16px; gap: 10px; }
  .tour-t b { font-size: 15px; }
  .sc-pin em { font-size: 11px; padding: 5px 8px; }
  .sc-url { font-size: 10px; }
  .works-grid { gap: 10px; }
  /* The drawn screens are laid out in % but their text and padding are in px, sized for a wide box: on a phone they
     shrink as one piece (zoom keeps the % layout, scales the px), so words no longer run into each other. */
  .dz { zoom: 0.62; }
  .wk-art { height: 112px; }
  .wk-art .wa { width: 88%; height: 84%; zoom: 0.72; }
  .wk b { font-size: 14px; } .wk small { font-size: 12.5px; }
  .fg-m { height: 160px; }
}
@media (max-width: 360px) {
  .dz { zoom: 0.55; }
  .wk-art .wa { zoom: 0.64; }
}
@media (prefers-reduced-motion: reduce) {
  .fg-m img, .wa *, .sc-pin i::after { animation: none !important; }
  .cy em:first-child { opacity: 1; }
}
