@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink: #090b10;
  --ink-soft: #10141b;
  --panel: #121720;
  --panel-raised: #171d28;
  --panel-deep: #0d1118;
  --line: rgba(226, 188, 101, .17);
  --line-soft: rgba(255,255,255,.08);
  --gold: #d8ad5c;
  --gold-bright: #f0d7a0;
  --gold-dim: #957444;
  --cream: #f4efe3;
  --muted: #8993a5;
  --muted-light: #b3bdca;
  --mint: #56c2a5;
  --danger: #d9786c;
  --radius: 4px;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Noto Sans TC', Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--cream); background: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
body::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.app-shell { display: grid; grid-template-columns: 255px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 32px 22px 24px; border-right: 1px solid var(--line-soft); background: linear-gradient(180deg, #0e1219 0%, #090b10 100%); z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 47px; height: 47px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--gold-dim); border-radius: 50%; background: #101b2b; box-shadow: 0 0 0 4px rgba(216,173,92,.06); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: var(--mono); font-size: 20px; letter-spacing: .07em; color: var(--gold-bright); }
.brand-copy strong span { color: var(--muted); font-size: 13px; margin-left: 2px; }
.brand-copy small { margin-top: 6px; font-size: 7px; letter-spacing: .13em; color: var(--muted); white-space: nowrap; }
.sidebar-rule { height: 1px; margin: 35px 0 27px; background: linear-gradient(90deg, var(--gold-dim), transparent); opacity: .55; }
.nav-kicker, .eyebrow { margin: 0; color: var(--gold); font: 600 10px/1.2 var(--mono); letter-spacing: .13em; }
.category-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 14px; }
.category-link { display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 11px 8px; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); background: transparent; text-align: left; transition: .2s ease; }
.category-link:hover { color: var(--cream); background: rgba(255,255,255,.035); }
.category-link.is-active { color: var(--gold-bright); border-color: rgba(216,173,92,.2); background: linear-gradient(90deg, rgba(216,173,92,.14), rgba(216,173,92,.025)); }
.category-icon { color: var(--gold-dim); font-size: 16px; text-align: center; }
.category-link.is-active .category-icon { color: var(--gold); }
.category-count { color: #566171; font: 11px var(--mono); }
.category-link.is-active .category-count { color: var(--gold); }
.sidebar-spacer { flex: 1; }
.sidebar-note { display: flex; gap: 10px; align-items: center; padding: 13px 11px; border: 1px solid rgba(86,194,165,.16); background: rgba(86,194,165,.035); }
.sidebar-note strong, .sidebar-note small { display: block; }
.sidebar-note strong { color: var(--mint); font-size: 12px; font-weight: 600; }
.sidebar-note small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(86,194,165,.12); }
.sidebar-footnote { margin: 20px 0 0; color: #4e5867; font: 9px var(--mono); letter-spacing: .09em; }

.main-content { min-width: 0; overflow: hidden; }
.topbar { height: 72px; display: flex; justify-content: flex-end; align-items: center; gap: 24px; padding: 0 clamp(22px, 4vw, 62px); border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(9,11,16,.83); }
.mobile-brand { display: none; margin-right: auto; color: var(--gold-bright); font: 700 16px var(--mono); letter-spacing: .05em; }
.mobile-brand em { color: var(--muted); font-size: 10px; font-style: normal; }
.mini-crown { color: var(--gold); }
.topbar-status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.topbar-cart { display: flex; align-items: center; gap: 10px; padding-left: 22px; border-left: 1px solid var(--line-soft); color: var(--muted-light); font-size: 12px; }
.topbar-cart b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 1px solid rgba(216,173,92,.42); border-radius: 50%; color: var(--gold-bright); font: 11px var(--mono); }

