/* Live storefront demos and admin mockups. The widgets inside are the real
   po-widget.css / bundles.css from the apps; this file only draws the fake theme around them. */

/* ---------- Demo frame ---------- */
.demo { position: relative; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { font: 600 0.8125rem/1 var(--sans); color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; transition: background-color .15s, color .15s; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg button:hover:not([aria-pressed="true"]):not([aria-selected="true"]) { color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 600 0.8125rem/1 var(--sans); color: var(--ink-2); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(25, 195, 125, .5); animation: pulse 2s infinite; }
.live.user::before { background: var(--brand); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(25, 195, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 195, 125, 0); } }

.window { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f6f7f9; border-bottom: 1px solid var(--line); }
.window-top .dots { display: flex; gap: 6px; flex: none; }
.window-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe1; }
.window-top .url { flex: 1; min-width: 0; text-align: center; font: 500 12px/1 var(--sans); color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-hint { margin-top: 12px; font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Fake theme: shared ---------- */
.store { container-type: inline-size; color: var(--s-ink); background: var(--s-bg); font: 400 15px/1.5 var(--s-font); transition: background-color .3s, color .3s; }
.store * { transition: border-color .2s, background-color .2s, color .2s, border-radius .3s; }
.store-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--s-line); font-size: 13px; }
.store-bar b { font-family: var(--s-head); font-weight: 700; letter-spacing: var(--s-logo-ls, .08em); font-size: 14px; }
.store-bar .links { display: flex; gap: 14px; color: var(--s-ink-2); }
.store-bar .cart-link { font-weight: 600; color: var(--s-ink); }
.store-bar .count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--s-ink); color: var(--s-bg); font-size: 11px; margin-left: 4px; padding: 0 5px; }
.store-bar .count.bump { animation: bump .45s; }
.store-body { display: grid; gap: 20px; padding: 20px; }
@container (min-width: 480px) { .store-body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; padding: 28px; } .store-media { position: sticky; top: 0; align-self: start; } }
.store-media { background: var(--s-media); border-radius: var(--s-radius-media); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
@container (max-width: 479px) { .store-media { aspect-ratio: 16 / 9; } }
.store-vendor { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--s-ink-2); margin: 0; }
.store-title { font: var(--s-title-weight, 400) 26px/1.15 var(--s-head); letter-spacing: var(--s-title-ls, .02em); margin: 6px 0 8px; }
.store .price { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.store .price-item { font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.store .price-compare { color: var(--s-ink-2); text-decoration: line-through; font-size: 15px; }
.store .price-item.bump, .store .bq-option__price.bump, .store [data-bq-total].bump, .store .btn-total.bump { animation: bump .45s; }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.08); } 100% { transform: scale(1); } }
.store .price-item, .store .btn-total, .store .bq-option__price, .store [data-bq-total] { display: inline-block; transform-origin: left center; }
.store form { margin: 0; }

