/* StockTrack storefront */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--deep); overflow-x: hidden; }
main { background: var(--mist); }
section { position: relative; }
:root { --pad: clamp(18px, 4vw, 64px); }

.display { font-family: var(--f-display); font-weight: 650; letter-spacing: -.045em; line-height: .92; font-size: clamp(46px, 8.2vw, 132px); font-variation-settings: "opsz" 96; text-wrap: balance; }
.display .serif { font-weight: 400; letter-spacing: -.02em; }
.display sup { font-size: .13em; letter-spacing: 0; font-weight: 400; vertical-align: top; position: relative; top: .5em; margin-left: .5em; color: var(--steel); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 6vh, 72px); }
.glass { background: rgba(7, 28, 34, .46); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border: 1px solid var(--line-dark); color: var(--fog); }
.w, .reveal-line { display: inline-block; will-change: transform, filter, opacity; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 24px; border-radius: 999px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; transition: transform .5s var(--ease), background-color .3s, color .3s; will-change: transform; }
.btn i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: transform .5s var(--ease); }
.btn:hover i { transform: rotate(-45deg); }
.btn:active { transform: scale(.97); }
.btn-buoy { background: var(--buoy); color: #fff; }
.btn-dark { background: var(--deep); color: var(--fog); }
.btn-dark i { background: var(--buoy); color: #fff; }
.btn-ghost { padding: 0 24px; color: var(--fog); border: 1px solid rgba(231, 236, 234, .28); }
.btn-ghost:hover { background: rgba(231, 236, 234, .1); }
.btn-solid { background: var(--petrol); color: var(--fog); padding: 0 24px; justify-content: center; }
.btn-solid:hover { background: var(--deep); }
.btn-line { padding: 0 24px; border: 1px solid var(--line); justify-content: center; }
.btn-line:hover { background: rgba(12, 43, 51, .05); }
.btn-wide { width: 100%; }
.btn-xl { height: 76px; padding: 0 12px 0 36px; font-size: 19px; }
.btn-xl i { width: 52px; height: 52px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background-color .25s, transform .4s var(--ease); }
.icon-btn:hover { background: rgba(12, 43, 51, .08); transform: rotate(90deg); }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(1120px, calc(100vw - 28px)); height: 56px; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: rgba(244, 247, 246, .72); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 10px 40px -18px rgba(4, 20, 26, .45); transition: transform .6s var(--ease); }
.nav.hide { transform: translateY(-90px); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.03em; }
.brand-mark rect { fill: var(--petrol); transform-origin: left; transition: transform .5s var(--ease); }
.brand-mark .sig { fill: var(--buoy); }
.brand:hover .brand-mark .sig { transform: scaleX(2.5); }
.nav-links { display: flex; gap: 4px; position: absolute; left: 50%; translate: -50% 0; }
.nav-links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--steel); transition: color .25s, background-color .25s; }
.nav-links a:hover, .nav-links a.on { color: var(--petrol); background: rgba(12, 43, 51, .07); }
.nav-actions { display: flex; gap: 2px; }
.nav-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background-color .25s, transform .3s var(--ease); }
.nav-btn:hover { background: rgba(12, 43, 51, .08); }
.nav-btn:active { transform: scale(.92); }
.nav-btn.signed::after { content: ""; position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); border: 2px solid var(--mist); }
.bag-count { position: absolute; right: 2px; top: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--buoy); color: #fff; font: 500 10.5px/18px var(--f-mono); text-align: center; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; background: var(--deep); color: var(--fog); overflow: hidden; display: flex; }
.hero-media { position: absolute; inset: -6% 0 -6% 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 0%, rgba(7, 28, 34, .82) 34%, rgba(7, 28, 34, .1) 72%), linear-gradient(0deg, var(--deep) 0%, rgba(7, 28, 34, 0) 36%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 120px var(--pad) clamp(28px, 5vh, 56px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-label { display: flex; align-items: center; gap: 10px; color: var(--steel-light); margin-bottom: clamp(12px, 2.4vh, 28px); }
.hero-label #heroUnits { color: var(--fog); }
.hero-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 14.6vw, 264px); line-height: .82; letter-spacing: -.055em; font-variation-settings: "opsz" 96; margin-left: -.04em; }
.hero-title .w + .w { margin-left: .05em; }
.hero-title .serif { font-weight: 400; letter-spacing: -.035em; color: #fff; padding-right: .06em; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: clamp(28px, 5vh, 56px); padding-top: 22px; border-top: 1px solid var(--line-dark); }
.hero-sub { max-width: 30ch; font-size: 15px; color: var(--steel-light); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.live { position: absolute; z-index: 3; right: var(--pad); top: clamp(96px, 16vh, 150px); width: 286px; border-radius: var(--r-l); padding: 16px 16px 10px; }
.live header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.live .label { color: var(--steel-light); }
.live li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-dark); }
.live li img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.live li b { font-weight: 500; font-size: 13.5px; display: block; line-height: 1.2; }
.live li small { font: 11px var(--f-mono); color: var(--steel-light); }
.live li .n { display: flex; align-items: center; gap: 8px; font: 500 15px var(--f-mono); }
.flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 0% { color: var(--buoy); transform: translateY(-6px); filter: blur(4px); } 100% { transform: none; filter: none; } }

