:root {
  --ink: #151516;
  --muted: #6e6e73;
  --line: #d9d9de;
  --paper: #f5f5f7;
  --white: #fff;
  --blue: #1e62ff;
  --green: #25a76b;
  --radius: 28px;
  --shadow: 0 24px 60px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Noto Sans TC", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 99; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4.5vw; border-bottom: 1px solid transparent; transition: .35s ease; }
.site-header.scrolled { height: 62px; background: rgba(250,250,252,.82); backdrop-filter: blur(22px); border-color: rgba(0,0,0,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: .16em; width: fit-content; }
.brand-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); font-family: Georgia, serif; font-style: italic; font-size: 17px; letter-spacing: 0; }
.desktop-nav { display: flex; gap: 36px; font-size: 13px; font-weight: 500; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { content: ""; position: absolute; height: 1px; left: 50%; right: 50%; bottom: 3px; background: var(--ink); transition: .25s; }
.desktop-nav a:hover::after { left: 0; right: 0; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 7px; }
.text-button, .icon-button { background: none; border: 0; color: inherit; cursor: pointer; }
.text-button { font-size: 12px; color: var(--muted); padding: 8px 12px; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.icon-button:hover { background: rgba(0,0,0,.06); }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.account-dot { width: 7px; height: 7px; position: absolute; right: 3px; top: 4px; border: 2px solid var(--paper); background: var(--green); border-radius: 50%; opacity: 0; }
.account-dot.active { opacity: 1; }

.hero { min-height: min(960px, 100vh); position: relative; overflow: hidden; display: grid; align-items: center; padding: 105px 6vw 70px; background: radial-gradient(circle at 70% 26%, #fff 0, #f4f4f5 32%, #e9eaec 100%); }
.hero::before { content: "AURELIA"; position: absolute; top: 17%; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-weight: 700; font-size: clamp(90px, 17vw, 270px); letter-spacing: -.075em; white-space: nowrap; pointer-events: none; }
.hero-copy { position: relative; z-index: 3; width: min(510px, 40vw); margin-top: -8vh; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #535358; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1 { margin: 25px 0 22px; font-size: clamp(64px, 7vw, 110px); line-height: .93; letter-spacing: -.065em; font-weight: 600; }
.hero-copy > p { width: min(400px, 100%); color: #5d5d62; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.button { border: 0; display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 48px; padding: 0 22px; border-radius: 99px; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .25s, background .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.button-dark:hover { background: #303034; }
.button-ghost { border: 1px solid #b8b8bd; background: rgba(255,255,255,.35); }
.button-ghost:hover { background: #fff; }
.hero-visual { position: absolute; z-index: 2; right: -1vw; bottom: 5vh; width: 76vw; height: 75vh; display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: none; }
.hero-visual::after { content: ""; position: absolute; z-index: -1; width: 70%; height: 12%; bottom: 1%; right: 8%; border-radius: 50%; background: rgba(0,0,0,.16); filter: blur(34px); }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; filter: contrast(1.04); }
.floating-spec { position: absolute; display: flex; flex-direction: column; padding: 12px 16px; min-width: 125px; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.58); border-radius: 16px; backdrop-filter: blur(16px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.floating-spec b { font-size: 22px; letter-spacing: -.04em; }
.floating-spec span { margin-top: 3px; font-size: 10px; color: var(--muted); }
.spec-range { right: 9%; top: 26%; }
.spec-speed { right: 32%; bottom: 5%; }
.scroll-hint { position: absolute; z-index: 3; left: 6vw; bottom: 27px; display: flex; align-items: center; gap: 11px; font-size: 9px; font-weight: 600; letter-spacing: .13em; color: #68686d; }
.scroll-hint span { width: 18px; height: 28px; border: 1px solid #86868b; border-radius: 99px; position: relative; }
.scroll-hint span::after { content: ""; width: 2px; height: 5px; background: #555; border-radius: 2px; position: absolute; left: 7px; top: 5px; animation: scroll 1.8s infinite; }
@keyframes scroll { 50% { transform: translateY(10px); opacity: .2; } }

.statement { background: var(--ink); color: white; min-height: 240px; display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 45px 6vw; }
.statement > p { font-size: clamp(23px, 2.5vw, 38px); letter-spacing: -.04em; margin: 0; }
.statement-metrics { display: flex; gap: clamp(30px, 5vw, 80px); }
.statement-metrics div { display: flex; flex-direction: column; }
.statement-metrics strong { font-size: 22px; }
.statement-metrics span { color: #9e9ea5; font-size: 11px; margin-top: 5px; }

.section { padding: 120px 6vw; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 46px; }
.section-index { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #89898f; }
.section-heading h2, .service-title h2 { margin: 13px 0 0; font-size: clamp(39px, 4vw, 64px); letter-spacing: -.055em; line-height: 1; font-weight: 600; }
.section-heading > p { max-width: 360px; color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.filter-chip { border: 1px solid #d4d4d8; color: #5c5c60; background: transparent; border-radius: 99px; padding: 10px 16px; font-size: 12px; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.inventory-note { margin-left: auto; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.inventory-note i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(37,167,107,.12); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { min-width: 0; position: relative; background: #ececee; border-radius: var(--radius); overflow: hidden; cursor: pointer; min-height: 500px; transition: transform .35s ease, box-shadow .35s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(0,0,0,.1); }
.product-card.featured { grid-column: span 2; }
.product-image { height: 305px; overflow: hidden; position: relative; background: linear-gradient(145deg, #fff, #dcdde0); }
.product-image::after { content: ""; position: absolute; inset: auto 12% 6% 12%; height: 8%; background: rgba(0,0,0,.18); border-radius: 50%; filter: blur(20px); }
.product-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; transition: transform .55s ease; mix-blend-mode: multiply; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-card.featured .product-image { height: 305px; }
.product-card.featured .product-image img { object-position: center 55%; }
.product-badge { position: absolute; z-index: 2; top: 18px; left: 18px; color: #fff; background: rgba(20,20,22,.78); backdrop-filter: blur(10px); border-radius: 99px; padding: 8px 12px; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.product-badge.low { background: #b65c33; }
.product-info { padding: 25px 26px 27px; }
.product-title-row { display: flex; justify-content: space-between; gap: 15px; }
.product-title-row h3 { font-size: 23px; margin: 0; letter-spacing: -.035em; }
.product-title-row p { margin: 7px 0 0; font-size: 12px; color: var(--muted); }
.product-price { text-align: right; white-space: nowrap; }
.product-price b { font-size: 15px; }
.product-price span { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.product-specs { margin-top: 23px; padding-top: 17px; border-top: 1px solid #d2d2d6; display: grid; grid-template-columns: repeat(3, 1fr); }
.product-specs div { border-right: 1px solid #d2d2d6; padding-left: 14px; }
.product-specs div:first-child { padding-left: 0; }
.product-specs div:last-child { border: 0; }
.product-specs b { display: block; font-size: 13px; }
.product-specs span { display: block; margin-top: 4px; font-size: 9px; color: #7b7b80; }
.card-arrow { width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--ink); position: absolute; right: 20px; top: 284px; z-index: 3; border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .25s; }
.product-card:hover .card-arrow { transform: rotate(45deg); }
.empty-state { grid-column: 1/-1; padding: 80px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--radius); }

.experience { padding-top: 60px; }
.experience-panel { background: #121214; color: white; border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 670px; }
.experience-image { background: linear-gradient(90deg, rgba(10,10,12,.05), rgba(10,10,12,.72)), url("assets/aurelia-hero.png") 58% center / cover no-repeat; filter: saturate(.75) contrast(1.08); }
.experience-copy { padding: 80px 6vw 65px 30px; display: flex; flex-direction: column; justify-content: center; }
.section-index.light { color: #85858c; }
.experience-copy h2 { font-weight: 500; font-size: clamp(35px, 3.7vw, 58px); line-height: 1.12; letter-spacing: -.055em; margin: 18px 0 24px; }
.experience-copy > p { color: #a9a9af; font-size: 13px; line-height: 1.8; max-width: 440px; }
.experience-list { margin-top: 36px; }
.experience-list > div { display: grid; grid-template-columns: 45px 1fr; border-top: 1px solid #333338; padding: 20px 0; }
.experience-list span { font-size: 9px; color: #74747a; }
.experience-list p { margin: 0; color: #9999a0; font-size: 12px; line-height: 1.7; }
.experience-list b { color: #fff; display: block; font-size: 13px; margin-bottom: 3px; }

.service-title { margin-bottom: 45px; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { background: #fff; border-radius: 24px; min-height: 330px; padding: 32px; display: flex; flex-direction: column; border: 1px solid #ededf0; transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.07); }
.service-icon { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: #f0f0f2; font-size: 20px; }
.service-card h3 { margin: 45px 0 10px; font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 12px; max-width: 300px; }
.service-card a { margin-top: auto; font-size: 12px; font-weight: 600; }
.closing-cta { min-height: 430px; background: linear-gradient(118deg, #151517 0%, #24262a 62%, #111 100%); color: #fff; padding: 80px 7vw; display: flex; align-items: center; justify-content: space-between; }
.closing-cta span { font-size: 9px; letter-spacing: .2em; color: #8c8c94; }
.closing-cta h2 { margin: 20px 0 0; font-size: clamp(45px, 5.5vw, 82px); line-height: 1.03; letter-spacing: -.06em; font-weight: 500; }
.button-light { background: #fff; color: var(--ink); min-width: 160px; }
footer { padding: 55px 6vw 25px; background: #0b0b0c; color: white; }
.footer-main { display: flex; justify-content: space-between; align-items: center; padding-bottom: 60px; }
.footer-main p { color: #77777e; font-size: 11px; }
.footer-brand .brand-mark { background: white; color: #111; }
.footer-bottom { border-top: 1px solid #252528; padding-top: 22px; color: #66666d; font-size: 9px; display: flex; justify-content: space-between; }
.footer-bottom div { display: flex; gap: 25px; }

.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; z-index: 69; background: rgba(0,0,0,.35); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .3s; }
.drawer-backdrop.open, .modal-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: #f8f8fa; transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -25px 0 60px rgba(0,0,0,.13); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { padding: 33px 30px 24px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); }
.drawer-header span, .modal-kicker { font-size: 9px; font-weight: 700; letter-spacing: .18em; color: #85858b; }
.drawer-header h2 { margin: 8px 0 0; font-size: 28px; letter-spacing: -.04em; }
.close-button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #e9e9ec; font-size: 23px; font-weight: 300; cursor: pointer; color: #555; }
.close-button:hover { background: #dedee2; }
.cart-body { flex: 1; overflow-y: auto; padding: 24px 28px; }
.empty-cart { text-align: center; display: grid; place-items: center; height: 100%; align-content: center; }
.empty-cart-icon { width: 66px; height: 66px; border-radius: 50%; background: #ededf0; display: grid; place-items: center; font-size: 25px; }
.empty-cart h3 { margin: 22px 0 7px; }
.empty-cart p { color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 250px; }
.cart-item { display: grid; grid-template-columns: 108px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 108px; height: 75px; border-radius: 13px; overflow: hidden; background: #e8e8eb; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.cart-item h3 { font-size: 14px; margin: 0; }
.cart-item p { color: var(--muted); font-size: 10px; margin: 6px 0; }
.cart-item b { font-size: 12px; }
.remove-item { border: 0; background: none; color: #888; cursor: pointer; font-size: 18px; }
.cart-footer { padding: 22px 28px 28px; border-top: 1px solid var(--line); background: #fff; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 17px; }
.cart-total span { color: var(--muted); font-size: 11px; }
.cart-total b { font-size: 16px; }
.cart-footer small { display: block; text-align: center; color: #999; margin-top: 10px; font-size: 9px; }
.full-button { width: 100%; }

.modal { position: fixed; z-index: 75; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(.96); width: min(440px, calc(100vw - 32px)); background: #fff; border-radius: 28px; padding: 42px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s; max-height: calc(100vh - 36px); overflow-y: auto; }
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; right: 19px; top: 19px; }
.auth-modal { text-align: center; }
.auth-mark { display: flex; justify-content: center; margin-bottom: 23px; }
.auth-mark .brand-mark { width: 48px; height: 48px; font-size: 26px; }
.modal h2 { font-size: 30px; margin: 10px 0 12px; letter-spacing: -.045em; }
.auth-modal > p, .success-modal > p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 auto 25px; max-width: 320px; }
.google-button { width: 100%; height: 51px; border: 1px solid #d4d4d8; background: #fff; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.google-button:hover { background: #f7f7f8; }
.google-g { font-size: 18px; font-weight: 700; color: #4285f4; }
.privacy-note { color: #a0a0a5; font-size: 9px; line-height: 1.7; margin-top: 18px; }
.detail-modal { width: min(980px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.detail-close { position: absolute; z-index: 3; right: 19px; top: 19px; }
.detail-layout { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 580px; }
.detail-image { background: #ededf0; padding: 20px; display: flex; align-items: center; position: relative; overflow: hidden; }
.detail-image img { width: 100%; mix-blend-mode: multiply; }
.detail-image::after { content: ""; position: absolute; width: 70%; height: 8%; left: 15%; bottom: 17%; background: rgba(0,0,0,.16); border-radius: 50%; filter: blur(20px); }
.detail-copy { padding: 62px 46px 40px; }
.detail-copy h2 { font-size: 39px; margin: 10px 0 6px; }
.detail-copy .detail-subtitle { color: var(--muted); font-size: 13px; }
.detail-copy .detail-price { font-size: 21px; margin: 28px 0; }
.detail-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 28px; }
.detail-spec-grid div { background: #f3f3f5; border-radius: 13px; padding: 14px 11px; }
.detail-spec-grid b { font-size: 14px; display: block; }
.detail-spec-grid span { display: block; color: var(--muted); margin-top: 5px; font-size: 9px; }
.stock-line { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.stock-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.success-modal { text-align: center; width: min(490px, calc(100vw - 32px)); }
.success-check { width: 49px; height: 49px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); font-size: 20px; }
.business-card { position: relative; overflow: hidden; text-align: left; color: #fff; padding: 22px; min-height: 235px; border-radius: 20px; margin: 24px 0 18px; background: radial-gradient(circle at 95% 3%, #45464b, transparent 38%), #141416; box-shadow: 0 18px 34px rgba(0,0,0,.18); }
.business-card::after { content: "A"; position: absolute; right: -10px; bottom: -70px; color: rgba(255,255,255,.05); font: italic 220px Georgia; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.brand.inverse .brand-mark { background: #fff; color: #111; width: 22px; height: 22px; font-size: 13px; }
.brand.inverse { font-size: 10px; }
.card-top > span { color: #6d6d73; font-size: 7px; letter-spacing: .2em; }
.advisor { display: flex; gap: 14px; margin-top: 36px; align-items: center; }
.advisor-avatar { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 50%; background: linear-gradient(135deg,#d2d2d4,#5e5f64); display: grid; place-items: center; font-size: 10px; }
.advisor small { color: #8b8b91; font-size: 8px; }
.advisor h3 { margin: 3px 0; font-size: 15px; }
.advisor p { margin: 0; font-size: 8px; color: #7b7b82; }
.advisor-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 19px; font-size: 9px; color: #bbb; }
.card-code { position: absolute; right: 21px; bottom: 22px; width: 48px; height: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.card-code i { background: #ddd; border-radius: 2px; }
.card-code i:nth-child(2),.card-code i:nth-child(4),.card-code i:nth-child(9) { opacity: .2; }

.admin-view { display: none; position: fixed; z-index: 60; inset: 0; background: #f4f4f6; }
.admin-view.open { display: grid; grid-template-columns: 220px 1fr; }
.admin-sidebar { background: #131315; color: #fff; padding: 25px 17px; display: flex; flex-direction: column; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 2px 9px 36px; }
.admin-brand .brand-mark { color: #111; background: #fff; }
.admin-brand div { display: flex; flex-direction: column; }
.admin-brand b { letter-spacing: .13em; font-size: 12px; }
.admin-brand small { color: #55555b; font-size: 7px; letter-spacing: .14em; margin-top: 4px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.admin-sidebar nav button, .admin-back { border: 0; color: #77777f; background: none; height: 43px; border-radius: 10px; display: flex; align-items: center; gap: 12px; padding: 0 13px; font-size: 11px; text-align: left; cursor: pointer; }
.admin-sidebar nav button span { font-size: 17px; width: 17px; text-align: center; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { background: #26262a; color: #fff; }
.admin-back { margin-top: auto; color: #9999a0; }
.admin-main { overflow: auto; min-width: 0; }
.admin-header { height: 105px; display: flex; align-items: center; justify-content: space-between; padding: 22px 37px 16px; border-bottom: 1px solid #dfdfe3; background: rgba(248,248,250,.8); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 4; }
.admin-header p { color: #9b9ba1; font-size: 8px; letter-spacing: .13em; margin: 0 0 6px; }
.admin-header h1 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.admin-profile { display: flex; align-items: center; gap: 10px; font-size: 10px; color: #777; }
.admin-profile b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #222; font-size: 9px; }
.admin-content { padding: 30px 36px 45px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.admin-toolbar h2 { font-size: 19px; margin: 0; }
.admin-toolbar p { margin: 5px 0 0; color: #8b8b91; font-size: 10px; }
.period-select { border: 1px solid #d8d8dc; background: #fff; height: 36px; border-radius: 9px; padding: 0 12px; font-size: 10px; color: #666; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.metric-card { background: #fff; border: 1px solid #e7e7ea; border-radius: 16px; padding: 19px; min-width: 0; }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #8a8a90; font-size: 9px; }
.metric-icon { width: 27px; height: 27px; border-radius: 8px; background: #f0f0f2; display: grid; place-items: center; color: #555; }
.metric-value { font-size: 27px; letter-spacing: -.05em; font-weight: 600; margin: 19px 0 7px; }
.metric-change { font-size: 9px; color: var(--green); }
.metric-change.neutral { color: #818187; }
.analytics-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.7fr); gap: 14px; margin-top: 14px; }
.panel { background: #fff; border: 1px solid #e7e7ea; border-radius: 17px; padding: 20px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-head h3 { margin: 0; font-size: 13px; }
.panel-head span { color: #939399; font-size: 9px; }
.traffic-chart { height: 210px; position: relative; display: flex; align-items: flex-end; gap: 7px; padding: 20px 4px 25px; border-bottom: 1px solid #e6e6e9; background: repeating-linear-gradient(to bottom, transparent 0, transparent 49px, #f0f0f2 50px); }
.chart-column { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; position: relative; }
.chart-bar { width: min(28px,70%); min-height: 4px; border-radius: 7px 7px 2px 2px; background: #1c1c1e; transition: height .7s ease; position: relative; }
.chart-bar:hover { background: var(--blue); }
.chart-column small { position: absolute; top: calc(100% + 8px); font-size: 7px; color: #9b9ba1; }
.source-list { display: flex; flex-direction: column; gap: 19px; }
.source-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.source-row div:first-child { display: flex; align-items: center; gap: 9px; font-size: 10px; }
.source-dot { width: 8px; height: 8px; border-radius: 50%; }
.source-row b { font-size: 10px; }
.source-track { grid-column: 1/-1; height: 4px; background: #eeeef0; border-radius: 9px; overflow: hidden; }
.source-track i { display: block; height: 100%; border-radius: inherit; }
.admin-table-panel { margin-top: 14px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { color: #98989e; font-size: 8px; letter-spacing: .08em; text-align: left; font-weight: 600; padding: 10px 12px; border-bottom: 1px solid #e5e5e8; }
.admin-table td { font-size: 10px; padding: 12px; border-bottom: 1px solid #ededf0; }
.table-product { display: flex; align-items: center; gap: 11px; }
.table-product img { width: 55px; height: 37px; border-radius: 8px; object-fit: cover; background: #eee; mix-blend-mode: multiply; }
.table-product b { display: block; font-size: 10px; }
.table-product span { color: #999; font-size: 8px; }
.stock-pill { padding: 5px 8px; background: #e7f6ef; color: #168254; border-radius: 99px; white-space: nowrap; }
.stock-pill.low { background: #fff0e8; color: #a65631; }
.table-actions { display: flex; gap: 4px; }
.table-action { border: 0; background: #f0f0f2; border-radius: 7px; padding: 6px 8px; color: #666; cursor: pointer; font-size: 9px; }
.table-action:hover { background: #dfdfe3; }
.admin-empty { padding: 80px; text-align: center; color: var(--muted); }

.product-form-modal { width: min(650px, calc(100vw - 32px)); }
.product-form-modal h2 { margin-bottom: 25px; }
.upload-field { height: 175px; border: 1px dashed #bdbdc3; border-radius: 15px; background: #f6f6f8; position: relative; overflow: hidden; margin-bottom: 20px; }
.upload-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
#uploadPreview { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background-position: center; background-size: cover; }
#uploadPreview.has-image::after { content: "點擊更換圖片"; position: absolute; inset: auto 0 0; padding: 10px; text-align: center; color: #fff; background: rgba(0,0,0,.55); font-size: 9px; }
#uploadPreview.has-image > * { display: none; }
#uploadPreview span { font-size: 24px; }
#uploadPreview b { font-size: 11px; }
#uploadPreview small { color: #999; font-size: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { color: #717176; font-size: 9px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.form-grid label.wide { grid-column: 1/-1; }
.form-grid input, .form-grid select { width: 100%; height: 42px; border: 1px solid #d7d7db; border-radius: 9px; padding: 0 11px; background: #fff; color: #222; font-size: 11px; outline: none; }
.form-grid input:focus, .form-grid select:focus { border-color: #555; box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 25px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%,30px); padding: 12px 18px; background: rgba(20,20,22,.92); color: #fff; border-radius: 99px; font-size: 11px; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-copy { width: 48vw; }
  .hero-visual { width: 80vw; right: -7vw; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card.featured { grid-column: span 2; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .experience-panel { grid-template-columns: 1fr; }
  .experience-image { min-height: 460px; background-position: center 55%; }
  .experience-copy { padding: 60px; }
}

@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 18px; }
  .desktop-nav, .admin-entry { display: none; }
  .hero { min-height: 840px; padding: 105px 24px 60px; align-items: flex-start; }
  .hero::before { top: 20%; font-size: 28vw; }
  .hero-copy { width: 100%; margin-top: 30px; }
  .hero h1 { font-size: 59px; }
  .hero-copy > p { font-size: 14px; max-width: 310px; }
  .hero-visual { width: 125vw; height: 56vh; right: -29vw; bottom: 65px; }
  .floating-spec { display: none; }
  .scroll-hint { left: 24px; bottom: 20px; }
  .statement { flex-direction: column; align-items: flex-start; justify-content: center; padding: 45px 25px; }
  .statement-metrics { width: 100%; justify-content: space-between; gap: 10px; }
  .statement-metrics strong { font-size: 17px; }
  .section { padding: 80px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-heading h2, .service-title h2 { font-size: 42px; }
  .filter-row { overflow-x: auto; padding-bottom: 4px; }
  .filter-chip { white-space: nowrap; }
  .inventory-note { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: auto; }
  .product-card, .product-card.featured { min-height: 465px; }
  .product-image, .product-card.featured .product-image { height: 275px; }
  .card-arrow { top: 255px; }
  .experience { padding: 20px 12px 70px; }
  .experience-panel { border-radius: 27px; }
  .experience-image { min-height: 370px; }
  .experience-copy { padding: 45px 27px; }
  .experience-copy h2 { font-size: 38px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .closing-cta { min-height: 470px; padding: 65px 25px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 50px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 30px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image { min-height: 260px; }
  .detail-copy { padding: 33px 25px; }
  .admin-view.open { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-header { padding: 20px; height: 90px; }
  .admin-content { padding: 20px 14px 35px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 14px; }
  .admin-table { min-width: 670px; }
  .admin-table-panel { overflow-x: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.wide { grid-column: auto; }
  .modal { padding: 34px 23px; }
  .detail-modal { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