.product-form__input { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.product-form__input .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.product-form__input input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.product-form__input label { display: inline-block; cursor: pointer; padding: var(--s-pill-pad); border: var(--s-pill-border); border-radius: var(--s-pill-radius); background: var(--s-pill-bg); color: var(--s-ink); font-size: 14px; line-height: 1.2; }
.product-form__input input:checked + label { background: var(--s-on-bg); color: var(--s-on-fg); border-color: var(--s-on-bg); }
.product-form__input input:focus-visible + label { outline: 2px solid var(--s-ink); outline-offset: 2px; }
.form__label { display: block; font-size: 13px; color: var(--s-ink-2); margin: 0 0 8px; padding: 0; letter-spacing: var(--s-label-ls, .04em); text-transform: var(--s-label-tt, none); font-weight: var(--s-label-w, 400); }
.qty-row { margin: 18px 0 6px; }
.quantity { display: inline-flex; align-items: center; border: var(--s-input-border); border-radius: var(--s-input-radius); background: var(--s-input-bg); height: 46px; }
.quantity button { width: 42px; height: 100%; border: 0; background: none; font: 18px/1 var(--s-font); color: var(--s-ink); cursor: pointer; border-radius: var(--s-input-radius); }
.quantity input { width: 44px; height: 100%; border: 0; background: transparent; text-align: center; font: 15px var(--s-font); color: var(--s-ink); -moz-appearance: textfield; appearance: textfield; }
.quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.store .button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 12px; padding: 0 16px; border: var(--s-btn-border); border-radius: var(--s-btn-radius); background: var(--s-btn-bg); color: var(--s-btn-fg); font: 500 15px/1 var(--s-font); letter-spacing: .04em; cursor: pointer; }
.store .button:hover { opacity: .9; }
.store .button:focus-visible { outline: 2px solid var(--s-ink); outline-offset: 3px; }
.store .button.secondary { background: transparent; color: var(--s-ink); border: var(--s-input-border); }
.btn-total { font-variant-numeric: tabular-nums; }
.store-toast { margin-top: 12px; font-size: 13.5px; border-radius: var(--s-input-radius); background: var(--s-media); padding: 0 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s, opacity .35s, padding .35s; }
.store-toast.show { max-height: 260px; opacity: 1; padding: 12px 14px; }
.store-toast b { display: block; margin-bottom: 4px; }
.store-toast ul { margin: 4px 0 0; padding-left: 16px; color: var(--s-ink-2); }
.store-toast .ok { color: #0b7a4b; }
.save-line { font-size: 13.5px; color: var(--s-accent); font-weight: 600; min-height: 1.4em; margin: 10px 0 0; }

/* Dawn-like: sharp, black, Helvetica */
.theme-sharp { --s-bg: #ffffff; --s-ink: #121212; --s-ink-2: rgba(18, 18, 18, .72); --s-line: #e8e8e8; --s-media: #f3f3f3; --s-accent: #121212;
  --s-font: "Helvetica Neue", Helvetica, Arial, sans-serif; --s-head: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --s-pill-pad: 9px 20px; --s-pill-border: 1px solid rgba(18, 18, 18, .55); --s-pill-radius: 40px; --s-pill-bg: #fff; --s-on-bg: #121212; --s-on-fg: #fff;
  --s-input-border: 1px solid rgba(18, 18, 18, .75); --s-input-radius: 0; --s-input-bg: #fff;
  --s-btn-border: 0; --s-btn-radius: 0; --s-btn-bg: #121212; --s-btn-fg: #fff; --s-radius-media: 0; }
/* A soft, rounded theme: warm paper, serif titles, green accent */
.theme-soft { --s-bg: #fbf7f0; --s-ink: #2b2620; --s-ink-2: #6e6253; --s-line: #eadfce; --s-media: #f1e8da; --s-accent: #3d5a45;
  --s-font: "Trebuchet MS", "Segoe UI", sans-serif; --s-head: Georgia, "Times New Roman", serif; --s-title-ls: 0; --s-logo-ls: 0;
  --s-pill-pad: 9px 16px; --s-pill-border: 1px solid #d9ccb8; --s-pill-radius: 12px; --s-pill-bg: #fff; --s-on-bg: #3d5a45; --s-on-fg: #fff;
  --s-input-border: 1px solid #d9ccb8; --s-input-radius: 12px; --s-input-bg: #fff;
  --s-label-ls: .1em; --s-label-tt: uppercase; --s-label-w: 600;
  --s-btn-border: 0; --s-btn-radius: 12px; --s-btn-bg: #3d5a45; --s-btn-fg: #fff; --s-radius-media: 16px; }
.theme-soft .store-title { font-style: italic; }
.theme-soft .price-item { color: #3d5a45; font-weight: 600; letter-spacing: 0; }
.theme-soft .form__label { font-size: 11.5px; }

/* Product art */
.art-holder { width: min(62%, 230px); aspect-ratio: 1.5 / 1; background: #a8703f; border-radius: 12px; position: relative; display: grid; place-items: center; box-shadow: 0 18px 30px -16px rgba(60, 35, 10, .7); transition: background-color .3s; }
.art-holder::before { content: ""; position: absolute; inset: 9px; border: 2px dashed var(--thread, rgba(255, 240, 220, .6)); border-radius: 7px; transition: border-color .3s; }
.art-holder::after { content: ""; position: absolute; left: 0; right: 0; top: 34%; height: 1px; background: rgba(40, 20, 5, .35); }
.art-holder.black { background: #2a2724; }
.art-holder .engrave { font: italic 600 clamp(18px, 7cqi, 30px)/1 Georgia, serif; color: rgba(60, 30, 8, .85); text-shadow: 0 1px 0 rgba(255, 225, 190, .35); margin-top: 18%; max-width: 86%; overflow: hidden; white-space: nowrap; text-overflow: clip; min-height: 1em; }
.art-holder.black .engrave { color: rgba(0, 0, 0, .85); text-shadow: 0 1px 0 rgba(255, 255, 255, .18); }
.art-holder .giftbox { position: absolute; right: -14%; bottom: -16%; width: 46%; aspect-ratio: 1.2; background: #f6efe4; border: 1px solid #e2d6c3; border-radius: 6px; box-shadow: 0 10px 18px -10px rgba(0,0,0,.4); transform: scale(.4) rotate(8deg); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .25s; }
.art-holder .giftbox::before { content: ""; position: absolute; left: 44%; top: 0; bottom: 0; width: 12%; background: #ff5b24; }
.art-holder .giftbox.on { transform: rotate(8deg); opacity: 1; }
.bottles { display: flex; align-items: flex-end; justify-content: center; gap: 6%; width: 80%; height: 70%; }
.art-bottle { width: 24%; max-width: 74px; aspect-ratio: 1 / 2.4; background: #2c2620; border-radius: 14px 14px 10px 10px; position: relative; display: grid; place-items: center; box-shadow: 0 14px 22px -14px rgba(0,0,0,.6); transition: transform .35s cubic-bezier(.3,1.5,.5,1), opacity .25s; flex: none; }
.art-bottle::before { content: ""; position: absolute; top: -11%; left: 32%; right: 32%; height: 13%; background: #19c37d; border-radius: 3px 3px 0 0; }
.art-bottle span { background: #efe6d6; color: #2c2620; width: 80%; padding: 8px 0; text-align: center; font: 700 8px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.art-bottle.big { width: 28%; max-width: 86px; }
.art-bottle[hidden] { display: grid; opacity: 0; transform: translateY(20px) scale(.8); position: absolute; }

/* Make the real widgets sit nicely in the fake theme */
.store .po-fields { margin: 4px 0 6px; }
.store .bq { margin: 4px 0 8px; }
.store .bq-item__image { display: grid; place-items: center; }
.thumb-bottle, .thumb-cup, .thumb-filter { display: block; }
.thumb-bottle { width: 12px; height: 30px; background: #2c2620; border-radius: 4px; }
.thumb-cup { width: 22px; height: 26px; border-radius: 3px 3px 7px 7px; background: var(--cup, #d8c7a8); transition: background-color .3s; }
.thumb-filter { width: 28px; height: 20px; background: #fff; border: 1px solid #cfc6b6; }

/* ---------- Admin (Polaris-like) ---------- */
.admin { --a-bg: #f1f1f1; --a-ink: #303030; --a-ink-2: #616161; --a-line: #e3e3e3; background: var(--a-bg); color: var(--a-ink); font: 400 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.admin-top { background: #1a1a1a; color: #e3e3e3; display: flex; align-items: center; gap: 14px; padding: 9px 14px; }
.admin-top .logo { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.16); flex: none; }
.admin-top .search { flex: 1; max-width: 360px; background: #303030; border-radius: 8px; padding: 6px 10px; color: #9a9a9a; font-size: 12.5px; }
.admin-top .store-name { margin-left: auto; font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.admin-top .store-name i { width: 22px; height: 22px; border-radius: 6px; background: #ff5b24; display: grid; place-items: center; color: #0b0d12; font: 700 11px/1 var(--sans); font-style: normal; }
.admin-body { display: grid; grid-template-columns: 1fr; min-height: 100%; }
@container (min-width: 760px) { .admin-body { grid-template-columns: 180px 1fr; } }
.admin-wrap { container-type: inline-size; }
.admin-nav { display: none; padding: 12px 8px; background: #ebebeb; font-size: 13px; }
@container (min-width: 760px) { .admin-nav { display: block; } }
.admin-nav div { padding: 6px 10px; border-radius: 8px; color: #303030; }
.admin-nav .sec { margin-top: 14px; font-size: 12px; color: #616161; font-weight: 600; }
.admin-nav .on { background: #fff; font-weight: 600; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.admin-nav .app { display: flex; align-items: center; gap: 8px; }
.admin-nav .app i { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.admin-main { padding: 16px; min-width: 0; }
@container (min-width: 760px) { .admin-main { padding: 20px 24px; } }
.a-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.a-head h4 { font: 700 18px/1.2 inherit; font-family: inherit; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.a-back { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(0,0,0,.06); font-size: 14px; }
.a-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 6px 12px; font-weight: 600; font-size: 12.5px; background: #fff; color: #303030; box-shadow: inset 0 -1px 0 #b5b5b5, 0 0 0 1px #e3e3e3; }
.a-btn.primary { background: #303030; color: #fff; box-shadow: inset 0 -1px 0 #000, 0 1px 0 rgba(0,0,0,.4); }
.a-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05); padding: 14px 16px; margin-bottom: 12px; }
.a-card h5 { margin: 0 0 10px; font: 650 13.5px/1.3 inherit; font-family: inherit; }
.a-grid { display: grid; gap: 12px; }
@container (min-width: 760px) { .a-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.a-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--a-line); }
.a-row:first-of-type { border-top: 0; padding-top: 2px; }
.a-row .t { font-weight: 600; }
.a-row .s { color: var(--a-ink-2); font-size: 12.5px; }
.a-row .drag { color: #b5b5b5; margin-right: 8px; letter-spacing: -2px; }
.badge-p { display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 550; background: #e3e3e3; color: #303030; white-space: nowrap; }
.badge-p.success { background: #affebf; color: #014b40; }
.badge-p.info { background: #e0f0ff; color: #00527c; }
.badge-p.pro { background: #303030; color: #fff; }
.a-field { margin-bottom: 10px; }
.a-field label, .a-field .l { display: block; font-size: 12.5px; margin-bottom: 4px; }
.a-input { border: 1px solid #8a8a8a; border-radius: 8px; padding: 6px 10px; background: #fdfdfd; font-size: 13px; min-height: 30px; }
.a-help { color: var(--a-ink-2); font-size: 12px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #ebebeb; border-radius: 8px; padding: 3px 8px; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; }
.chip::after { content: "×"; color: #8a8a8a; }
.a-banner { border-radius: 12px; padding: 10px 14px; background: #eaf4ff; color: #00527c; font-size: 12.5px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; box-shadow: inset 0 0 0 1px rgba(0, 82, 124, .12); }
.a-banner b { color: #003a5a; }
.a-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.a-table th { text-align: left; font-weight: 550; color: var(--a-ink-2); background: #f7f7f7; padding: 8px 12px; border-bottom: 1px solid var(--a-line); font-size: 12px; }
.a-table td { padding: 11px 12px; border-bottom: 1px solid var(--a-line); }
.a-table tr:last-child td { border-bottom: 0; }
.a-table .lnk { font-weight: 600; text-decoration: underline; text-decoration-color: #c9c9c9; }
.a-card.flush { padding: 0; overflow: hidden; }
.plan-cards { display: grid; gap: 12px; }
@container (min-width: 560px) { .plan-cards { grid-template-columns: 1fr 1fr; } }
.plan-card .amt { font: 700 26px/1 inherit; font-family: inherit; margin: 8px 0 2px; letter-spacing: -0.02em; }
.plan-card .amt small { font-size: 13px; font-weight: 400; color: var(--a-ink-2); }
.plan-card ul { margin: 10px 0 12px; padding: 0 0 0 18px; color: #303030; }
.plan-card li { margin-bottom: 4px; }
.plan-card.rec { box-shadow: 0 0 0 2px #303030; }
.plan-card .fine { color: var(--a-ink-2); font-size: 12px; margin-top: 8px; }
.a-preview { border: 1px dashed #c9c9c9; border-radius: 10px; padding: 12px; background: #fafafa; }
.mini-field { margin-bottom: 8px; }
.mini-field .l { font-size: 12px; color: #616161; margin-bottom: 4px; }
.mini-input { border: 1px solid #8a8a8a; border-radius: 6px; height: 28px; }
.mini-sw { display: flex; gap: 6px; }
.mini-sw i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.tier-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; margin-bottom: 8px; }

/* App tabs above the hero demo */
.app-tabs { display: inline-flex; gap: 6px; margin-bottom: 14px; padding: 4px; background: var(--bg-soft); border-radius: 999px; border: 1px solid var(--line); }
.app-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; border-radius: 999px; padding: 9px 16px 9px 10px; font: 600 0.9375rem/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.app-tabs button i { width: 22px; height: 22px; border-radius: 5px; flex: none; background: center / cover no-repeat; filter: grayscale(1); opacity: .45; transition: filter .15s, opacity .15s; }
.app-tabs button[data-app="picked"] i { background-image: url("../picked.svg"); }
.app-tabs button[data-app="tiered"] i { background-image: url("../tiered.svg"); }
.app-tabs button[aria-selected="true"] i { filter: none; opacity: 1; }
.app-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,13,18,.08), 0 0 0 1px var(--line); }
@container (max-width: 479px) { .store-bar .links > span:not(.cart-link) { display: none; } .store-bar { padding: 12px 16px; } .store-body { padding: 16px; } }

/* v3: theme switch and status live in the browser bar */
.window { container-type: inline-size; }
.window-top { gap: 10px; padding: 8px 10px 8px 14px; }
.window-top .url { text-align: left; }
.window-top .seg { padding: 2px; flex: none; }
.window-top .seg button { padding: 6px 10px; font-size: 12px; }
.window-top .live { font-size: 12px; flex: none; white-space: nowrap; }
@container (max-width: 520px) { .window-top .url { display: none; } .window-top .live { margin-right: auto; } }

/* v3: compact store for the hero, so the buy button sits above the fold */
.demo[data-compact] .store-bar { padding: 10px 18px; }
.demo[data-compact] .store-body { gap: 22px; padding: 18px 20px 20px; }
@container (min-width: 480px) { .demo[data-compact] .store-body { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); } }
.demo[data-compact] .store-title { font-size: 21px; margin: 2px 0 4px; }
.demo[data-compact] .price { margin-bottom: 12px; }
.demo[data-compact] .price-item { font-size: 16px; }
.demo[data-compact] .product-form__input { margin-bottom: 12px; }
.demo[data-compact] .product-form__input label { padding: 7px 16px; }
.demo[data-compact] .po-fields { gap: 12px; margin: 0 0 4px; }
.demo[data-compact] .bq { margin: 0 0 4px; gap: 1em; }
.demo[data-compact] .bq-option { min-height: 46px; padding: 8px 14px; }
.demo[data-compact] .quantity { height: 42px; }
.demo[data-compact] .qty-row { display: inline-block; vertical-align: top; margin: 12px 8px 0 0; }
.demo[data-compact] .qty-row .form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.demo[data-compact] form > .button { display: inline-flex; width: calc(100% - 140px); min-height: 42px; margin-top: 12px; vertical-align: top; }
.demo[data-compact] .save-line { min-height: 0; margin: 8px 0 0; }
.demo[data-compact] .save-line:empty { display: none; }

/* v3: richer admin details */
.admin-top.savebar { background: #1a1a1a; }
.admin-top .sb-text { font-weight: 600; color: #fff; font-size: 13px; }
.admin-top .sb-actions { margin-left: auto; display: flex; gap: 8px; }
.a-btn.ghost-dark { background: #303030; color: #e3e3e3; box-shadow: inset 0 0 0 1px #4a4a4a; }
.a-btn.light { background: #fff; color: #303030; box-shadow: none; }
.a-crumb { font-size: 12px; color: var(--a-ink-2); margin-bottom: 4px; }
.a-count { display: inline-grid; place-items: center; min-width: 20px; height: 18px; border-radius: 9px; background: #ebebeb; font-size: 11.5px; margin-left: 6px; font-weight: 550; }
.a-head h4 .badge-p { font-size: 11.5px; font-weight: 550; }
.mini-sw.inline { display: inline-flex; gap: 3px; vertical-align: -3px; margin-right: 6px; }
.mini-sw.inline i { width: 13px; height: 13px; }
.mini-input { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font-size: 12.5px; color: #303030; background: #fff; }
.mini-input span + span { color: #8a8a8a; font-size: 11px; }
.mini-pill { display: inline-block; border: 1px solid #303030; background: #303030; color: #fff; border-radius: 6px; padding: 4px 10px; font-size: 12px; }
.mini-total { font-size: 12.5px; margin-top: 6px; color: #303030; }
.a-preview { background: #fff; }

/* App Store listing card (How it works, step 1) */
.mini-listing { width: 100%; max-width: 320px; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.06); padding: 16px; font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #303030; }
.ml-head { display: flex; gap: 12px; align-items: center; }
.ml-head b { display: block; font-size: 14px; }
.ml-head span { color: #616161; font-size: 12px; }
.ml-icon { width: 44px; height: 44px; border-radius: 10px; background: url("../picked.svg") center / cover no-repeat; flex: none; }
.ml-line { margin: 12px 0 8px; }
.ml-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ml-meta span { background: #f1f1f1; border-radius: 8px; padding: 2px 8px; font-size: 12px; color: #616161; }
.ml-btn { width: 100%; justify-content: center; padding: 8px 12px; }
.mini-editor { width: 100%; max-width: 320px; margin: 0; font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #303030; }
.mini-editor .l { font-size: 12px; color: #616161; }
.mini-editor .tier-row { grid-template-columns: 1fr 1fr; }

/* Theme editor (How it works, step 3) */
.theme-editor { width: 100%; max-width: 320px; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #303030; }
.te-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #1a1a1a; color: #e3e3e3; font-size: 12px; }
.te-save { background: #fff; color: #303030; border-radius: 6px; padding: 3px 9px; font-weight: 600; }
.te-tree { padding: 8px; }
.te-sec { font-weight: 650; padding: 6px 8px; }
.te-item { padding: 5px 8px 5px 24px; border-radius: 6px; color: #4a4a4a; position: relative; }
.te-item::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; border: 1.5px solid #b5b5b5; border-radius: 2px; transform: translateY(-50%); }
.te-item.app { background: #fff0e9; color: #0b0d12; font-weight: 600; box-shadow: inset 2px 0 0 #ff5b24; }
.te-item.app::before { border-color: #ff5b24; background: #ff5b24; }
.te-item.app i { display: none; }
.te-item.app em { font-style: normal; font-weight: 500; color: #c2410c; font-size: 11.5px; margin-left: 6px; }
.te-add { padding: 6px 8px 4px 24px; color: #005bd3; font-weight: 550; }
@container (min-width: 480px) { .demo[data-compact] .store-body { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }
.demo[data-compact] .quantity button { width: 34px; }
.demo[data-compact] .quantity input { width: 34px; }
.demo[data-compact] form > .button { width: calc(100% - 118px); letter-spacing: .02em; white-space: nowrap; padding: 0 10px; }
.demo[data-compact] .art-holder .engrave { font-size: 17px; }
.demo[data-compact] .art-bottle span { font-size: 6px; letter-spacing: .06em; padding: 5px 0; }
.art-bottle span { word-break: keep-all; }
