:root { --pink:#f12c6e; --text:#222; --muted:#666; --bg:#fff; --card:#f7f7f7; }
* { box-sizing: border-box; }
body { margin:0; font-family: "Microsoft JhengHei","微軟正黑體",Tahoma,sans-serif; color:var(--text); background:var(--bg); line-height:1.6; }
a { color:inherit; text-decoration:none; }
.wrap { max-width:1100px; margin:0 auto; padding:16px; }
.site-header { text-align:center; padding:24px 0 4px; }
.site-header img { max-width:240px; height:auto; }
.site-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 16px; margin:14px 0 8px; }
.site-nav a { color:var(--muted); font-weight:700; font-size:.95rem; padding:2px 0; border-bottom:2px solid transparent; }
.site-nav a:hover, .site-nav a.is-current { color:var(--pink); border-bottom-color:var(--pink); }
.home-intro { text-align:center; color:var(--muted); margin:4px 0 8px; font-size:1rem; }
.home-section { margin:28px 0 8px; }
.home-section .section-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 12px; }
.home-section h2, .cat-page-title { margin:0; font-size:1.2rem; font-weight:800; color:var(--text); }
.cat-page-title { text-align:center; color:var(--pink); margin:8px 0 16px; font-size:clamp(1.4rem, 4vw, 1.9rem); }
.home-section .more { color:var(--pink); font-weight:700; font-size:.9rem; white-space:nowrap; }
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:16px; }
.card { display:block; background:var(--card); border-radius:12px; overflow:hidden; transition:transform .15s ease; }
.card:hover { transform:translateY(-2px); }
.card .thumb { position:relative; width:100%; aspect-ratio:1/1; background:#eee; }
.card .thumb img { width:100%; height:100%; object-fit:contain; display:block; background:#fff; }
.card .meta { padding:12px 14px 14px; }
.card .card-title { font-weight:800; line-height:1.35; color:var(--pink); font-size:1.02rem; text-align:center; margin:0 0 8px; }
.card .price { text-align:center; font-weight:700; font-size:.95rem; color:var(--text); }
.card .price-hkd { display:block; font-weight:500; font-size:.8rem; color:var(--muted); margin-top:2px; }
.pager { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin:28px 0; }
.pager a, .pager span { padding:6px 10px; border-radius:8px; font-weight:700; }
.pager .current { color:var(--pink); }
.pager a { color:#505050; }
.product { max-width:820px; margin:0 auto; }
.gallery { margin:0 0 8px; }
.hero-wrap { width:100%; border-radius:12px; overflow:hidden; background:#f3f3f3; }
.hero-wrap img { width:100%; display:block; aspect-ratio:1/1; object-fit:contain; background:#fff; }
.thumbs { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin:12px 0 4px; }
.thumbs button { width:72px; height:72px; padding:0; border:2px solid #ddd; border-radius:8px; background:#fff; cursor:pointer; overflow:hidden; }
.thumbs button img { width:100%; height:100%; object-fit:contain; display:block; }
.thumbs button:hover, .thumbs button.is-active { border-color:var(--pink); }
.cover-title { margin:8px 0 14px; text-align:center; color:var(--pink); font-size:clamp(1.6rem, 4.5vw, 2.15rem); font-weight:800; line-height:1.35; }
.product-price { text-align:center; margin:0 0 18px; }
.product-price .cny { font-size:1.25rem; font-weight:800; }
.product-price .hkd { display:block; margin-top:4px; font-size:.9rem; color:var(--muted); }
.buy-btn { display:block; width:100%; max-width:360px; margin:0 auto 22px; padding:12px 20px; background:var(--pink); color:#fff; font-weight:800; font-size:1.05rem; text-align:center; border-radius:10px; }
.buy-btn:hover { filter:brightness(1.05); }
.product .body p { margin:0 0 1em; font-size:1.05rem; }
.related { margin-top:36px; }
.related h2 { font-size:1rem; background:#efefef; padding:10px 14px; border-radius:8px; }
.back { display:inline-block; margin:24px 0; color:#009; font-weight:700; }
.site-footer { text-align:center; color:var(--muted); font-size:.85rem; padding:32px 0 48px; }
@media (max-width:800px) {
  .grid { grid-template-columns:1fr; }
  .site-header img { max-width:180px; }
  .thumbs button { width:60px; height:60px; }
}
