
:root{--ink:#172033;--muted:#6d7587;--brand:#4967f2;--purple:#7555df;--pink:#ef6f9b;--cyan:#37bdd9;--line:rgba(75,92,140,.14);--shadow:0 16px 42px rgba(51,65,110,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;color:var(--ink);background:radial-gradient(circle at 8% 7%,rgba(117,85,223,.17),transparent 25%),radial-gradient(circle at 92% 10%,rgba(55,189,217,.17),transparent 24%),radial-gradient(circle at 90% 85%,rgba(239,111,155,.14),transparent 26%),linear-gradient(145deg,#f4f7ff,#eefaff 50%,#fff5f8);min-height:100vh}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(73,103,242,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(73,103,242,.035) 1px,transparent 1px);background-size:34px 34px}
a{text-decoration:none;color:inherit}.wrap{max-width:1180px;margin:auto;padding:0 20px}
header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.76);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.75)}
.nav{height:70px;display:flex;align-items:center;gap:15px}.logo{font-weight:900;font-size:23px}.logo span{background:linear-gradient(90deg,var(--brand),var(--purple),var(--pink));background-clip:text;-webkit-background-clip:text;color:transparent}.nav-right{margin-left:auto;display:flex;gap:9px}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:11px 17px;font-weight:800;cursor:pointer}.primary{color:white;background:linear-gradient(135deg,var(--brand),var(--purple));box-shadow:0 9px 22px rgba(73,103,242,.23)}.soft{background:rgba(255,255,255,.84);border:1px solid var(--line)}
.hero{padding:34px 0 24px}.heroBox{position:relative;overflow:hidden;border-radius:30px;padding:42px;background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.24),transparent 22%),linear-gradient(135deg,#3e5df1,#7252df 52%,#eb6998);color:white;box-shadow:0 25px 65px rgba(72,75,155,.24)}.heroBox h1{font-size:clamp(32px,5vw,54px);line-height:1.1;margin:0 0 12px}.heroBox p{font-size:17px;line-height:1.8;color:rgba(255,255,255,.9);max-width:760px;margin:0}
.crumbs{
  font-size:18px;
  line-height:1.8;
  color:var(--muted);
  padding-top:20px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:3px 5px;
}
.crumbs a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:6px 10px;
  border-radius:10px;
  color:#5267c9;
  font-weight:900;
  background:rgba(255,255,255,.56);
  border:1px solid rgba(82,103,201,.10);
}
.crumbs a:hover{
  background:#fff;
  color:#3f53bd;
}
@media(max-width:700px){
  .crumbs{
    font-size:17px;
    padding-top:12px;
    gap:2px 3px;
  }
  .crumbs a{
    min-height:44px;
    padding:7px 9px;
  }
}
.section{padding:18px 0 55px}.section h2{font-size:28px;margin:10px 0 8px}.lead{color:var(--muted);margin:0 0 22px;line-height:1.7}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:rgba(255,255,255,.84);border:1px solid rgba(255,255,255,.85);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(51,65,110,.17)}
.catVisual{aspect-ratio:16/8;display:flex;align-items:flex-end;padding:22px;background:linear-gradient(135deg,rgba(73,103,242,.12),rgba(55,189,217,.12),rgba(239,111,155,.13));position:relative}.catVisual:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-25px;top:-35px;background:linear-gradient(135deg,rgba(73,103,242,.18),rgba(239,111,155,.18))}.catVisual strong{font-size:25px;position:relative;z-index:1}.cardBody{padding:18px}.cardBody h3{font-size:19px;margin:0 0 7px}.cardBody p{color:var(--muted);margin:0 0 15px;line-height:1.6}.arrow{font-weight:900;color:#5066d0}
.productGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.product{background:rgba(255,255,255,.88);border-radius:21px;overflow:hidden;border:1px solid rgba(255,255,255,.9);box-shadow:var(--shadow);transition:.2s}.product:hover{transform:translateY(-4px)}
.thumb{aspect-ratio:1/1;position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#edf3ff,#fff2f7);overflow:hidden}.thumb:after{content:"1:1 商品介紹圖";position:absolute;color:#8790a6;font-weight:900}.thumb img{width:100%;height:100%;object-fit:contain;background:#fff;position:relative;z-index:2}.pbody{padding:15px}.meta{font-size:12px;color:#6374d7;font-weight:900}.pbody h3{font-size:16px;line-height:1.45;margin:7px 0 13px;min-height:46px}
.productPage{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:28px;align-items:start}.bigImage{aspect-ratio:1/1;background:linear-gradient(145deg,#edf3ff,#fff2f7);border-radius:26px;overflow:hidden;box-shadow:var(--shadow);position:relative;display:grid;place-items:center}.bigImage:after{content:"1:1 商品介紹圖";color:#8790a6;font-weight:900}.bigImage img{width:100%;height:100%;object-fit:contain;background:white;position:relative;z-index:2}.info{background:rgba(255,255,255,.86);border-radius:26px;padding:28px;box-shadow:var(--shadow)}.info h1{font-size:32px;margin:6px 0 14px}.infoBox{background:linear-gradient(145deg,#f6f8ff,#fff7fa);padding:16px;border-radius:15px;color:var(--muted);line-height:1.8;margin:18px 0}
.search{width:100%;border:1px solid var(--line);background:rgba(255,255,255,.92);border-radius:16px;padding:15px 17px;font-size:16px;outline:none;box-shadow:0 10px 28px rgba(40,55,100,.08);margin:18px 0 24px}
footer{padding:32px 20px;text-align:center;color:var(--muted);border-top:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.45)}
@media(max-width:900px){.grid,.productGrid{grid-template-columns:repeat(2,1fr)}.productPage{grid-template-columns:1fr}.heroBox{padding:32px}}
@media(max-width:520px){.wrap{padding:0 13px}.nav{height:62px}.nav-right .soft{display:none}.hero{padding-top:18px}.heroBox{padding:27px 21px;border-radius:23px}.heroBox h1{font-size:35px}.grid{grid-template-columns:1fr}.productGrid{grid-template-columns:repeat(2,1fr);gap:10px}.pbody{padding:12px}.pbody h3{font-size:14px}.section h2{font-size:25px}}


/* ===== 圖片式分類入口 ===== */
.imageLinkCard{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(145deg,#eaf1ff,#fff0f6);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:var(--shadow);
  transition:.22s ease;
}
.imageLinkCard:hover{transform:translateY(-4px);box-shadow:0 22px 50px rgba(51,65,110,.17)}
.imageLinkCard img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  position:relative;
  z-index:1;
}
.imageLinkCard .imageFallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px;
  color:#7b849b;
  font-weight:900;
  line-height:1.7;
  z-index:0;
}
.imageLinkCard .imageFallback small{
  display:block;
  font-weight:500;
  margin-top:7px;
  color:#98a0b2;
}
.imageLinkCard .imageOverlay{
  position:absolute;
  left:0;right:0;bottom:0;
  z-index:3;
  padding:42px 18px 17px;
  color:#fff;
  background:linear-gradient(to top,rgba(15,23,42,.82),rgba(15,23,42,.36),transparent);
}
.imageLinkCard .imageOverlay strong{
  display:block;
  font-size:21px;
  line-height:1.35;
  text-shadow:0 2px 8px rgba(0,0,0,.3);
}
.imageLinkCard .imageOverlay span{
  display:block;
  margin-top:5px;
  font-size:13px;
  color:rgba(255,255,255,.86);
}
.imageLinkGrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
@media(max-width:900px){.imageLinkGrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.imageLinkGrid{grid-template-columns:repeat(2,1fr);gap:11px}.imageLinkCard .imageOverlay strong{font-size:17px}}


/* ===== 首頁最上方主視覺圖片 ===== */
.homeHeroImage{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:5/1;
  min-height:190px;
  border-radius:30px;
  overflow:hidden;
  background:linear-gradient(135deg,#3e5df1,#7252df 52%,#eb6998);
  box-shadow:0 25px 65px rgba(72,75,155,.24);
}
.homeHeroImage img{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.heroImageFallback{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  text-align:center;
  padding:25px;
  color:#fff;
  font-size:28px;
  font-weight:900;
}
.heroImageFallback small{
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,.82);
}
@media(max-width:700px){
  .homeHeroImage{
    aspect-ratio:16/7;
    min-height:0;
    border-radius:23px;
  }
  .heroImageFallback{font-size:21px}
}


/* ===== 炫彩主官網小連結 ===== */
.mainSiteLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:7px 11px;
  border-radius:999px;
  color:#59627a;
  font-size:13px;
  font-weight:800;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(75,92,140,.12);
  transition:.2s ease;
}
.mainSiteLink:hover{
  background:#fff;
  color:#4e63d2;
}
@media(max-width:520px){
  .mainSiteLink{
    font-size:12px;
    padding:6px 9px;
  }
}


/* ===== 首頁推薦商品 ===== */
.homeRecommendations{
  padding:10px 0 66px;
}
.recommendHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.recommendEyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:1.5px;
  font-weight:900;
  color:#6374d7;
  margin-bottom:7px;
}
.recommendHead h2{
  margin:0 0 7px;
  font-size:30px;
}
.recommendHead p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.recommendGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.recommendCard{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.9);
  border-radius:23px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.22s ease;
}
.recommendCard:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 52px rgba(51,65,110,.18);
}
.recommendThumb{
  position:relative;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,#edf3ff,#fff2f7);
}
.recommendThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
  position:relative;
  z-index:2;
}
.recommendFallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  align-content:center;
  gap:6px;
  text-align:center;
  color:#7d879d;
  font-weight:900;
  z-index:1;
}
.recommendFallback small{
  display:block;
  font-size:11px;
  font-weight:500;
  color:#9aa2b3;
}
.recommendBadge{
  position:absolute;
  left:13px;
  top:13px;
  z-index:4;
  padding:7px 10px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#4967f2,#7555df);
  font-size:12px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(73,103,242,.24);
}
.recommendBody{
  padding:18px;
}
.recommendMeta{
  color:#6374d7;
  font-size:12px;
  font-weight:900;
  margin-bottom:7px;
}
.recommendBody h3{
  margin:0 0 8px;
  font-size:19px;
  line-height:1.45;
}
.recommendBody p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.65;
  font-size:14px;
  min-height:46px;
}
.recommendMore{
  color:#5066d0;
  font-size:14px;
  font-weight:900;
}
@media(max-width:900px){
  .recommendGrid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .homeRecommendations{padding-bottom:45px}
  .recommendGrid{grid-template-columns:1fr 1fr;gap:11px}
  .recommendBody{padding:13px}
  .recommendBody h3{font-size:15px}
  .recommendBody p{display:none}
  .recommendMore{font-size:12px}
}


