body.uc-body {
    --store-bg: #f2f5f9;
    --store-surface: #fff;
    --store-ink: #14253d;
    --store-muted: #526680;
    --store-border: #dee6f0;
    --store-soft: #f5f7fb;
    --store-accent: #307ab1;
    --store-accent-bg: #e9f0ff;
    --store-button: #c4e4fc;
    --store-on-button: #265d87;
    --store-button-hover: #b5dcf9;
    --store-stock: #176447;
    --store-stock-bg: #e9f6ee;
    background-color: var(--store-bg);
    color: var(--store-ink);
}

[data-theme="dark"] body.uc-body {
    --store-bg: #0a0a0b;
    --store-on-button: #20496c;
    --store-surface: #121315;
    --store-ink: #f3f4f6;
    --store-muted: #a4a9b2;
    --store-border: #292b30;
    --store-soft: #181a1d;
    --store-accent: #b4cbff;
    --store-accent-bg: #263b62;
    --store-button: #aad4f5;
    --store-button-hover: #c3e4fb;
    --store-stock: #b4cbff;
    --store-stock-bg: #21314a;
}

.uc-body.storefront {
    --storefront-ink: #1d1d1f;
    --storefront-accent: #2677af;
    --store-ink: var(--storefront-ink);
    --store-text: #424245;
    --store-muted: #6e6e73;
    --store-accent: var(--storefront-accent);
    --nav-ink: rgba(29, 29, 31, .78);
    --nav-glass: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .52));
    --nav-edge: rgba(255, 255, 255, .8);
    --nav-shadow: 0 8px 28px rgba(15, 23, 42, .06), inset 0 1px 1px rgba(255, 255, 255, .96), inset 0 -1px 1px rgba(255, 255, 255, .25);
    --nav-hover: rgba(29, 29, 31, .045);
    --nav-selected: rgba(255, 255, 255, .9);
    --nav-chip: rgba(255, 255, 255, .65);
    --nav-chip-edge: rgba(255, 255, 255, .85);
    --nav-blue-tint: rgba(0, 113, 227, .08);
    --nav-logo-glass: linear-gradient(145deg, #ebf5ff, #dbeafe);
    --nav-tg-ink: #0077b5;
    --nav-tg-edge: rgba(0, 136, 204, .18);
    --nav-tg-hover: rgba(0, 136, 204, .16);
    --nav-balance-ink: #248a3d;
    --notice-icon-bg: rgba(0, 113, 227, .1);
    --notice-dot: rgba(0, 113, 227, .55);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Inter", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .uc-body.storefront {
    --storefront-ink: #f3f4f6;
    --storefront-accent: #a9d1ff;
    --store-text: #c9cdd4;
    --store-muted: #a4a9b2;
    --nav-ink: #c9cdd4;
    --nav-glass: rgba(18, 19, 21, .96);
    --nav-edge: rgba(255, 255, 255, .12);
    --nav-shadow: 0 8px 30px rgba(0, 0, 0, .24), inset 0 1px 1px rgba(255, 255, 255, .13);
    --nav-hover: rgba(255, 255, 255, .08);
    --nav-selected: var(--store-accent-bg);
    --nav-chip: rgba(255, 255, 255, .09);
    --nav-chip-edge: rgba(255, 255, 255, .14);
    --nav-blue-tint: rgba(129, 180, 255, .12);
    --nav-logo-glass: linear-gradient(145deg, #354968, #293750);
    --nav-tg-ink: #f5c451;
    --nav-tg-edge: rgba(245, 196, 81, .28);
    --nav-tg-hover: rgba(245, 196, 81, .16);
    --nav-balance-ink: #a9d1ff;
    --notice-icon-bg: var(--store-accent-bg);
    --notice-dot: #81b4ef;
}

.storefront :is(.uc-topbar, .shop-drawer, button, input, select, textarea) {
    font-family: inherit;
}

body.uc-body:not(.store-custom-background)::before {
    display: none;
}

.uc-body #pjax-container > .container > .panel {
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-surface);
    color: var(--store-ink);
    box-shadow: 0 2px 8px #14253d08;
}

body.uc-body > footer {
    color: var(--store-muted);
    text-align: center;
}

.uc-body > .store-footer {
    border-top: 1px solid var(--store-border);
    background: var(--store-surface);
    color: var(--store-muted);
    text-align: start;
}

.store-footer-inner {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
    padding-top: 40px;
}

.store-footer-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 34px;
}

.store-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--store-ink);
    font-weight: 750;
}

.store-footer-brand img {
    flex: none;
    border-radius: 8px;
}

.store-footer-intro p {
    margin: 12px 0 0;
    font-size: 14px;
}

.store-footer h2 {
    margin: 4px 0 12px;
    color: var(--store-ink);
    font-size: 15px;
    font-weight: 700;
}

.store-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.store-footer li a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
}

.store-footer li .material-icons-outlined {
    color: var(--store-accent);
    font-size: 17px;
}

.store-footer a:hover {
    color: var(--store-accent);
    text-decoration: underline;
}

.store-footer-meta {
    padding: 18px 0;
    border-top: 1px solid var(--store-border);
    font-size: 13px;
}

.store-footer-icp {
    margin-top: 4px;
}

@media (max-width: 640px) {
    .store-footer-inner {
        width: calc(100% - 28px);
        padding-top: 24px;
    }

    .store-footer-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 12px;
        padding-bottom: 22px;
    }

    .store-footer-intro {
        grid-column: 1 / -1;
    }
}

.store-item.store-shell {
    max-width: 1120px;
}

.store-item-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: var(--store-muted);
    font-size: 14px;
    font-weight: 600;
}

.store-item-back:hover {
    color: var(--store-accent);
}

.store-item-back .material-icons-outlined {
    font-size: 19px;
}

.store-item-card {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-areas: "heading checkout" "details checkout";
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 20px;
    background: var(--store-surface);
    box-shadow: 0 18px 44px #14253d12;
}

