@font-face { font-family: GenSen; src: url("assets/fonts/GenSenRounded-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: GenSen; src: url("assets/fonts/GenSenRounded-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --blue: #004EA8; --blue-700: #003C82; --blue-900: #002A5C; --blue-100: #BDD8F2; --blue-50: #E9F1FB; --yellow: #FFC72C; --yellow-600: #E5A800; --yellow-100: #FFF4D1; --gray: #B5B5B6; --ink: #141414; --ink-70: #4A4A4A; --ink-50: #737373; --ink-30: #A3A3A3; --line: #E7E3DB; --line-2: #F0EDE7; --paper: #FBF9F5; --white: #fff; --r-s: 12px; --r: 18px; --r-l: 26px; --pill: 999px; --sh-1: 0 1px 2px rgba(16,24,40,.05),0 10px 26px rgba(16,24,40,.06); --sh-2: 0 3px 8px rgba(16,24,40,.07),0 24px 56px rgba(16,24,40,.14); --max: 1240px; --hdr: 74px; --ease: cubic-bezier(.22,.61,.36,1); --fsans: "GenSen","PingFang TC","Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif; --fnum: "Inter","SF Pro Display",-apple-system,"Helvetica Neue",sans-serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { text-size-adjust: 100%; }
body { margin: 0px; background: var(--white); color: var(--ink); font-family: var(--fsans); font-size: 16px; line-height: 1.8; letter-spacing: 0.02em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0px; padding: 0px; }
h1, h2, h3, h4, p { margin: 0px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0px auto; padding: 0px 28px; }
.num { font-family: var(--fnum); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; }
.d1 { font-size: clamp(34px, 5.4vw, 66px); line-height: 1.18; font-weight: 700; letter-spacing: 0.01em; }
.d2 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; font-weight: 700; letter-spacing: 0.02em; }
.d3 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; font-weight: 700; }
.lead { font-size: clamp(15px, 1.25vw, 18px); color: var(--ink-70); line-height: 1.95; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.28em; color: var(--blue); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: 0 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0px 26px; white-space: nowrap; border-radius: var(--pill); background: var(--blue); color: rgb(255, 255, 255); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; transition: transform .2s var(--ease),box-shadow .2s var(--ease),background .2s; }
.btn:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: rgba(0, 78, 168, 0.26) 0px 10px 24px; }
.btn.y { background: var(--yellow); color: rgb(26, 26, 26); }
.btn.y:hover { background: var(--yellow-600); box-shadow: rgba(229, 168, 0, 0.3) 0px 10px 24px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--paper); border-color: var(--ink-30); box-shadow: none; }
.btn.danger { color: #c0392b; border-color: #e5b8b2; }
.btn.danger:hover { background: #fdf1ef; border-color: #c0392b; box-shadow: none; }
.btn.on-dark { background: rgba(255, 255, 255, 0.14); color: rgb(255, 255, 255); border: 1.5px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); }
.btn.on-dark:hover { background: rgba(255, 255, 255, 0.24); box-shadow: none; }
.btn.sm { height: 40px; padding: 0px 18px; font-size: 14px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--blue); padding-bottom: 3px; border-bottom: 2px solid var(--yellow); transition: gap .2s var(--ease); }
.tlink:hover { gap: 14px; }
header { position: sticky; top: 0px; z-index: 60; background: rgba(255, 255, 255, 0.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr { height: var(--hdr); display: flex; align-items: center; gap: 26px; }
.brandmark { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brandmark img { height: 42px; width: auto; }
.mainnav { display: flex; gap: 4px; margin-left: 8px; flex: 1 1 0%; }
.mainnav a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 700; color: var(--ink-70); border-radius: 10px; white-space: nowrap; transition: color 0.18s, background 0.18s; }
.mainnav a:hover { color: var(--blue); background: var(--blue-50); }
.mainnav a.on { color: var(--blue); }
.mainnav a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--yellow); }
.hdracts { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: auto; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-70); position: relative; transition: background 0.18s, color 0.18s; }
.iconbtn:hover { background: var(--paper); color: var(--blue); }
.cartdot { position: absolute; top: 2px; right: 2px; min-width: 19px; height: 19px; padding: 0px 5px; border-radius: var(--pill); background: var(--blue); color: rgb(255, 255, 255); font-size: 11px; font-weight: 700; display: none; place-items: center; font-family: var(--fnum); }
.cartdot.show { display: grid; }
#burger { display: none; }
.drawer { position: fixed; inset: 0px; z-index: 90; background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 0.38s var(--ease), visibility 0s linear 0.38s; }
.drawer.open { transform: none; visibility: visible; transition: transform 0.38s var(--ease); }
.drawerbar { height: var(--hdr); display: flex; align-items: center; justify-content: flex-end; padding: 0px 20px; border-bottom: 1px solid var(--line); }
.drawerbody { flex: 1 1 0%; overflow: auto; padding: 18px 20px 40px; }
.drawerbody .dnav { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px; font-size: 21px; font-weight: 700; border-bottom: 1px solid var(--line-2); }
.drawerbody button.dnav { width: 100%; background: none; border-left: 0px; border-right: 0px; border-top: 0px; font-family: inherit; color: inherit; cursor: pointer; text-align: left; }
.drawerbody a.dnav span { color: var(--ink-30); font-size: 13px; letter-spacing: 0.14em; font-family: var(--fnum); }
.drawerfoot { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.hero { position: relative; min-height: min(78vh, 660px); display: flex; align-items: flex-end; overflow: hidden; background: var(--blue-900); }
.heroslides { position: absolute; inset: 0px; }
.heroslide { position: absolute; inset: 0px; opacity: 0; transition: opacity 1.1s var(--ease); }
.heroslide.on { opacity: 1; }
.heroslide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.heroslide.on img { transform: scale(1.12); }
.heroscrim { position: absolute; inset: 0px; background: linear-gradient(90deg, rgba(0, 24, 54, 0.86) 0%, rgba(0, 24, 54, 0.62) 38%, rgba(0, 24, 54, 0.12) 72%, rgba(0, 24, 54, 0.3) 100%), linear-gradient(0deg, rgba(0, 20, 45, 0.75) 0%, rgba(0, 20, 45, 0) 48%); }
.heroinner { position: relative; width: 100%; padding: 64px 0px 36px; color: rgb(255, 255, 255); }
.heroinner .eyebrow { color: rgb(255, 255, 255); }
.hero h1 { color: rgb(255, 255, 255); text-shadow: rgba(0, 20, 45, 0.4) 0px 2px 28px; margin: 16px 0px 18px; max-width: 17em; }
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 30em; margin-bottom: 30px; }
.heroctas { display: flex; flex-wrap: wrap; gap: 12px; }
.herobar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.herocap { font-size: 14px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.9); }
.herodots { display: flex; align-items: center; gap: 10px; }
.herodots button { width: 34px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
.herodots button.on { background: var(--yellow); width: 52px; }
.statband { background: var(--blue); color: rgb(255, 255, 255); }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0px; }
.stat b { display: block; font-family: var(--fnum); font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; color: var(--yellow); letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.82); }
section { padding: clamp(56px, 7vw, 104px) 0px; }
section.tight { padding: clamp(40px, 5vw, 72px) 0px; }
.sec-paper { background: var(--paper); }
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.sechead h2 { margin: 14px 0px 0px; }
.sechead p { margin-top: 12px; max-width: 38em; }
.brandgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bcard { background: rgb(255, 255, 255); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform .32s var(--ease),box-shadow .32s var(--ease); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.bcard .pic { aspect-ratio: 4 / 3; background: var(--surface,#f3f0ea); display: grid; place-items: center; overflow: hidden; padding: 26px; }
.bcard .pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.bcard:hover .pic img { transform: scale(1.06); }
.bcard .body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 0%; }
.bcard .slogan { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent,#004EA8); }
.bcard h3 { font-size: 21px; }
.bcard p { font-size: 14px; color: var(--ink-50); line-height: 1.8; flex: 1 1 0%; }
.bcard .go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent,#004EA8); transition: gap .2s var(--ease); }
.bcard:hover .go { gap: 14px; }
.feature { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.feature.rev { direction: rtl; }
.feature.rev > * { direction: ltr; }
.feature .ph { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); aspect-ratio: 4 / 3; background: var(--paper); }
.feature .ph img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { margin: 16px 0px 18px; }
.feature .acts { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.prodgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard { background: rgb(255, 255, 255); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); display: flex; flex-direction: column; transition: transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.pcard .pic { aspect-ratio: 1 / 1; background: var(--paper); overflow: hidden; }
.pcard .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.pcard:hover .pic img { transform: scale(1.05); }
.pcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1 1 0%; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0px 10px; border-radius: var(--pill); background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; width: fit-content; }
.pcard h3 { font-size: 16px; font-weight: 700; line-height: 1.6; }
.pcard .spec { font-size: 13px; color: var(--ink-50); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pcard .price { margin-top: auto; padding-top: 10px; font-family: var(--fnum); font-size: 20px; font-weight: 800; }
.pcard .price small { font-size: 12px; font-weight: 600; color: var(--ink-30); margin-left: 4px; font-family: var(--fsans); }
.rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(246px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.pathgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pathgrid.c2 { grid-template-columns: repeat(2, 1fr); }
.pathcard { position: relative; border-radius: var(--r-l); padding: 34px 30px 30px; background: rgb(255, 255, 255); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: transform .3s var(--ease),box-shadow .3s var(--ease); }
.pathcard::after { content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--yellow-100); transition: transform .5s var(--ease); }
.pathcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.pathcard:hover::after { transform: scale(1.35); }
.pathcard > * { position: relative; z-index: 1; }
.pathcard h3 { font-size: 24px; line-height: 1.45; white-space: pre-line; }
.pathcard p { font-size: 14.5px; color: var(--ink-50); flex: 1 1 0%; }
.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0px clamp(36px, 5vw, 64px); }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-50); margin-bottom: 22px; }
.crumb a:hover { color: var(--blue); }
.pagehead h1 { margin: 14px 0px 16px; }
.pagehead .lead { max-width: 44em; }
.filterbar { position: sticky; top: var(--hdr); z-index: 40; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 16px 0px; }
.chips { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 40px; padding: 0px 17px; border-radius: var(--pill); border: 1.5px solid var(--line); background: rgb(255, 255, 255); font-size: 14px; font-weight: 700; color: var(--ink-70); display: inline-flex; align-items: center; gap: 7px; transition: 0.18s; }
.chip:hover { border-color: var(--ink-30); }
.chip.on { background: var(--blue); border-color: var(--blue); color: rgb(255, 255, 255); }
.chip.on .n { background: rgba(255, 255, 255, 0.22); color: rgb(255, 255, 255); }
.chip .n { font-family: var(--fnum); font-size: 12px; background: var(--line-2); color: var(--ink-50); border-radius: var(--pill); padding: 1px 7px; }
.filterrow { display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.filterrow .chips { flex: 1 1 auto; min-width: 0; }
.search { flex: 0 1 320px; margin-left: auto; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0px 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: rgb(255, 255, 255); }
.search:focus-within { border-color: var(--blue); }
.search input { flex: 1 1 0%; border: 0px; outline: 0px; background: none; font-size: 15px; }
.storecount { font-size: 14px; color: var(--ink-50); margin: 26px 0px 16px; }
.storecount b { color: var(--ink); font-family: var(--fnum); font-size: 17px; }
.storegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scard { position: relative; background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: transform .25s var(--ease),box-shadow .25s var(--ease); }
.scard::before { content: ""; position: absolute; left: 0px; top: 0px; bottom: 0px; width: 5px; background: var(--accent,#004EA8); }
.scard:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.scard .btag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent,#004EA8); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scard .dist-wrap { display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.02em; }
.scard .dist-tag { font-family: var(--fnum); font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 2px 9px; border-radius: var(--pill); }
.scard .nearest-tag { font-size: 11.5px; font-weight: 800; color: #7A5200; background: var(--yellow); padding: 2px 9px; border-radius: var(--pill); }
.chip.near-chip { border-color: var(--blue-100); color: var(--blue); }
.chip.near-chip svg { width: 15px; height: 15px; }
.chip.near-chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.scard h3 { font-size: 18.5px; }
.scard .meta { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-50); line-height: 1.7; }
.scard .meta i { flex: 0 0 auto; width: 17px; font-style: normal; opacity: 0.6; text-align: center; }
.scard .note { font-size: 12.5px; color: var(--ink-30); background: var(--paper); border-radius: 10px; padding: 8px 11px; line-height: 1.65; }
.scard .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.empty { padding: 70px 20px; text-align: center; color: var(--ink-50); background: var(--paper); border-radius: var(--r); }
.menugrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcard { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgb(255, 255, 255); text-align: left; display: flex; flex-direction: column; transition: transform .25s var(--ease),box-shadow .25s var(--ease); }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.mcard .pic { aspect-ratio: 3 / 2; background: var(--paper); overflow: hidden; position: relative; }
.mcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.mcard .cnt { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, 0.66); color: rgb(255, 255, 255); font-size: 12px; border-radius: var(--pill); padding: 4px 11px; font-family: var(--fnum); backdrop-filter: blur(4px); }
.mcard .body { padding: 17px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1 1 0%; }
.mcard h3 { font-size: 17px; }
.mcard .stores { font-size: 12.5px; color: var(--ink-50); line-height: 1.7; }
.brandhero { padding: clamp(40px, 6vw, 76px) 0px; background: var(--surface); color: var(--bink); }
.brandhero .inner { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.brandhero .logo { background: rgb(255, 255, 255); border-radius: var(--r-l); padding: 34px; box-shadow: var(--sh-1); display: grid; place-items: center; aspect-ratio: 4 / 3; }
.brandhero .logo img { width: 100%; height: 100%; object-fit: contain; }
.brandhero .logo .mhero { display: none; }
.brandhero h1 { margin: 16px 0px 18px; }
.brandhero .sig { display: inline-flex; align-items: center; gap: 10px; background: rgb(255, 255, 255); border-radius: var(--pill); padding: 10px 20px; font-size: 14px; font-weight: 700; margin-top: 22px; box-shadow: var(--sh-1); }
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4.5vw, 62px); align-items: start; }
.pdp .gal { align-self: center; min-width: 0; }
.pdp .gal .main { border-radius: var(--r-l); overflow: hidden; background: var(--paper); aspect-ratio: 1 / 1; position: relative; }
.pdp .gal .main .track { display: flex; height: 100%; transition: transform .4s ease; }
.still .pdp .gal .main .track { transition: none; }
.pdp .gal .main img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; }
.pdp .gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: #333; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 2; }
.pdp .gal-arrow:hover { background: #fff; }
.pdp .gal-arrow.prev { left: 12px; }
.pdp .gal-arrow.next { right: 12px; }
.pdp .gal .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pdp .gal .thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--paper); }
.pdp .gal .thumbs button.on { border-color: var(--blue); }
.pdp .gal .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4; margin: 12px 0px 10px; }
.pdp-intro { max-width: 860px; margin: 0 auto; }
.pdp-intro img { display: block; width: 100%; }
.pricebig { font-family: var(--fnum); font-size: 34px; font-weight: 800; margin: 18px 0px 4px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--pill); height: 50px; }
.qty button { width: 46px; height: 100%; font-size: 20px; color: var(--ink-50); }
.qty input { width: 48px; text-align: center; border: 0px; outline: 0px; background: none; font-family: var(--fnum); font-weight: 700; }
.buyrow { display: flex; gap: 12px; align-items: center; margin: 22px 0px 10px; flex-wrap: wrap; }
.spectable { margin-top: 30px; border-top: 1px solid var(--line); }
.spectable dl { display: grid; grid-template-columns: 118px 1fr; gap: 0px; margin: 0px; border-bottom: 1px solid var(--line-2); padding: 15px 0px; font-size: 14.5px; }
.spectable dt { color: var(--ink-50); font-weight: 700; }
.spectable dd { margin: 0px; color: var(--ink-70); line-height: 1.8; }
.scrim { position: fixed; inset: 0px; background: rgba(10, 16, 28, 0.48); z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.cartpanel { position: fixed; top: 0px; right: 0px; bottom: 0px; width: min(420px, 100%); background: rgb(255, 255, 255); z-index: 101; transform: translateX(102%); transition: transform .34s var(--ease); display: flex; flex-direction: column; }
.cartpanel.on { transform: none; }
.cartpanel .ph { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cartpanel .pb { flex: 1 1 0%; overflow: auto; padding: 16px 22px; }
.cartpanel .pf { border-top: 1px solid var(--line); padding: 18px 22px calc(20px + env(safe-area-inset-bottom)); }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0px; border-bottom: 1px solid var(--line-2); }
.citem img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--paper); }
.citem h4 { font-size: 14.5px; font-weight: 700; line-height: 1.55; margin: 0px 0px 4px; }
.citem .s { font-size: 12.5px; color: var(--ink-50); }
.citem .rm { font-size: 12.5px; color: var(--ink-30); margin-top: 6px; }
.citem .rm:hover { color: rgb(192, 57, 43); }
.sumrow { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sumrow b { font-family: var(--fnum); font-size: 24px; font-weight: 800; }
.lightbox { position: fixed; inset: 0px; z-index: 120; background: rgba(8, 12, 20, 0.95); display: none; flex-direction: column; }
.lightbox.on { display: flex; }
.lbbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: rgb(255, 255, 255); font-size: 14px; }
.lbbody { flex: 1 1 0%; display: grid; place-items: center; grid-template: minmax(0, 1fr) / minmax(0, 1fr); padding: 0px 16px 20px; position: relative; overflow: auto; }
.lbbody { touch-action: none; }
.lbbody img { grid-area: 1 / 1; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; -webkit-user-drag: none; user-select: none; touch-action: none; }
.lbbody img.loading { opacity: 0; }
.lbbody.zoomed img { cursor: grab; }
#lbImg2 { display: none; }
.lbzone { position: absolute; top: 0px; bottom: 0px; width: 50%; z-index: 3; border: 0px; background: none; display: flex; align-items: center; cursor: pointer; padding: 0px 18px; touch-action: none; pointer-events: none; }
.lbzone.prev { left: 0px; justify-content: flex-start; }
.lbzone.next { right: 0px; justify-content: flex-end; }
.lbzone svg { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: rgba(10, 14, 22, 0.55); color: rgb(255, 255, 255); transition: background .2s; }
.lbzone:hover svg { background: rgba(10, 14, 22, 0.85); }
.lbbody.zoomed .lbzone, .lbbody:not(.multi) .lbzone { opacity: 0; pointer-events: none; }
.lbhint { position: absolute; inset: 0px; z-index: 6; background: rgba(8, 12, 20, 0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; cursor: pointer; }
.lbhintbox { display: flex; align-items: center; gap: 16px; color: rgb(255, 255, 255); font-size: 17px; font-weight: 700; }
.lbhintbox svg { width: 30px; height: 30px; animation: hintSlide 1.4s ease-in-out infinite; }
.lbhintbox svg:last-child { animation-name: hintSlideR; }
.lbhint small { color: rgba(255, 255, 255, 0.65); font-size: 13px; }
@keyframes hintSlide { 0%, 100% { transform: translateX(4px); opacity: .5; } 50% { transform: translateX(-4px); opacity: 1; } }
@keyframes hintSlideR { 0%, 100% { transform: translateX(-4px); opacity: .5; } 50% { transform: translateX(4px); opacity: 1; } }
html.still .lbhintbox svg { animation: none; }
footer { background: var(--blue-900); color: rgb(207, 224, 243); padding: clamp(48px, 6vw, 76px) 0px 34px; margin-top: 0px; }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footgrid h3 { color: rgb(255, 255, 255); font-size: 15px; letter-spacing: 0.1em; margin-bottom: 16px; }
.footgrid a, .footgrid p { display: block; font-size: 14px; color: rgb(168, 196, 226); line-height: 2.1; }
.footgrid a:hover { color: var(--yellow); }
.footbig h2 { color: rgb(255, 255, 255); font-size: clamp(22px, 2.4vw, 29px); line-height: 1.5; margin-bottom: 16px; }
.footbrands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footbrands span { font-size: 12.5px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--pill); padding: 5px 13px; color: rgb(207, 224, 243); }
.copyright { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: rgb(142, 175, 212); }
.qbar { position: fixed; left: 0px; right: 0px; bottom: 0px; z-index: 55; display: none; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
.qbar a { flex: 1 1 0%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-50); border-radius: 12px; }
.qbar a.on { color: var(--blue); background: var(--blue-50); }
.qbar svg { width: 21px; height: 21px; }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease),transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* 彈窗 / 燈箱 / 換頁 / 微回饋動畫 */
.modaldlg.on form { animation: dlgIn .28s var(--ease); }
.lightbox.on { animation: fadeIn .22s ease; }
.lightbox.on .lbbody img { animation: lbImgIn .3s var(--ease); }
#app.pgin { animation: pgIn .3s var(--ease); }
.qty span.pop { display: inline-block; animation: popN .24s var(--ease); }
#cartOpen.bump { animation: bumpN .3s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbImgIn { from { opacity: 0; transform: scale(.96); } }
@keyframes pgIn { from { opacity: 0; } }
@keyframes popN { 50% { transform: scale(1.3); } }
@keyframes bumpN { 40% { transform: scale(1.15); } }
html.still .modaldlg.on form, html.still .lightbox.on, html.still .lightbox.on .lbbody img, html.still #app.pgin, html.still .qty span.pop, html.still #cartOpen.bump { animation: none !important; }
html.still .rv { opacity: 1; transform: none; transition: none; }
html.still .heroslide { transition: none; }
html.still .heroslide img { transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px); z-index: 130; background: var(--ink); color: rgb(255, 255, 255); padding: 13px 22px; border-radius: var(--pill); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0px); }
@media (max-width: 1100px) {
  .brandgrid, .prodgrid { grid-template-columns: repeat(2, 1fr); }
  .storegrid, .menugrid { grid-template-columns: repeat(2, 1fr); }
  .footgrid { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
  .footbig { grid-column: 1 / -1; }
  .mainnav a { padding: 10px; font-size: 14px; }
}
@media (max-width: 980px) {
  :root { --hdr: 62px; }
  .mainnav { display: none; }
  #burger { display: grid; }
  .hdracts .pcbtn { display: none; }
  .hero { min-height: min(74vh, 580px); }
  .heroinner { padding: 120px 0px 24px; }
  .heroscrim { background: linear-gradient(0deg, rgba(0, 20, 45, 0.9) 12%, rgba(0, 20, 45, 0.3) 58%, rgba(0, 20, 45, 0.5) 100%); }
  .statgrid { grid-template-columns: repeat(2, 1fr); gap: 8px 20px; padding: 26px 0px; }
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature.rev { direction: ltr; }
  .feature .ph { order: -1; }
  .pathgrid, .pathgrid.c2 { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp .gal { position: static; }
  .pdp .gal .thumbs { display: none; }
  .pdp .gal-arrow { display: none; }
  .brandhero .inner { grid-template-columns: 1fr; }
  .brandhero .logo { order: -1; max-width: 240px; aspect-ratio: auto; padding: 0; background: none; box-shadow: none; justify-self: center; }
  .brandhero .logo img { width: 100%; height: auto; max-height: 110px; }
  .brandhero .logo .mhero { display: none; }
  .qbar { display: none; }
  .lbzone svg { display: none; }
  .cartpanel { width: 100%; }
}
@media (max-width: 640px) {
  .notice { font-size: 11.5px; line-height: 1.55; padding: 7px 14px; letter-spacing: 0.04em; }
  .wrap { padding: 0px 18px; }
  .brandgrid, .prodgrid, .storegrid, .menugrid { grid-template-columns: 1fr; }
  .brandgrid.brandrail { grid-template-columns: none; }
  .brandrail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0px -18px; padding-left: 18px; padding-right: 18px; }
  .brandrail > * { scroll-snap-align: start; }
  .sechead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footgrid { grid-template-columns: 1fr 1fr; text-align: center; }
  .footgrid > :last-child { grid-column: 1 / -1; }
  .footbrands { justify-content: center; }
  .copyright { justify-content: center; text-align: center; }
  .heroctas { flex-direction: column; align-items: stretch; }
  .heroctas .btn { flex: 0 0 auto; width: 100%; }
  .herobar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .filterrow { flex-direction: column; align-items: stretch; }
  .filterrow .search { flex: 0 0 auto; margin-left: 0; }
  .spectable dl { grid-template-columns: 1fr; gap: 4px; }
}
.prodgrid.rail { grid-template-columns: none; }
/* ===== 商務頁面（會員/結帳/訂單）補充樣式 ===== */
[hidden] { display: none !important; }
.flabel { display: block; font-size: 14px; font-weight: 700; color: var(--ink-70); margin-bottom: 16px; }
.flabel .req { color: #C0392B; margin-left: 2px; }
.flabel input, .flabel select, .flabel textarea {
  display: block; width: 100%; margin-top: 7px; height: 48px; padding: 0 15px;
  border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; background: #fff;
  font-family: var(--fsans); transition: border-color .18s, box-shadow .18s;
}
.flabel textarea { height: auto; padding: 12px 15px; resize: vertical; line-height: 1.7; }
.flabel input:focus, .flabel select:focus, .flabel textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,78,168,.12);
}
.flabel input.err, .flabel select.err { border-color: #C0392B; }
.flabel input[readonly] { background: var(--paper); color: var(--ink-50); }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.formmsg { color: #C0392B; font-size: 13.5px; font-weight: 700; margin: 10px 0; }
.muted { color: var(--ink-50); font-size: 14px; line-height: 1.8; }
.noticecard { background: var(--blue-50); border-radius: var(--r); padding: 16px 20px; font-size: 14px; color: var(--ink-70); line-height: 1.8; }

/* 結帳 */
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.checkout h2 { font-size: 19px; margin: 6px 0 18px; }
.summary { background: var(--paper); border-radius: var(--r-l); padding: 26px 28px; position: sticky; top: calc(var(--hdr) + 20px); }
.summary h2 { margin-top: 0; }
.summary .sumrow { font-size: 14.5px; color: var(--ink-70); }
.summary .total { border-top: 1.5px solid var(--line); padding-top: 14px; font-weight: 800; color: var(--ink); }
.summary .total span:last-child { font-family: var(--fnum); font-size: 22px; }
.addrgrid { display: grid; grid-template-columns: 1fr 1fr 140px; gap: 4px 14px; }
.addrgrid .full { grid-column: 1 / -1; }

/* 購物車（勾選版） */
.citem { grid-template-columns: auto 72px 1fr auto; align-items: center; }
.citem .sel { width: 18px; height: 18px; accent-color: var(--blue); }
.citem.soldout { opacity: .55; }
.citem .qty { height: 34px; border-radius: 10px; margin-top: 7px; }
.citem .qty button { width: 30px; font-size: 15px; }
.citem .qty span { min-width: 26px; text-align: center; font-family: var(--fnum); font-weight: 700; font-size: 13px; }
.addon-box { margin-top: 16px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.addon-box .ad-head { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.addon-box .ad-head::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.addon-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.addon-item:first-of-type { border-top: 0; padding-top: 2px; }
.addon-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: #fff; }
.addon-item h5 { margin: 0 0 2px; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.addon-item .ad-pr { font-size: 12.5px; font-family: var(--fnum); }
.addon-item .ad-btn { height: 32px; padding: 0 13px; font-size: 12.5px; border-radius: var(--pill); background: var(--blue); color: #fff; font-weight: 700; white-space: nowrap; }
.addon-item .ad-btn:hover:not(:disabled) { background: var(--blue-700); }
.addon-item .ad-btn:disabled { opacity: .45; cursor: not-allowed; }
.ad-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: var(--pill); background: var(--yellow-100); color: #8A6116; margin-left: 6px; vertical-align: middle; }
.citem.sub-addon { padding-left: 14px; border-left: 3px solid var(--yellow); background: #FCFBF8; }
.citem .pick-addon { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 3px 10px; border-radius: var(--pill); margin-left: 8px; }
.citem .pick-addon:hover { background: var(--blue-100); }
.soldtag { display: inline-block; font-size: 11.5px; color: #C0392B; font-weight: 700; margin-top: 4px; }
.stockhint { font-size: 12px; color: #B7791F; font-weight: 700; margin-top: 3px; }
.pcard.soldout .pic img { opacity: .5; }
.pcard .price small.soldoutt { color: #C0392B; font-weight: 700; }

/* 會員專區 / 訂單列表 */
.loginbox { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 34px 34px 30px; }
.orderrow { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin-bottom: 14px; transition: transform .2s var(--ease), box-shadow .2s; }
.orderrow:hover { transform: translateY(-2px); box-shadow: var(--sh-1); }
.orderrow .ono { font-family: var(--fnum); font-weight: 800; font-size: 15px; }
.orderrow .meta { font-size: 13px; color: var(--ink-50); margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.profilecard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 22px 16px; max-width: 640px; }
.profilecard .spectable { margin-top: 10px; border-top: none; }
.profilecard .spectable dl:last-child { border-bottom: none; }
.ostatus { display: inline-block; font-size: 12px; font-weight: 700; border-radius: var(--pill); padding: 3px 11px; }
.ostatus.pending_payment { background: #FFF3D6; color: #8A6116; }
.ostatus.paid { background: var(--blue-50); color: var(--blue); }
.ostatus.shipped { background: #E5F4E8; color: #1E7A34; }
.ostatus.cancelled, .ostatus.refunded { background: var(--line-2); color: var(--ink-50); }

/* 訂單明細 */
.slip { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 4vw, 42px); }
.sliphead { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1.5px solid var(--line); margin-bottom: 24px; }
.sliphead h1 { font-size: 22px; font-family: var(--fnum); }
.slipstatus { text-align: right; font-size: 13.5px; color: var(--ink-50); line-height: 2; }
.slipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; font-size: 14px; line-height: 2; margin-bottom: 26px; }
.slipgrid b { color: var(--ink-50); font-weight: 700; }
.sliptable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sliptable th { text-align: left; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-50); border-bottom: 1.5px solid var(--line); padding: 10px 8px; }
.sliptable td { padding: 12px 8px; border-bottom: 1px solid var(--line-2); }
.sliptable td.num, .sliptable th.num { font-family: var(--fnum); text-align: right; white-space: nowrap; }
.sliptotal { text-align: right; margin-top: 18px; font-size: 14.5px; color: var(--ink-70); line-height: 2; }
.sliptotal .total { font-size: 20px; font-weight: 800; color: var(--ink); font-family: var(--fnum); }
.slipactions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.sliprefund { align-self: center; font-size: 13.5px; font-weight: 700; color: #8A6116; }

/* 對話框（退款） */
.modaldlg { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; padding: 20px; }
.modaldlg.on { display: grid; }
.modaldlg form { background: #fff; border-radius: var(--r-l); width: min(480px, 100%); max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--sh-2); }
.modaldlg .ph { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modaldlg .pb { padding: 20px 22px; overflow: auto; }
.modaldlg .pf { border-top: 1px solid var(--line); padding: 16px 22px; display: flex; gap: 10px; justify-content: flex-end; }
#cfmDlg .ph { border-bottom: none; padding-bottom: 0; justify-content: flex-end; }
#cfmDlg .pf { border-top: none; }

@media (max-width: 980px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 640px) {
  .formgrid, .slipgrid, .addrgrid { grid-template-columns: 1fr; }
  .addrgrid .full { grid-column: auto; }
  .sliptable { font-size: 13px; }
  .sliptable th:nth-child(2), .sliptable td:nth-child(2) { display: none; }
  .citem { grid-template-columns: auto 58px 1fr; }
  .citem img { width: 58px; height: 58px; }
  .citem > .num { grid-column: 2 / -1; text-align: right; }
  .slipactions .btn { flex: 1 1 auto; text-align: center; }
}

/* 自取商品：門市選擇＋剩額 */
.pickupsel{display:flex;gap:12px;align-items:center;margin-bottom:12px;flex-wrap:wrap}
.pickupsel select{flex:1;min-width:180px;max-width:340px;border:1.5px solid var(--line,#ddd);border-radius:8px;padding:10px 12px;font:inherit;background:#fff}
.pickupsel .pkleft{font-size:13.5px;color:var(--accent,#004EA8);font-weight:700}

/* 商品子選項彈窗 */
.optg{margin-bottom:16px}
.optg>b{display:block;font-size:14.5px;margin-bottom:8px}
.optg .muted{font-size:12.5px;font-weight:400;margin-left:6px}
.ogpicks{display:flex;flex-wrap:wrap;gap:8px}
.ogpicks label{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1.5px solid var(--line,#ddd);border-radius:8px;cursor:pointer;font-size:14px}
.ogpicks label:has(input:checked){border-color:var(--accent,#004EA8);background:rgba(0,78,168,.06)}
.optg .qty{display:inline-flex;align-items:center;gap:0;border:1.5px solid var(--line,#ddd);border-radius:8px;overflow:hidden}
.optg .qty button{width:36px;height:36px;border:0;background:#f5f7f9;font-size:18px;cursor:pointer}
.optg .qty input{width:56px;text-align:center;border:0;font:inherit;padding:8px 0}

/* 禁用按鈕（門市額滿等） */
.btn:disabled,.btn[disabled]{opacity:.5;cursor:not-allowed;filter:grayscale(.4)}
.btn:disabled:hover{transform:none;box-shadow:none}