/* ===== Facebook 粉絲頁小連結 ===== */
.facebookLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:7px 11px;
  border-radius:999px;
  color:#405a9b;
  font-size:13px;
  font-weight:800;
  background:rgba(255,255,255,.68);
  border:1px solid rgba(64,90,155,.14);
  transition:.2s ease;
}
.facebookLink:hover{
  background:#fff;
  color:#294f9f;
}
@media(max-width:520px){
  .facebookLink{
    font-size:12px;
    padding:6px 9px;
  }
}


/* ===== LINE 聯絡資訊 ===== */
.lineContactPanel{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);
  gap:28px;
  align-items:center;
  margin:28px 0 48px;
  padding:30px;
  border-radius:28px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow);
}
.lineContactTag{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eefaf2;
  color:#24874b;
  font-size:12px;
  font-weight:900;
}
.lineContactInfo h2{
  margin:12px 0 10px;
  font-size:28px;
}
.lineContactInfo p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.8;
}
.lineJoinButton{
  background:#24b75a;
  color:#fff;
}
.lineQrBox{
  text-align:center;
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(50,70,110,.10);
}
.lineQrBox img{
  display:block;
  width:min(100%,300px);
  aspect-ratio:1/1;
  object-fit:contain;
  margin:0 auto 12px;
}
.lineQrBox strong{
  display:block;
  font-size:16px;
}
.lineQrBox span{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:13px;
}
@media(max-width:700px){
  .lineContactPanel{
    grid-template-columns:1fr;
    padding:20px;
  }
  .lineContactInfo{text-align:center}
}