.store-item-heading {
    grid-area: heading;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(20px, 3vw, 36px);
    border-bottom: 1px solid var(--store-border);
    background: linear-gradient(115deg, var(--store-surface) 42%, var(--store-accent-bg));
}

.store-item .store-item-cover {
    flex: none;
    width: clamp(60px, 7vw, 90px);
    aspect-ratio: 1;
    height: auto;
    padding: 8px;
    border: 1px solid var(--store-border);
    border-radius: 16px;
    background: var(--store-surface);
    object-fit: contain;
}

.store-item-identity {
    min-width: 0;
}

.store-item-heading h1 {
    margin: 0 0 10px;
    color: var(--store-ink);
    font-size: clamp(21px, 3vw, 34px);
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.store-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.store-item-meta .badge-soft-primary,
.store-item-share {
    color: var(--store-accent);
    background: var(--store-accent-bg);
}

.store-item-share {
    min-width: 32px;
    min-height: 32px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.store-item-details {
    grid-area: details;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: clamp(16px, 3vw, 36px);
}

.store-item-description h2 {
    margin: 0 0 14px;
    color: var(--store-ink);
    font-size: 18px;
    font-weight: 700;
}

.store-item-copy {
    color: var(--store-ink);
    line-height: 1.75;
    overflow-wrap: anywhere;
    overflow-x: auto;
}

.store-item-copy :is(img, video, iframe) {
    max-width: 100%;
}

.store-item-copy img {
    height: auto;
}

.store-item-copy a,
.store-item-steps a {
    color: var(--store-accent);
}

.store-item-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: auto 0 0;
    padding: 14px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-soft);
    color: var(--store-ink);
    list-style: none;
    font-size: 13px;
    font-weight: 600;
}

.store-item-steps :is(li, a) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.store-item-steps .material-icons-outlined {
    color: var(--store-accent);
    font-size: 18px;
}

.store-item-checkout {
    grid-area: checkout;
    align-self: start;
    min-width: 0;
    margin: 14px;
    padding: clamp(16px, 2.5vw, 28px);
    border: 1px solid var(--store-border);
    border-radius: 15px;
    background: var(--store-soft);
}

.store-item-total {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--store-border);
    color: var(--store-muted);
    font-size: 14px;
}

.store-item-checkout.item-buy .abacus .price {
    color: var(--store-ink);
    font-size: clamp(29px, 4vw, 46px);
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

.store-item-checkout.item-buy .abacus .price .unit {
    margin-inline-end: 4px;
    font-size: .48em;
}

.store-item-quantity-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.store-item-checkout .store-item-quantity-row .form-label {
    margin: 0;
}

.store-item-checkout .qty-group,
.store-item-checkout .form-control {
    border-color: var(--store-border) !important;
    background: var(--store-surface) !important;
}

.store-item-checkout .qty-group .form-control {
    flex: 0 1 60px;
}

.store-item-checkout .sku.is-primary {
    color: var(--store-accent);
    border-color: var(--store-accent);
    background: var(--store-accent-bg);
}

.store-item-checkout .cash-pay {
    padding: 0;
    border: 0;
    background: transparent;
}

.store-item-checkout .pay-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-item-checkout .pay-list .pay {
    min-height: 52px;
    border-color: var(--store-border);
    background: var(--store-surface);
    text-align: start;
    overflow-wrap: anywhere;
}

.store-item-checkout .pay-list .pay.selected {
    border-color: var(--store-accent);
    background: var(--store-accent-bg);
}

.store-item-checkout .pay-list .pay.selected span {
    color: var(--store-accent);
}

.store-item-no-payment {
    margin: 8px 0 0;
    color: var(--store-muted);
    font-size: 13px;
}

.store-item-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    border: 0;
    border-radius: 12px;
    background: var(--store-button);
    color: var(--store-on-button, #fff);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.store-item-submit:enabled:hover {
    background: var(--store-button-hover);
}

.store-item-submit:disabled {
    opacity: .56;
    cursor: not-allowed;
}

.store-item :is(a, button):focus-visible {
    outline: 2px solid var(--store-accent);
    outline-offset: 2px;
}

@media (max-width: 820px) {
    .store-item-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "checkout" "details";
        grid-template-rows: auto;
    }

    .store-item-heading {
        gap: 12px;
    }
}

.store-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 34px 0 64px;
    font-size: 1rem;
}

.store-home .store-shell {
    padding-top: 20px;
}

.store-order-link {
    display: none;
    gap: 7px;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    color: var(--store-accent);
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 650;
}

.store-order-link:hover {
    color: var(--store-accent);
    border-color: var(--store-accent);
}

html.shop-compact .store-order-link {
    display: inline-flex;
}

.store-notice {
    padding: 20px 24px;
    margin-bottom: 14px;
    border: 1px solid var(--store-border);
    border-radius: 20px;
    background: var(--store-accent-bg);
    color: var(--store-ink);
}

.store-notice-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 10px;
}

.store-notice-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--notice-icon-bg);
    color: var(--store-accent);
    font-size: 18px;
}

.store-notice-heading h2 {
    margin: 0;
    color: var(--store-ink);
    font-size: 15px;
    font-weight: 600;
}

.store-notice-caption {
    margin: 0 0 8px;
    color: var(--store-ink);
    font-size: 15px;
    font-weight: 600;
}

.store-contact {
    margin-bottom: 24px;
    padding: 16px 24px;
}

.store-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    color: var(--store-text);
    font-size: 13.5px;
}

.store-contact-list > div {
    display: flex;
    align-items: baseline;
}

