/* YANN SHOP: store pieces on top of theme.css (same tokens, so every Custom UI look restyles them). */

/* ---------- header: menu on the left, name + photo on the right */
.brand { gap: 10px; }
.ys-mark { width: 34px; height: 34px; flex: 0 0 auto; display: block; }
.ys-mark .sh { fill: var(--drop); }
.ys-mark .bg { fill: var(--accent); stroke: var(--edge); }
.ys-mark .tx { stroke: var(--accent-ink); }
.brand-name { font: 800 16px "Space Grotesk", sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.topbar-inner { gap: 12px; }
.topbar .brand { margin-left: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; box-shadow: none; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.menu-label { font: 600 13px Outfit, sans-serif; letter-spacing: 0; text-transform: none; }
.top-avatar { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; border: var(--line); background: var(--surface); color: var(--muted); display: grid; place-items: center; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s var(--ease); }
.top-avatar:hover { transform: translateY(-2px); color: var(--ink); }
.top-avatar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.top-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.top-avatar.in { background: var(--accent); color: var(--accent-ink); font: 800 15px "Space Grotesk", sans-serif; }
@media (max-width: 420px) { .menu-label { display: none; } .brand-name { font-size: 15px; } .topbar .ys-mark { width: 30px; height: 30px; } }

/* ---------- the menu (slides in from the left) */
.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--ink) 34%, transparent); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 91; width: min(330px, 86vw); display: flex; flex-direction: column; gap: 12px; padding: 16px 14px 18px; background: var(--surface); border-right: var(--line); box-shadow: 10px 0 40px color-mix(in srgb, var(--ink) 14%, transparent); overflow-y: auto; transform: translateX(-104%); visibility: hidden; transition: transform .34s var(--ease), visibility .34s; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open body { overflow: hidden; }
.drawer-open .drawer > * { animation: dr-in .42s var(--ease) both; }
.drawer-open .drawer > :nth-child(2) { animation-delay: .04s; } .drawer-open .drawer > :nth-child(3) { animation-delay: .08s; }
.drawer-open .drawer > :nth-child(4) { animation-delay: .12s; } .drawer-open .drawer > :nth-child(5) { animation-delay: .16s; }
@keyframes dr-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dr-close { padding: 7px; box-shadow: none; border-color: transparent; background: transparent; }
.dr-close svg, .dr-item svg, .dr-plus svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dr-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface-2); overflow-wrap: anywhere; }
.dr-user b { display: block; font: 700 14px "Space Grotesk", sans-serif; }
.dr-user small { color: var(--muted); font-size: 12px; }
.dr-ava { width: 40px; height: 40px; flex: none; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 14px "Space Grotesk", sans-serif; }
.dr-ava img { width: 100%; height: 100%; object-fit: cover; }
.dr-saldo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); }
.dr-saldo small { display: block; font: 600 10px "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.dr-saldo b { font: 700 22px "Space Grotesk", sans-serif; letter-spacing: -.03em; }
.dr-saldo.guest b { font: 600 13px Outfit, sans-serif; letter-spacing: 0; }
.dr-plus { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-ink); color: var(--accent); text-decoration: none; transition: transform .18s var(--ease); }
.dr-plus:hover { transform: rotate(90deg); color: var(--accent); }
.dr-plus svg { stroke-width: 2.6; }
.dr-list { display: grid; gap: 2px; }
.dr-item { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 10px; cursor: pointer; font: 500 14px Outfit, sans-serif; color: var(--ink); transition: background .16s var(--ease), color .16s var(--ease); }
.dr-item:hover, .dr-item:focus-visible { background: var(--surface-2); color: var(--ink); }
.dr-item[aria-current="page"] { background: var(--surface-3); color: var(--accent); font-weight: 700; }
.dr-lang { cursor: default; flex-wrap: wrap; }
.dr-lang [data-lang-switch] { margin-left: auto; }
.dr-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--edge-soft); }
.dr-out { color: var(--bad); }
.dr-out:hover { color: var(--bad); }
.dr-in { color: var(--accent); font-weight: 700; }