/* ---------- ticker ---------- */
.ticker { background: var(--deep); color: var(--fog); overflow: hidden; border-top: 1px solid var(--line-dark); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; font: 13px var(--f-mono); color: var(--steel-light); white-space: nowrap; }
.ticker-track b { color: var(--fog); font-weight: 500; }
.ticker-track .low b { color: var(--buoy); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- shelf ---------- */
.shelf { padding: clamp(72px, 14vh, 150px) var(--pad) clamp(72px, 12vh, 130px); background: var(--mist); border-radius: 0; }
.shelf-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--steel); transition: border-color .25s, width .5s var(--ease); width: 130px; }
.search:focus-within { border-color: var(--petrol); width: 210px; color: var(--petrol); }
.search input { border: 0; background: none; outline: 0; width: 100%; min-width: 0; }
.search input::-webkit-search-cancel-button { display: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--steel); display: inline-flex; align-items: center; gap: 8px; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover { color: var(--petrol); border-color: var(--petrol); }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--petrol); border-color: var(--petrol); color: var(--fog); }
.chip .mono { font-size: 11px; opacity: .6; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 22px) clamp(10px, 1.2vw, 18px); }
.card, .shot { position: relative; }
.tile { position: relative; aspect-ratio: 1 / 1.1; border-radius: var(--r-l); overflow: hidden; background: var(--fog); cursor: pointer; isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.card:hover .tile img { transform: scale(1.06); }
.tile .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--steel-light); }
.card.out .tile img { filter: grayscale(.8) opacity(.55); }
.sku { position: absolute; left: 16px; top: 16px; font-size: 11px; color: var(--steel); letter-spacing: .04em; }
.fav { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--steel); transition: color .25s, background-color .25s, transform .4s var(--ease); }
.fav:hover { background: rgba(255, 255, 255, .7); color: var(--petrol); }
.fav.on { color: var(--buoy); }
.fav.on .ic { fill: var(--buoy); }
.fav.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.flag { position: absolute; left: 12px; bottom: 12px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--buoy); color: #fff; font: 500 11px/30px var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.flag.out { background: var(--petrol); }
.add { position: absolute; right: 12px; bottom: 12px; height: 44px; min-width: 44px; padding: 0 13px; border-radius: 999px; background: var(--petrol); color: var(--fog); display: inline-flex; align-items: center; gap: 0; font-size: 14px; font-weight: 500; overflow: hidden; transition: background-color .3s, gap .5s var(--ease), padding .5s var(--ease), transform .3s var(--ease); }
.add span { max-width: 0; opacity: 0; white-space: nowrap; transition: max-width .5s var(--ease), opacity .3s; }
.card:hover .add, .add:focus-visible { gap: 8px; padding: 0 18px 0 14px; }
.card:hover .add span, .add:focus-visible span { max-width: 90px; opacity: 1; }
.add:hover { background: var(--buoy); }
.add:active { transform: scale(.94); }
.add.done { background: var(--ok); }
.info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 8px; }
.info h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.45vw, 22px); letter-spacing: -.03em; line-height: 1.1; }
.info .price { font-size: 14px; white-space: nowrap; }
.meter { position: relative; height: 3px; border-radius: 3px; background: var(--line); margin: 0 4px; }
.meter i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--petrol); transition: width .9s var(--ease), background-color .4s; }
.meter b { position: absolute; top: -3px; width: 1px; height: 9px; background: var(--steel); }
.meter.low i { background: var(--buoy); }
.stockline { display: flex; align-items: center; gap: 8px; padding: 9px 4px 0; font-size: 10.5px; }
.stockline.low { color: var(--buoy); }
.empty { padding: 60px 0; text-align: center; color: var(--steel); }