.store-contact-list dd {
    margin: 0;
    color: var(--store-ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.store-contact-icon {
    flex: none;
}

.store-contact-list dd,
.store-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.store-contact-link {
    color: var(--store-accent);
}

.store-contact-link:is(:hover, :focus-visible) {
    color: var(--store-accent);
    text-decoration: underline;
}

.store-notice-content {
    color: var(--store-text);
    font-size: 13.5px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.store-notice-content :is(ol, ul) {
    margin: 0 0 6px;
    padding-inline-start: 14px;
    list-style: none;
}

.store-notice-content li {
    position: relative;
}

.store-notice-content li + li {
    margin-top: 6px;
}

.store-notice-content li::before {
    content: "";
    position: absolute;
    inset-block-start: calc((1.8em - 5px) / 2);
    inset-inline-start: -14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--notice-dot);
}

.store-notice-content :is(strong, b) {
    color: var(--store-ink);
    font-weight: 500;
}

.store-notice-content > :last-child {
    margin-bottom: 0;
}

.store-notice-content img {
    max-width: 100%;
    height: auto;
}

.store-layout {
    --catalog-toolbar-height: 42px;
    --catalog-gap: 14px;
    display: grid;
    grid-template-columns: minmax(210px, var(--category-sidebar-width)) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.store-panel {
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-surface);
    box-shadow: 0 2px 8px #14253d08;
}

.store-terms {
    max-width: 780px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 44px);
    border-color: var(--nav-edge);
    border-radius: 20px;
    background: var(--nav-glass);
    box-shadow: var(--nav-shadow);
    color: var(--store-text);
    font-size: 15px;
    line-height: 1.8;
}

.store-terms h1 {
    margin: 0 0 16px;
    color: var(--store-ink);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.025em;
}

.store-terms h2 {
    margin: 22px 0 6px;
    color: var(--store-ink);
    font-size: 17px;
    font-weight: 600;
}

.store-terms a {
    color: var(--store-accent);
    text-decoration: underline;
}

.store-terms p {
    margin: 0 0 14px;
}

.store-terms p:last-child {
    margin-bottom: 0;
}

.store-terms strong {
    color: var(--store-ink);
    font-weight: 600;
}

.storefront .order-query-form .form-control {
    border-color: var(--store-accent) !important;
}

.storefront .order-query-form .form-control:focus {
    box-shadow: 0 0 0 3px var(--notice-icon-bg) !important;
}

.uc-body:is(.store-home, .member-page, .store-product-page) {
    --category-sidebar-width: 250px;
    --category-item-gap: 10px;
    --category-item-height: 58px;
    --category-item-padding: 12px 14px;
    --category-item-font-size: 15px;
    --category-item-line-height: 1.35;
    --category-icon-size: 34px;
    --category-glass: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .48));
    --category-glass-hover: linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .65));
    --category-glass-active: linear-gradient(135deg, rgba(219, 234, 254, .85), rgba(239, 246, 255, .65));
    --category-edge: rgba(255, 255, 255, .75);
    --category-edge-active: rgba(59, 130, 246, .45);
    --category-shadow: 0 4px 16px rgba(15, 23, 42, .05), inset 0 1px 1px rgba(255, 255, 255, .92), inset 0 -1px 1px rgba(255, 255, 255, .25);
    --category-shadow-hover: 0 8px 22px rgba(15, 23, 42, .09), inset 0 1px 1px rgba(255, 255, 255, .92);
    --category-shadow-active: 0 8px 24px rgba(0, 122, 255, .14), inset 0 1px 1px rgba(255, 255, 255, .95);
    --category-ink: #1d1d1f;
    --category-accent: var(--store-accent);
    --category-icon: rgba(255, 255, 255, .68);
    --category-icon-active: rgba(255, 255, 255, .90);
    --home-wash: rgba(211, 228, 255, .42);
    --home-rule: rgba(82, 106, 151, .14);
    --home-mesh: radial-gradient(ellipse at 10% 5%, #dceaff 0, transparent 60%),
        radial-gradient(ellipse at 92% 19%, #ebe5fa 0, transparent 55%),
        radial-gradient(ellipse at 72% 90%, #dceff3 0, transparent 58%);
}

[data-theme="dark"] .uc-body:is(.store-home, .member-page, .store-product-page) {
    --category-glass: var(--store-surface);
    --category-glass-hover: #1b1d21;
    --category-glass-active: var(--store-accent-bg);
    --category-edge: rgba(255, 255, 255, .08);
    --category-edge-active: rgba(129, 180, 255, .34);
    --category-shadow: 0 4px 16px rgba(0, 0, 0, .18);
    --category-shadow-hover: 0 8px 22px rgba(0, 0, 0, .32), inset 0 1px 1px rgba(255, 255, 255, .18);
    --category-shadow-active: 0 4px 18px rgba(0, 0, 0, .24);
    --category-ink: var(--store-ink);
    --category-accent: var(--store-accent);
    --category-icon: #1b1d21;
    --category-icon-active: #27374d;
    --home-wash: #181a1d;
    --home-rule: rgba(255, 255, 255, .08);
    --home-mesh: radial-gradient(ellipse at 85% 0%, rgba(129, 180, 255, .055), transparent 48%);
}

:is(.store-home, .member-page, .store-product-page):not(.store-custom-background) {
    background-image: var(--home-mesh);
}

.store-home :is(.store-panel, .store-notice),
.store-product-page .store-item-card {
    border: 1px solid var(--category-edge);
    background: var(--category-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--category-shadow);
}

.storefront-auth .auth-wrapper {
    display: grid;
    place-items: center;
    min-height: 65dvh;
    padding: clamp(24px, 5vw, 64px) 14px;
}

.storefront-auth .auth-card {
    width: min(100%, 460px);
    padding: clamp(20px, 5vw, 36px);
}

.storefront-auth .auth-title {
    margin: 0 0 24px;
    color: var(--store-ink);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.025em;
}

.storefront-auth .auth-logout-message {
    color: var(--store-muted);
}

.storefront-auth .auth-card .form-control {
    height: 46px;
    border: 1px solid var(--store-border) !important;
    border-radius: 12px;
    background: var(--nav-chip) !important;
    color: var(--store-ink) !important;
}

.storefront-auth .auth-card .form-control:focus {
    border-color: var(--store-accent) !important;
    box-shadow: 0 0 0 3px var(--notice-icon-bg) !important;
}

.storefront-auth .auth-card :is(.auth-field label, .form-check, .divider) {
    color: var(--store-muted);
}

.storefront-auth .auth-field {
    display: grid;
    gap: 6px;
}

.storefront-auth .auth-field label {
    font-size: 14px;
    font-weight: 500;
}

.storefront-auth .auth-form-panel {
    --auth-input-bg: #fff;
    --auth-input-color: #465267;
    --auth-submit: linear-gradient(110deg, #486ed2, #365cc5);
    width: min(100%, 520px);
    padding: clamp(22px, 4vw, 34px);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 32px rgba(29, 47, 80, .10);
}

[data-theme="dark"] .storefront-auth .auth-form-panel {
    --auth-input-bg: #1b2536;
    --auth-input-color: #b9c9df;
    background: #182132;
    box-shadow: var(--category-shadow);
}

.auth-form-header {
    margin-bottom: 22px;
    text-align: center;
}

.storefront-auth .auth-form-header .auth-title {
    margin: 0 0 6px;
    font-size: 32px;
    font-weight: 700;
}

.auth-form-header p {
    margin: 0;
    color: var(--store-muted);
    font-size: 14px;
}

.auth-form-panel form {
    display: grid;
    gap: 14px;
}

.storefront-auth .auth-form-panel .auth-field label {
    color: var(--store-ink);
    font-weight: 600;
}

.storefront-auth .auth-form-panel .form-control {
    border-radius: 9px;
    background: var(--auth-input-bg) !important;
    font-size: 14px;
}

.storefront-auth .auth-form-panel .form-control::placeholder {
    color: var(--store-muted) !important;
}

.auth-input {
    position: relative;
    min-width: 0;
}

.auth-input .form-control {
    padding-inline-start: 40px;
}

.auth-input--password .form-control {
    padding-inline-end: 45px;
}

.auth-input__icon {
    position: absolute;
    inset-inline-start: 12px;
    inset-block-start: 50%;
    transform: translateY(-50%);
    color: var(--auth-input-color);
    font-size: 19px;
    pointer-events: none;
}

.auth-input__action,
.auth-captcha-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-input-color);
    cursor: pointer;
}

.auth-input__action {
    position: absolute;
    inset-inline-end: 4px;
    inset-block: 4px;
    width: 36px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
}

.auth-input__action .material-icons-outlined,
.auth-captcha-button .material-icons-outlined {
    font-size: 19px;
}

.auth-input__action:hover,
.auth-captcha-button:hover {
    color: var(--store-accent);
}

.auth-input__action:focus-visible,
.auth-captcha-button:focus-visible {
    outline: 2px solid var(--store-accent);
    outline-offset: 1px;
}

.auth-captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.auth-captcha-button {
    min-height: 46px;
    gap: clamp(6px, 2vw, 16px);
    padding-inline: clamp(6px, 2vw, 14px);
    border: 1px solid var(--store-border);
    border-radius: 9px;
    background: var(--auth-input-bg);
}

.auth-captcha-button img {
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
}

.auth-login-options {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-inline: 0;
}

.storefront-auth .auth-primary {
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    background: var(--auth-submit);
    color: #fff;
    font-weight: 600;
}

.storefront-auth .auth-primary:is(:hover, :focus-visible, :active) {
    background: var(--auth-submit);
    color: #fff;
    filter: brightness(.93);
}

.storefront-auth .text-link {
    color: var(--store-accent);
}

.storefront-auth .btn-gradient {
    border: 0;
    border-radius: 999px;
    background: var(--store-button);
    color: var(--store-on-button);
    font-weight: 600;
}

.storefront-auth .btn-gradient:is(:hover, :focus-visible) {
    background: var(--store-button-hover);
    color: var(--store-on-button);
}

.storefront-auth .btn-passkey:not([hidden]) {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    background: var(--nav-chip);
    color: var(--store-ink);
}

.storefront-auth .btn-passkey__icon {
    width: 18px;
    height: 18px;
}

.storefront-auth .auth-verification {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
}

.storefront-auth .btn-outline-primary {
    --bs-btn-hover-color: var(--store-on-button);
    --bs-btn-active-color: var(--store-on-button);
    --bs-btn-active-bg: var(--store-button-hover);
    --bs-btn-color: var(--store-accent);
    --bs-btn-border-color: var(--store-accent);
    --bs-btn-hover-bg: var(--store-button);
    --bs-btn-hover-border-color: var(--store-button);
    min-height: 46px;
    border-radius: 12px;
}

.storefront-auth :is(.image-code, .prompt-image-code) {
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.storefront .uc-topbar {
    --store-ink: var(--storefront-ink);
    --store-accent: var(--storefront-accent);
    top: 14px;
    z-index: 100;
    margin-top: 14px;
    padding-block: 0;
    border: 0;
    background: transparent;
}

.storefront .uc-topbar__inner {
    padding: 0 12px 0 18px;
    border: 1px solid var(--nav-edge);
    border-radius: 999px;
    background: var(--nav-glass);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    box-shadow: var(--nav-shadow);
}

.storefront.store-home .uc-topbar {
    top: 0;
    margin-top: 0;
    border-bottom: 1px solid var(--store-border);
    background: var(--store-surface);
}

.storefront.store-home .uc-topbar__inner {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.storefront .shop-nav {
    height: 68px;
}

.uc-body.storefront .shop-brand {
    color: var(--store-ink);
    font-size: 18.7px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.uc-body.storefront .shop-brand img {
    width: 44px;
    height: 44px;
    padding: 4.4px;
    border: 1px solid var(--nav-chip-edge);
    border-radius: 10px;
    background: var(--nav-logo-glass);
    box-shadow: 0 2px 8px rgba(0, 113, 227, .10), inset 0 1px 1px var(--nav-chip-edge);
    object-fit: contain;
}

.storefront .shop-brand--tongzhi {
    --wordmark-ink: #102d5d;
    --wordmark-ai: #0879e8;
    --wordmark-divider: #72adf0;
}

[data-theme="dark"] .storefront .shop-brand--tongzhi {
    --wordmark-ink: #edf5ff;
    --wordmark-ai: #77bdff;
    --wordmark-divider: #629ee2;
}

.storefront .shop-brand--tongzhi .shop-brand__name {
    color: var(--wordmark-ink);
    font-weight: 800;
    letter-spacing: -.055em;
}

.storefront .shop-brand__tag {
    flex: none;
    padding-inline-start: .55em;
    border-inline-start: 1px solid var(--wordmark-divider);
    color: var(--wordmark-ink);
    font-size: .82em;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.storefront .shop-brand__ai {
    margin-inline-end: .05em;
    color: var(--wordmark-ai);
    font-size: 1.15em;
    font-weight: 800;
}


.storefront .shop-brand__lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}
.storefront .shop-brand__zh {
    color: var(--wordmark-ink, var(--store-ink));
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.05;
}
.storefront .shop-brand__zh b { color: var(--wordmark-ai, #2477b4); }
.storefront .shop-brand__en {
    display: block;
    align-self: stretch;
    width: 100%;
    height: 13px;
    fill: var(--store-muted);
    font: 600 11px system-ui, sans-serif;
}

.storefront .shop-nav__list {
    gap: 4px;
}

.uc-body.storefront .shop-nav__item {
    height: 48px;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--nav-ink);
    font-size: 14.4px;
    font-weight: 500;
}

.uc-body.storefront .shop-nav__item .nav-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    font-size: 18px;
    opacity: .68;
    transition: opacity .25s ease;
}

.uc-body.storefront .shop-nav__item:is(.active, [href]:hover) .nav-icon {
    opacity: 1;
}

.uc-body.storefront .shop-nav__item[href]:hover {
    background: var(--nav-hover);
    color: var(--store-ink);
}

.uc-body.storefront .shop-nav__item.active {
    background: var(--nav-selected);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .06), inset 0 1px 1px var(--nav-chip-edge);
    color: var(--store-accent);
    font-weight: 600;
}

.storefront .shop-telegram {
    min-height: 32px;
    padding-inline: 10px;
    border: 1px solid var(--nav-tg-edge);
    border-radius: 999px;
    background: var(--nav-blue-tint);
    color: var(--nav-tg-ink);
    font-size: 13px;
    font-weight: 500;
}

.storefront .shop-telegram svg {
    width: 16px;
    height: 16px;
}

.storefront .shop-telegram[href]:is(:hover, :focus-visible) {
    background: var(--nav-tg-hover);
    color: var(--nav-tg-ink);
}

.storefront .shop-nav__divider {
    flex: 0 0 1px;
    height: 18px;
    margin-inline: 3px;
    background: var(--nav-tg-edge);
}

.storefront .shop-nav__right .shop-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    color: var(--nav-ink);
}

.storefront .shop-nav__right .shop-icon-btn:hover {
    background: var(--nav-hover);
    color: var(--store-ink);
}

.storefront .shop-user__btn {
    height: 40px;
    padding: 4px 6px 4px 12px;
    border: 1px solid var(--nav-chip-edge);
    border-radius: 999px;
    background: var(--nav-chip);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04), inset 0 1px 1px var(--nav-chip-edge);
    color: var(--store-ink);
}

.storefront .shop-user__btn:hover {
    background: var(--nav-selected);
}

.storefront .shop-user__meta {
    align-items: flex-end;
    line-height: 1.15;
}

.storefront .shop-user__name {
    font-size: 13px;
    font-weight: 600;
}

.storefront .shop-user__balance,
.storefront .shop-user__balance b {
    color: var(--store-muted);
    font-size: 11.5px;
}

.storefront .shop-user__balance b {
    color: var(--nav-balance-ink);
}

.storefront .shop-user__avatar {
    border: 1px solid var(--nav-chip-edge);
    background: var(--nav-logo-glass);
}

.storefront .shop-auth .shop-btn {
    border-radius: 999px;
}

.storefront .shop-auth .shop-btn--primary {
    box-sizing: border-box;
    inline-size: 110px;
    flex-shrink: 0;
    justify-content: center;
}

.uc-body.storefront :is(.shop-nav__item, .shop-icon-btn, .shop-user__btn, .shop-telegram) {
    transition: all .25s cubic-bezier(.22, 1, .36, 1);
}

.storefront .shop-nav :is(a, button):focus-visible {
    outline: 2px solid var(--store-accent);
    outline-offset: 2px;
}

.store-home .store-panel {
    border-radius: 18px;
}

.store-home #store-notice-title {
    scroll-margin-top: 94px;
}