/* ---------- store */
.hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; align-items: stretch; margin: 6px 0 26px; }
.hero-copy h1 { font-size: clamp(40px, 8vw, 72px); margin: 14px 0 12px; }
.hero-copy h1 span { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 0 .16em; border: var(--line); border-radius: 12px; box-shadow: 5px 5px 0 var(--drop); transform: rotate(-1.5deg); }
.hero-copy .lead { font-size: 16px; }
.hero-card { border: var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 12px; align-content: space-between; }
.hero-card .bal { font: 700 32px "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid var(--edge-soft); border-radius: 999px; font: 500 11px "DM Mono", monospace; color: var(--muted); background: var(--surface); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.toolbar input[type=search] { flex: 1 1 260px; min-width: 0; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 0 12px; scrollbar-width: thin; }
.cats button { flex: 0 0 auto; box-shadow: 2px 2px 0 var(--drop); padding: 7px 12px; font-size: 11px; }
.cats button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.product { position: relative; display: flex; flex-direction: column; border: var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s var(--ease), box-shadow .18s var(--ease); animation: enter .35s var(--ease) both; }
.product:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--drop); color: inherit; }
.product.out { opacity: .62; }
.thumb { aspect-ratio: 4 / 3; background: var(--surface-2); border-bottom: var(--line); display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .ph { font: 800 44px "Space Grotesk", sans-serif; letter-spacing: -.05em; color: var(--accent); }
.product .body { padding: 14px; display: grid; gap: 6px; flex: 1; align-content: start; }
.product .cat { font: 500 10px "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product h3 { margin: 0; font-size: 17px; line-height: 1.25; }
.product .foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 4px 8px; padding: 0 14px 14px; }
.product .price { font-size: 22px; }
.stockpill { font: 600 11px "DM Mono", monospace; color: var(--muted); white-space: nowrap; }
.stockpill.none { color: var(--muted); font-weight: 700; text-decoration: line-through; }
.product .tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 9px; border: 2px solid var(--edge); border-radius: 999px; font: 700 10px "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; background: var(--surface); color: var(--ink); box-shadow: 2px 2px 0 var(--drop); }
.product .tag.hot { background: var(--accent); color: var(--accent-ink); }
.product .tag.new { background: var(--ok); color: #0a0a0a; }
.product .tag.promo { background: #facc15; color: #0a0a0a; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); border: 2px dashed var(--edge-soft); border-radius: var(--radius); }


/* ---------- Home: video, moving line, search, products, payment steps */
.home { max-width: 1040px; display: grid; gap: 18px; }
.hero-video { position: relative; width: min(100%, 860px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: var(--line); background: var(--surface-3); box-shadow: var(--shadow); }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.hero-video.has-video video { opacity: 1; }
.hero-video.has-video .hv-fallback { opacity: 0; }
.hv-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); transition: opacity .6s var(--ease); overflow: hidden; }
.hv-fallback b { position: relative; font: 800 clamp(28px, 6vw, 52px) "Space Grotesk", sans-serif; letter-spacing: -.05em; color: var(--accent); }
.hv-fallback small { position: relative; color: var(--muted); font: 500 12px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.hv-orb { position: absolute; border-radius: 50%; background: var(--accent); opacity: .16; filter: blur(2px); animation: orb 9s ease-in-out infinite alternate; }
.hv-orb.a { width: 46%; aspect-ratio: 1; left: -10%; top: -20%; }
.hv-orb.b { width: 30%; aspect-ratio: 1; right: -6%; bottom: -14%; animation-duration: 11s; }
.hv-orb.c { width: 14%; aspect-ratio: 1; right: 22%; top: 12%; opacity: .1; animation-duration: 7s; }
@keyframes orb { to { transform: translate(18%, 12%) scale(1.12); } }
.marquee { overflow: hidden; border: var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); padding: 11px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 22s) linear infinite; }
.marquee-track span { flex: none; padding-right: 64px; font: 600 14px Outfit, sans-serif; white-space: nowrap; color: var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.home-search { position: relative; width: min(100%, 520px); margin: 0 auto; }
.home-search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.home-search input { width: 100%; padding-left: 42px; border-radius: 999px; text-align: left; }
.grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.more-row { display: flex; justify-content: center; }
.paysteps { margin-top: 18px; padding: 22px; border: var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.paysteps h2 { margin: 0 0 4px; font-size: clamp(20px, 3.6vw, 26px); }
.ps-lead { margin: 0 0 16px; }
.ps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ps; }
.ps-list li { counter-increment: ps; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: start; }
.ps-list li::before { content: counter(ps); grid-row: span 2; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-3); color: var(--accent); font: 800 15px "Space Grotesk", sans-serif; }
.ps-list li > b { font: 700 15px "Space Grotesk", sans-serif; }
.ps-list li > span { color: var(--muted); line-height: 1.55; }
.ps-list li > span b { color: var(--ink); }
.ps-tip { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1.5px dashed var(--edge); }
.ps-tip a { color: var(--accent); font-weight: 700; margin-left: 4px; }

/* tiers + lock */
.product .tag.new { background: #16a34a; color: #fff; border-color: transparent; }
.product .tag.recommend { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.product .tag.hot { background: #ea580c; color: #fff; border-color: transparent; }
.product .tag.populer { background: #7c3aed; color: #fff; border-color: transparent; }
.tierchip { display: inline-block; margin-left: 6px; padding: 4px 10px; border-radius: 999px; font: 700 10px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #fff; vertical-align: middle; }
.tierchip.new { background: #16a34a; } .tierchip.recommend { background: var(--accent); color: var(--accent-ink); } .tierchip.hot { background: #ea580c; } .tierchip.populer { background: #7c3aed; }
.thumb { position: relative; }
.lock-badge { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 55%, transparent); backdrop-filter: blur(2px); }
.lock-badge svg { width: 34%; max-width: 54px; height: auto; padding: 10px; border-radius: 14px; background: var(--surface); fill: none; stroke: var(--ink); stroke-width: 1.8; box-shadow: var(--shadow); box-sizing: content-box; }
.stockpill.lock { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.stockpill.lock svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.product.locked { opacity: 1; }
.lock-title { display: flex; align-items: center; gap: 8px; }
.lock-title svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.tiers { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 0 12px; }
.tiers button { flex: 0 0 auto; padding: 7px 12px; font-size: 11px; box-shadow: none; }
.tiers button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Home entrance: the page arrives out of the depth after the 3D intro (views/intro3d.js),
   or right away on later visits. Everything uses the look's own colours. */
.home > * { opacity: 0; }
.intro-on .topbar { opacity: 0; }
.home-in .topbar { animation: hdr-in .7s var(--ease) both; }
.home-in .home { perspective: 1200px; }
.home-in .home > * { animation: depth-in 1s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 50% 0; }
.home-in .home > :nth-child(1) { animation-name: video-in; animation-duration: 1.2s; }
.home-in .home > :nth-child(2) { animation-delay: .1s; } .home-in .home > :nth-child(3) { animation-delay: .16s; }
.home-in .home > :nth-child(4) { animation-delay: .22s; } .home-in .home > :nth-child(n+5) { animation-delay: .3s; }
.home-in .home .product { animation: card-flip .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.28s + var(--i, 0) * 60ms); transform-origin: 50% 100%; }
@keyframes hdr-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes depth-in { from { opacity: 0; transform: translateZ(-240px) rotateX(10deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes video-in { from { opacity: 0; transform: translateZ(-420px) rotateX(16deg); filter: blur(10px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: none; } }
@keyframes card-flip { from { opacity: 0; transform: perspective(700px) rotateX(-58deg) translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .home > * { opacity: 1; }
  .home-in .home > *, .home-in .home .product, .home-in .topbar, .marquee-track, .hv-orb, .drawer-open .drawer > * { animation: none !important; }
  .intro-on .topbar { opacity: 1; }
  .marquee-track { flex-wrap: wrap; width: auto; } .marquee-track span[aria-hidden] { display: none; }
  .drawer, .drawer-scrim { transition: none; }
}

/* ---------- product page */
.pd { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 26px; align-items: start; margin-top: 10px; }
.pd .thumb { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.pd .thumb .ph { font-size: 96px; }
.pd h1 { font-size: clamp(30px, 5vw, 46px); margin: 10px 0 8px; }
.pd .price { font-size: 38px; }
.desc { white-space: pre-wrap; color: var(--ink); line-height: 1.65; overflow-wrap: anywhere; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--edge); border-radius: 12px; overflow: hidden; box-shadow: 3px 3px 0 var(--drop); }
.qty button { box-shadow: none; border: 0; border-radius: 0; padding: 10px 14px; font-size: 16px; }
.qty button:hover { transform: none; box-shadow: none; }
.qty input { width: 64px; text-align: center; border: 0; border-left: 2px solid var(--edge-soft); border-right: 2px solid var(--edge-soft); border-radius: 0; background: var(--surface); font: 700 16px "DM Mono", monospace; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.methods { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.choice .fast { justify-self: start; margin-top: 4px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 9px "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.buybar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.buybar .total { font: 700 28px "Space Grotesk", sans-serif; letter-spacing: -.04em; }
@media (max-width: 760px) { .hero, .pd { grid-template-columns: 1fr; } .pd .thumb { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .products.grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .product .body { padding: 10px; gap: 4px; }
  .product h3 { font-size: 14px; }
  .product .foot { padding: 0 10px 10px; }
  .product .price { font-size: 17px; }
  .grid-home .product { border-radius: 12px; }
  .grid-home .thumb { aspect-ratio: 1 / 1; }
  .grid-home .thumb img { object-fit: contain; }
  .grid-home .product .body { padding: 7px 7px 2px; }
  .grid-home .product h3 { font-size: 11px; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .grid-home .product .foot { padding: 0 6px 7px; gap: 1px; flex-direction: column; align-items: flex-start; }
  .grid-home .product .price { font-size: 12px; }
  .grid-home .product h3 { font-size: 11px; }
  .grid-home .thumb .ph { font-size: 20px; }
  .grid-home .stockpill { font-size: 8px; }
  .grid-home .product { box-shadow: 3px 3px 0 var(--drop); border-width: 1.5px; }
  .grid-home .product .body { gap: 2px; padding: 6px 6px 3px; }
  .grid-home .product .cat { font-size: 7.5px; }
  .grid-home .product .tag { font-size: 7px; padding: 1px 5px; }
  .grid-home .product .tag { top: 5px; left: 5px; padding: 2px 6px; font-size: 8px; letter-spacing: .03em; }
  .thumb .ph { font-size: 30px; }
  .product .tag { top: 7px; left: 7px; padding: 2px 7px; font-size: 9px; }
  .hero-video { border-radius: 16px; }
  .paysteps { padding: 16px; border-radius: 16px; }
}

/* ---------- empty grid spots */
.product.ghost { border-style: dashed; box-shadow: none; background: transparent; opacity: .55; pointer-events: none; }
.product.ghost .thumb { background: transparent; border-bottom-style: dashed; }
.product.ghost .thumb svg { width: 30%; max-width: 40px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.product.ghost h3 { color: var(--muted); }

/* ---------- categories (Home tiles, list chips) */
.caticon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.home-cats { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin: 6px 0 0; scroll-snap-type: x proximity; scrollbar-width: none; }
.home-cats::-webkit-scrollbar { display: none; }
.home-cats button { flex: 0 0 auto; scroll-snap-align: start; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 132px; padding: 10px 14px 10px 10px; border: var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); text-align: left; text-transform: none; letter-spacing: 0; font: 600 14px Outfit, sans-serif; transition: transform .18s var(--ease), background .18s var(--ease); }
.home-cats button:hover { transform: translateY(-2px); }
.home-cats .ci { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.home-cats b { font: 700 14px "Space Grotesk", sans-serif; line-height: 1.15; }
.home-cats small { font: 500 11px "DM Mono", monospace; color: var(--muted); }
.home-cats button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.home-cats button[aria-pressed="true"] .ci { background: rgba(255,255,255,.2); color: var(--accent-ink); }
.home-cats button[aria-pressed="true"] small { color: var(--accent-ink); opacity: .8; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 2px 4px; }
.sec-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.sec-head a { font: 600 13px Outfit, sans-serif; white-space: nowrap; }
.cats button { display: inline-flex; align-items: center; gap: 6px; }
.cats button .caticon { width: 15px; height: 15px; }
@media (max-width: 560px) { .home-cats button { min-width: 118px; padding: 8px 12px 8px 8px; } .home-cats .ci { width: 34px; height: 34px; } .grid-home .product .cat { font-size: 8.5px; letter-spacing: .06em; } }

/* ---------- payment dialog, items */
dialog.pay { max-width: 520px; }
dialog:focus-visible { outline: none; }
dialog .dhead { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 8px; }
dialog .dhead h2 { margin: 0; }
dialog .x { box-shadow: none; padding: 6px 10px; }
.payto { display: grid; gap: 4px; padding: 14px; border: 2px solid var(--edge); border-radius: 12px; background: var(--surface-2); margin: 10px 0 14px; }
.payto .num { font: 700 22px "DM Mono", monospace; letter-spacing: .02em; overflow-wrap: anywhere; }
.amount-line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.amount-line b { font: 700 24px "Space Grotesk", sans-serif; }
.countdown { font: 600 12px "DM Mono", monospace; color: var(--muted); }
.items { display: grid; gap: 8px; margin: 10px 0; }
.item { display: flex; gap: 10px; align-items: start; justify-content: space-between; padding: 10px 12px; border: 2px solid var(--edge-soft); border-radius: 10px; background: var(--surface-2); }
.item code { flex: 1; background: none; border: 0; padding: 0; white-space: pre-wrap; font-size: 13px; }
.done-mark { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #0a0a0a; font: 800 26px "Space Grotesk", sans-serif; border: var(--line); box-shadow: 3px 3px 0 var(--drop); margin: 4px 0 10px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 200; max-width: min(92vw, 460px); padding: 12px 16px; border: var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; animation: pop .2s var(--ease) both; }
.toast.ok { border-color: var(--ok); }
.toast.bad { border-color: var(--bad); color: var(--bad); }

/* ---------- lists */
.orders { display: grid; gap: 12px; }
.ocard { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 16px; border: 2px solid var(--edge-soft); border-radius: 12px; background: var(--surface-2); cursor: pointer; text-align: left; font: inherit; color: inherit; text-transform: none; letter-spacing: 0; box-shadow: none; width: 100%; }
.ocard:hover { border-color: var(--edge); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--drop); background: var(--surface-2); color: inherit; }
.ocard b { font: 700 15px "Space Grotesk", sans-serif; }
.ocard .meta { font: 500 11px "DM Mono", monospace; color: var(--muted); }
.ocard .amt { font: 700 16px "DM Mono", monospace; text-align: right; }
.chip.delivered, .chip.credited { color: var(--ok); border-color: rgba(134, 239, 172, .35); }
.chip.review { color: color-mix(in srgb, #eab308 65%, var(--ink)); border-color: color-mix(in srgb, #eab308 45%, transparent); }
.chip.refunded { color: color-mix(in srgb, #3b82f6 70%, var(--ink)); border-color: color-mix(in srgb, #3b82f6 45%, transparent); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.presets button { box-shadow: 2px 2px 0 var(--drop); padding: 7px 11px; }
.bigbal { font: 800 clamp(40px, 9vw, 64px)/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; margin: 8px 0 4px; }
.plus { color: var(--ok); } .minus { color: var(--bad); }
.site-foot { max-width: 1180px; margin: 0 auto; padding: 0 16px 90px; }
.foot-note { margin: 40px 0 0; padding: 18px 0 0; border-top: 2px solid var(--edge-soft); display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; color: var(--muted); font-size: 13px; }
.foot-note a { color: var(--muted); }
.foot-note a:hover { color: var(--ink); }

/* ---------- product file download */
.file-dl { display: flex; align-items: center; gap: 12px; margin: 10px 0; padding: 12px 14px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.file-dl:hover { color: var(--accent-ink); filter: brightness(1.05); }
.file-dl svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.file-dl b { display: block; font: 700 15px Outfit, sans-serif; }
.file-dl small { display: block; opacity: .85; font: 500 12px "DM Mono", monospace; overflow-wrap: anywhere; }
.file-dl.off { background: var(--surface-2, #e8eef6); color: var(--muted, #4f6b88); }
.file-dl.off:hover { filter: none; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; padding: 7px 12px; border-radius: 999px; border: var(--line); background: var(--surface); font-size: 13px; }
.file-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }

/* Room under the page so the floating WhatsApp, chat and music buttons never cover the last lines. */
body::after { content: ""; display: block; height: 130px; }