/* ===== 聯絡資訊頁 Facebook ===== */
.contactFacebookBlock{
  margin:28px 0 20px;
  padding:26px 28px;
  border-radius:24px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow);
}
.contactSocialLabel{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eef2ff;
  color:#4267a9;
  font-size:12px;
  font-weight:900;
}
.contactFacebookBlock h2{
  margin:11px 0 8px;
  font-size:25px;
}
.contactFacebookBlock p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.75;
}
.contactFbButton{
  background:#4267a9;
  color:#fff;
}


/* ===== 聯絡資訊簡潔版 ===== */
.contactInfoSimple{
  margin:26px 0 20px;
  padding:28px;
  border-radius:26px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow);
}
.contactInfoSimple h1{
  margin:0 0 22px;
  font-size:30px;
}
.contactInfoRows{
  display:grid;
  gap:12px;
}
.contactInfoRow{
  display:flex;
  align-items:center;
  gap:15px;
  padding:15px 16px;
  border-radius:17px;
  background:rgba(247,249,255,.9);
}
.contactIcon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:21px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,#526af0,#7b55dc);
}
.contactInfoRow div{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 12px;
}
.contactInfoRow strong{
  font-size:16px;
}
.contactInfoRow a{
  color:#4057b9;
  font-size:17px;
  font-weight:800;
  word-break:break-all;
}
@media(max-width:600px){
  .contactInfoSimple{padding:18px}
  .contactInfoSimple h1{font-size:26px}
  .contactInfoRow{padding:12px}
  .contactInfoRow a{font-size:16px}
}

/* 其它資訊頁 v13 */
.infoPageCard{margin:24px 0 50px;padding:30px;border-radius:26px;background:rgba(255,255,255,.9);box-shadow:var(--shadow)}
.infoPageCard h1{margin:0 0 12px;font-size:32px}.infoPageCard>p{color:var(--muted);line-height:1.8}.infoEditableBox{margin-top:24px;padding:24px;border-radius:20px;background:rgba(247,249,255,.92);line-height:1.8}