.store-home .store-module-title {
    border-inline-start: 0;
    background: linear-gradient(110deg, var(--home-wash), transparent);
}

.store-home .store-table :is(th, td) {
    border-color: var(--home-rule);
}

.store-home .store-table th {
    background: var(--home-wash);
}

.store-home :is(.store-product-cover, .store-search-field, .store-order-link) {
    border-radius: 11px;
    background: var(--category-icon);
}

.store-home :is(.store-search-field, .store-order-link) {
    border-color: var(--home-rule);
}

.store-home :is(.store-purchase, .store-sold-button, .store-retry) {
    border-radius: 999px;
}

.store-home .store-pagination button:enabled:hover {
    background: var(--category-glass-active);
    color: var(--category-accent);
}

:is(.store-home, .member-page, .store-product-page) > .store-footer {
    border-color: var(--category-edge);
    background: var(--category-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--category-shadow);
}

:is(.store-home, .member-page, .store-product-page) .store-footer-meta {
    border-color: var(--home-rule);
}

.store-home :is(.store-pagination button, .store-footer a, .store-footer button):focus-visible {
    outline: 2px solid var(--category-accent);
    outline-offset: 2px;
}

.store-sidebar-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.store-sidebar {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--category-edge);
    border-radius: 18px;
    background: var(--category-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--category-shadow);
}

