/* App-style pieces for the product cards, drawn from the real Account Editor screens
   (v2/new images/): the Analytics chart colours, the demo store's snowboards, Polaris-like
   badges and buttons. Everything is built in CSS; no screenshots are used. */
:root { --app-cyan: #13a8e8; --app-blue: #3b5bdb; --app-blue-2: #a9b8f5; --app-purple: #7c4dff; --app-pink: #d44fb4; --app-teal: #22b3a4; --app-shop: #005bd3; --app-ok: #0c7a43; --app-ok-bg: #cdfee1; }

/* the Analytics line chart: this period solid with a soft fill, the period before dotted */
.app-chart__grid line { stroke: #e3e5ea; stroke-width: 1; vector-effect: non-scaling-stroke; }
.app-chart__area { fill: url(#app-fill); fill: rgba(19, 168, 232, 0.12); stroke: none; }
.app-chart__line { fill: none; stroke: var(--app-cyan) !important; stroke-width: 2.2 !important; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.app-chart__prev { fill: none; stroke: var(--app-cyan); stroke-width: 1.6; stroke-dasharray: 1.5 4; stroke-linecap: round; opacity: 0.75; vector-effect: non-scaling-stroke; }
.db__plot:has(.app-chart) { background: #fff; box-shadow: inset 0 0 0 1px #eceef3; }
.db__pill--up { background: #e7f6ec; color: var(--app-ok); }

/* snowboards from the demo store, as small product thumbnails */
.sb { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8%; width: 30px; height: 30px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(36, 36, 38, 0.08); }
.sb i { display: block; width: 20%; height: 82%; border-radius: 999px; }
.sb--a i:first-child { background: linear-gradient(180deg, #a5e0f4, #66c4ea 70%, #e9f7fd 88%, #66c4ea); }
.sb--a i:last-child { background: radial-gradient(60% 30% at 50% 30%, #e07fd0, transparent), linear-gradient(180deg, #8a3cb0, #4a2380 55%, #a05cc8); }
.sb--b i:first-child { background: linear-gradient(180deg, #3a3a3e, #1f1f22); }
.sb--b i:last-child { background: linear-gradient(180deg, #e2b6f5, #c592ea); }
.sb--c i { background: linear-gradient(180deg, #8458f0, #5b2fd6 60%, #7b4cf0); }
.sb--d i:first-child { background: linear-gradient(180deg, #48c9c0, #1f8f9a); }
.sb--d i:last-child { background: linear-gradient(180deg, #2a6f8f, #3fb8b0); }
.ft__prod .sb { width: 30px; height: 30px; background: #eef1f6; box-shadow: none; }

/* Polaris-like status badges and buttons */
.app-on { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 8px; background: var(--app-ok-bg); color: var(--app-ok); font-size: 11.5px; font-weight: 600; }
.app-off { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 8px; background: #f1f1f1; color: #616161; font-size: 11.5px; font-weight: 600; }
.app-ai { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 8px; background: #e0f0ff; color: #0060c7; font-size: 11px; font-weight: 600; }
.app-btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 12px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #d4d4d4, 0 1px 0 rgba(0, 0, 0, 0.06); font-size: 12px; font-weight: 600; color: #303030; }
.app-btn--dark { background: #303030; color: #fff; box-shadow: inset 0 -1px 0 #000, 0 1px 0 rgba(0, 0, 0, 0.1); }
.app-btn--shop { background: var(--app-shop); color: #fff; box-shadow: none; }

/* ---- customer journey cards: the storefront screens ---- */
.mc__item .sb { width: 44px; height: 44px; border-radius: 10px; background: #f3f3f6; box-shadow: none; }
.mc__hero .sb--xl { width: 120px; height: 120px; background: transparent; box-shadow: none; gap: 10px; }
.mc__hero .sb--xl i { width: 26px; height: 112px; box-shadow: 0 10px 18px -10px rgba(30, 20, 70, 0.5); }
.mc__cta--shop { background: var(--app-shop) !important; }
.mc__no { justify-content: center; margin-top: 8px !important; padding: 10px; border-radius: 11px; box-shadow: inset 0 0 0 1px #e3e3e8; font-weight: 600; font-size: 13px; color: var(--app-shop); }
.mc__pill--ok { background: #e7f6ec; color: var(--app-ok); }
.mc__pill--line { background: #fff; box-shadow: inset 0 0 0 1px #d7dbe3; color: var(--app-shop); }
.mc__bar--shop { background: #e3e8f2 !important; } .mc__bar--shop i { background: var(--app-shop) !important; }
.mc__big--clock { font-size: 40px !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc__row { justify-content: space-between; margin-top: 0 !important; padding: 10px 2px; border-top: 1px solid #eeeef2; font-size: 13.5px; font-weight: 600; color: #303030; }
.mc__row i { display: grid; place-items: center; width: 20px; height: 20px; color: #303030; }
.mc__row svg { width: 17px; height: 17px; stroke-width: 1.8; }
.mc__ui--status .mc__h { padding-bottom: 6px; }
.mc__ui--status .mc__h b { font-size: 15px; }
.mc__ui--status .mc__item { margin-top: 0 !important; padding: 10px 0; border-top: 1px solid #eeeef2; }
.mc__ui--status .mc__item b { font-size: 13px; }
.mc__qty { display: inline-flex; gap: 4px; flex: none; }
.mc__qty span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #f3f3f6; font-size: 12px; font-weight: 600; color: #3a3a3d; transition: background 0.3s ease, color 0.3s ease; }
.mc__qty .is-on { background: var(--app-shop); color: #fff; }
.jt .mc__ui--status { padding-bottom: 14px; }
.mc__item > .sb, .mc__item > .mc__qty { flex: none !important; flex-direction: row !important; }
.mc__ui--offer .mc__h b { font-size: 15px; }

/* ---- How it goes live: install, editing window, features, live ---- */
.ins__chip { display: inline-flex; margin-top: 14px; padding: 3px 10px; border-radius: 8px; background: var(--app-ok-bg); color: var(--app-ok); font-size: 12px; font-weight: 600; }
.ins__chip + .ins__p { margin-top: 8px; }
.ins__p b { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; }
.ew__step { display: inline-flex; margin-left: 8px; padding: 2px 8px; border-radius: 7px; background: #f1f1f1; font-family: var(--text); font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: #616161; vertical-align: 2px; }
.ew__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
.ew__o { display: flex; align-items: center; gap: 7px; padding: 8px 9px; border-radius: 9px; box-shadow: inset 0 0 0 1px #e3e3e3; font-style: normal; font-size: 11.5px; color: #303030; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ew__o span { flex: none; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #8a8a8a; transition: box-shadow 0.25s ease; }
.ew__o.is-on span { box-shadow: inset 0 0 0 4px #303030; }
.ew__tl { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f6f6f6; }
.ew__tl > span:not(.ew__line) { display: flex; flex-direction: column; align-items: center; gap: 1px; flex: none; text-align: center; font-size: 11px; color: #303030; }
.ew__tl i { display: grid; place-items: center; width: 18px; height: 18px; } .ew__tl i svg { width: 15px; height: 15px; stroke-width: 1.8; }
.ew__tl b { font-weight: 600; } .ew__tl em { font-style: normal; color: #616161; }
.ew__line { flex: 1; height: 0; margin-top: 9px; border-top: 1.5px solid #303030; }
.ew__line--dash { border-top-style: dashed; border-color: #9a9a9a; }
.ew__h2 { margin: 14px 0 2px !important; }
[data-wf-view="1"] .adm__main { padding-top: 16px; padding-bottom: 16px; }
[data-wf-view="1"] .adm__h { font-size: 15.5px; margin-bottom: 0; }
[data-wf-view="1"] .adm__row { padding: 8px 0; }
[data-wf-view="1"] .adm__row b { font-size: 13px; } [data-wf-view="1"] .adm__row em { font-size: 11.5px; }
[data-wf-view="1"] .adm__row .cico { width: 28px; height: 28px; }
/* the window is picked first (30 min, then 60 min), then the features switch on */
.run [data-wf-view="1"] .ew__o:nth-child(2) span { animation: ew-pick 1.2s 0.2s both; }
.run [data-wf-view="1"] .ew__o.is-on span { animation: ew-on 0.3s 0.9s both; }
@keyframes ew-pick { 0%, 100% { box-shadow: inset 0 0 0 1.5px #8a8a8a; } 20%, 60% { box-shadow: inset 0 0 0 4px #303030; } }
@keyframes ew-on { from { box-shadow: inset 0 0 0 1.5px #8a8a8a; } }
.run [data-wf-view="1"] .adm__row:nth-of-type(3) .sw, .run [data-wf-view="1"] .adm__row:nth-of-type(3) .sw::after { animation-delay: 1.3s; }
.run [data-wf-view="1"] .adm__row:nth-of-type(4) .sw, .run [data-wf-view="1"] .adm__row:nth-of-type(4) .sw::after { animation-delay: 1.7s; }
.run [data-wf-view="1"] .adm__row:nth-of-type(5) .sw, .run [data-wf-view="1"] .adm__row:nth-of-type(5) .sw::after { animation-delay: 2.1s; }
.live__row .th { display: grid; place-items: center; background: #f3f3f6; }
.live__row .th .sb { width: 44px; height: 44px; background: transparent; box-shadow: none; }

/* ---- closing dashboard: Upsell analytics ---- */
.app-funnel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); height: 168px; margin: 16px 0 0; padding: 0; list-style: none; }
.app-funnel li { position: relative; display: flex; flex-direction: column; padding: 0 8px; border-left: 1px solid #eceef3; }
.app-funnel li:first-child { border-left: 0; padding-left: 0; }
.app-funnel span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.app-funnel b { font-size: 11.5px; font-weight: 500; color: #3a3a3d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-funnel em { font-style: normal; font-size: 11px; color: #616161; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-funnel i { margin-top: auto; height: var(--h); margin-right: -8px; background: linear-gradient(90deg, var(--app-blue) 0 72%, var(--app-blue-2) 72% 100%); transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s var(--ease); }
.app-funnel li:last-child i { margin-right: 0; }
.en__db.is-in .app-funnel i, .app-funnel.is-in i { transform: none; }
.en__img .en__sw { width: 14px; height: 14px; border-radius: 4px; }
.ig__tabs { display: flex; gap: 4px; align-self: stretch; margin: -6px 0 14px; padding-bottom: 12px; border-bottom: 1px solid #eceef3; }
.ig__tabs span { padding: 5px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: #616161; }
.ig__tabs .is-on { background: #303030; color: #fff; }

/* ---- hero dashboard: the app's Features page ---- */
.app-new { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 8px; background: var(--app-ok-bg); color: var(--app-ok); font-size: 11.5px; font-weight: 600; }
.db__pill--on { background: var(--app-ok-bg) !important; color: var(--app-ok) !important; }
.hf__search { gap: 8px; min-width: 220px; color: #68686f; } .hf__search svg { width: 14px; height: 14px; }
.hf__btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: #303030; color: #fff; font-size: 13px; font-weight: 600; box-shadow: inset 0 -1px 0 #000; }
.hf__t { flex-direction: row !important; align-items: center; gap: 10px; }
.hf__ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #f1f1f1; color: #303030; font-style: normal; }
.hf__ic svg { width: 15px; height: 15px; stroke-width: 1.9; }
.hf__d { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #616161; }
.hf__prev { display: flex; flex-direction: column; margin-top: 14px; padding: 4px 14px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #eceef3; }
.hf__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eceef3; font-size: 12.5px; font-weight: 600; color: #303030; }
.hf__bar svg { width: 14px; height: 14px; }
.hf__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid #f1f2f5; }
.hf__item .sb { width: 40px; height: 40px; }
.hf__info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hf__info > b { font-size: 12.5px; font-weight: 600; color: #303030; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf__qty { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; align-self: flex-start; padding: 3px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px #e3e3e3; font-size: 11px; }
.hf__qty em { font-style: normal; color: #68686f; }
.hf__qty span { display: inline-flex; gap: 8px; } .hf__qty i { font-style: normal; color: #616161; } .hf__qty b { font-weight: 600; }
.hf__info u { font-size: 11px; color: #c4262e; }
.hf__price { font-size: 12.5px; font-weight: 600; color: #303030; }
.hf__add { align-self: flex-start; margin-top: 12px; padding: 8px 14px; border-radius: 9px; background: var(--app-shop); color: #fff; font-size: 12.5px; font-weight: 600; }
.hf__big .db__stats { margin-top: auto; padding-top: 16px; }
.hf__fly { padding: 16px 18px !important; }
.hf__fly .hf__d { margin-top: 8px; font-size: 12.5px; }
.hf__chip { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; border-radius: 9px; background: #f2fbf5; font-size: 12px; font-weight: 600; color: var(--app-ok); }
.hf__chip i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--app-ok); color: #fff; } .hf__chip svg { width: 10px; height: 10px; stroke-width: 3; }
.hf__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.hf__tags span { padding: 4px 9px; border-radius: 7px; background: #f1f1f1; font-size: 11.5px; font-weight: 500; color: #303030; }
.hf__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.ft__name .app-ai { margin-left: 4px; vertical-align: 1px; }
.db__feat > .db__h > .app-btn { flex: none; }
@media (max-width: 1100px) { .hf__search { display: none; } }
@media (max-width: 760px) { .hf__btn, .db__tools .db__sel:not(.hf__search) { display: none; } .hf__d { font-size: 12.5px; } }

/* product photos (tee, socks, cap) inside the thumbnail frames */
.sb--img { overflow: hidden; }
.sb--img img { display: block; width: 88%; height: 88%; object-fit: contain; }
.mc__hero .sb--img.sb--xl { width: 130px; height: 130px; }
.mc__hero .sb--img.sb--xl img { width: 100%; height: 100%; }
