
:root{
  --bg:#070b12;
  --bg2:#0d1420;
  --panel:#0d1522;
  --panel2:#111d2e;
  --line:rgba(255,255,255,.08);
  --text:#f3f5f8;
  --muted:#a8b0bc;
  --accent:#ffac1c;
  --accent2:#ffbf4d;
  --shadow:0 18px 48px rgba(0,0,0,.35);
  --radius:28px;
  --container:min(1360px, calc(100% - 40px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"PingFang TC","Microsoft JhengHei","Noto Sans TC",system-ui,-apple-system,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,150,0,.10), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255,170,0,.10), transparent 18%),
    linear-gradient(180deg, #070b12 0%, #06080e 100%);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:var(--container);margin:0 auto}
.topbar{border-bottom:1px solid rgba(255,255,255,.06);background:rgba(7,11,18,.8);backdrop-filter:blur(12px);position:sticky;top:0;z-index:80}
.nav{display:flex;align-items:center;justify-content:space-between;height:84px;gap:20px}
.brand{display:flex;align-items:center;gap:14px}
.brand-mark{width:52px;height:52px;border-radius:16px;border:1px solid rgba(255,172,28,.35);display:grid;place-items:center;background:linear-gradient(135deg,#171e2c,#0c1118);color:var(--accent);font-weight:900;letter-spacing:.04em}
.brand-name{font-size:1.18rem;font-weight:800}
.brand-sub{font-size:.84rem;color:var(--muted)}
.nav-links{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.nav-links a{color:#d8dde5;font-weight:600}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-actions{display:flex;gap:12px;align-items:center}
.icon-btn{width:48px;height:48px;border-radius:16px;border:1px solid var(--line);background:#0d1522;display:grid;place-items:center;position:relative}
.cart-count{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--accent);color:#111;font-size:.75rem;font-weight:800;display:grid;place-items:center}
.hero{padding:34px 0 28px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch}
.hero-main{
  position:relative;overflow:hidden;border-radius:36px;min-height:620px;
  background:
    linear-gradient(120deg, rgba(0,0,0,.55), rgba(0,0,0,.18)),
    url('https://unsplash.com/photos/QvEXI1xquRY/download?force=true&w=1600') center/cover no-repeat;
  box-shadow:var(--shadow);
}
.hero-overlay{position:absolute;inset:0;padding:48px;display:flex;flex-direction:column;justify-content:space-between}
.kicker{font-size:.92rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.hero-title{font-size:clamp(3.2rem,6vw,5.9rem);line-height:.92;letter-spacing:-.05em;max-width:760px;margin:14px 0 18px}
.hero-desc{font-size:1.08rem;line-height:1.8;max-width:700px;color:#dbe1ea}
.hero-pills{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.pill{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(8,12,19,.42);font-weight:700}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 24px;border-radius:999px;border:1px solid var(--line);background:#0f1724;color:#fff;font-weight:800;cursor:pointer}
.btn-accent{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#16120a;border:none}
.hero-side{display:grid;grid-template-rows:auto auto 1fr;gap:18px}
.side-card,.stat-card,.panel{background:linear-gradient(180deg,#0d1522,#0a1018);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
.side-card{padding:22px}
.side-card h3{margin:0 0 8px;font-size:1.05rem}
.side-card p{margin:0;color:var(--muted);line-height:1.7}
.contact-line{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid var(--line)}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stats{padding:14px 0 8px}
.stat-card{padding:22px;text-align:center}
.stat-card strong{font-size:2.4rem;display:block}
.stat-card span{color:var(--muted)}
.section{padding:72px 0}
.section-title{font-size:clamp(2.3rem,4vw,4rem);line-height:1;margin:0 0 14px;letter-spacing:-.04em}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:26px}
.section-sub{color:var(--muted);line-height:1.8;max-width:800px}
.category-grid{display:grid;grid-template-columns:1.1fr .9fr .9fr;gap:18px}
.cat-card{position:relative;overflow:hidden;border-radius:32px;min-height:260px;border:1px solid var(--line);box-shadow:var(--shadow)}
.cat-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.62))}
.cat-card img{width:100%;height:100%;object-fit:cover}
.cat-body{position:absolute;inset:0;padding:28px;display:flex;flex-direction:column;justify-content:flex-end}
.cat-body h3{margin:0 0 8px;font-size:2rem}
.cat-body p{margin:0;color:rgba(255,255,255,.84);line-height:1.7;max-width:420px}
.showcase{display:grid;grid-template-columns:420px 1fr;gap:22px;align-items:start}
.feature-block{padding:28px}
.feature-product{display:grid;grid-template-columns:1fr;gap:14px}
.feature-product img{width:100%;aspect-ratio:1.1/1;object-fit:cover;border-radius:22px}
.feature-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.list-card{padding:20px;border-radius:26px;border:1px solid var(--line);background:linear-gradient(180deg,#0d1522,#0a1018)}
.list-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;margin-bottom:14px}
.list-card .meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.95rem}
.list-card h4{margin:10px 0 10px;font-size:1.22rem}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{display:flex;flex-direction:column;border:1px solid var(--line);background:linear-gradient(180deg,#0d1522,#09101a);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.product-card img{width:100%;aspect-ratio:1.05/1;object-fit:cover}
.product-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.badge{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;background:rgba(255,172,28,.12);border:1px solid rgba(255,172,28,.22);color:var(--accent);font-size:.82rem;font-weight:800}
.category{font-size:.84rem;color:var(--accent);font-weight:800;letter-spacing:.04em}
.name{font-size:1.22rem;font-weight:800;line-height:1.35}
.spec{color:#d9dde4;font-size:1rem}
.desc{color:var(--muted);line-height:1.75;font-size:.96rem}
.price-row{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.price{font-size:1.7rem;font-weight:900}
.old{color:#76808f;text-decoration:line-through}
.card-actions{display:flex;gap:10px;margin-top:auto}
.card-actions .btn{flex:1}
.shop-layout{display:grid;grid-template-columns:320px 1fr;gap:22px}
.filter{position:sticky;top:108px;padding:22px}
.filter h3{margin:0 0 18px;font-size:1.4rem}
.input,.select,.textarea{width:100%;background:#0a111a;border:1px solid var(--line);color:#fff;min-height:56px;border-radius:18px;padding:14px 16px}
.detail-layout{display:grid;grid-template-columns:1fr 430px;gap:24px}
.gallery{display:grid;grid-template-columns:1fr 120px;gap:16px}
.main-image{border-radius:30px;overflow:hidden;border:1px solid var(--line);background:#0b1017}
.main-image img{width:100%;aspect-ratio:1.05/1;object-fit:cover}
.thumbs{display:grid;gap:12px}
.thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;border:1px solid var(--line)}
.spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}
.spec-box{padding:14px;border-radius:18px;background:#0a111a;border:1px solid var(--line)}
.table{width:100%;border-collapse:collapse;margin-top:18px}
.table td{padding:14px 0;border-bottom:1px solid var(--line)}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}
.cart-item{display:grid;grid-template-columns:120px 1fr auto;gap:16px;padding:16px;border-bottom:1px solid var(--line)}
.cart-item img{width:120px;height:120px;object-fit:cover;border-radius:18px}
.summary{padding:24px;position:sticky;top:108px}
.summary-row{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.notice{padding:18px 20px;border-radius:18px;background:#111925;border:1px solid var(--line);color:#dce2ea}
.footer{margin-top:72px;border-top:1px solid rgba(255,255,255,.06);background:#070b12}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:20px;padding:40px 0}
.footer p,.footer a,.footer li{color:var(--muted);line-height:1.85}
.socials{display:flex;gap:10px}
.social{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);display:grid;place-items:center}
.empty{padding:44px;border:1px dashed var(--line);border-radius:24px;text-align:center;color:var(--muted)}
@media (max-width:1100px){
  .hero-grid,.showcase,.shop-layout,.detail-layout,.cart-layout,.checkout-layout,.footer-grid,.category-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .feature-list,.grid4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:720px){
  .nav{height:auto;padding:16px 0;flex-wrap:wrap}
  .nav-links{width:100%;overflow:auto;flex-wrap:nowrap}
  .hero-title{font-size:2.7rem}
  .product-grid,.feature-list,.grid4{grid-template-columns:1fr}
  .cart-item{grid-template-columns:1fr}
  .cart-item img{width:100%;height:auto;aspect-ratio:4/3}
}