.store-sidebar-title {
    display: flex;
    align-items: center;
    min-height: 45px;
    margin: 0;
    padding: 0 20px;
    border-bottom: 1px solid var(--home-rule);
    background: var(--home-wash);
    color: var(--store-muted);
    font-size: .875rem;
    font-weight: 650;
}

@media (min-width: 761px) {
    .store-layout:not(.store-layout--category) .store-sidebar-column,
    html.shop-compact .store-sidebar-column {
        margin-top: calc(var(--catalog-toolbar-height) + var(--catalog-gap));
    }
}

.store-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    margin: 0 8px;
    color: var(--store-muted);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .07em;
}

.store-section-title .material-icons-outlined {
    font-size: 16px;
}

.store-order-link .material-icons-outlined {
    color: var(--store-accent);
    font-size: 20px;
}

.store-categories {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-categories .store-categories {
    padding-inline-start: 12px;
}

.store-categories .store-categories:not(:has(> li)) {
    display: none;
}

.store-category {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 7px 14px;
    color: var(--category-ink);
    font-size: var(--category-item-font-size);
    line-height: var(--category-item-line-height);
    overflow-wrap: anywhere;
    transition: background-color .2s ease, color .2s ease;
}

.store-category__label {
    display: grid;
    min-width: 0;
    gap: 2px;
    line-height: 1.25;
    white-space: normal;
}

.store-category__model {
    color: var(--store-muted);
    font-size: 14px;
    font-weight: 550;
}

.store-category__service {
    color: inherit;
    font-size: 16px;
    font-weight: 650;
}

.store-sidebar .store-category:focus-visible {
    outline: 2px solid var(--category-accent);
    outline-offset: -3px;
}

.store-category > .store-category__icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 6px;
    border: 1px solid var(--category-edge);
    border-radius: 10px;
    background: var(--category-icon);
    box-shadow: 0 2px 5px rgba(15, 23, 42, .09);
    font-size: 20px;
    object-fit: contain;
}

