/* 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:-.6px; }
.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:clamp(27px,3vw,38px); letter-spacing:-1.5px; 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:20px; }
.jg-home .item-list>* { width:auto; max-width:100%; }
.acg-card { border:1px solid var(--jg-line); background:var(--jg-card); border-radius:22px; 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-card>.acg-body { padding:20px; gap:14px; }
.goods-title { font-size:20px; letter-spacing:-.5px; color:var(--jg-ink); line-height:1.4; }
.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:25px; font-weight:600; }
.price .unit { font-size:15px; margin-right:3px; }
.stat-bottom { border-top:1px solid var(--jg-line); padding-top:12px; font-size:11px; color:var(--jg-muted); }
.jg-notice { margin-top:30px; padding:20px; border:1px solid var(--jg-line); border-radius:16px; background:var(--jg-card); }
.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); }
.panel { border:1px solid var(--jg-line); border-radius:20px; background:var(--jg-card); 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; } }
@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; }
}