/* ---------- flow ---------- */
.flow { background: var(--deep); color: var(--fog); }
.flow-pin { min-height: 100svh; padding: clamp(84px, 11vh, 120px) var(--pad) clamp(22px, 4vh, 44px); display: flex; flex-direction: column; gap: clamp(14px, 3vh, 34px); }
.flow-head .label { color: var(--steel-light); margin-bottom: 12px; }
.flow-head .display { font-size: clamp(38px, 6vw, 96px); }
.flow-stage { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 80px); align-items: center; }
.flow-product { position: relative; height: 100%; max-height: 46vh; min-height: 180px; aspect-ratio: 1; justify-self: start; border-radius: var(--r-xl); overflow: hidden; background: var(--fog); }
.flow-product img { width: 100%; height: 100%; object-fit: cover; }
.flow-product figcaption { position: absolute; left: 18px; top: 16px; font-size: 11px; color: var(--steel); }
.flow-badge { position: absolute; left: 14px; bottom: 14px; height: 36px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; background: rgba(7, 28, 34, .62); transition: background-color .5s; }
.flow-badge.low { background: var(--buoy); border-color: transparent; }
.flow-badge.low .dot { background: #fff; }
.flow-badge.low .dot::after { border-color: #fff; }
.flow-count { display: flex; align-items: baseline; gap: 16px; }
.flow-count .mono { font-size: clamp(110px, 19vw, 300px); font-weight: 400; line-height: .8; letter-spacing: -.08em; transition: color .5s; }
.flow-count.low .mono { color: var(--buoy); }
.flow-count .label { color: var(--steel-light); }
.meter-lg { height: 6px; margin: clamp(22px, 4vh, 44px) 0 26px; background: var(--line-dark); }
.meter-lg i { background: var(--fog); width: 56%; transition: width 1s var(--ease), background-color .5s; }
.meter-lg.low i { background: var(--buoy); }
.meter-lg b { top: -6px; height: 18px; background: var(--steel-light); }
.meter-lg em { position: absolute; top: 18px; translate: -50% 0; font-style: normal; color: var(--steel-light); }
.flow-track { position: relative; padding-top: 22px; }
.flow-rail { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); }
.flow-rail i { position: absolute; inset: 0; background: var(--fog); transform-origin: left; transform: scaleX(0); }
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-steps li { display: flex; gap: 12px; align-items: center; opacity: .32; transition: opacity .5s; }
.flow-steps li.on { opacity: 1; }
.step-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line-dark); transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease); }
.flow-steps li.on .step-ic { background: var(--fog); color: var(--deep); border-color: var(--fog); }
.flow-steps li.now .step-ic { transform: scale(1.12); }
.flow-steps li.on.sig .step-ic { background: var(--buoy); border-color: var(--buoy); color: #fff; }
.flow-steps b { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.flow-steps small { font-size: 11px; color: var(--steel-light); }

/* ---------- value ---------- */
.value { background: var(--fog); padding: clamp(80px, 15vh, 170px) var(--pad); }
.value .sec-head .label { padding-bottom: 10px; }
.stats { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr; gap: clamp(16px, 3vw, 48px); border-top: 1px solid var(--line); }
.stat { padding-top: clamp(18px, 3vh, 34px); }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 48px); }
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(54px, 7.7vw, 150px); line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 96; white-space: nowrap; }
.stat-num small { font: 400 .22em var(--f-serif); font-style: italic; letter-spacing: 0; margin-left: .2em; color: var(--steel); }
.stat .label { margin-top: 14px; }
.cash { margin-top: clamp(48px, 9vh, 110px); }
.cash svg { width: 100%; height: clamp(170px, 30vh, 300px); overflow: visible; }
.cash .bar { fill: var(--petrol); transform-box: fill-box; }
.cash .bar.neg { fill: var(--buoy); }
.cash .base { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cash-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.cash-legend span { display: flex; flex-direction: column; gap: 4px; }
.cash-legend b { font-weight: 500; font-size: clamp(14px, 1.5vw, 20px); }
.cash-legend span:first-child b { color: var(--buoy); }

/* ---------- system ---------- */
.system { background: var(--deep); color: var(--fog); padding: clamp(80px, 15vh, 170px) var(--pad); overflow: hidden; }
.system .label { color: var(--steel-light); padding-bottom: 10px; }
.tiers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 110px); align-items: center; }
.stack svg { width: 100%; max-height: 74vh; margin: 0 auto; overflow: visible; }
.plate > path:first-child { fill: var(--petrol); stroke: rgba(231, 236, 234, .22); stroke-width: 1; transition: fill .5s, stroke .5s; }
.plate .edge { fill: var(--abyss); stroke: rgba(231, 236, 234, .14); stroke-width: 1; }
.plate .glyph { fill: none; stroke: rgba(231, 236, 234, .5); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke .5s; }
.plate.on > path:first-child { fill: #123a44; stroke: var(--buoy); }
.plate.on .glyph { stroke: var(--buoy); }
.tier-list li { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: clamp(16px, 2.6vh, 28px) 0; border-top: 1px solid var(--line-dark); cursor: default; transition: padding-left .5s var(--ease); }
.tier-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.tier-list li > .mono { font-size: 12px; color: var(--steel-light); transition: color .4s; }
.tier-list h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 54px); letter-spacing: -.04em; line-height: 1; }
.tier-list p { font-size: 12px; color: var(--steel-light); margin-top: 8px; }
.tier-list li.on { padding-left: 14px; }
.tier-list li.on > .mono { color: var(--buoy); }