.store-category[aria-current="page"] > .store-category__icon {
    background: var(--category-icon-active);
}

@media (hover: hover) {
    .store-home .store-table tbody tr:hover {
        background: var(--home-wash);
    }

    .store-category:hover:not([aria-current="page"]) {
        background: var(--home-wash);
        color: var(--category-accent);
    }
}

@media (max-width: 760px) {
    .storefront .uc-topbar__inner {
        padding-inline: 10px;
    }

    .storefront .shop-user__btn {
        padding: 3px;
    }

    .store-categories {
        flex-direction: row;
    }

    .store-sidebar > .store-categories {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .store-categories li {
        display: flex;
        flex: none;
    }

    .store-categories .store-categories {
        margin: 0;
        padding: 0;
    }

    .store-category {
        gap: 10px;
        min-width: 132px;
        max-width: 200px;
    }
}

@media (max-width: 960px) {
    .storefront .shop-telegram {
        justify-content: center;
        width: 34px;
        padding: 0;
    }

    .storefront .shop-telegram span,
    .storefront .shop-nav__divider {
        display: none;
    }
}

@media (max-width: 380px) {
    .storefront .shop-brand__tag {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uc-body.storefront :is(.shop-nav__item, .shop-icon-btn, .shop-user__btn, .shop-telegram, .nav-icon) {
        transition: none;
    }

    .store-category {
        transition: none;
    }

}

.store-catalog,
.store-catalog-modules {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--catalog-gap);
}

.store-catalog-modules:empty {
    display: none;
}

.store-module {
    overflow: hidden;
}

.store-module-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 14px 20px;
    border-inline-start: 3px solid var(--store-accent);
    background: var(--store-accent-bg);
    color: var(--store-ink);
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.store-module-title[hidden] {
    display: none;
}

.store-module-title img {
    flex: none;
    object-fit: contain;
}

.store-module-empty {
    margin: 0;
    padding: 15px 20px;
    color: var(--store-muted);
    font-size: .875rem;
}

.store-catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: var(--catalog-toolbar-height);
}

html:not(.shop-compact) .store-layout--category .store-catalog-header {
    display: none;
}

#store-catalog-title,
.store-catalog {
    scroll-margin-top: 90px;
}

#store-catalog-title {
    overflow-wrap: anywhere;
}

.store-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.store-pagination[hidden] {
    display: none;
}

.store-pagination button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--store-accent);
    font-weight: 600;
}

.store-pagination button:enabled:hover {
    background: var(--store-accent-bg);
}

.store-pagination button:disabled {
    color: var(--store-muted);
    opacity: .6;
}

.store-page-position {
    min-width: 5ch;
    color: var(--store-muted);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.store-search {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding-inline: 10px;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: var(--store-soft);
    color: var(--store-muted);
}

.store-search-field .material-icons-outlined {
    font-size: 19px;
}

.store-search input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--store-ink);
    font-size: 1rem;
}

.store-search input::placeholder {
    color: var(--store-muted);
}

.store-search input:focus {
    outline: none;
}

.store-search-field:focus-within,
.store-shell :is(a, button):focus-visible {
    outline: 2px solid var(--store-accent);
    outline-offset: 2px;
}

.store-search button,
.store-purchase,
.store-sold-button,
.store-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--store-button);
    color: var(--store-on-button, #fff);
    font-size: .875rem;
    font-weight: 650;
    white-space: nowrap;
}

.store-search button {
    border: 1px solid #d2dfed;
    border-radius: 11px;
    background: #e6effb;
    color: #576576;
    box-shadow: inset 0 1px rgba(255, 255, 255, .74);
}

.store-search button:lang(zh) > span {
    padding-inline-start: 16px;
    letter-spacing: 16px;
}

.store-search button:hover {
    background: #dce9f8;
}

[data-theme="dark"] .store-search button {
    border-color: var(--home-rule);
    background: var(--home-wash);
    color: var(--store-muted);
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}