.hero { position: relative; min-height: 444px; isolation: isolate; overflow: hidden; padding: 82px clamp(26px, 6vw, 100px) 62px; border-bottom: 1px solid var(--line); }
.hero-image { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(90deg, #0b0e14 3%, rgba(11,14,20,.91) 34%, rgba(11,14,20,.48) 72%, rgba(11,14,20,.77)), url('/assets/ran-campus.jpg'); background-size: cover; background-position: center; filter: saturate(.72) contrast(1.08); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(9,11,16,.2), rgba(9,11,16,.4) 65%, #0d1118 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .2; background-image: linear-gradient(rgba(216,173,92,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(216,173,92,.13) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, black, transparent 80%); }
.hero-copy { max-width: 560px; animation: rise .55s ease both; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy .eyebrow span { width: 29px; height: 1px; background: var(--gold); }
h1 { margin: 22px 0 17px; font-size: clamp(38px, 5vw, 67px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }
h1 em { color: var(--gold-bright); font-style: normal; text-shadow: 0 0 28px rgba(216,173,92,.14); }
.hero-text { max-width: 470px; margin: 0; color: #c1c5ca; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; gap: 11px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: .2s ease; }
.button span { font-size: 17px; transition: transform .2s ease; }
.button:hover span { transform: translateX(3px); }
.button-primary { color: #1a160f; background: var(--gold); border-color: var(--gold); box-shadow: 0 7px 20px rgba(216,173,92,.13); }
.button-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-1px); }
.button-ghost { color: var(--gold-bright); border-color: rgba(216,173,92,.42); background: rgba(9,11,16,.32); }
.button-ghost:hover { border-color: var(--gold); background: rgba(216,173,92,.1); }
.hero-badge { position: absolute; top: 70px; right: clamp(28px, 9vw, 145px); width: 165px; height: 165px; display: grid; place-items: center; opacity: .86; transform: rotate(5deg); animation: float-in .7s .14s ease both; }
.hero-badge img { width: 109px; height: 109px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 35px rgba(216,173,92,.24); }
.badge-ring { position: absolute; inset: 0; border: 1px solid rgba(216,173,92,.48); border-radius: 50%; }
.badge-ring::before, .badge-ring::after { content: ''; position: absolute; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.badge-ring::before { top: -4px; left: calc(50% - 3px); }.badge-ring::after { bottom: -4px; left: calc(50% - 3px); }
.hero-badge small { position: absolute; bottom: 3px; color: var(--gold); font: 9px var(--mono); letter-spacing: .16em; }
.hero-stats { position: absolute; right: clamp(28px, 6vw, 90px); bottom: 54px; display: flex; gap: 27px; }
.hero-stats div { display: flex; flex-direction: column; padding-left: 13px; border-left: 1px solid rgba(216,173,92,.46); }
.hero-stats strong { color: var(--gold-bright); font: 600 20px var(--mono); }.hero-stats span { margin-top: 3px; color: var(--muted); font-size: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-in { from { opacity: 0; transform: rotate(5deg) scale(.85); } to { opacity: .86; transform: rotate(5deg) scale(1); } }

.store-section, .checkout-section { padding: 82px clamp(22px, 5vw, 78px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
h2 { margin: 9px 0 0; font-size: clamp(27px, 3vw, 36px); line-height: 1.2; letter-spacing: -.04em; }
.section-caption { margin: 0; color: var(--gold-bright); font: 600 12px/1.8 var(--mono); text-align: right; }.section-caption span { color: var(--muted); font: 11px var(--sans); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.search-box { display: flex; align-items: center; gap: 12px; width: min(540px, 100%); height: 46px; padding: 0 14px; border: 1px solid var(--line-soft); background: var(--panel-deep); transition: .2s ease; }
.search-box:focus-within { border-color: rgba(216,173,92,.6); box-shadow: 0 0 0 3px rgba(216,173,92,.08); }.search-box > span { color: var(--gold); font-size: 21px; transform: rotate(-20deg); }.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--cream); background: transparent; font-size: 13px; }.search-box input::placeholder { color: #687385; }.search-box kbd { color: #697384; border: 1px solid #39404a; padding: 1px 6px; font: 10px var(--mono); }
.result-count { color: var(--muted); font: 11px var(--mono); }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 27px; align-items: start; }.active-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--muted-light); font-size: 12px; }.filter-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,173,92,.1); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 183px; padding: 17px 17px 15px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, rgba(23,29,40,.96), rgba(16,20,27,.98)); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; animation: card-in .4s ease both; }.product-card::before { content: ''; position: absolute; top: 0; right: 0; width: 55px; height: 55px; border-top: 1px solid rgba(216,173,92,.35); border-right: 1px solid rgba(216,173,92,.35); clip-path: polygon(0 0, 100% 0, 100% 100%); }.product-card:hover { border-color: rgba(216,173,92,.53); transform: translateY(-2px); box-shadow: 0 14px 25px rgba(0,0,0,.18); }.product-card:nth-child(3n) { --accent: #7eb5ac; }.product-card:nth-child(3n+1) { --accent: var(--gold); }.product-card:nth-child(3n+2) { --accent: #b68eaf; }.product-card.special-offer { --accent: #f0bd69; border-color: rgba(240,189,105,.5); background: linear-gradient(145deg, rgba(63,45,24,.7), rgba(23,29,40,.98)); }
@keyframes card-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; text-transform: uppercase; }.product-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }.product-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }.product-id { color: #596473; }
.product-name { min-height: 51px; margin: 13px 0 8px; color: var(--cream); font-size: 15px; line-height: 1.6; font-weight: 600; }.product-note { margin: -2px 0 9px; color: #d7b979; font-size: 10px; line-height: 1.5; }.product-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; }.pp-price { color: var(--gold-bright); font: 600 21px var(--mono); letter-spacing: -.05em; }.pp-price small { margin-left: 4px; color: var(--gold); font-size: 10px; letter-spacing: .08em; }.twd-price { color: var(--muted); font: 10px var(--mono); }.twd-price b { color: #f0bd69; font-weight: 700; }.add-button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(216,173,92,.33); border-radius: 2px; color: var(--gold-bright); background: rgba(216,173,92,.07); font-size: 20px; line-height: 1; transition: .2s ease; }.add-button:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.empty-state { padding: 65px 20px; border: 1px dashed var(--line); text-align: center; }.empty-icon { color: var(--gold); font-size: 30px; }.empty-state h3 { margin: 8px 0 3px; }.empty-state p { margin: 0 0 17px; color: var(--muted); font-size: 13px; }

.cart-panel { position: sticky; top: 20px; min-width: 0; border: 1px solid rgba(216,173,92,.24); background: linear-gradient(180deg, rgba(23,29,40,.96), rgba(13,17,24,.98)); box-shadow: 0 18px 40px rgba(0,0,0,.16); }.cart-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 19px 17px; border-bottom: 1px solid var(--line-soft); }.cart-header h3 { margin: 7px 0 0; font-size: 19px; letter-spacing: -.03em; }.cart-count-pill { padding: 4px 8px; color: var(--gold); border: 1px solid rgba(216,173,92,.25); font: 10px var(--mono); }.cart-items { max-height: 280px; overflow-y: auto; }.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 19px; border-bottom: 1px solid rgba(255,255,255,.055); }.cart-item-name { color: var(--muted-light); font-size: 12px; line-height: 1.45; }.cart-item-price { margin-top: 4px; color: var(--gold); font: 10px var(--mono); }.cart-item-actions { display: flex; align-items: center; gap: 5px; }.qty-button { width: 20px; height: 20px; padding: 0; border: 1px solid #3a4350; color: var(--muted-light); background: transparent; line-height: 1; }.qty-button:hover { color: var(--gold-bright); border-color: var(--gold-dim); }.qty-value { min-width: 20px; color: var(--cream); text-align: center; font: 11px var(--mono); }.remove-item { grid-column: 2; justify-self: end; margin-top: -3px; padding: 0; border: 0; color: #677282; background: none; font-size: 10px; }.remove-item:hover { color: var(--danger); }.cart-empty { padding: 35px 15px; color: var(--muted); text-align: center; }.cart-empty[hidden] { display: none; }.cart-empty-mark { display: grid; place-items: center; width: 35px; height: 35px; margin: 0 auto 10px; border: 1px dashed var(--gold-dim); border-radius: 50%; color: var(--gold); font-size: 21px; }.cart-empty p { margin: 0; font-size: 12px; }.cart-empty small { font-size: 10px; color: #5f6a7a; }.cart-footer { padding: 18px 19px 19px; border-top: 1px solid var(--line-soft); }.cart-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; color: var(--muted); font-size: 11px; }.cart-line strong { color: var(--cream); font: 600 14px var(--mono); }.cart-line:nth-child(2) strong { color: var(--gold); font-size: 12px; }.minimum-meter { margin: 20px 0 13px; }.meter-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: var(--muted); font-size: 10px; }.meter-label b { color: var(--danger); font: 10px var(--mono); }.meter-track { height: 4px; background: #28303a; }.meter-track span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .3s ease; }.cart-notice { display: flex; gap: 8px; padding: 9px 10px; border-left: 2px solid var(--danger); color: var(--muted); background: rgba(217,120,108,.07); font-size: 10px; line-height: 1.5; }.cart-notice > span { color: var(--danger); font: 700 12px var(--mono); }.cart-notice p { margin: 0; }.cart-notice b { color: #e2a097; font-weight: 600; }.cart-notice.is-ready { border-color: var(--mint); background: rgba(86,194,165,.07); }.cart-notice.is-ready > span { color: var(--mint); }.cart-notice.is-ready b { color: var(--mint); }.button-checkout { width: 100%; margin-top: 13px; color: var(--ink); background: var(--gold); }.button-checkout.is-disabled { pointer-events: none; opacity: .45; filter: grayscale(.4); }.button-checkout:hover { background: var(--gold-bright); }

.checkout-section { padding-top: 70px; border-top: 1px solid rgba(255,255,255,.04); background: linear-gradient(180deg, #10151d, #0d1118); }.checkout-heading { margin-bottom: 33px; }.secure-note { display: flex; align-items: center; gap: 7px; color: var(--mint); font-size: 11px; }.secure-note span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(86,194,165,.4); border-radius: 50%; font-size: 14px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; align-items: start; }.order-form { min-width: 0; }.form-step { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 21px; }.form-step > span { color: var(--gold); font: 600 12px var(--mono); }.form-step h3 { margin: 0; font-size: 16px; }.form-step p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-left: 32px; }.form-fields label { display: flex; flex-direction: column; gap: 7px; color: var(--muted-light); font-size: 11px; }.form-fields label > span { font-weight: 600; }.form-fields i { color: var(--danger); font-style: normal; }.form-fields small { margin-left: 4px; color: #657080; font-size: 10px; font-weight: 400; }.form-fields input, .form-fields textarea { width: 100%; border: 1px solid #2b3440; border-radius: 1px; outline: 0; padding: 11px 12px; color: var(--cream); background: #111720; font-size: 12px; transition: .2s ease; resize: vertical; }.form-fields input:focus, .form-fields textarea:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px rgba(216,173,92,.07); }.form-fields input::placeholder, .form-fields textarea::placeholder { color: #606b7a; }.full-field { grid-column: 1 / -1; }.payment-step { margin-top: 35px; }.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-left: 32px; }.payment-option { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 12px 11px; border: 1px solid #2b3440; background: #111720; cursor: pointer; transition: .2s ease; }.payment-option:hover, .payment-option.is-selected { border-color: rgba(216,173,92,.55); background: rgba(216,173,92,.06); }.payment-option input { position: absolute; opacity: 0; pointer-events: none; }.payment-icon { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; color: white; font: 700 13px var(--mono); }.line-icon { background: #05c755; }.bank-icon { background: #60748b; }.usdt-icon { background: #2c9a80; }.payment-option b, .payment-option small { display: block; }.payment-option b { color: var(--cream); font-size: 11px; white-space: nowrap; }.payment-option b small { display: inline; color: var(--mint); font: 10px var(--mono); }.payment-option small { margin-top: 2px; color: var(--muted); font-size: 9px; white-space: nowrap; }.payment-option > i { display: none; margin-left: auto; color: var(--gold); font-style: normal; }.payment-option.is-selected > i { display: block; }.consent-check { display: flex; align-items: flex-start; gap: 9px; margin: 22px 0 0 32px; color: var(--muted); font-size: 11px; cursor: pointer; }.consent-check input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--gold); }.consent-check strong { color: var(--gold-bright); font-weight: 600; }.submit-button { margin: 26px 0 0 32px; min-width: 270px; }.form-footnote { margin: 11px 0 0 32px; color: #667180; font-size: 10px; }
.order-summary-card { position: sticky; top: 20px; padding: 19px; border: 1px solid rgba(216,173,92,.2); background: #111720; }.summary-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--gold); font: 9px var(--mono); letter-spacing: .1em; }.summary-led { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px var(--mint); }.order-summary-card h3 { margin: 18px 0 17px; font-size: 18px; }.summary-items { max-height: 230px; overflow-y: auto; }.summary-placeholder { margin: 0; padding: 18px 0; color: var(--muted); font-size: 11px; line-height: 1.7; }.summary-item { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }.summary-item span { color: var(--muted-light); font-size: 10px; line-height: 1.4; }.summary-item b { flex: 0 0 auto; color: var(--gold); font: 10px var(--mono); }.summary-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 5px; padding-top: 18px; }.summary-total span { color: var(--muted); font-size: 10px; }.summary-total strong { color: var(--gold-bright); font: 600 19px var(--mono); text-align: right; }.summary-total small { grid-column: 2; color: var(--muted); font: 10px var(--mono); text-align: right; }.summary-rule { height: 1px; margin: 16px 0; background: var(--line-soft); }.summary-warning { display: flex; gap: 7px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.summary-warning span { color: var(--danger); font: 700 12px var(--mono); }.back-to-store { display: inline-block; margin-top: 21px; color: var(--gold); font-size: 11px; }.back-to-store:hover { color: var(--gold-bright); }
.payment-info { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 72px; padding: 24px; border: 1px solid rgba(216,173,92,.18); background: rgba(216,173,92,.035); }.payment-info-title { display: flex; gap: 12px; }.info-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font: 600 13px var(--mono); }.payment-info h3 { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }.payment-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }.payment-flow div { display: flex; flex-direction: column; gap: 3px; padding-left: 13px; border-left: 1px solid var(--gold-dim); }.payment-flow b { color: var(--gold); font: 11px var(--mono); }.payment-flow strong { font-size: 12px; }.payment-flow span { color: var(--muted); font-size: 10px; line-height: 1.55; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 27px clamp(22px,5vw,78px); color: #586271; border-top: 1px solid rgba(255,255,255,.05); font: 9px var(--mono); letter-spacing: .06em; }.mobile-cart-bar { display: none; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 50; max-width: 320px; padding: 12px 16px; border: 1px solid var(--gold-dim); color: var(--cream); background: #1a202a; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 12px; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }.toast.is-error { border-color: var(--danger); }
.order-success-modal[hidden] { display: none; }.order-success-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }.modal-backdrop { position: absolute; inset: 0; background: rgba(3,5,8,.82); backdrop-filter: blur(5px); }.success-card { position: relative; width: min(450px, 100%); padding: 38px 32px 29px; border: 1px solid rgba(216,173,92,.45); background: #111720; box-shadow: 0 28px 80px rgba(0,0,0,.45); text-align: center; animation: rise .3s ease both; }.modal-close { position: absolute; top: 11px; right: 13px; border: 0; color: var(--muted); background: none; font-size: 23px; }.modal-close:hover { color: var(--cream); }.success-seal { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 17px; border: 1px solid var(--mint); border-radius: 50%; color: var(--mint); font-size: 20px; box-shadow: 0 0 0 7px rgba(86,194,165,.07); }.success-card h2 { margin-top: 10px; font-size: 27px; }.success-copy { margin: 12px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }.order-id-box { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; align-items: center; padding: 15px; border: 1px solid rgba(216,173,92,.35); background: rgba(216,173,92,.06); text-align: left; }.order-id-box span { grid-column: 1 / -1; color: var(--gold); font: 9px var(--mono); letter-spacing: .12em; }.order-id-box strong { color: var(--gold-bright); font: 600 16px var(--mono); letter-spacing: .04em; }.order-id-box button { padding: 5px 7px; border: 1px solid var(--gold-dim); color: var(--gold-bright); background: transparent; font-size: 10px; }.order-id-box button:hover { background: rgba(216,173,92,.14); }.success-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 16px; margin: 16px 0; color: var(--muted); font-size: 10px; }.success-meta b { color: var(--cream); font-weight: 500; }.modal-done { width: 100%; margin-top: 5px; }.success-card .form-footnote { margin: 16px 0 0; font-size: 9px; line-height: 1.6; }
@media (max-width: 1120px) { .app-shell { grid-template-columns: 220px minmax(0,1fr); }.sidebar { padding-left: 17px; padding-right: 17px; }.store-layout { grid-template-columns: minmax(0,1fr) 275px; gap: 17px; }.checkout-grid { gap: 25px; }.payment-option { padding: 10px 8px; }.payment-option small { font-size: 8px; } }
@media (max-width: 860px) { .app-shell { display: block; }.sidebar { position: static; height: auto; display: block; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line-soft); }.brand, .sidebar-rule, .nav-kicker, .sidebar-note, .sidebar-footnote { display: none; }.category-nav { flex-direction: row; overflow-x: auto; gap: 5px; margin: 0; padding-bottom: 1px; }.category-link { flex: 0 0 auto; display: flex; gap: 6px; width: auto; padding: 8px 10px; white-space: nowrap; font-size: 11px; }.category-link .category-icon { font-size: 13px; }.category-count { font-size: 9px; }.topbar { height: 57px; padding: 0 20px; }.mobile-brand { display: block; }.hero { min-height: 420px; padding: 67px 25px 50px; }.hero-badge { top: 48px; right: 30px; width: 120px; height: 120px; opacity: .58; }.hero-badge img { width: 78px; height: 78px; }.hero-stats { right: 25px; bottom: 35px; }.store-section, .checkout-section { padding: 57px 20px; }.store-layout { grid-template-columns: 1fr; }.cart-panel, .order-summary-card { position: static; }.cart-panel { order: -1; }.cart-items { max-height: 200px; }.checkout-grid { grid-template-columns: 1fr; }.order-summary-card { display: none; }.payment-info { grid-template-columns: 1fr; gap: 26px; }.mobile-cart-bar { position: fixed; right: 14px; bottom: 14px; left: 14px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 11px 10px 15px; border: 1px solid rgba(216,173,92,.45); background: rgba(17,23,32,.96); box-shadow: 0 10px 35px rgba(0,0,0,.36); backdrop-filter: blur(9px); }.mobile-cart-bar div { display: flex; align-items: baseline; gap: 10px; }.mobile-cart-bar span { color: var(--muted); font: 10px var(--mono); }.mobile-cart-bar strong { color: var(--gold-bright); font: 600 14px var(--mono); }.mobile-cart-bar a { padding: 7px 10px; color: var(--ink); background: var(--gold); font-size: 11px; font-weight: 700; }.mobile-cart-bar a span { color: var(--ink); font-size: 15px; } }
@media (max-width: 560px) { .topbar-status { display: none; }.topbar-cart { padding-left: 0; border-left: 0; }.hero { min-height: 485px; padding-top: 49px; }.hero-image { background-position: 63% center; }.hero-badge { top: 33px; right: 18px; }.hero-copy { position: relative; z-index: 1; }.hero-copy .eyebrow { max-width: 230px; line-height: 1.5; }.hero-text { max-width: 335px; font-size: 13px; }.hero-actions { flex-direction: column; align-items: flex-start; }.hero-actions .button { width: 185px; }.hero-stats { left: 25px; right: auto; gap: 16px; }.hero-stats strong { font-size: 17px; }.hero-stats span { font-size: 9px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }.section-caption { text-align: left; }.toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }.search-box { width: 100%; }.product-grid { grid-template-columns: 1fr; }.product-card { min-height: 160px; }.form-fields { grid-template-columns: 1fr; padding-left: 0; }.full-field { grid-column: auto; }.form-step { margin-top: 25px; }.payment-options { grid-template-columns: 1fr; padding-left: 0; }.payment-option { min-height: 51px; }.consent-check, .submit-button, .form-footnote { margin-left: 0; }.submit-button { width: 100%; min-width: 0; }.payment-info { margin-top: 52px; padding: 18px; }.payment-flow { grid-template-columns: 1fr; gap: 16px; }.site-footer { flex-direction: column; gap: 8px; padding-bottom: 88px; }.success-card { padding: 32px 18px 24px; }.order-id-box strong { font-size: 13px; }.toast { right: 14px; bottom: 78px; left: 14px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }


/* LINE friend QR shown after a successful order */
.line-connect-card { display: flex; align-items: center; gap: 15px; margin: 18px 0 15px; padding: 12px; border: 1px solid rgba(86,194,165,.28); background: rgba(86,194,165,.045); text-align: left; }
.line-qr-code { flex: 0 0 108px; width: 108px; height: 108px; object-fit: cover; background: #fff; }
.line-connect-copy { min-width: 0; }
.line-connect-copy .eyebrow { margin-bottom: 4px; color: var(--mint); font-size: 9px; }
.line-connect-copy h3 { margin: 0 0 5px; color: var(--cream); font-size: 15px; }
.line-connect-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.line-save-button { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; font-size: 10px; }
.line-save-button span { font-size: 15px; line-height: .7; }
@media (max-width: 560px) {
  .line-connect-card { align-items: flex-start; gap: 11px; padding: 10px; }
  .line-qr-code { flex-basis: 92px; width: 92px; height: 92px; }
  .line-connect-copy h3 { font-size: 14px; }
  .line-connect-copy p:not(.eyebrow) { font-size: 9px; }
  .line-save-button { margin-top: 8px; padding: 6px 8px; font-size: 9px; }
}


/* Keep the full QR quiet zone visible and make the taller success modal usable on small screens. */
.order-success-modal { overflow-y: auto; }
.success-card { max-height: calc(100vh - 40px); overflow-y: auto; }
.line-qr-code { object-fit: contain; }


/* Editable cart quantity field */
input.qty-value { width: 32px; min-width: 32px; height: 28px; padding: 0 2px; border: 1px solid #3a4350; border-radius: 0; color: var(--cream); background: transparent; font: 11px var(--mono); text-align: center; outline: 0; }
input.qty-value:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 2px rgba(216,173,92,.08); }
input.qty-value::-webkit-inner-spin-button, input.qty-value::-webkit-outer-spin-button { margin: 0; opacity: .55; }
input.qty-value[type='number'] { appearance: textfield; -moz-appearance: textfield; }

/* Share-to-unlock discount banner */
.share-banner { position: relative; padding: 14px 15px; border: 1px solid rgba(240,189,105,.55); background: linear-gradient(135deg, rgba(240,189,105,.16), rgba(86,194,165,.07)); box-shadow: inset 0 0 0 1px rgba(240,189,105,.06); }
.share-banner[hidden] { display: none; }
.share-banner-cart { margin: 14px 19px 2px; }
.share-banner-checkout { margin: 0 0 28px 32px; padding: 17px 18px; }
.share-title { margin: 0 0 10px; color: var(--gold-bright); font-size: 13px; font-weight: 700; line-height: 1.55; }
.share-title small { display: block; color: var(--muted-light); font-size: 10px; font-weight: 500; }
.share-button { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid var(--gold); color: #1a160f; background: var(--gold); font-size: 11px; font-weight: 700; transition: .2s ease; }
.share-button:hover:not(:disabled) { background: var(--gold-bright); }
.share-button:disabled { cursor: not-allowed; color: var(--muted); border-color: #3a4350; background: transparent; }
.share-banner.is-applied .share-button { color: var(--gold-bright); background: transparent; }
.share-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 9px 11px; border: 1px dashed rgba(86,194,165,.6); background: rgba(9,11,16,.45); }
.share-code[hidden] { display: none; }
.share-code span { display: block; color: var(--muted); font-size: 9px; }
.share-code strong { color: var(--mint); font: 700 15px var(--mono); letter-spacing: .08em; }
.share-code button { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--mint); color: var(--mint); background: transparent; font-size: 10px; font-weight: 700; }
.share-code button:hover { color: var(--ink); background: var(--mint); }
.share-status { margin: 8px 0 0; color: var(--mint); font-size: 10px; line-height: 1.5; }
.share-status:empty { display: none; }
.cart-discount-line[hidden], .summary-discount[hidden] { display: none; }
.cart-discount-line span, .cart-discount-line strong { color: var(--mint) !important; font-size: 11px !important; }
.summary-discount { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0 0; color: var(--mint); font-size: 10px; }
.summary-discount b { font: 600 11px var(--mono); }
.success-discount, .success-discount b { color: var(--mint) !important; }
@media (max-width: 560px) { .share-banner-checkout { margin-left: 0; } .share-title { font-size: 12px; } }
