/* Storefront refresh. Keep the native account centre and checkout components scoped separately. */
body.moyue-storefront {
  --md-primary:#13786f; --md-primary-rgb:19,120,111; --md-on-primary:#fff;
  --uc-ink:#20332f; --uc-ink-med:#63716d; --uc-ink-dis:#7c8783;
  --glass-bg:#fff; --glass-bg-strong:#fff; --glass-bg-soft:#f7f8f5;
  --glass-border:#e8eae4; --glass-border-soft:#e9ece6;
  --glass-filter:none; --glass-filter-strong:none;
  --glass-shadow:0 8px 28px rgba(36,55,47,.045); --glass-hi:none;
  --uc-field-bg:#f5f7f3; --uc-focus:#248e80; --uc-focus-rgb:36,142,128;
  background-color:#f2f2eb; background-position:center top;
}
body.moyue-storefront::before {background:rgba(246,247,241,.48);}
.moyue-storefront .container,.moyue-storefront .uc-topbar__inner {max-width:1320px;}
.moyue-storefront .uc-topbar {padding:0 24px;background:rgba(255,255,253,.96);border-bottom:1px solid #e6e9e2;box-shadow:0 2px 16px rgba(30,50,40,.025);backdrop-filter:blur(12px);}
.moyue-storefront .shop-nav {height:72px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;gap:18px;}
.moyue-storefront .shop-brand {color:#13786f;font-size:19px;gap:10px;margin-right:6px;}
.moyue-storefront .shop-brand img {width:34px;height:34px;border-radius:11px;}
.moyue-storefront .shop-nav__item {border-radius:10px;height:38px;padding:0 13px;}
.moyue-storefront .shop-nav__item.active {background:#e5f3ed;color:#126b60;box-shadow:none;}
.moyue-storefront .shop-search__box {height:40px;max-width:350px;border:1px solid #e6eae3;background:#f6f7f3;border-radius:12px;}
.moyue-storefront .shop-user__btn {border-radius:12px;background:#f2f5ef;}
.moyue-storefront .shop-btn {border-radius:10px;box-shadow:none;}
.moyue-storefront main.container {padding:24px 20px 64px;}
.moyue-storefront .panel {border:1px solid #e5e8e0;border-radius:18px;background:rgba(255,255,252,.97);box-shadow:0 8px 30px rgba(44,61,48,.04);backdrop-filter:none;overflow:hidden;margin-bottom:20px;}
.moyue-storefront .panel-header {min-height:55px;padding:16px 22px;background:#fafbf7;border-bottom:1px solid #ecede7;gap:10px;}
.moyue-storefront .panel-header .icon {width:28px;height:28px;border-radius:9px;background:#edf2e9;color:#426052;box-shadow:none;}
.moyue-storefront .panel-title {font-size:15px;font-weight:650;letter-spacing:.2px;}
.moyue-storefront .panel-body {padding:22px;}
.moyue-storefront .moyue-store-notice {font-size:13px;line-height:1.85;color:#5b6861;}
.moyue-storefront .moyue-store-notice p {margin-bottom:7px;}
.moyue-storefront .moyue-store-notice strong {color:#294c41;}
.moyue-storefront .moyue-store-notice .text-danger {color:#9a5843!important;border-top:1px solid #eceee5;padding-top:10px;margin-top:10px;font-size:12px;}
.moyue-storefront .moyue-store-notice .text-danger strong {color:inherit;}
.moyue-storefront .chip-list {gap:9px;}
.moyue-storefront .chip {min-height:38px;padding:7px 15px;border-radius:11px;border:1px solid #e5e9df;background:#f6f8f2;box-shadow:none;font-size:13px;}
.moyue-storefront .chip.is-primary {background:#16786a;border-color:#16786a;color:#fff;box-shadow:0 4px 10px rgba(19,120,111,.1);}
.moyue-storefront .item-list {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;--bs-gutter-x:0;--bs-gutter-y:0;}
.moyue-storefront .item-list>.item-card-cell {display:block;width:auto;max-width:none;min-width:0;margin:0;padding:0;flex:none;color:inherit;}
.moyue-storefront .item-message {grid-column:1/-1;min-height:130px;display:grid;place-items:center;color:var(--uc-ink-med);}
.moyue-storefront .acg-card {height:100%;display:flex;flex-direction:column;border-radius:15px;border:1px solid #e5e9e1;background:#fff;box-shadow:0 4px 16px rgba(30,50,37,.035);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.moyue-storefront .item-card-cell:hover .acg-card {transform:translateY(-4px);border-color:#b7d4c6;box-shadow:0 12px 26px rgba(29,65,45,.10);}
.moyue-storefront .item-card-cell:focus-visible {outline:3px solid #248e80;outline-offset:4px;border-radius:15px;}
.moyue-storefront .acg-thumb {position:relative;flex:none;height:auto;aspect-ratio:16/9;width:100%;margin:0;border-radius:0;background:#f5f2eb;overflow:hidden;}
.moyue-storefront .acg-product-image {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:auto;}
.moyue-storefront .acg-body {display:flex;flex:1;flex-direction:column;gap:0;padding:10px 14px 12px;background:#fff;}
.moyue-storefront .acg-body .tags {min-height:18px;margin-bottom:5px;gap:6px;}
.moyue-storefront .badge-soft {border-radius:5px;font-size:10px;line-height:1;padding:3px 6px;}
.moyue-storefront .badge-soft-success {color:#267959;background:#ecf5eb;}
.moyue-storefront .goods-title {font-size:14px;line-height:20px;font-weight:650;min-height:40px;margin:0 0 6px;color:#253c33;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.moyue-storefront .stat-row {margin-top:auto;}
.moyue-storefront .acg-card .price {font-size:24px;line-height:28px;font-weight:750;letter-spacing:-.5px;color:#e16a61;}
.moyue-storefront .acg-card .price .unit {font-size:15px;margin-right:2px;}
.moyue-storefront .stat-bottom {padding-top:6px;border-top:1px solid #f0f1eb;margin-top:6px;font-size:11px;line-height:15px;color:#7b877d;gap:6px;}
.moyue-storefront .item-show,.moyue-storefront .cash-pay {background:#fff;border-color:#e6e9e1;}
:root[data-theme="dark"] body.moyue-storefront {--uc-ink:#e6eee8;--uc-ink-med:#b0bcb3;--uc-ink-dis:#87968c;--glass-bg:#202c26;--glass-bg-strong:#25332b;--glass-bg-soft:#26372d;--glass-border:#36473c;--glass-border-soft:#36473c;--uc-field-bg:#26372d;background-color:#14221b;}
:root[data-theme="dark"] body.moyue-storefront::before {background:rgba(11,25,18,.91);}
:root[data-theme="dark"] .moyue-storefront .uc-topbar,:root[data-theme="dark"] .moyue-storefront .panel,:root[data-theme="dark"] .moyue-storefront .acg-card,:root[data-theme="dark"] .moyue-storefront .acg-body,:root[data-theme="dark"] .moyue-storefront .cash-pay,:root[data-theme="dark"] .moyue-storefront .item-show {background:#202d25;border-color:#37483c;}
:root[data-theme="dark"] .moyue-storefront .panel-header,:root[data-theme="dark"] .moyue-storefront .shop-search__box,:root[data-theme="dark"] .moyue-storefront .shop-user__btn,:root[data-theme="dark"] .moyue-storefront .chip {background:#28382c;border-color:#3b4e40;}
:root[data-theme="dark"] .moyue-storefront .goods-title,:root[data-theme="dark"] .moyue-storefront .moyue-store-notice,:root[data-theme="dark"] .moyue-storefront .moyue-store-notice strong {color:#d3e2d4;}
:root[data-theme="dark"] .moyue-storefront .shop-brand {color:#8bc7aa;}
:root[data-theme="dark"] .moyue-storefront .moyue-store-notice .text-danger {color:#e4ad91!important;border-color:#3b4e40;}
:root[data-theme="dark"] .moyue-storefront .stat-bottom {border-color:#35483b;color:#a4b4a6;}
:root[data-theme="dark"] .moyue-storefront .chip.is-primary,:root[data-theme="dark"] .moyue-storefront .shop-nav__item.active {background:#235f4a;color:#e1f6e6;}
@media(max-width:1100px) {
  .moyue-storefront .item-list {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
  .moyue-storefront .shop-nav {gap:8px;}
  .moyue-storefront .shop-search__box {max-width:250px;}
}
@media(max-width:767px) {
  .moyue-storefront .uc-topbar {padding:0 14px;}
  .moyue-storefront .shop-nav {height:auto;min-height:64px;}
  .moyue-storefront .shop-brand {font-size:17px;}
  .moyue-storefront main.container {padding:16px 12px 40px;}
  .moyue-storefront .panel {border-radius:14px;margin-bottom:16px;}
  .moyue-storefront .panel-header {padding:12px 15px;min-height:48px;}
  .moyue-storefront .panel-body {padding:14px;}
  .moyue-storefront .item-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .moyue-storefront .acg-body {padding:10px;}
  .moyue-storefront .goods-title {font-size:13px;line-height:19px;min-height:38px;margin-bottom:5px;}
  .moyue-storefront .acg-card .price {font-size:22px;}
  .moyue-storefront .stat-bottom {font-size:10px;flex-wrap:wrap;}
  .moyue-storefront .moyue-store-notice {font-size:12px;}
  .moyue-storefront .chip {min-height:36px;padding:6px 12px;}
}
@media(max-width:359px) {.moyue-storefront .item-list {grid-template-columns:minmax(0,1fr);}}
@media(prefers-reduced-motion:reduce) {.moyue-storefront .acg-card {transition:none;}.moyue-storefront .item-card-cell:hover .acg-card {transform:none;}}