/* ---------- back room ---------- */
.backroom { background: var(--buoy); color: var(--abyss); padding: clamp(90px, 18vh, 200px) var(--pad); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 4vh, 40px); overflow: hidden; }
.backroom .label { color: rgba(4, 20, 26, .7); }
.display.huge { font-size: clamp(60px, 14.4vw, 260px); line-height: .84; letter-spacing: -.055em; }

/* ---------- footer ---------- */
.foot { background: var(--abyss); color: var(--steel-light); padding: clamp(40px, 8vh, 80px) var(--pad) 0; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; font-size: 14px; }
.foot-top .label { margin-bottom: 10px; }
.foot-top p:not(.label) { color: var(--fog); max-width: 46ch; }
.foot-word { font-family: var(--f-display); font-weight: 750; font-size: 23.4vw; line-height: .78; letter-spacing: -.06em; color: var(--petrol); margin: clamp(30px, 6vh, 70px) 0 -.06em -.05em; white-space: nowrap; user-select: none; }

/* ---------- overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4, 20, 26, .42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; }
.drawer { position: fixed; z-index: 70; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px)); background: var(--mist); border-radius: var(--r-l); display: flex; flex-direction: column; transform: translateX(calc(100% + 20px)); visibility: hidden; box-shadow: -30px 0 80px -30px rgba(4, 20, 26, .5); outline: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 16px 14px 26px; }
.drawer-head .display { font-size: 44px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 26px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 26px 24px; border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img, .line .ph { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--fog); display: grid; place-items: center; color: var(--steel-light); }
.line b { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; display: block; line-height: 1.15; }
.line small { font: 12px var(--f-mono); color: var(--steel); }
.line .tot { font: 500 14px var(--f-mono); text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background-color .2s; }
.qty button:hover { background: rgba(12, 43, 51, .08); }
.qty span { min-width: 22px; text-align: center; font: 500 13px var(--f-mono); }
.sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.sum b { font: 500 26px var(--f-mono); letter-spacing: -.04em; }
.blank { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--steel); }
.blank svg { color: var(--steel-light); }
.blank h3 { font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; color: var(--petrol); font-weight: 600; }
.done-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(12, 43, 51, .07); margin-bottom: 22px; }
.tabs button { height: 40px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--steel); transition: background-color .3s, color .3s; }
.tabs button.on { background: #fff; color: var(--petrol); box-shadow: 0 2px 10px -4px rgba(4, 20, 26, .3); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; margin-bottom: 6px; }
.field input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; outline: 0; transition: border-color .25s, box-shadow .25s; }
.field input:focus { border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(12, 43, 51, .08); }
.form-msg { min-height: 20px; font-size: 13px; color: var(--buoy); margin: 4px 0 10px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--steel); font: 11px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.who { display: flex; align-items: center; gap: 14px; padding: 6px 0 22px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--petrol); color: var(--fog); display: grid; place-items: center; font: 600 20px var(--f-display); }
.who b { font: 600 20px var(--f-display); letter-spacing: -.03em; display: block; }
.who small { color: var(--steel); font-size: 13px; }
.order { padding: 16px 0; border-top: 1px solid var(--line); }
.order-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-top b { font: 500 13px var(--f-mono); }
.order p { font-size: 13px; color: var(--steel); }
.order-bot { display: flex; justify-content: space-between; margin-top: 8px; font: 12px var(--f-mono); color: var(--steel); }
.order-bot b { color: var(--petrol); font-weight: 500; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; font: 500 11px var(--f-mono); letter-spacing: .03em; background: rgba(12, 43, 51, .07); }
.pill.Delivered { background: var(--ok-soft); color: #14775a; }
.pill.Pending, .pill.Processing { background: var(--buoy-soft); color: #c2330f; }
.pill.Cancelled { color: var(--steel); text-decoration: line-through; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 10px; }
.track i { height: 3px; border-radius: 3px; background: var(--line); }
.track i.on { background: var(--petrol); }
.sec-title { margin: 8px 0 4px; }
.link { font-size: 13px; color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--petrol); }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; visibility: hidden; outline: 0; pointer-events: none; }
.modal-card { pointer-events: auto; position: relative; width: min(980px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--mist); border-radius: var(--r-xl); display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: 0 40px 120px -30px rgba(4, 20, 26, .6); }
.q-img { background: var(--fog); min-height: 320px; }
.q-img img { width: 100%; height: 100%; object-fit: cover; }
.q-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.q-body .display { font-size: clamp(36px, 4.6vw, 64px); }
.q-body .desc { color: var(--steel); max-width: 34ch; }
.q-price { font: 500 26px var(--f-mono); letter-spacing: -.04em; }
.q-stock { margin-top: auto; }
.q-stock .meter { margin: 0 0 4px; }
.q-stock .stockline { padding-left: 0; }
.q-buy { display: flex; gap: 10px; align-items: center; }
.q-buy .qty { margin: 0; height: 54px; padding: 0 6px; }
.q-buy .qty button { width: 40px; height: 40px; }
.q-buy .btn { flex: 1; }
.q-close { position: absolute; right: 14px; top: 14px; z-index: 2; background: rgba(244, 247, 246, .8); }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 22px; translate: -50% 0; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; background: rgba(7, 28, 34, .82); transform: translateY(90px); pointer-events: none; white-space: nowrap; }
.toast.bad svg { color: var(--buoy); }
.toast svg { color: var(--ok); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .live { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .tile { border-radius: 20px; }
  .add { right: 8px; bottom: 8px; }
  .card:hover .add { gap: 0; padding: 0 13px; }
  .card:hover .add span { max-width: 0; opacity: 0; }
  .flag { left: 8px; bottom: 8px; height: 26px; line-height: 26px; padding: 0 9px; font-size: 10px; }
  .sku { left: 12px; top: 12px; }
  .fav { right: 4px; top: 4px; }
  .info { flex-direction: column; gap: 2px; padding-top: 10px; }
  .hero-media img { object-position: 82% 50%; }
  .hero-shade { background: linear-gradient(0deg, var(--deep) 8%, rgba(7, 28, 34, .78) 46%, rgba(7, 28, 34, .25) 100%); }
  .hero-cta .btn { flex: 1; justify-content: space-between; }
  .hero-cta .btn-ghost { justify-content: center; }
  .shelf-tools, .search, .search:focus-within { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; width: calc(100% + var(--pad) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .flow-stage { grid-template-columns: 1fr 1.1fr; gap: 16px; }
  .flow-product { max-height: 30vh; border-radius: 22px; }
  .flow-count { flex-direction: column; gap: 10px; }
  .flow-count .mono { font-size: clamp(76px, 24vw, 110px); }
  .flow-steps { gap: 6px; position: relative; padding-bottom: 46px; }
  .flow-steps li { justify-content: center; }
  .flow-steps li > div { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; opacity: 0; transition: opacity .4s; }
  .flow-steps li.now > div { opacity: 1; }
  .stats { grid-template-columns: 1fr; border-top: 0; gap: 0; }
  .stat, .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-bottom: 22px; }
  .stat-num { font-size: clamp(72px, 23vw, 130px); }
  .cash-legend { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .tiers { grid-template-columns: 1fr; }
  .stack svg { max-height: 48vh; }
  .foot-top { grid-template-columns: 1fr; gap: 22px; }
  .modal-card { grid-template-columns: 1fr; }
  .q-img { min-height: 0; aspect-ratio: 1.25; }
  .btn-xl { height: 64px; font-size: 17px; padding-left: 28px; }
  .btn-xl i { width: 44px; height: 44px; }
}
