/* Storefront polish. Keep the original purchase controls and hooks. */
:root[data-theme] {
 --md-primary:#2563eb; --md-primary-rgb:37,99,235; --md-on-primary:#fff;
 --uc-primary-deep:#1d4ed8; --uc-ink:#17243c; --uc-ink-med:#56657c; --uc-ink-dis:#64748b;
 --uc-focus:#2563eb; --uc-focus-rgb:37,99,235; --uc-field-bg:#f8faff;
 --glass-bg:#fff; --glass-bg-strong:#fff; --glass-bg-soft:#fff;
 --glass-border:#e0e7f1; --glass-border-soft:#e6ecf4;
 --glass-shadow:0 4px 20px rgba(23,43,77,.035); --glass-shadow-lg:0 12px 30px rgba(23,43,77,.09);
 --glass-hi:none; --glass-filter:none; --glass-filter-strong:none;
 --shop-bg:#f5f7fb; --shop-tint:#edf4ff;
}
:root[data-theme=dark] {
 --md-primary:#75a7ff; --md-primary-rgb:117,167,255; --md-on-primary:#0b1830;
 --uc-primary-deep:#a4c7ff; --uc-ink:#e8eef9; --uc-ink-med:#b0bfd5; --uc-ink-dis:#93a4bd;
 --uc-focus:#75a7ff; --uc-focus-rgb:117,167,255; --uc-field-bg:#182337;
 --glass-bg:#121e30; --glass-bg-strong:#18263c; --glass-bg-soft:#152237;
 --glass-border:#2b3b52; --glass-border-soft:#26364d;
 --glass-shadow:0 4px 20px rgba(0,0,0,.1); --glass-shadow-lg:0 12px 30px rgba(0,0,0,.18);
 --shop-bg:#0c1524; --shop-tint:#142b4d;
}
body.uc-body.shop-polish {background:var(--shop-bg)!important; font-size:14px; line-height:1.6;}
body.uc-body.shop-polish::before {display:none;}
.shop-polish .uc-topbar {padding:0 24px; background:var(--glass-bg); border-bottom:1px solid var(--glass-border);}
.shop-polish .uc-topbar__inner,.shop-polish .container {max-width:1180px;}
.shop-polish .shop-nav {height:76px; padding:0; border:0; border-radius:0; box-shadow:none; gap:18px;}
.shop-polish .shop-brand {font-size:19px; gap:11px;}
.shop-polish .shop-brand img {width:36px; height:36px; border-radius:10px;}
.shop-polish .shop-nav__item {border-radius:9px; height:40px; padding:0 13px;}
.shop-polish .shop-nav__item.active {color:var(--uc-primary-deep); background:var(--shop-tint); box-shadow:none;}
.shop-polish .shop-search__box {max-width:310px; border-radius:10px; height:42px; border-color:var(--glass-border);}
.shop-polish .shop-btn {border-radius:10px; height:40px; box-shadow:none;}
.shop-polish .shop-icon-btn {border-radius:9px;}
.shop-polish main.container {padding-top:30px!important; padding-bottom:60px!important;}
.shop-intro {display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 24px; padding:18px 2px 12px;}
.shop-eyebrow {display:block; color:var(--uc-primary-deep); font-size:12px; font-weight:700; letter-spacing:1.2px; margin-bottom:9px;}
.shop-intro h1 {font-size:32px; line-height:1.3; font-weight:750; letter-spacing:-.7px; margin:0 0 12px; color:var(--uc-ink);}
.shop-intro p {font-size:14px; color:var(--uc-ink-med); margin:0; line-height:1.7;}
.shop-intro-link {display:inline-flex; align-items:center; gap:18px; flex-shrink:0; padding:11px 16px; border:1px solid var(--glass-border); border-radius:10px; background:var(--glass-bg); color:var(--uc-ink); font-weight:600;}
.shop-intro-link:hover {color:var(--uc-primary-deep); border-color:var(--uc-focus);}
.shop-polish .panel {border:1px solid var(--glass-border); border-radius:16px; box-shadow:var(--glass-shadow);}
.shop-polish .panel-header {padding:21px 24px 15px; border-bottom:1px solid var(--glass-border-soft);}
.shop-polish .panel-title {font-size:17px;}
.shop-polish .panel-header .icon {background:var(--shop-tint); border-radius:9px;}
.shop-polish .panel-body {padding:22px 24px 24px; line-height:1.8; color:var(--uc-ink-med);}
.shop-polish .shop-notice {margin-bottom:22px; background:var(--glass-bg);}
.shop-notice summary {list-style:none; display:flex; align-items:center; gap:12px; padding:17px 22px; cursor:pointer;}
.shop-notice summary::-webkit-details-marker {display:none;}
.shop-notice summary strong {font-size:14px; color:var(--uc-ink); margin-right:14px;}
.shop-notice summary small {font-size:13px; color:var(--uc-ink-med);}
.shop-notice-mark {display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:var(--uc-primary-deep); background:var(--shop-tint); flex-shrink:0;}
.shop-notice-toggle {display:flex; align-items:center; gap:12px; margin-left:auto; color:var(--uc-primary-deep); white-space:nowrap; font-size:12px; font-weight:600;}
.shop-notice-toggle>span {display:block; font-size:20px; transition:transform .2s;}
.shop-notice[open] .shop-notice-toggle>span {transform:rotate(180deg);}
.shop-notice[open] summary {border-bottom:1px solid var(--glass-border-soft);}
.shop-notice .panel-body {max-height:430px; overflow:auto; overflow-wrap:anywhere;}
.shop-polish .chip-list {gap:8px; margin-bottom:9px;}
.shop-polish .chip {padding:9px 15px; min-height:42px; border-radius:10px; border:1px solid var(--glass-border); font-size:13px; box-shadow:none;}
.shop-polish .chip.is-primary {background:var(--shop-tint); border-color:rgba(var(--md-primary-rgb),.25); color:var(--uc-primary-deep); box-shadow:none;}
.shop-polish .item-list {grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px;}
.shop-polish .shop-catalog .panel-body {min-height:340px;}
.shop-polish .acg-card {border:1px solid var(--glass-border); border-radius:14px; background:var(--glass-bg); box-shadow:none;}
.shop-polish .item-card-cell:hover .acg-card {border-color:rgba(var(--md-primary-rgb),.45); transform:translateY(-3px); box-shadow:var(--glass-shadow-lg);}
.shop-polish .acg-thumb {aspect-ratio:16/11; background-size:contain!important; background-color:#fff; border-bottom:1px solid var(--glass-border-soft);}
.shop-polish .acg-card>.acg-body {padding:17px 16px 16px; gap:10px;}
.shop-polish .goods-title {font-size:15px; line-height:1.6; font-weight:650; min-height:24px;}
.shop-polish .tags {gap:5px;}
.shop-polish .badge-soft {font-size:11px; border-radius:6px; padding:4px 7px; line-height:1.4;}
.shop-polish .badge-soft-success {background:rgba(20,153,114,.1); color:#127b5b;}
:root[data-theme=dark] .shop-polish .badge-soft-success {color:#70d9b4;}
.shop-polish .price {font-size:24px; letter-spacing:-.5px; color:var(--uc-primary-deep); font-variant-numeric:tabular-nums;}
.shop-polish .price .unit {font-size:14px; margin-right:3px;}
.shop-polish .stat-bottom {border-top:1px solid var(--glass-border-soft); padding-top:12px; font-size:12px; color:var(--uc-ink-med); gap:8px; flex-wrap:wrap;}
.goods-cta {display:inline-flex; align-items:center; gap:8px; color:var(--uc-primary-deep); font-weight:600;}
.shop-polish .acg-cover {background:#fff; max-height:460px;}
.shop-polish .item-cover {object-fit:contain; max-height:460px; padding:32px;}
.shop-polish .item-buy {padding:9px 6px;}
.shop-polish .item-buy>h4 {font-size:25px; line-height:1.45; margin-bottom:17px; letter-spacing:0;}
.shop-polish .item-buy>.d-flex {flex-wrap:wrap;}
.shop-polish .item-buy .abacus .price {font-size:34px; padding:10px 0;}
.shop-polish .form-control {border:1px solid var(--glass-border); border-radius:9px; min-height:44px; background:var(--uc-field-bg); color:var(--uc-ink); box-shadow:none;}
.shop-polish .form-control:focus {border-color:var(--uc-focus); box-shadow:0 0 0 3px rgba(var(--uc-focus-rgb),.12);}
.shop-polish .sku {border-radius:9px; padding:9px 12px;}
.shop-polish .sku.is-primary {color:var(--uc-primary-deep); background:var(--shop-tint); border-color:rgba(var(--md-primary-rgb),.35); box-shadow:none;}
.shop-polish .qty-group button {min-width:44px; min-height:44px; background:var(--shop-tint); color:var(--uc-primary-deep); border-color:var(--glass-border);}
.shop-polish .cash-pay {padding:16px; background:var(--shop-tint); border:1px solid rgba(var(--md-primary-rgb),.15); border-radius:12px;}
.shop-polish .pay-list {gap:10px;}
.shop-polish .pay-list .pay {min-height:48px; padding:10px 14px; border-radius:9px; box-shadow:none; background:var(--glass-bg); border-color:var(--glass-border);}
.shop-polish .pay-list .pay:hover,.shop-polish .pay-list .pay.selected {border-color:var(--uc-focus); box-shadow:0 0 0 2px rgba(var(--uc-focus-rgb),.12);}
.shop-polish .item-detail .panel-body {overflow-wrap:anywhere;}
.shop-empty {grid-column:1/-1; padding:65px 16px; text-align:center; color:var(--uc-ink-med);}
.shop-empty>.material-icons-outlined {display:block; font-size:38px; margin-bottom:15px; color:var(--uc-ink-dis);}
.shop-empty strong {display:block; font-size:16px; color:var(--uc-ink);}
.shop-empty p {margin:9px 0 0; font-size:13px;}
.shop-polish a:focus-visible,.shop-polish button:focus-visible,.shop-polish summary:focus-visible {outline:2px solid var(--uc-focus); outline-offset:4px;}
@media(min-width:992px) {.shop-polish .item-buy {max-width:500px; margin:auto; width:100%;}}
@media(max-width:991px) {.shop-polish .item-list {grid-template-columns:repeat(3,minmax(0,1fr));} .shop-polish .shop-nav {gap:8px;} .shop-polish .shop-brand__name {max-width:140px;}}
@media(max-width:767px) {
 .shop-polish .uc-topbar {padding:0 16px;} .shop-polish .shop-nav {height:auto; min-height:68px; padding:10px 0; flex-wrap:wrap;}
 .shop-polish .shop-brand {font-size:17px;} .shop-polish .shop-brand img {width:31px; height:31px;}
 .shop-polish .shop-nav__right {gap:4px;} .shop-polish .shop-auth .shop-btn {padding:0 10px; font-size:12px;}
 .shop-polish .shop-search {display:flex!important; order:5; flex:1 0 100%; padding:1px 0 0;}
 .shop-polish .shop-search__box {max-width:none; width:100%; height:42px;}
 .shop-polish main.container {padding:19px 16px 40px!important;}
 .shop-intro {align-items:flex-start; flex-direction:column; gap:17px; padding:9px 0 1px; margin-bottom:22px;}
 .shop-intro h1 {font-size:26px; margin-bottom:9px;} .shop-intro p {font-size:13px;}
 .shop-intro-link {padding:8px 12px; font-size:12px;}
 .shop-notice summary {padding:13px 14px; gap:10px;} .shop-notice summary strong {display:block; margin:0; font-size:13px;}
 .shop-notice summary small {font-size:11px;} .shop-notice-toggle {font-size:11px; gap:8px;}
 .shop-polish .panel-header {padding:16px;} .shop-polish .panel-title {font-size:16px;}
 .shop-polish .panel-body {padding:16px; font-size:13px;}
 .shop-polish .item-list {grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
 .shop-polish .item-card-cell:only-child {grid-column:1/-1; max-width:400px;}
 .shop-polish .acg-card>.acg-body {padding:13px 12px; gap:9px;}
 .shop-polish .goods-title {font-size:14px;}
 .shop-polish .price {font-size:22px;}
 .shop-polish .acg-cover {max-height:290px;} .shop-polish .item-cover {max-height:290px; padding:24px;}
 .shop-polish .item-buy {padding:0;} .shop-polish .item-buy>h4 {font-size:22px; margin-bottom:12px;}
 .shop-polish .item-buy .abacus .price {font-size:30px;}
 .shop-polish .pay-list .pay {flex:1 1 130px; justify-content:center;}
 .shop-polish .shop-catalog .panel-body {min-height:230px;}
}
@media(prefers-reduced-motion:reduce) {.shop-polish .acg-card,.shop-notice-toggle>span {transition:none;}}
@media(max-width:767px){.shop-polish .shop-nav__list{display:none}.shop-polish .shop-burger{display:inline-flex;align-items:center;justify-content:center;width:34px;height:36px}.shop-polish .shop-auth .shop-btn--primary,.shop-polish .shop-auth i{display:none}
.shop-polish .shop-nav__right{margin-left:auto;gap:2px}.shop-polish .shop-icon-btn{width:34px;height:36px}.shop-polish .shop-brand__name{max-width:116px}.shop-polish .acg-cover,.shop-polish .item-cover{max-height:210px}.shop-polish .item-cover{padding:16px}}
@media(max-width:767px){.shop-polish .shop-drawer,.shop-polish .shop-drawer__shade{display:block}}