[data-theme="dark"] .store-search button:hover {
    background: var(--store-soft);
    color: var(--store-ink);
}

.store-purchase:hover,
.store-retry:hover {
    color: var(--store-on-button, #fff);
    background: var(--store-button-hover);
}

.store-table {
    width: 100%;
    table-layout: fixed;
    font-size: .9375rem;
}

.store-table th,
.store-table td {
    padding: 12px;
    border-top: 1px solid var(--store-border);
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.store-table :is(th, td):first-child {
    padding-inline-start: 20px;
}

.store-table th {
    color: var(--store-muted);
    background: var(--store-soft);
    font-size: .875rem;
    font-weight: 650;
}

.store-table th:nth-child(2) {
    width: 16%;
}

.store-table th:nth-child(3) {
    width: 17%;
}

.store-table .store-action-cell {
    width: 103px;
    padding-inline-end: 20px;
    text-align: end;
}

.store-product {
    display: flex;
    align-items: center;
    gap: 11px;
}

.store-product-cover {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 8px;
    background: var(--store-soft);
    object-fit: cover;
}

.store-product-copy {
    min-width: 0;
}

.store-product-name {
    color: var(--store-ink);
    font-weight: 700;
}

.store-product-name:hover {
    color: var(--store-accent);
    text-decoration: underline;
}

.store-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.store-account-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.store-account-labels .acg-tag {
    font-size: .975rem;
}

.store-product-copy > .store-account-labels {
    display: none;
}

@media (min-width: 761px) {
    .store-module { container-type: inline-size; }
    .store-table-with-labels th.store-account-type { width: calc(16cqi + 170px); }
    .store-table-with-labels th:nth-child(3) { width: 16%; }
    .store-table-with-labels th:nth-child(4) { width: 12%; }
}

@media (max-width: 760px) {
    .store-table-with-labels .store-account-type { display: none; }
    .store-table.store-table-with-labels th:nth-child(3) { width: 23%; }
    .store-table-with-labels th:nth-child(4) { width: 13%; }
    .store-product-copy > .store-account-labels {
        display: flex;
        margin-top: 4px;
    }
}

.store-tag {
    padding: 2px 6px;
    border-radius: 5px;
    font-size: .8125rem;
}

.store-tag:not(.acg-tag) {
    background: var(--store-accent-bg);
    color: var(--store-accent);
}

.store-price {
    color: var(--store-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.store-stock {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--store-stock);
    background: var(--store-stock-bg);
    font-size: .875rem;
}

.store-stock.is-sold-out {
    color: var(--store-muted);
    background: var(--store-soft);
}

.store-sold-button:disabled {
    background: color-mix(in srgb, var(--store-muted) 16%, var(--store-surface));
    color: var(--store-muted);
    cursor: not-allowed;
}

.store-status {
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 64px 16px;
    color: var(--store-muted);
    text-align: center;
}

.store-status[hidden],
.store-retry[hidden] {
    display: none;
}

.store-status p {
    margin: 0;
}

.store-status .material-icons-outlined {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: var(--store-accent);
    background: var(--store-accent-bg);
}

@media (max-width: 760px) {
    .store-shell {
        width: calc(100% - 28px);
        padding-top: 24px;
    }

    .store-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .store-notice,
    .store-contact {
        padding: 16px;
        margin-bottom: 14px;
    }

    .store-home .store-shell {
        padding-top: 16px;
    }

    .store-search {
        width: 100%;
    }

    .store-table th,
    .store-table td {
        padding: 10px 8px;
    }

    .store-table :is(th, td):first-child {
        padding-inline-start: 12px;
    }
}

@media (max-width: 520px) {
    .store-table th:nth-child(2) {
        width: 23%;
    }

    .store-table th:nth-child(3) {
        width: 13%;
    }

    .store-table .store-action-cell {
        width: 62px;
        padding-inline-end: 8px;
    }

    .store-table :is(.store-purchase, .store-sold-button) {
        min-height: 34px;
        padding-inline: 8px;
    }

    .store-product-cover {
        width: 30px;
        height: 30px;
    }

    .store-product {
        gap: 7px;
    }
}

[data-theme="dark"] .store-home :is(.store-product-cover, .store-category > img.store-category__icon) {
    background: #e6eaf0;
}

[data-theme="dark"] .storefront .shop-telegram:not(:hover) {
    background: rgba(245, 196, 81, .12);
}

/* Shared ice-blue surface for primary actions across the customer portal. */
:root[data-theme] .storefront :is(.shop-btn--primary, .store-purchase, .store-retry, .store-item-submit, .btn-gradient, .btn-primary, .view-card-btn, .uc-main .uc-cta:not(.uc-cta--ghost), .uc-main .uc-quick:not(.uc-quick--ghost), .uc-main .uc-ticket-primary) {
    background-color: var(--store-button);
    background-image: linear-gradient(165deg, rgba(255, 255, 255, .32), transparent 75%);
    color: var(--store-on-button);
    box-shadow: inset 0 0 0 1px rgba(91, 156, 209, .32), inset 0 2px 0 rgba(255, 255, 255, .48), 0 2px 6px rgba(55, 108, 150, .08);
}

:root[data-theme] .storefront :is(.shop-btn--primary, .store-purchase, .store-retry, .store-item-submit, .btn-gradient, .btn-primary, .view-card-btn):not(:disabled):is(:hover, :active) {
    background-color: var(--store-button-hover);
    color: var(--store-on-button);
}


/* Full-width ice-blue glass navigation */
.storefront .uc-topbar {
    top: 0;
    margin-top: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--nav-edge);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
}
.storefront .uc-topbar,
.storefront.store-home .uc-topbar {
    background: linear-gradient(105deg, rgba(209,232,255,.95), rgba(232,246,255,.91) 50%, rgba(229,230,252,.95));
    box-shadow: 0 3px 15px #4f8bc015, inset 0 -1px #ffffffaa;
}
[data-theme="dark"] .storefront .uc-topbar {
    background: linear-gradient(105deg, #17283bf2, #192a36ed 50%, #25283cf2);
    box-shadow: 0 3px 15px #0002;
}
.storefront .uc-topbar .uc-topbar__inner {
    width: min(calc(100% - 36px), 1240px);
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}
.storefront .uc-topbar .shop-nav { height: 76px; }
.storefront .uc-topbar .shop-brand img {
    border-radius: 12px;
    background: #f7fbffb8;
    box-shadow: 0 2px 10px #427caa20;
}
:root[data-theme] .storefront .uc-topbar .shop-auth .shop-btn--primary {
    background: #356fa0;
    color: white;
    border: 1px solid #326b9c;
}
:root[data-theme] .storefront .uc-topbar .shop-auth .shop-btn--primary:hover {
    background: #2e6390;
}
@media (max-width: 760px) {
    .storefront .uc-topbar .shop-nav { height: 62px; }
}
@media (max-width: 640px) {
    .storefront .uc-topbar .uc-topbar__inner { width: calc(100% - 24px); }
}

/* Homepage introduction */
.store-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr) minmax(195px, .67fr);
    grid-template-areas: "title cards services" "marks cards services";
    align-items: center;
    gap: 15px 26px;
    padding: 24px 22px;
    color: var(--store-ink);
}
.store-intro-copy { grid-area: title; }
.store-intro h1 { margin: 0; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -.035em; }
.store-intro h1 em { color: var(--store-accent); font-style: normal; }
.store-intro p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--store-muted); }
.store-intro ul { list-style: none; padding: 0; margin: 0; }
.store-intro li { display: flex; align-items: center; gap: 12px; }
.store-intro strong, .store-intro small { display: block; }
.store-intro strong { font-size: 15px; }
.store-intro small { margin-top: 2px; font-size: 12px; line-height: 1.55; color: var(--store-muted); }
.store-intro-platforms { grid-area: marks; display: flex; flex-wrap: wrap; gap: 10px; }
.store-intro-platforms li { gap: 4px; font-size: 12px; font-weight: 600; }
.store-intro-platforms img { width: 18px; height: 18px; }
.store-intro-cards {
    grid-area: cards;
    justify-self: center;
    width: min(100%, 268px);
    border-radius: 16px;
    background: #fafbfc;
    box-shadow: 0 4px 20px #4875a219;
}
[data-theme="dark"] .store-intro-cards { background: #263443; }
.store-intro-cards li { gap: 10px; padding: 14px 20px; }
.store-intro-cards li + li { border-top: 1px solid #9bb8d538; }
.store-intro-cards .material-icons-outlined { color: var(--store-accent); }
.store-intro-services { grid-area: services; display: grid; gap: 12px; }
.store-intro-services .material-icons-outlined {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 23px;
    background: #deebff;
    color: #3969ab;
}
.store-intro-services li:nth-child(2) .material-icons-outlined { background: #ddf2e9; color: #258263; }
.store-intro-services li:nth-child(3) .material-icons-outlined { background: #e9e4ff; color: #7352ae; }
@media (max-width: 860px) {
    .store-intro {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "title" "cards" "services" "marks";
        gap: 14px;
        padding: 16px 8px;
    }
    .store-intro-cards { width: min(100%, 420px); display: grid; grid-template-columns: repeat(2, 1fr); }
    .store-intro-cards li { gap: 6px; padding: 10px 8px; }
    .store-intro-cards li + li { border-top: 0; border-inline-start: 1px solid #9bb8d538; }
    .store-intro-services { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 10px; }
}

.store-home .uc-topbar:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.storefront .uc-topbar.is-scrolled {
    background: #eef5fc;
    box-shadow: 0 2px 8px rgb(25 60 90 / 10%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
[data-theme="dark"] .storefront .uc-topbar.is-scrolled {
    background: #1c293a;
}

.store-product-page .store-item-heading {
    border-color: var(--home-rule);
    background: linear-gradient(110deg, var(--home-wash), transparent);
}
.store-product-page :is(.store-item-checkout, .store-item-steps) {
    border-color: var(--home-rule);
    background: var(--home-wash);
}
.store-product-page .store-item-total { border-color: var(--home-rule); }
.store-product-page .uc-topbar:not(.is-scrolled) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.store-home {
    --catalog-heading: #e6effc;
    --catalog-heading-rule: #cddff0;
    --catalog-row-rule: #6589aa20;
    --catalog-selected: #d6e9fa;
}
[data-theme="dark"] .store-home {
    --catalog-heading: #202d3a;
    --catalog-heading-rule: #344555;
    --catalog-row-rule: #abc7e122;
    --catalog-selected: #233b50;
}
.store-home :is(.store-sidebar, .store-module, .store-notice, .store-contact) {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}
.store-home .store-table { background: transparent; }
.store-home :is(.store-sidebar-title, .store-table th, .store-notice-heading) {
    height: 44px;
    background: var(--catalog-heading);
    border: 0;
    border-bottom: 1px solid var(--catalog-heading-rule);
}
.store-home :is(.store-sidebar-title, .store-notice-heading) { border-radius: 14px 14px 0 0; }
.store-home .store-table th:first-child { border-top-left-radius: 14px; }
.store-home .store-table th:last-child { border-top-right-radius: 14px; }
.store-home .store-table td {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--catalog-row-rule);
}
.store-home .store-category {
    border: 0;
    border-radius: 12px;
}
.store-home .store-category[aria-current="page"] {
    background-color: var(--catalog-selected);
    color: var(--category-accent);
}

.store-home :is(.store-notice, .store-contact) { padding: 0; }
.store-home .store-notice-heading {
    padding-inline: clamp(12px, 2vw, 20px);
    margin: 0;
}
.store-home .store-notice-icon { background: transparent; flex-basis: 20px; width: 20px; }
.store-home :is(.store-notice-content, .store-contact-list) {
    padding: 14px clamp(12px, 2vw, 20px);
    border-bottom: 1px solid var(--catalog-row-rule);
}
