/* ============================================================
   StoryForge — Store listing + Product detail components
   Loads AFTER styles.css (reuses :root tokens, .btn, .prod, .ph).
   Conversion patterns modeled on Amazon / Steam / itch.
   ============================================================ */

body.store { background: var(--bg); }

/* page top offset for fixed nav */
.page-top { padding-top: 84px; }

/* ---------- breadcrumb ---------- */
.crumbs { display: flex; align-items: center; gap: 9px; color: var(--ink-mute); font-size: .9rem; font-weight: 600; padding: 18px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--ink-soft); }

/* ---------- store header / category tabs ---------- */
.store-head { padding: 8px 0 4px; }
.store-head h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.1; }
.store-head .sub { color: var(--ink-mute); margin-top: 6px; }
.cat-tabs { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.cat-tab { padding: 12px 18px; font-weight: 700; color: var(--ink-mute); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.cat-tab:hover { color: var(--ink); }
.cat-tab.active { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- store layout ---------- */
.store-grid { display: grid; grid-template-columns: 268px 1fr; gap: 34px; padding: 26px 0 90px; align-items: start; }

/* filter sidebar */
.filters { position: sticky; top: 92px; }
.filter-clear { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter-clear span { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.filter-clear a { font-size: .85rem; font-weight: 600; color: var(--gold); }
.fgroup { border-top: 1px solid var(--line); padding: 16px 0; }
.fgroup > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1rem; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary svg { width: 18px; height: 18px; color: var(--ink-mute); transition: transform .2s ease; }
.fgroup[open] > summary svg { transform: rotate(180deg); }
.fopts { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.fopt { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .95rem; cursor: pointer; }
.fopt input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line); background: rgba(255,255,255,.04); display: grid; place-items: center; cursor: pointer; flex: none; }
.fopt input:checked { background: var(--gold); border-color: var(--gold); }
.fopt input:checked::after { content: "✓"; color: #1a1206; font-size: .8rem; font-weight: 900; }
.fopt .count { margin-left: auto; color: var(--ink-faint); font-size: .82rem; }
.fopt .star { color: var(--gold); }
.price-range { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.price-range input { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; color: var(--ink); font-family: var(--font-body); outline: none; }

/* results column */
.sortbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sortbar .rc { color: var(--ink-mute); font-size: .95rem; }
.sortbar .rc b { color: var(--ink); }
.sort-right { display: flex; align-items: center; gap: 10px; }
.select { position: relative; }
.select select { appearance: none; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: .92rem; padding: 10px 38px 10px 14px; border-radius: 10px; cursor: pointer; outline: none; }
.select svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; color: var(--ink-mute); }
.view-toggle { display: flex; gap: 4px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.view-toggle button { width: 34px; height: 34px; border: none; background: none; border-radius: 7px; color: var(--ink-mute); cursor: pointer; display: grid; place-items: center; }
.view-toggle button.active { background: rgba(255,255,255,.1); color: var(--ink); }
.view-toggle svg { width: 18px; height: 18px; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod .prod-tag.bestseller { background: linear-gradient(180deg, #f0c463, #c9963f); color: #1a1206; }
.prod .prod-tag.staff { background: color-mix(in oklch, var(--purple) 80%, #000); }
.prod .prod-tag.new { background: color-mix(in oklch, var(--green) 78%, #000); }
.prod-strike { color: var(--ink-faint); text-decoration: line-through; font-size: .9rem; font-weight: 600; margin-right: 6px; }
.prod-fmt { display: flex; gap: 6px; margin-top: 2px; }
.prod-fmt span { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.pager a:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.pager .cur { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.pager .dots { border: none; cursor: default; }

@media (max-width: 920px){
  .store-grid { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){ .results-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.pdp { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 12px 0 70px; align-items: start; }
@media (max-width: 960px){ .pdp { grid-template-columns: 1fr; gap: 34px; } }

/* gallery */
.gallery { position: sticky; top: 92px; }
@media (max-width: 960px){ .gallery { position: static; } }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #0c1020; box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); position: relative; }
.gallery-main .ph { border: none; border-radius: 0; aspect-ratio: 3/4; }
.gallery-badge { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 8px; }
.gallery-badge .b { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: #1a1206; background: linear-gradient(180deg,#f0c463,#c9963f); }
.preview-btn { position: absolute; right: 14px; bottom: 14px; z-index: 3; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumb { aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); cursor: pointer; background: #0c1020; }
.thumb.active { border-color: var(--gold); }
.thumb .ph { border: none; border-radius: 0; height: 100%; }
.thumb .ph span { display: none; }

/* buy column */
.buy-col h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 1.08; }
.byline { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-mute); }
.byline a { color: var(--gold); font-weight: 700; }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; color: var(--green); }
.verified svg { width: 15px; height: 15px; }
.rating-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.rating-row .score { font-weight: 800; }
.rating-row a { color: var(--ink-soft); font-size: .92rem; text-decoration: underline; text-underline-offset: 2px; }
.rating-row a:hover { color: var(--ink); }
.tagline { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.5; margin-top: 16px; }

/* format selector */
.fmt-label { font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin: 24px 0 12px; }
.fmt-opts { display: flex; flex-direction: column; gap: 10px; }
.fmt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .15s ease, background .15s ease; position: relative; }
.fmt:hover { border-color: color-mix(in oklch, var(--gold) 40%, var(--line)); }
.fmt.sel { border-color: var(--gold); background: color-mix(in oklch, var(--gold) 9%, transparent); }
.fmt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-mute); flex: none; display: grid; place-items: center; }
.fmt.sel .radio { border-color: var(--gold); }
.fmt.sel .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.fmt .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink-soft); flex: none; }
.fmt .ic svg { width: 20px; height: 20px; }
.fmt .ft { flex: 1; }
.fmt .ft .n { font-weight: 700; display: block; }
.fmt .ft .d { color: var(--ink-mute); font-size: .85rem; display: block; margin-top: 1px; }
.fmt .fp { text-align: right; font-weight: 800; font-size: 1.05rem; }
.fmt .best { position: absolute; top: -9px; right: 14px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--green); color: #04150d; padding: 3px 9px; border-radius: 999px; }

/* buy box */
.buybox { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: linear-gradient(180deg, var(--card-2), transparent); }
.price-now { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-now .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.price-now .was { color: var(--ink-faint); text-decoration: line-through; font-size: 1.3rem; font-weight: 600; }
.price-now .save { font-size: .82rem; font-weight: 800; color: var(--green); background: color-mix(in oklch, var(--green) 16%, transparent); border: 1px solid color-mix(in oklch, var(--green) 35%, transparent); padding: 4px 10px; border-radius: 999px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 38px; height: 40px; background: rgba(255,255,255,.04); border: none; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: rgba(255,255,255,.1); }
.qty input { width: 44px; height: 40px; text-align: center; background: none; border: none; color: var(--ink); font-family: var(--font-body); font-weight: 700; outline: none; }
.qty-note { color: var(--ink-mute); font-size: .85rem; }
.buy-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.btn-buy { background: linear-gradient(180deg, #f3cd74, #d29f43); color: #1a1206; box-shadow: 0 12px 30px -12px rgba(210,160,70,.7); justify-content: center; width: 100%; font-size: 1.06rem; padding: 17px; }
.btn-buy:hover { box-shadow: 0 18px 40px -12px rgba(210,160,70,.8); }
.btn-cart { width: 100%; justify-content: center; background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid var(--line); padding: 16px; }
.btn-cart:hover { background: rgba(255,255,255,.14); }
.wishlist { display: inline-flex; align-items: center; gap: 8px; justify-content: center; color: var(--ink-soft); font-weight: 700; font-size: .92rem; margin-top: 6px; cursor: pointer; background: none; border: none; font-family: var(--font-body); }
.wishlist:hover { color: var(--ink); }
.wishlist svg { width: 17px; height: 17px; }

/* trust badges */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust .t { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.trust .t svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.guarantee { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: var(--ink-mute); font-size: .85rem; }
.guarantee svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* ---------- sections below ---------- */
.pdp-section { padding: 54px 0; border-top: 1px solid var(--line); }
.pdp-section h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 24px; }

/* highlights / what's inside */
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hl { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.hl .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--gold); background: color-mix(in oklch, var(--gold) 14%, transparent); border: 1px solid color-mix(in oklch, var(--gold) 30%, var(--line)); }
.hl .ic svg { width: 22px; height: 22px; }
.hl h4 { font-weight: 700; font-size: 1.05rem; }
.hl p { color: var(--ink-mute); font-size: .92rem; margin-top: 3px; }
@media (max-width: 640px){ .highlights { grid-template-columns: 1fr; } }

/* description prose */
.prose { max-width: 760px; color: var(--ink-soft); line-height: 1.75; font-size: 1.06rem; }
.prose p { margin-bottom: 18px; }
.prose h3 { color: var(--ink); font-weight: 800; font-size: 1.25rem; margin: 26px 0 10px; font-family: var(--font-body); }
.prose ul { margin: 0 0 18px 4px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { display: flex; gap: 11px; }
.prose ul li::before { content: "◆"; color: var(--gold); font-size: .8rem; margin-top: 4px; }
.prose .fade { position: relative; max-height: 320px; overflow: hidden; }
.prose .fade.open { max-height: none; }
.prose .fade:not(.open)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); }
.read-more { margin-top: 8px; background: none; border: none; color: var(--gold); font-weight: 700; font-family: var(--font-body); font-size: 1rem; cursor: pointer; }

/* specs table */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; max-width: 820px; }
.specs .sr { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs .sr dt { color: var(--ink-mute); }
.specs .sr dd { color: var(--ink); font-weight: 700; text-align: right; }
@media (max-width: 640px){ .specs { grid-template-columns: 1fr; } }

/* reviews */
.rev-top { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; margin-bottom: 38px; }
.rev-score { text-align: center; }
.rev-score .big { font-family: var(--font-display); font-weight: 700; font-size: 4.4rem; line-height: 1; }
.rev-score .stars { margin: 8px 0 6px; justify-content: center; }
.rev-score .cnt { color: var(--ink-mute); font-size: .9rem; }
.rev-bars { display: flex; flex-direction: column; gap: 8px; }
.rev-bar { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--ink-mute); }
.rev-bar .lab { width: 44px; flex: none; display: flex; align-items: center; gap: 3px; }
.rev-bar .lab svg { width: 12px; height: 12px; color: var(--gold); }
.rev-bar .track { flex: 1; height: 9px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.rev-bar .fill { height: 100%; background: linear-gradient(90deg, #d29f43, #f3cd74); border-radius: 999px; }
.rev-bar .pct { width: 38px; text-align: right; flex: none; }
@media (max-width: 640px){ .rev-top { grid-template-columns: 1fr; gap: 24px; } }

.rev-list { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.rev { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: rgba(255,255,255,.02); }
.rev-head { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, var(--purple-d), var(--blue-d)); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.rev-meta { flex: 1; }
.rev-meta .nm { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.rev-meta .vp { font-size: .72rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 3px; }
.rev-meta .vp svg { width: 12px; height: 12px; }
.rev-meta .dt { color: var(--ink-faint); font-size: .82rem; }
.rev .stars { margin: 12px 0 8px; }
.rev .stars svg { width: 15px; height: 15px; }
.rev h4 { font-weight: 800; margin-bottom: 5px; }
.rev p { color: var(--ink-soft); line-height: 1.6; }
.rev .helpful { margin-top: 14px; display: flex; align-items: center; gap: 8px; color: var(--ink-mute); font-size: .85rem; }
.rev .helpful button { background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 8px; padding: 6px 12px; font-family: var(--font-body); font-weight: 600; font-size: .82rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.rev .helpful button:hover { background: rgba(255,255,255,.1); }
.rev .helpful svg { width: 13px; height: 13px; }

/* rails */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px){ .rail { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .rail { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* sticky buy bar */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; transform: translateY(110%); transition: transform .28s ease; background: rgba(10,13,24,.92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.sticky-buy.show { transform: none; }
.sticky-buy .inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 18px; }
.sticky-buy .sb-thumb { width: 44px; height: 56px; border-radius: 7px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.sticky-buy .sb-thumb .ph { border: none; border-radius: 0; height: 100%; }
.sticky-buy .sb-thumb .ph span { display: none; }
.sticky-buy .sb-info { flex: 1; min-width: 0; }
.sticky-buy .sb-info .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-info .r { color: var(--ink-mute); font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.sticky-buy .sb-info .r .stars svg { width: 13px; height: 13px; }
.sticky-buy .sb-price { font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.sticky-buy .sb-price .was { color: var(--ink-faint); text-decoration: line-through; font-size: .9rem; font-weight: 600; margin-right: 6px; }
.sticky-buy .btn-buy { width: auto; padding: 13px 30px; }
@media (max-width: 640px){
  .sticky-buy .sb-thumb, .sticky-buy .sb-info .r { display: none; }
  .sticky-buy .inner { padding: 10px 18px; gap: 12px; }
  .sticky-buy .btn-buy { flex: 1; }
}

/* section label rows with "view all" */
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.row-head h2 { margin-bottom: 0; }
.row-head a { color: var(--gold); font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* ============================================================
   CART DRAWER (slide-out) — injected by cart.js
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(4,6,12,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.cart-overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 201; width: min(420px, 92vw); background: #0c1020; border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: -30px 0 80px -20px rgba(0,0,0,.7); }
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-weight: 800; font-size: 1.2rem; }
.drawer-close { background: none; border: none; color: var(--ink-mute); cursor: pointer; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.drawer-close:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-empty { text-align: center; color: var(--ink-mute); padding: 60px 20px; }
.drawer-empty svg { width: 46px; height: 46px; opacity: .4; margin-bottom: 14px; }
.ci { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci-cover { width: 56px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.ci-cover .ph { border: none; border-radius: 0; height: 100%; }
.ci-cover .ph span { display: none; }
.ci-main { flex: 1; min-width: 0; }
.ci-main .t { font-weight: 700; line-height: 1.25; }
.ci-main .by { color: var(--ink-mute); font-size: .82rem; }
.ci-main .fmt-tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; margin-top: 6px; }
.ci-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.ci-price { font-weight: 800; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ci-qty button { width: 28px; height: 30px; background: rgba(255,255,255,.04); border: none; color: var(--ink); cursor: pointer; font-size: 1rem; }
.ci-qty button:hover { background: rgba(255,255,255,.1); }
.ci-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; }
.ci-remove { background: none; border: none; color: var(--ink-faint); cursor: pointer; font-size: .82rem; font-family: var(--font-body); }
.ci-remove:hover { color: var(--ember); }
.drawer-upsell { padding: 16px 22px; border-top: 1px solid var(--line); }
.drawer-upsell .u-lab { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.u-item { display: flex; align-items: center; gap: 12px; }
.u-item .ph { width: 40px; height: 52px; border-radius: 6px; flex: none; }
.u-item .ph span { display: none; }
.u-item .ui-main { flex: 1; min-width: 0; }
.u-item .ui-main .t { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-item .ui-main .p { color: var(--ink-mute); font-size: .82rem; }
.u-add { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 12px; font-weight: 700; font-size: .82rem; cursor: pointer; font-family: var(--font-body); }
.u-add:hover { background: rgba(255,255,255,.12); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.drawer-sub { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.drawer-sub .sl { color: var(--ink-soft); }
.drawer-sub .sv { font-weight: 800; font-size: 1.3rem; }
.drawer-note { color: var(--ink-mute); font-size: .82rem; margin-bottom: 14px; }
.drawer-foot .btn-buy { width: 100%; justify-content: center; }
.drawer-foot .view-cart { display: block; text-align: center; margin-top: 10px; color: var(--ink-soft); font-weight: 700; font-size: .92rem; }
.drawer-foot .view-cart:hover { color: var(--ink); }
.drawer-trust { display: flex; justify-content: center; gap: 16px; margin-top: 14px; color: var(--ink-mute); font-size: .78rem; }
.drawer-trust span { display: inline-flex; align-items: center; gap: 5px; }
.drawer-trust svg { width: 13px; height: 13px; color: var(--green); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 220; background: #11331f; border: 1px solid color-mix(in oklch, var(--green) 40%, var(--line)); color: #d6f5e3; padding: 13px 20px; border-radius: 12px; font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); transition: transform .3s ease; }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--green); }

/* nav cart badge */
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a1206; font-size: .74rem; font-weight: 800; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; padding: 8px 0 90px; }
@media (max-width: 880px){ .cart-page-grid { grid-template-columns: 1fr; } }
.cart-page-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.cart-page-head h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem,4vw,2.8rem); }
.cart-page-head span { color: var(--ink-mute); }
.cart-list { border-top: 1px solid var(--line); }
.cart-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-row .cover { width: 92px; height: 118px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.cart-row .cover .ph { border: none; border-radius: 0; height: 100%; }
.cart-row .cover .ph span { display: none; }
.cart-row .info { flex: 1; min-width: 0; }
.cart-row .info .t { font-weight: 800; font-size: 1.15rem; }
.cart-row .info .by { color: var(--ink-mute); font-size: .9rem; margin-top: 2px; }
.cart-row .info .by a { color: var(--gold); }
.cart-row .info .fmt-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; margin-top: 10px; }
.cart-row .info .meta { display: flex; gap: 14px; margin-top: 12px; color: var(--ink-mute); font-size: .85rem; }
.cart-row .info .meta button { background: none; border: none; color: var(--ink-mute); cursor: pointer; font-family: var(--font-body); font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.cart-row .info .meta button:hover { color: var(--ink); }
.cart-row .info .meta .rm:hover { color: var(--ember); }
.cart-row .right { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cart-row .right .price { font-weight: 800; font-size: 1.25rem; }
.cart-row .right .price .was { color: var(--ink-faint); text-decoration: line-through; font-size: .85rem; font-weight: 600; display: block; }
.cart-cont { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--gold); font-weight: 700; }

/* order summary card (shared by cart + checkout) */
.summary { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: linear-gradient(180deg, var(--card-2), transparent); }
.summary h3 { font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.sum-line { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); }
.sum-line.discount { color: var(--green); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; margin-top: 8px; border-top: 1px solid var(--line); }
.sum-total .l { font-weight: 800; font-size: 1.1rem; }
.sum-total .v { font-weight: 800; font-size: 1.6rem; }
.sum-total .v small { font-size: .8rem; color: var(--ink-mute); font-weight: 600; }
.promo { display: flex; gap: 8px; margin: 16px 0; }
.promo input { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; color: var(--ink); font-family: var(--font-body); outline: none; }
.promo button { background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 0 16px; font-weight: 700; cursor: pointer; font-family: var(--font-body); }
.summary .btn-buy { width: 100%; justify-content: center; margin-top: 6px; }
.sum-trust { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.sum-trust .t { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); font-size: .85rem; }
.sum-trust .t svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-grid { display: grid; grid-template-columns: 1fr 390px; gap: 44px; align-items: start; padding: 8px 0 90px; }
@media (max-width: 900px){ .checkout-grid { grid-template-columns: 1fr; } .checkout-grid .summary { position: static; order: -1; } }
.co-main h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem,4vw,2.6rem); margin-bottom: 6px; }
.co-secure { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: .85rem; font-weight: 700; margin-bottom: 24px; }
.co-secure svg { width: 15px; height: 15px; }
.express { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.express button { height: 50px; border-radius: 12px; border: 1px solid var(--line); font-weight: 800; font-family: var(--font-body); cursor: pointer; display: grid; place-items: center; font-size: .95rem; }
.express .pay-dark { background: #f4f1ea; color: #14131a; }
.express .pay-pp { background: #ffc439; color: #142c8e; }
.express .pay-g { background: #fff; color: #3c4043; }
.express button:hover { filter: brightness(1.05); }
.or-div { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-mute); font-size: .85rem; }
.or-div::before, .or-div::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co-section { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 16px; }
.co-section .sh { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; margin-bottom: 16px; }
.co-section .sh .num { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #1a1206; display: grid; place-items: center; font-size: .85rem; font-weight: 800; flex: none; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; color: var(--ink); font-family: var(--font-body); font-size: 1rem; outline: none; transition: border-color .15s ease; }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field input::placeholder { color: var(--ink-faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.field-hint { color: var(--ink-mute); font-size: .82rem; margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.field-hint svg { width: 14px; height: 14px; color: var(--green); }
.guest-note { color: var(--ink-mute); font-size: .85rem; margin-top: -8px; margin-bottom: 16px; }
.guest-note a { color: var(--gold); font-weight: 700; }
.co-summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.co-si { display: flex; gap: 12px; align-items: center; }
.co-si .ph { width: 38px; height: 48px; border-radius: 6px; flex: none; }
.co-si .ph span { display: none; }
.co-si .m { flex: 1; min-width: 0; }
.co-si .m .t { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-si .m .f { color: var(--ink-mute); font-size: .8rem; }
.co-si .pr { font-weight: 800; }
.co-place { width: 100%; justify-content: center; margin-top: 6px; font-size: 1.08rem; padding: 17px; }
.co-fineprint { color: var(--ink-mute); font-size: .8rem; text-align: center; margin-top: 12px; line-height: 1.5; }

/* ============================================================
   CONFIRMATION
   ============================================================ */
.confirm { max-width: 720px; margin: 0 auto; padding: 30px 0 90px; text-align: center; }
.confirm .check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklch, var(--green) 18%, transparent); border: 1px solid color-mix(in oklch, var(--green) 45%, transparent); }
.confirm .check svg { width: 42px; height: 42px; color: var(--green); }
.confirm h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem,5vw,3.2rem); }
.confirm .sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 12px; }
.confirm .order-no { display: inline-block; margin-top: 16px; color: var(--ink-mute); font-size: .9rem; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }
.confirm .order-no b { color: var(--ink); }
.dl-card { text-align: left; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg,var(--card-2),transparent); padding: 24px; margin-top: 34px; }
.dl-card h3 { font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.dl-card .h-sub { color: var(--ink-mute); font-size: .9rem; margin-bottom: 18px; }
.dl-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.dl-item .ph { width: 42px; height: 54px; border-radius: 7px; flex: none; }
.dl-item .ph span { display: none; }
.dl-item .m { flex: 1; min-width: 0; text-align: left; }
.dl-item .m .t { font-weight: 700; }
.dl-item .m .s { color: var(--ink-mute); font-size: .82rem; }
.dl-item .acts { display: flex; gap: 8px; }
.dl-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--gold); color: #1a1206; border: none; border-radius: 10px; padding: 10px 15px; font-weight: 800; cursor: pointer; font-family: var(--font-body); font-size: .9rem; }
.dl-btn.ghost { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line); }
.dl-btn svg { width: 15px; height: 15px; }
.account-prompt { display: flex; gap: 18px; align-items: center; text-align: left; border: 1px solid color-mix(in oklch, var(--gold) 35%, var(--line)); border-radius: 18px; padding: 22px; margin-top: 20px; background: color-mix(in oklch, var(--gold) 7%, transparent); }
.account-prompt .ic { width: 50px; height: 50px; border-radius: 12px; background: color-mix(in oklch,var(--gold) 18%, transparent); display: grid; place-items: center; color: var(--gold); flex: none; }
.account-prompt .ic svg { width: 26px; height: 26px; }
.account-prompt .ap-main { flex: 1; }
.account-prompt h4 { font-weight: 800; font-size: 1.05rem; }
.account-prompt p { color: var(--ink-soft); font-size: .9rem; margin-top: 3px; }
.account-prompt .ap-form { display: flex; gap: 8px; margin-top: 10px; }
.account-prompt .ap-form input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; color: var(--ink); font-family: var(--font-body); outline: none; }
@media (max-width:600px){ .account-prompt { flex-direction: column; align-items: stretch; } .dl-item { flex-wrap: wrap; } }

/* ============================================================
   CREATOR STOREFRONT
   ============================================================ */
.shop-banner { position: relative; height: 280px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; border: 1px solid var(--line); border-top: none; }
.shop-banner .ph { border: none; border-radius: 0; height: 100%; }
.shop-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8,10,18,.9)); }
.shop-head { display: flex; gap: 24px; align-items: flex-end; margin-top: -64px; position: relative; z-index: 2; padding: 0 4px; }
.shop-avatar { width: 128px; height: 128px; border-radius: 22px; overflow: hidden; border: 3px solid var(--bg); flex: none; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); }
.shop-avatar .ph { border: none; border-radius: 0; height: 100%; }
.shop-avatar .ph span { display: none; }
.shop-id { flex: 1; padding-bottom: 6px; }
.shop-id h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem,4.6vw,3.2rem); line-height: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-id .verified { font-size: .82rem; }
.shop-id .tag { color: var(--ink-soft); margin-top: 8px; }
.shop-actions { display: flex; gap: 10px; padding-bottom: 8px; }
.shop-stats { display: flex; gap: 36px; margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.shop-stat .n { font-family: var(--font-display); font-weight: 600; font-size: 2rem; line-height: 1; }
.shop-stat .l { color: var(--ink-mute); font-size: .85rem; margin-top: 5px; }
.shop-stat .n .stars { font-size: 0; }
.shop-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.shop-tab { padding: 13px 18px; font-weight: 700; color: var(--ink-mute); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.shop-tab:hover { color: var(--ink); }
.shop-tab.active { color: var(--ink); border-bottom-color: var(--gold); }
.featured-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 40px; }
.featured-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 340px; display: flex; align-items: flex-end; }
.featured-main .ph { position: absolute; inset: 0; border: none; border-radius: 0; height: 100%; }
.featured-main .fm-text { position: relative; z-index: 2; padding: 30px; background: linear-gradient(180deg, transparent, rgba(8,10,18,.92)); width: 100%; }
.featured-main .pin { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1a1206; background: linear-gradient(180deg,#f0c463,#c9963f); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.featured-main h3 { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1.05; }
.featured-main p { color: var(--ink-soft); margin-top: 8px; max-width: 44ch; }
.featured-main .fm-foot { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.featured-side { display: flex; flex-direction: column; gap: 16px; }
.about-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.025); }
.about-card h4 { font-weight: 800; margin-bottom: 10px; }
.about-card p { color: var(--ink-soft); line-height: 1.65; font-size: .95rem; }
.about-card .socials { display: flex; gap: 10px; margin-top: 16px; }
.about-card .socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink-soft); }
.about-card .socials a:hover { color: var(--ink); background: rgba(255,255,255,.1); }
.about-card .socials svg { width: 17px; height: 17px; }
@media (max-width: 760px){ .featured-row { grid-template-columns: 1fr; } .shop-head { flex-direction: column; align-items: flex-start; gap: 14px; } .shop-actions { padding-bottom: 0; } }

/* ============================================================
   SERIOUS COMMERCE — confidence & security upgrades
   Overrides earlier cart/checkout styles for weight + trust.
   ============================================================ */

/* solid, substantial panel surface */
.panel {
  background: linear-gradient(180deg, #12182c, #0d1326);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 60px -38px rgba(0,0,0,.8);
}

/* ---- checkout progress stepper ---- */
.steps { display: flex; align-items: center; gap: 0; margin: 4px 0 30px; max-width: 560px; }
.steps .step { display: flex; align-items: center; gap: 10px; color: var(--ink-faint); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.steps .step .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 800; background: rgba(255,255,255,.06); border: 1.5px solid var(--line); color: var(--ink-mute); flex: none; }
.steps .step.done .dot { background: var(--green); border-color: var(--green); color: #04150d; }
.steps .step.done { color: var(--ink-soft); }
.steps .step.active .dot { background: var(--gold); border-color: var(--gold); color: #1a1206; box-shadow: 0 0 0 4px color-mix(in oklch, var(--gold) 22%, transparent); }
.steps .step.active { color: var(--ink); }
.steps .step .dot svg { width: 15px; height: 15px; }
.steps .bar { flex: 1; height: 2px; background: var(--line); margin: 0 12px; min-width: 18px; border-radius: 2px; }
.steps .bar.done { background: var(--green); }
@media (max-width: 640px){ .steps .step span { display: none; } .steps { max-width: none; } }

/* ---- checkout header lockup ---- */
.co-lock { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: .9rem; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: color-mix(in oklch, var(--green) 12%, transparent); border: 1px solid color-mix(in oklch, var(--green) 32%, var(--line)); }
.co-lock svg { width: 15px; height: 15px; }

/* ---- express pay buttons (branded) ---- */
.express { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.express button { height: 52px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; display: grid; place-items: center; transition: transform .12s ease, box-shadow .2s ease; }
.express button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.express .pay-apple { background: #000; border-color: #2a2a2a; }
.express .pay-pp { background: #ffc439; }
.express .pay-g { background: #fff; }
.express svg { height: 22px; width: auto; display: block; }

/* ---- card field with inline brand marks + lock ---- */
.card-field { position: relative; }
.card-field input { padding-right: 132px; }
.card-marks-inline { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 5px; align-items: center; pointer-events: none; }
.card-marks-inline svg { height: 22px; width: auto; border-radius: 3px; opacity: .55; transition: opacity .15s ease, filter .15s ease; filter: grayscale(.4); }
.card-marks-inline svg.on { opacity: 1; filter: none; }
.lock-mini { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--green); }
.lock-mini svg { width: 16px; height: 16px; }

/* accepted-cards row */
.accepted { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--ink-mute); font-size: .82rem; flex-wrap: wrap; }
.accepted .marks { display: flex; gap: 6px; }
.accepted .marks svg { height: 24px; width: auto; border-radius: 4px; }

/* ---- upgraded checkout section surfaces ---- */
.co-section { background: linear-gradient(180deg, #12182c, #0d1326); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.field input, .field select { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.14); }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in oklch, var(--gold) 18%, transparent); }

/* ---- upgraded summary into a "receipt" ---- */
.summary { background: linear-gradient(180deg, #12182c, #0d1326); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 60px -38px rgba(0,0,0,.8); }
.summary-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.summary-head h3 { margin: 0; }
.summary-head .edit { color: var(--gold); font-weight: 700; font-size: .85rem; }
.charge-today { display: flex; align-items: baseline; justify-content: space-between; padding: 16px; margin: 4px 0 14px; border-radius: 12px; background: color-mix(in oklch, var(--gold) 8%, rgba(0,0,0,.2)); border: 1px solid color-mix(in oklch, var(--gold) 28%, var(--line)); }
.charge-today .cl { font-weight: 700; }
.charge-today .cl small { display: block; color: var(--ink-mute); font-weight: 500; font-size: .78rem; margin-top: 2px; }
.charge-today .cv { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.charge-today .cv small { font-size: .8rem; color: var(--ink-mute); font-weight: 600; font-family: var(--font-body); }

/* ---- trust seal cluster ---- */
.seals { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.seal-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.seal-row .si { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: color-mix(in oklch, var(--green) 14%, transparent); border: 1px solid color-mix(in oklch, var(--green) 30%, var(--line)); color: var(--green); }
.seal-row .si svg { width: 18px; height: 18px; }
.seal-row .st { font-size: .86rem; line-height: 1.35; }
.seal-row .st b { color: var(--ink); display: block; font-weight: 700; }
.seal-row .st span { color: var(--ink-mute); }

/* powered-by + card marks footer strip */
.pay-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pay-footer .pb { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-mute); font-size: .8rem; font-weight: 600; }
.pay-footer .pb svg { height: 17px; width: auto; }
.pay-footer .marks { display: flex; gap: 6px; }
.pay-footer .marks svg { height: 22px; width: auto; border-radius: 3px; }

/* money-back guarantee badge */
.mbg { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, color-mix(in oklch, var(--green) 12%, #0d1326), #0d1326); border: 1px solid color-mix(in oklch, var(--green) 30%, var(--line)); margin-top: 16px; }
.mbg .ring { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--green); border: 2px dashed color-mix(in oklch, var(--green) 50%, transparent); }
.mbg .ring svg { width: 24px; height: 24px; }
.mbg .mt b { display: block; color: var(--ink); font-weight: 800; font-size: .98rem; }
.mbg .mt span { color: var(--ink-soft); font-size: .85rem; }

/* live-purchase reassurance ticker */
.live-note { display: flex; align-items: center; gap: 9px; color: var(--ink-mute); font-size: .85rem; margin-top: 14px; }
.live-note .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 0 color-mix(in oklch, var(--green) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 color-mix(in oklch, var(--green) 55%, transparent);} 70%{ box-shadow: 0 0 0 8px transparent;} 100%{ box-shadow: 0 0 0 0 transparent;} }

/* upgraded cart row surface */
.cart-list .cart-row { padding: 22px; border-bottom: none; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: linear-gradient(180deg, #11172a, #0d1326); }
.cart-list { border-top: none; }

/* drawer footer trust upgrade */
.drawer-foot { background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
.drawer-trust { padding: 12px; margin-top: 14px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
