/* Jiegan storefront. Original styling inspired by GPTibo; no third-party brand assets. */
:root { --jg-bg:#fafafa; --jg-card:#fff; --jg-ink:#1d1d1f; --jg-muted:#6e6e73; --jg-line:#e5e5e8; --jg-soft:#f0f0f2; --jg-blue:#0071e3; --jg-on-blue:#fff; }
:root[data-theme="dark"] { --jg-bg:#080808; --jg-card:#111; --jg-ink:#ededed; --jg-muted:#a0a0a5; --jg-line:#282828; --jg-soft:#242424; --jg-blue:#eaeaea; --jg-on-blue:#141414; }
body.uc-body { background:var(--jg-bg)!important; color:var(--jg-ink); --uc-ink:var(--jg-ink); --uc-ink-dis:var(--jg-muted); --glass-bg:var(--jg-card); --glass-bg-soft:var(--jg-card); --glass-bg-strong:var(--jg-card); --glass-border:var(--jg-line); --glass-border-soft:var(--jg-line); --glass-shadow:none; --glass-hi:none; }
body.uc-body::before { display:none; }
.uc-topbar { padding:0 24px; border-bottom:1px solid var(--jg-line); background:var(--jg-bg); }
.uc-topbar__inner { max-width:1180px; }
.shop-nav { height:76px; border:0; border-radius:0; box-shadow:none; padding:0; background:transparent; gap:22px; backdrop-filter:none; }
.shop-brand { font-size:19px; letter-spacing:0; }
.shop-nav__item { border-radius:0; font-size:13px; background:transparent; color:var(--jg-muted); }
.shop-nav__item.active,.shop-nav__item:hover { background:transparent; color:var(--jg-ink); box-shadow:none; }
.shop-nav__item.active { text-decoration:underline; text-underline-offset:12px; }
.shop-search__box { height:36px; border:1px solid var(--jg-line); background:var(--jg-card); box-shadow:none; }
.shop-search__box input { color:var(--jg-ink); font-size:12px; }
.shop-search__box input::placeholder { color:var(--jg-muted); }
.shop-btn { font-size:12px; min-height:36px; box-shadow:none; }
.shop-btn--primary { background:var(--jg-blue); color:var(--jg-on-blue); border-color:var(--jg-blue); }
.shop-btn--ghost { background:transparent; color:var(--jg-ink); border-color:var(--jg-line); }
.shop-icon-btn { color:var(--jg-muted); }
main.container { max-width:1120px; padding-top:40px!important; padding-bottom:32px!important; }
.jg-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:8px 0 46px; }
.jg-eyebrow { font-size:11px!important; letter-spacing:1.5px; margin:0 0 16px!important; }
.jg-intro h1 { color:var(--jg-ink); font-size:36px; letter-spacing:0; font-weight:650; margin:0; line-height:1.4; }
.jg-intro h1 span { color:var(--jg-muted); margin-left:12px; }
.jg-intro p { font-size:13px; color:var(--jg-muted); margin:12px 0 0; }
.jg-order-link { font-size:12px; color:var(--jg-ink); flex-shrink:0; }
.jg-order-link span { margin-left:12px; }
.jg-catalog { display:grid; grid-template-columns:150px minmax(0,1fr); gap:36px; }
.jg-sidebar-label { font-size:11px; color:var(--jg-muted); padding:8px 12px 20px; }
.jg-sidebar .chip-list { display:flex; flex-direction:column; gap:6px; }
.jg-sidebar .chip { width:100%; justify-content:flex-start; min-height:42px; border:0; border-radius:9px; padding:10px 12px; font-size:13px; background:transparent; color:var(--jg-muted); box-shadow:none; white-space:normal; }
.jg-sidebar .chip.is-primary { background:var(--jg-soft); color:var(--jg-ink); font-weight:600; }
.jg-sidebar .chip:hover { background:var(--jg-soft); color:var(--jg-ink); transform:none; }
.jg-sidebar .chip-icon { width:20px; height:20px; border-radius:5px; }
.jg-side-order { display:flex; justify-content:space-between; margin:28px 12px 0; padding-top:18px; border-top:1px solid var(--jg-line); color:var(--jg-muted); font-size:12px; }
.jg-products { min-width:0; }
.jg-mobile-search { display:none; }
.jg-toolbar { min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.jg-toolbar h2 { font-size:21px; color:var(--jg-ink); letter-spacing:-.6px; margin:0; font-weight:600; }
.jg-toolbar>span { font-size:11px; color:var(--jg-muted); }
.jg-home .item-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.jg-home .item-list>* { width:auto; max-width:100%; }
@media(min-width:1280px) { .jg-home .item-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; } }
.acg-card { border:1px solid var(--jg-line); background:var(--jg-card); border-radius:8px; box-shadow:0 8px 25px #00000003; }
.item-card-cell:hover .acg-card { border-color:var(--jg-muted); box-shadow:0 12px 30px #00000008; }
.jg-home .acg-thumb { aspect-ratio:2/1; border-bottom:1px solid var(--jg-line); background-color:var(--jg-soft); }
.acg-cover { align-self:flex-start; height:auto!important; flex:none!important; }
.item-cover { display:block; width:100%; height:auto!important; max-height:none; object-fit:contain; }
.acg-card>.acg-body { padding:12px 14px 10px; gap:7px; }
.goods-title { font-size:16px; letter-spacing:0; color:var(--jg-ink); line-height:1.35; }
.tags { gap:6px; }
.badge-soft { font-size:10px; font-weight:400; border-radius:5px; padding:4px 7px; }
.badge-soft-success { color:#25804d; background:#edf7f1; }
:root[data-theme="dark"] .badge-soft-success { color:#91c9a6; background:#16221b; }
.price,:root[data-theme="dark"] .price { color:var(--jg-ink); font-size:21px; font-weight:600; }
.price .unit { font-size:15px; margin-right:3px; }
.stat-bottom { border-top:1px solid var(--jg-line); padding-top:8px; font-size:11px; color:var(--jg-muted); }
.jg-notice { margin-top:30px; padding:24px 0; border-top:1px solid var(--jg-line); background:transparent; }
.jg-notice-title { display:flex; gap:8px; align-items:center; font-size:12px; color:var(--jg-ink); }
.jg-notice-title .material-icons-outlined { font-size:17px; color:var(--jg-muted); }
.jg-notice-content { margin-top:12px; color:var(--jg-muted); font-size:12px; line-height:1.9; overflow-wrap:anywhere; }
.jg-notice-content img { max-width:100%; height:auto; }
.jg-footer { display:flex; gap:16px; justify-content:space-between; border-top:1px solid var(--jg-line); margin-top:60px; padding:24px 0; font-size:11px; color:var(--jg-muted); }
.jg-footer>a { color:var(--jg-muted); }
.jg-customer-service { position:fixed; z-index:1050; right:max(20px,env(safe-area-inset-right)); bottom:max(24px,env(safe-area-inset-bottom)); display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:9px 18px; border:1px solid #0071e3; border-radius:999px; background:#fff; color:#1d1d1f!important; box-shadow:0 0 0 1px rgb(0 113 227 / 12%),0 4px 12px rgb(0 113 227 / 12%); font-size:14px; font-weight:700; line-height:1.25; text-decoration:none!important; white-space:nowrap; transition:filter .18s ease,box-shadow .18s ease; }
.jg-customer-service>span { display:flex; flex-direction:column; align-items:flex-start; }
.jg-customer-service>span b { font-weight:700; }
.jg-customer-service i { color:#0071e3; font-size:20px; }
.jg-customer-service:hover { filter:brightness(.96); box-shadow:0 0 0 1px rgb(0 113 227 / 16%),0 5px 14px rgb(0 113 227 / 16%); }
.jg-customer-service:focus-visible { outline:3px solid var(--jg-blue); outline-offset:3px; }
.panel { border:0; border-radius:0; background:transparent; box-shadow:none; backdrop-filter:none; }
.panel-header { border-color:var(--jg-line); }
.shop-lang__menu,.shop-user__menu,.shop-drawer { background:var(--jg-card); border-color:var(--jg-line); }
a:focus-visible,button:focus-visible,input:focus-visible { outline:2px solid var(--jg-blue); outline-offset:4px; }
@media(max-width:900px) { .jg-catalog { gap:20px; grid-template-columns:130px minmax(0,1fr); } .shop-nav { gap:12px; } .jg-toolbar>span { display:none; } .shop-brand__name { max-width:130px; } }
@media(max-width:640px) { .uc-topbar { padding:0 16px; } .shop-nav { height:64px; } main.container { padding:28px 20px!important; } .jg-intro { padding-bottom:28px; } .jg-intro h1 span { display:block; margin-left:0; } .jg-intro p { font-size:12px; } .jg-order-link { display:none; } .jg-catalog { display:block; } .jg-sidebar-label,.jg-side-order { display:none; } .jg-sidebar .chip-list { flex-direction:row; flex-wrap:nowrap; overflow-x:auto; padding-bottom:18px; } .jg-sidebar .chip { width:auto; flex-shrink:0; min-height:36px; white-space:nowrap; } .jg-toolbar { margin:8px 0 16px; } .jg-home .item-list { gap:12px; } .acg-card { border-radius:15px; } .acg-card>.acg-body { padding:12px; gap:10px; } .goods-title { font-size:15px; } .price,:root[data-theme="dark"] .price { font-size:21px; } .jg-home .acg-thumb { aspect-ratio:1.4; } .stat-bottom { flex-wrap:wrap; gap:4px; } .jg-footer { margin-top:36px; flex-wrap:wrap; } .jg-customer-service { right:max(14px,env(safe-area-inset-right)); bottom:max(20px,env(safe-area-inset-bottom)); padding:8px 15px; gap:7px; font-size:14px; } .jg-customer-service i { font-size:19px; } }
@media(prefers-reduced-motion:reduce) { .acg-card { transition:none; } .item-card-cell:hover .acg-card { transform:none; } }
@media(max-width:640px) {
  .shop-nav__list,.shop-search { display:none!important; }
  .shop-nav__right { margin-left:auto; }
  .jg-mobile-search { display:block; margin-bottom:20px; }
  .jg-mobile-search input { width:100%; height:40px; padding:0 14px; border:1px solid var(--jg-line); border-radius:12px; background:var(--jg-card); color:var(--jg-ink); font:inherit; font-size:13px; }
}

body.uc-body { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; letter-spacing:0; }
.uc-topbar { background:var(--jg-card); }
.shop-brand,.jg-intro h1,.jg-toolbar h2,.goods-title,.jg-eyebrow { letter-spacing:0; }
.jg-intro { padding-top:20px; padding-bottom:40px; }
.jg-eyebrow { color:var(--jg-blue)!important; font-weight:600; }
.shop-btn,.shop-icon-btn,.chip,.sku,.btn,.pay-list .pay,.optional-card,.buy-button,.jg-order-link,button { position:relative; isolation:isolate; overflow:visible; }
.shop-btn,.btn,.buy-button { border-radius:999px; transition:background .18s,box-shadow .18s; }
.shop-btn--primary { padding:10px 20px; }
.jg-order-link { border:1px solid var(--jg-line); border-radius:999px; padding:12px 20px; background:var(--jg-card); }
.jg-sidebar .chip { border-radius:8px; }
.jg-sidebar .chip.is-primary { background:#eaf3fd; color:#0066cc; }
.jg-glow::after { content:""; position:absolute; inset:-3px; border:2px solid transparent; border-radius:inherit; background:linear-gradient(110deg,#007aff,#40c8e0,#a66bff,#f27da6,#007aff) border-box; background-size:240% 100%; mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0); mask-composite:exclude; -webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; pointer-events:none; animation:jg-edge 1.4s ease both; }
@keyframes jg-edge { 0% { opacity:0; background-position:0% 50%; filter:drop-shadow(0 0 1px #007aff); } 20%,70% { opacity:1; filter:drop-shadow(0 0 5px #a66bff); } 100% { opacity:0; background-position:100% 50%; } }
.acg-thumb img { width:100%; height:100%; object-fit:contain; }
.jg-notice-content p { margin-bottom:8px; }
@media(max-width:640px) { .jg-intro h1 { font-size:28px; } .acg-card { border-radius:8px; } .jg-home .item-list { grid-template-columns:minmax(0,1fr); } .jg-home .acg-thumb { aspect-ratio:2/1; } .acg-card>.acg-body { padding:10px 12px 9px; gap:6px; } .goods-title { font-size:15px; } .price,:root[data-theme="dark"] .price { font-size:20px; } }
@media(prefers-reduced-motion:reduce) { .jg-glow::after { animation:none; opacity:1; } .shop-btn,.btn,.buy-button { transition:none; } }
