﻿/* app-creative.min.css */
.modal-header {
    padding: 6px 12px !important;
}
.btn-danger:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:focus,
.btn-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}
body, .wrapper, .content-page {
    overflow: visible;
}

@font-face {
	font-family: usaxhj;
	src: url(../fonts/larcms.otf) format("opentype");
	font-weight: 400
}

body[data-leftbar-compact-mode=condensed] {
    min-height: 0;
}
body[data-layout=topnav] .content-page {
    padding: 0!important;
    min-height: 0;
}


.page-title-right {
     /* display: block !important; */
    float: right !important;
    margin-top: 17px !important;
}
@media screen and (max-width: 380px) {
    .app-search {
        width: 160px;
    }
}

.hyper-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 20px 0;
    line-height: 16px;
    border-top: 1px solid rgba(152,166,173,.2);
    color: #98a6ad;
}

.hyper-footer a {
    color: #919ca7;
}


@media screen and (min-width: 770px) {
    .hyper-sm-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }
}

.buy-btn {
    color: #ffffff;
    width: 100%;
    padding: 10px 10px;
    font-size: 15px;
    background: #2679ff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.buy-btn:hover {
     background: #003bc4;
}

.kami-link {
    color: #005fff;
    text-decoration: underline;
}
.kami-sep {
    color: #cbcbcb; /* 只有横线灰色 */
}

.chaxun {
    color: #ffffff;
    min-width: 96px;
    padding: 7px 10px;
    font-size: 14px;
    background: #2679ff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.chaxun:hover {
    background: #004bbf;
}
.user-chip {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
    background: #1f314f;
}
.auth-shell {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 0;
}
.auth-card {
    width: min(100%, 430px);
    padding: 28px;
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(42, 57, 83, 0.12);
}
.auth-title {
    margin-bottom: 22px;
    color: #14233f;
    font-size: 24px;
    font-weight: 800;
}
.auth-card label {
    color: #405572;
    font-size: 13px;
    font-weight: 700;
}
.auth-card .form-control {
    min-height: 44px;
    border-color: rgba(38, 121, 255, 0.16);
    border-radius: 10px;
    color: #22324c;
}
.auth-card .form-control:focus {
    border-color: rgba(38, 121, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(38, 121, 255, 0.1);
}
.auth-error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #d9363e;
    background: rgba(255, 77, 79, 0.1);
    font-size: 13px;
    font-weight: 700;
}
.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 18px;
}
.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}
.auth-submit {
    width: 100%;
    min-height: 45px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #2679ff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(38, 121, 255, 0.24);
}
.auth-submit:hover {
    color: #fff;
    background: #1769ef;
}
.auth-switch {
    margin-top: 18px;
    text-align: center;
    color: #6d7f98;
    font-size: 14px;
}
.auth-switch a {
    color: #2679ff;
    font-weight: 800;
}
.auth-code-row {
    display: grid;
    grid-template-columns: 1fr 118px;
    gap: 8px;
}
.auth-code-btn {
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #1f314f;
    font-size: 13px;
    font-weight: 800;
}
.auth-code-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}
.auth-code-tip {
    min-height: 20px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
}
.auth-code-tip.success {
    color: #12a150;
}
.auth-code-tip.error {
    color: #d9363e;
}
.user-center-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0 34px;
    min-width: 0;
}
.user-center-sidebar,
.user-center-panel {
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 38px rgba(42, 57, 83, 0.1);
    min-width: 0;
}
.user-center-sidebar {
    padding: 16px;
    align-self: start;
}
.user-center-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(38, 121, 255, 0.1);
}
.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #2679ff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(38, 121, 255, 0.22);
}
.user-meta {
    min-width: 0;
}
.user-name {
    color: #14233f;
    font-size: 15px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-email {
    color: #73839a;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-center-tabs {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}
.user-tab {
    border: 0;
    min-height: 42px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #415572;
    font-size: 14px;
    font-weight: 800;
    background: rgba(245, 248, 252, 0.9);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    font-family: inherit;
}
.user-tab:hover,
.user-tab.active {
    color: #fff;
    background: #2679ff;
    transform: translateY(-1px);
}
.user-logout-form {
    margin: 0;
}
.user-logout-tab {
    color: #d9363e;
    background: rgba(255, 77, 79, 0.08);
}
.user-logout-tab:hover {
    color: #fff;
    background: #d9363e;
}
.user-center-panel {
    min-height: 480px;
    padding: 22px;
}
.user-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.user-panel-title {
    color: #14233f;
    font-size: 22px;
    font-weight: 900;
}
.user-panel-subtitle {
    margin-top: 4px;
    color: #71839a;
    font-size: 13px;
}
.user-message {
    margin-bottom: 12px;
}
.user-tab-pane {
    display: none;
    animation: userPaneIn 0.16s ease;
}
.user-tab-pane.active {
    display: block;
}
@keyframes userPaneIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.user-form {
    max-width: 520px;
    min-width: 0;
}
.user-form label {
    color: #405572;
    font-size: 13px;
    font-weight: 800;
}
.user-submit {
    width: 150px;
}
.wallet-card {
    max-width: 360px;
    padding: 22px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #2679ff 0%, #1f314f 100%);
    box-shadow: 0 16px 34px rgba(38, 121, 255, 0.22);
}
.wallet-label {
    font-size: 13px;
    opacity: 0.86;
}
.wallet-balance {
    margin-top: 10px;
    font-size: 34px;
    font-weight: 900;
}
.user-empty {
    margin-top: 16px;
    padding: 18px;
    border: 1px dashed rgba(38, 121, 255, 0.22);
    border-radius: 12px;
    color: #667891;
    background: rgba(245, 248, 252, 0.72);
    font-size: 14px;
}
.subsite-preview {
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 14px;
    background: rgba(245, 248, 252, 0.72);
}
.subsite-logo-box {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 18px rgba(42, 57, 83, 0.08);
}
.subsite-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.subsite-preview-title {
    color: #14233f;
    font-size: 16px;
    font-weight: 900;
}
.subsite-preview-text {
    margin-top: 4px;
    color: #71839a;
    font-size: 13px;
}
.subsite-detail-grid {
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.subsite-detail-item {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 12px;
    background: rgba(245, 248, 252, 0.72);
}
.subsite-detail-item span {
    display: block;
    margin-bottom: 5px;
    color: #71839a;
    font-size: 12px;
    font-weight: 800;
}
.subsite-detail-item strong,
.subsite-detail-item a {
    display: block;
    min-width: 0;
    color: #14233f;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.subsite-visibility {
    max-width: 820px;
    margin: 18px 0;
}
.subsite-section-title {
    margin: 18px 0 10px;
    color: #14233f;
    font-size: 15px;
    font-weight: 900;
}
.subsite-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.subsite-check-row {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 12px;
    color: #1f314f;
    background: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
}
.subsite-check-row input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}
.subsite-check-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.subsite-payout-grid {
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.subsite-sales-list {
    max-width: 820px;
    display: grid;
    gap: 8px;
}
.subsite-sales-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 100px 130px 120px;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 12px;
    color: #526069;
    background: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
}
.subsite-sales-name {
    min-width: 0;
    color: #14233f;
    overflow-wrap: anywhere;
}
.subsite-goods-price-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(280px, 1.35fr);
    gap: 9px;
    align-items: center;
}
.subsite-price-editor {
    min-height: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(38, 121, 255, 0.12);
    border-radius: 12px;
    color: #526069;
    background: rgba(245, 248, 252, 0.72);
    font-size: 12px;
    font-weight: 800;
}
.subsite-price-editor label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.subsite-price-editor input {
    width: 92px;
    height: 30px;
    padding: 4px 8px;
    border: 1px solid rgba(38, 121, 255, 0.18);
    border-radius: 8px;
    color: #14233f;
    background: #fff;
}
.subsite-goods-group {
    margin-bottom: 12px;
}
.subsite-goods-group-title {
    margin-bottom: 8px;
    color: #71839a;
    font-size: 13px;
    font-weight: 900;
}
.subsite-closed {
    max-width: 520px;
    margin-top: 0;
}
.subsite-closed-title {
    margin-bottom: 6px;
    color: #14233f;
    font-size: 16px;
    font-weight: 900;
}
.user-order-list {
    display: grid;
    gap: 10px;
}
.user-order-item {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 76px 94px 90px 70px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(38, 121, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
}
.order-main {
    min-width: 0;
}
.order-title {
    color: #1f314f;
    font-size: 14px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.order-sn {
    margin-top: 4px;
    color: #8190a5;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.order-cell {
    color: #405572;
    font-size: 13px;
    font-weight: 700;
}
.order-cell::before {
    display: none;
}
.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.order-status.success {
    color: #0f8a43;
    background: rgba(18, 161, 80, 0.1);
}
.order-status.warning {
    color: #b76a00;
    background: rgba(255, 159, 28, 0.12);
}
.order-status.info,
.order-status.primary {
    color: #1769ef;
    background: rgba(38, 121, 255, 0.1);
}
.order-status.danger {
    color: #d9363e;
    background: rgba(255, 77, 79, 0.1);
}
.order-detail-btn {
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: #2679ff;
    font-size: 12px;
    font-weight: 900;
}
.order-detail-btn:hover {
    color: #fff;
    background: #1769ef;
}

/* Home Page */
i.fas,
i.far,
i.fa-solid,
i.fa-regular {
  color: #fff; /* 白色 */
  margin-right: 2px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) 
}

/* modal-dialog */
.modal-body img {
    max-width: 100%;
    height: auto;
}
@media screen and (min-width: 1330px) {
    .modal-dialog {
        max-width: 900px !important;
    }
}
@media screen and (max-width: 1330px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}


.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.category-nav-panel {
    padding: 10px;
    border: 1px solid rgba(38, 121, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 24px rgba(65, 84, 104, 0.07);
}
.category-nav-panel .nav-list {
    margin-bottom: 0;
}
.category-page-indicator {
    display: none;
}
.catalog-products-panel {
    width: 100%;
}
.load-more-wrap {
    display: none;
    padding: 12px 0 2px;
    text-align: center;
}
.load-more-btn {
    min-width: 150px;
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    color: #fff;
    background: #2679ff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(38, 121, 255, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.load-more-btn:hover {
    color: #fff;
    background: #1769ef;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(38, 121, 255, 0.28);
}
.nav-list::-webkit-scrollbar {
    display: none; 
}
@media screen and (min-width: 770px) {
    .tab-link {
        min-width: 90px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}
@media screen and (max-width: 769px) {
    .header-actions {
        gap: 6px;
    }
    .header-actions .chaxun {
        min-width: auto;
        padding: 7px 9px;
        font-size: 13px;
    }
    .header-actions .user-chip {
        max-width: 82px;
    }
    .auth-shell {
        min-height: calc(100vh - 150px);
        padding: 20px 0;
    }
    .auth-card {
        padding: 22px 18px;
        border-radius: 14px;
    }
    .auth-code-row {
        grid-template-columns: 1fr 104px;
    }
    .user-center-shell {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 0 22px;
    }
    .user-center-sidebar,
    .user-center-panel {
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(42, 57, 83, 0.08);
    }
    .user-center-sidebar {
        padding: 12px 10px;
    }
    .user-center-identity {
        gap: 10px;
        padding: 0 2px 12px;
    }
    .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 18px;
    }
    .user-name {
        font-size: 14px;
    }
    .user-email {
        font-size: 11px;
    }
    .user-center-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-flow: row;
        gap: 7px;
        margin-top: 12px;
        overflow: visible;
        padding-bottom: 0;
    }
    .user-tab {
        min-height: 58px;
        padding: 8px 5px;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
        border-radius: 10px;
    }
    .user-tab .mdi {
        font-size: 18px;
        line-height: 1;
    }
    .user-center-panel {
        min-height: 320px;
        padding: 14px;
    }
    .user-panel-head {
        margin-bottom: 14px;
    }
    .user-panel-title {
        font-size: 19px;
    }
    .user-panel-subtitle {
        font-size: 12px;
    }
    .user-form {
        max-width: none;
    }
    .user-form .form-control {
        min-height: 42px;
        font-size: 14px;
    }
    .user-submit {
        width: 100%;
    }
    .wallet-card {
        max-width: none;
        padding: 18px;
        border-radius: 14px;
    }
    .wallet-balance {
        font-size: 28px;
        word-break: break-all;
    }
    .user-empty {
        padding: 14px;
        font-size: 13px;
    }
    .subsite-preview {
        max-width: none;
        align-items: flex-start;
        padding: 12px;
    }
    .subsite-detail-grid,
    .subsite-check-grid,
    .subsite-payout-grid,
    .subsite-sales-row,
    .subsite-goods-price-row {
        grid-template-columns: 1fr;
    }
    .subsite-logo-box {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    .subsite-preview-title {
        font-size: 14px;
    }
    .subsite-preview-text {
        font-size: 12px;
    }
    .user-order-item {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
        gap: 9px 10px;
        padding: 12px;
    }
    .order-main {
        grid-column: 1 / -1;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(38, 121, 255, 0.08);
    }
    .order-title {
        font-size: 14px;
    }
    .order-sn {
        font-size: 11px;
    }
    .order-cell {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 4px;
        color: #1f314f;
        font-size: 13px;
    }
    .order-cell::before {
        display: block;
        content: attr(data-label);
        color: #8190a5;
        font-size: 11px;
        font-weight: 800;
    }
    .order-detail-btn {
        grid-column: 1 / -1;
        width: 100%;
        padding: 9px 12px;
        text-align: center;
    }
    .category-nav-panel {
        padding: 10px 10px 8px;
        margin-bottom: 14px !important;
        backdrop-filter: blur(8px);
    }
    .nav-list {
        display: grid;
        grid-template-rows: repeat(2, 70px);
        grid-auto-flow: column;
        gap: 8px 6px;
        margin-bottom: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 1px 4px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }
    .tab-link {
        min-width: 0;
        width: 100%;
        min-height: 0;
        padding: 7px 3px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        text-align: center;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    .tab-link.page-start {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
    .tab-link:hover,
    .tab-link.active {
        background: transparent !important;
        box-shadow: none !important;
    }
    .nav-list .divider {
        display: none;
    }
    .tab-link .tab-title {
        width: 100%;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 600;
        min-height: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: 0;
    }
    .tab-link .img-checkmark {
        display: none;
    }
}

@media screen and (max-width: 380px) {
    .user-center-panel {
        padding: 12px;
    }
    .user-tab {
        min-height: 54px;
        font-size: 11px;
    }
    .user-tab .mdi {
        font-size: 17px;
    }
    .wallet-balance {
        font-size: 25px;
    }
}
.tab-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(38, 121, 255, 0.08);
}
.tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 769px) {
    .tab-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 10px;
        background: rgba(38, 121, 255, 0.08);
        border: 1px solid rgba(38, 121, 255, 0.08);
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .category-page-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 22px;
        margin-top: 5px;
    }
    .category-page-dot {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border: 0;
        border-radius: 999px;
        background: rgba(38, 121, 255, 0.12);
        color: #6c7d8f;
        font-size: 11px;
        line-height: 18px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }
    .category-page-dot.active {
        color: #fff;
        background: #2679ff;
        transform: translateY(-1px);
    }
}

.home-card {
    font-size: 14px;
    display: flex;
    border-radius: 9px;
    background-color: #fff;
}
.category {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 10px rgba(116, 116, 116, 0.1);
}  

.category:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 3px 12px 0 rgb(88 121 142 / 20%);
  cursor: pointer;
}

/* header */
.header-navbar {
    height: 70px;
    background-color: #fff;
    box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
}
.header-flex {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    column-gap: 12px;
}
/* 左侧 LOGO + 标题：可收缩，标题过长显示省略号 */
.topnav-logo.header-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}
.topnav-logo.header-brand img {
    flex-shrink: 0;
    height: clamp(28px, 4vw + 16px, 38px);
    width: auto;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}
.header-actions form {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
}
.btn-twofa {
    background: #2679ff !important;
    color: #ffffff !important;
}
.btn-twofa:hover {
    background: #004bbf !important;
    color: #fff !important;
}

/* 2FA TOTP 生成页 */
.twofa-gen-card,
.twofa-help-card {
    border-radius: 14px !important;
    overflow: hidden;
}
.twofa-gen-head {
    background: #2679ff;
    color: #fff;
    padding: 14px 18px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.twofa-gen-head .mdi-key-variant {
    font-size: 1.35rem;
    opacity: 0.95;
}
.twofa-gen-body {
    background: #fff;
    padding: 1.25rem 1.25rem 1.35rem;
}
.twofa-label {
    display: block;
    font-weight: 600;
    color: #323a46;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}
.twofa-input {
    border-radius: 10px;
    border-color: #dee2e6;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
}
.twofa-input:focus {
    border-color: #2679ff;
    box-shadow: 0 0 0 0.15rem rgba(38, 121, 255, 0.18);
}
.twofa-hint {
    display: block;
    margin-top: 0.35rem;
    color: #98a6ad;
    font-size: 0.82rem;
}
.twofa-err-msg {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}
.twofa-gen-btn {
    margin-top: 1rem;
    background: #2679ff;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}
.twofa-gen-btn:hover {
    background: #1769ef;
    color: #fff !important;
}
.twofa-gen-btn .mdi {
    margin-right: 4px;
    vertical-align: -2px;
}
.twofa-result {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px dashed rgba(152, 166, 173, 0.45);
}
.twofa-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.twofa-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #2679ff;
}
.twofa-copy-btn {
    padding: 0;
    font-size: 0.9rem;
    color: #2679ff !important;
}
.twofa-countdown {
    margin-top: 0.6rem;
    font-size: 0.88rem;
    color: #98a6ad;
}
.twofa-help-head {
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid rgba(152, 166, 173, 0.25);
    font-weight: 700;
    color: #323a46;
    display: flex;
    align-items: center;
    gap: 8px;
}
.twofa-help-head .mdi-information-outline {
    font-size: 1.35rem;
    color: #2679ff;
}
.twofa-help-body {
    background: #fff;
    padding: 1rem 1.25rem 1.2rem;
}
.twofa-help-list {
    padding-left: 1.15rem;
    margin: 0;
    color: #526069;
    font-size: 0.95rem;
    line-height: 1.75;
}
/* 站点名称：随视口平滑缩放（窄屏更小、宽屏更大；避免仅靠 vw 过早触顶） */
.header-navbar .topnav-logo.header-brand .logo-title {
    font-size: clamp(0.8125rem, 0.58rem + 1.35vw, 1.875rem);
    font-weight: 700;
    display: block;
    color: #333;
    margin-left: clamp(6px, 1.5vw, 10px);
    vertical-align: middle;
    font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}
/* 窄屏：仍为单行，站名省略号 + 按钮略收紧，与 Logo、按钮垂直居中同一水平线 */
@media screen and (max-width: 576px) {
    .header-flex {
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }
    .topnav-logo.header-brand {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        align-items: center;
    }
    .header-navbar .topnav-logo.header-brand .logo-title {
        font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
        font-weight: 800;
        white-space: nowrap;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }
    .header-actions {
        flex-shrink: 0;
        align-items: center;
        gap: 6px;
    }
    .header-actions .chaxun {
        min-width: unset;
        padding: 6px 7px;
        font-size: 12px;
        line-height: 1.25;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .header-actions .btn-twofa {
        padding: 6px 7px;
        font-size: 12px;
        line-height: 1.25;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 380px) {
    .header-navbar .topnav-logo.header-brand .logo-title {
        font-size: 0.95rem;
    }
    .header-actions {
        gap: 4px;
    }
    .header-actions .chaxun,
    .header-actions .btn-twofa {
        padding: 6px 6px;
        font-size: 11px;
    }
    .tab-link .tab-title {
        font-size: 10px;
    }
}

.price {
    vertical-align: middle;
    color: #ff553d; 

}


/* max-width: 769px 以下（手机） */
@media screen and (max-width: 769px) {
    .hyper-wrapper {
        display: inline;
        /*grid-gap: 12px;
        gap: 20px;*/
    }
    .home-card {
        padding: 12px;
        margin-bottom: 18px;
        align-items: flex-start;
        position: relative;
        flex-direction: row;
    }
    .home-img {
        max-width: 80px;
        margin-right: 12px;
        border-radius: 0.85rem;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    }
    
    span.tips {
    font-size: 12px;
    color: #767676;
    position: relative;
    top: -8px;
}

    .biaoti {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: -1px;
}
    .flex {
        display: flex;
        flex-direction: column;
    }
    .name {
        font-size: 14px;
    	display: -webkit-box;
        -webkit-line-clamp: 2;
    	-webkit-box-orient: vertical;
    	overflow: hidden;
    	text-align: left;
    	font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    }
    .price b {
        font-size: 16px;
        margin-left: 2px;
    }
    
.zidong {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #72ccc0;
    }
.rengong {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #f4a47e;
    }


.kucun {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 7px;
    margin: 0px 4px;
    border-radius: 3px;
    margin-right: 3px;
    color: #ffffff;
    background-color: #89a0e9;
    }

  
.dibu {
  position: absolute;
  left: 105px;
  bottom: 10px;
}
    
    
}

/* min-width: 770px 以上（平板） */
@media screen and (min-width: 770px) {
    .hyper-wrapper {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 20px;
        flex-direction: column;
    }
    .home-img {
        max-width: 88%;

    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
        overflow: hidden;
    }
    .price b {
        font-size: 22px;
        margin-left: 2px;
    }
}

/* min-width: 951px 以上（桌面） */
@media screen and (min-width: 989px) {
    .hyper-wrapper {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 20px;
    }
    .home-card {
        padding: 14px;
        position: relative;
    }
    .home-img {
        width: 100px;
        border-radius: 18px;
        height: 100px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);

    }
    
    .biaoti {
    margin-left: -5px;
    }
    
    span.tips {
    margin-left: 120px;
    font-size: 12px;
    color: #767676;

    }
    
    .zidong {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    color: #ffffff;
    background-color: #72ccc0;
    }

    .rengong {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    color: #ffffff;
    background-color: #f4a47e;
    }
    
  .kucun {
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    margin: 0 5px 0 4px;
    color: #ffffff;
    background-color: #89a0e9;
    }

   
 .dibu {
  position: absolute;
  left: 132px;
  bottom: 11px;
    }   
    
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
.name {
       font-size: 15px;
       min-height: 42px;
       margin: -101px 0px 0px 125px;
       display: -webkit-box;
       -webkit-line-clamp: 2;
       -webkit-box-orient: vertical;
       overflow: hidden;
       font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    }

    .price b {
    font-size: 18px;
    margin-left: 2px;
    }
}

.buy-shop {
color: #415468;
}

.geetest_holder.geetest_wind {
    width: 100% !important;
    min-width: 100% !important;
}
.buy-product img {
    max-width:100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
}
@media screen and (min-width: 770px) {
    .buy-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }
    .sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 12px;
    }
    .buy-shop {
        grid-column: span 2 / span 2;
    }
    .buy-product {
        grid-column: span 4 / span 4;
    }
}
/* pay-type */
@media screen and (min-width: 1330px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 380px) {
    .pay-grid {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2,minmax(0,300px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 380px) {
    .pay-grid {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
.pay-type {
    width: 100%;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #969696;
    transition: all 0.2s ease; 
}
.pay-type:hover {
    color: #3c4b50;
    font-weight: 700;
    transform: scale(0.98); 
    background: #d5d5d5;
}

.pay-type.active {
    color: #3c4b50;
    font-weight: 700;
    background: #d5d5d5;
    transition: background 0.3s ease;
    /* cursor: default; */
    /* pointer-events: none; */  /* 禁用悬停和点击事件 */
    /* transform: none !important; */  /* 防止缩放 */
}
.buy-price {
    color: #ff2600;
    text-shadow: 1px 1px 1px rgb(255 255 255 / 30%);
}

/* Orderinfo Page */

.orderinfo-grid {
    display: grid;
    grid-template-columns: auto;
}
@media screen and (min-width: 770px) {
    .orderinfo-card-grid {
        display: grid;
        grid-template-columns: repeat(6,minmax(0,1fr));
        grid-gap: 12px;
    }
    .orderinfo-info {
        grid-column: span 2 / span 2;
    }
    .orderinfo-kami {
        grid-column: span 4 / span 4;
    }
}
@media screen and (max-width: 769px) {
    .orderinfo-info {
        display: grid;
        justify-content: start;
    }
}
.textarea-kami {
    height: 125px;
    color: #e54f07;
    overflow-y: auto;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.kami-btn {
    margin-top: 6px;
    float: right;
    color: #2679ff;
    padding: 6px 15px;
    font-size: 14px;
    border: 1px solid #2679ff;
}

/* Footer */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 99;
}
#back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    width: 44px;
    height: 44px;
}

.tab-link {
    font-size: 15px;
    padding: 5px 10px;
    border-radius: .4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #415468;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(116, 116, 116, 0.08);
    transition: background 0.3s ease;
}

.tab-link:hover {
  color: #fff;
  background: #2679ff;
}

.tab-link.active {
    color: #fff;
    background: linear-gradient(-45deg, #0038de, #61b1ff);
}
.img-checkmark img {
    width: 36px;
}
.tab-link.active .img-checkmark {
    display: block;
}
.img-checkmark {
    position: absolute;
    opacity: 0.8;
    right: -6px;
    bottom: -12px;
    display: none;
}

@media screen and (max-width: 769px) {
    .nav-list .tab-link,
    .nav-list .tab-link:hover,
    .nav-list .tab-link.active {
        color: #415468;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    .nav-list .tab-link .img-checkmark {
        display: none !important;
    }
    .nav-list .tab-link.active .tab-icon {
        border-color: rgba(38, 121, 255, 0.72);
        box-shadow: 0 5px 14px rgba(38, 121, 255, 0.22);
        transform: translateY(-1px);
    }
    .nav-list .tab-link.active .tab-title {
        color: #2679ff;
    }
}

@media screen and (min-width: 770px) {
    .home-catalog-layout {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        --catalog-panel-height: calc(100vh - 120px);
    }
    .home-catalog-layout .category-nav-panel {
        width: 200px;
        flex: 0 0 200px;
        height: var(--catalog-panel-height);
        max-height: var(--catalog-panel-height);
        overflow: hidden;
        padding: 14px;
        margin-bottom: 0 !important;
    }
    .home-catalog-layout .category-nav-panel::before {
        content: "商品分类";
        display: block;
        margin: 0 2px 12px;
        color: #24364b;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
    }
    .home-catalog-layout .nav-list {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 9px;
        max-height: calc(var(--catalog-panel-height) - 43px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 2px;
        scrollbar-width: thin;
        scrollbar-color: rgba(38, 121, 255, 0.2) transparent;
    }
    .home-catalog-layout .nav-list::-webkit-scrollbar {
        width: 6px;
        display: block;
    }
    .home-catalog-layout .nav-list::-webkit-scrollbar-track {
        background: transparent;
    }
    .home-catalog-layout .nav-list::-webkit-scrollbar-thumb {
        background: rgba(38, 121, 255, 0.18);
        border: 2px solid rgba(255, 255, 255, 0.72);
        border-radius: 999px;
    }
    .home-catalog-layout .nav-list:hover::-webkit-scrollbar-thumb {
        background: rgba(38, 121, 255, 0.34);
    }
    .home-catalog-layout .divider,
    .home-catalog-layout .category-page-indicator {
        display: none;
    }
    .home-catalog-layout .tab-link {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        padding: 10px 12px;
        text-align: left;
        line-height: 1.2;
        border-radius: 10px;
    }
    .home-catalog-layout .tab-link .tab-title {
        min-width: 0;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .home-catalog-layout .catalog-products-panel {
        flex: 1 1 auto;
        min-width: 0;
        height: var(--catalog-panel-height);
        max-height: var(--catalog-panel-height);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 14px;
        border: 1px solid rgba(38, 121, 255, 0.1);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 8px 24px rgba(65, 84, 104, 0.07);
        scrollbar-width: thin;
        scrollbar-color: rgba(38, 121, 255, 0.2) transparent;
    }
    .home-catalog-layout .catalog-products-panel::-webkit-scrollbar {
        width: 6px;
    }
    .home-catalog-layout .catalog-products-panel::-webkit-scrollbar-track {
        background: transparent;
    }
    .home-catalog-layout .catalog-products-panel::-webkit-scrollbar-thumb {
        background: rgba(38, 121, 255, 0.18);
        border: 2px solid rgba(255, 255, 255, 0.72);
        border-radius: 999px;
    }
    .home-catalog-layout .catalog-products-panel:hover::-webkit-scrollbar-thumb {
        background: rgba(38, 121, 255, 0.34);
    }
    .home-catalog-layout .hyper-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .home-catalog-layout .tab-content {
        min-height: 0;
    }
    .home-catalog-layout .home-card.category {
        min-height: 78px;
        padding: 9px 12px;
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) 60px 74px 76px 64px;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 6px;
        border: 1px solid rgba(38, 121, 255, 0.08);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(65, 84, 104, 0.08);
    }
    .home-catalog-layout .home-card.category:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(65, 84, 104, 0.14);
    }
    .home-catalog-layout .home-card.category::after {
        content: "\8D2D\4E70";
        grid-column: 6;
        grid-row: 1 / 3;
        justify-self: end;
        min-width: 58px;
        padding: 8px 10px;
        border-radius: 999px;
        color: #fff;
        background: #2679ff;
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 8px 18px rgba(38, 121, 255, 0.22);
    }
    .home-catalog-layout .home-img {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 60px;
        height: 60px;
        max-width: none;
        flex: 0 0 60px;
        margin: 0;
        border-radius: 12px;
        object-fit: cover;
        box-shadow: 0 6px 16px rgba(65, 84, 104, 0.14);
    }
    .home-catalog-layout .biaoti {
        display: contents;
    }
    .home-catalog-layout .name {
        grid-column: 2;
        grid-row: 1;
        min-height: 0;
        margin: 0;
        color: #24364b;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 700;
        -webkit-line-clamp: 1;
    }
    .home-catalog-layout span.tips {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        color: #6c7d8f;
        font-size: 12px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home-catalog-layout .dibu {
        display: contents;
    }
    .home-catalog-layout .zidong,
    .home-catalog-layout .rengong,
    .home-catalog-layout .kucun {
        grid-row: 1 / 3;
        align-self: center;
        justify-self: center;
        margin: 0;
        padding: 5px 7px;
        border-radius: 999px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }
    .home-catalog-layout .kucun {
        grid-column: 3;
    }
    .home-catalog-layout .zidong,
    .home-catalog-layout .rengong {
        grid-column: 4;
    }
    .home-catalog-layout .price {
        grid-column: 5;
        grid-row: 1 / 3;
        justify-self: center;
        margin-left: 0;
        color: #ff553d;
        white-space: nowrap;
    }
    .home-catalog-layout .price b {
        font-size: 16px;
        line-height: 1;
    }
}

@media screen and (min-width: 1200px) {
    .home-catalog-layout .category-nav-panel {
        width: 250px;
        flex-basis: 250px;
    }
    .home-catalog-layout {
        gap: 18px;
    }
    .home-catalog-layout .home-card.category {
        min-height: 88px;
        padding: 10px 14px;
        grid-template-columns: 86px minmax(220px, 1fr) 88px 98px 104px 88px;
        column-gap: 18px;
    }
    .home-catalog-layout .home-img {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }
    .home-catalog-layout .name {
        font-size: 17px;
    }
    .home-catalog-layout span.tips {
        font-size: 13px;
    }
    .home-catalog-layout .zidong,
    .home-catalog-layout .rengong,
    .home-catalog-layout .kucun {
        padding: 5px 10px;
    }
    .home-catalog-layout .price b {
        font-size: 18px;
    }
    .home-catalog-layout .home-card.category::after {
        min-width: 74px;
        padding: 9px 14px;
    }
}

@media screen and (min-width: 770px) and (max-width: 900px) {
    .home-catalog-layout {
        gap: 10px;
    }
    .home-catalog-layout .category-nav-panel {
        width: 180px;
        flex-basis: 180px;
        padding: 12px;
    }
    .home-catalog-layout .tab-link {
        padding: 9px 10px;
        font-size: 14px;
    }
    .home-catalog-layout .home-card.category {
        grid-template-columns: 64px minmax(0, 1fr) 54px 66px 68px 58px;
        column-gap: 6px;
        min-height: 72px;
        padding: 8px 10px;
    }
    .home-catalog-layout .home-img {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }
    .home-catalog-layout .zidong,
    .home-catalog-layout .rengong,
    .home-catalog-layout .kucun {
        padding: 4px 6px;
        font-size: 11px;
    }
    .home-catalog-layout .price b {
        font-size: 15px;
    }
    .home-catalog-layout .home-card.category::after {
        min-width: 52px;
        padding: 7px 8px;
        font-size: 13px;
    }
}

.wrapper { 
    min-height: 80vh; 
}
.btn-order {
    border-top-right-radius: .45rem;
    border-bottom-right-radius: .45rem;
    border-top-left-radius: 0;
    height: 42px;
    width: 90px;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}

/* 支付宝 */
div.btn.pay-type[data-type="alipay"] {
    background-color: #0a9bfd;
    color: white;
}
/* 微信支付 */
div.btn.pay-type[data-type="wxpay"] {
    background-color: #09bb5e;
    color: white;
}
/* USDT支付 */
div.btn.pay-type[data-type="tokenpay-usdt-trc"] {
    background-color: #40cbb4;
    color: white;
}
/* TRX支付  */
div.btn.pay-type[data-type="tokenpay-trx"] {
    background-color: #e41738;
    color: white;
}
/* USDT支付 */
div.btn.pay-type[data-type="tokenpay-usdt-matic"] {
    background-color: #8a2ee2;
    color: white;
}
/* 备用支付宝 */
div.btn.pay-type[data-type="alipay2"] {
    background-color: #0a9bfd;
    color: white;
}
/* 支付宝 PC */
div.btn.pay-type[data-type="aliweb"] {
    background-color: #0a9bfd;
    color: white;
}
/* 码支付支付宝 */
div.btn.pay-type[data-type="mzfb"] {
    background-color: #0a9bfd;
    color: white;
}
/* 当面付支付宝 */
div.btn.pay-type[data-type="zfbf2f"] {
    background-color: #0a9bfd;
    color: white;
}
/* 码支付微信 */
div.btn.pay-type[data-type="mwx"] {
    background-color: #09bb5e;
    color: white;
}
/* 微信扫码 */
div.btn.pay-type[data-type="wescan"] {
    background-color: #09bb5e;
    color: white;
}

div.btn.pay-type[data-type="alipay"]:hover,
div.btn.pay-type[data-type="alipay2"]:hover,
div.btn.pay-type[data-type="aliweb"]:hover,
div.btn.pay-type[data-type="mzfb"]:hover,
div.btn.pay-type[data-type="zfbf2f"]:hover {
    background-color: #087fc3; /* 深蓝色 */
    color: white; /* 文字保持白色 */
}

div.btn.pay-type[data-type="wxpay"]:hover,
div.btn-pay[data-type="mwx"]:hover,
div.btn-pay[data-type="wescan"]:hover {
    background-color: #078c4a; /* 深绿色 */
    color: white;
}

div.btn.pay-type[data-type="tokenpay-usdt-trc"]:hover {
    background-color: #329b8b; /* 深青绿色 */
    color: white;
}

div.btn.pay-type[data-type="tokenpay-trx"]:hover {
    background-color: #b70f2a; /* 深红色 */
    color: white;
}

div.btn.pay-type[data-type="tokenpay-usdt-matic"]:hover {
    background-color: #5d0ea8; /* 深青绿色 */
    color: white;
}

div.btn.pay-type {
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

#accordion .panel{
		    border: none;
		    margin: 0 0 15px 0px;
		}
		#accordion .panel-heading{
		    padding: 0;
		    border-radius: 30px;
		}
		#accordion .panel-title a{
		    display: block;
		    padding: 10px 20px 10px 40px;
		    background: #3bc3ba;
		    font-size: 16px;
		    font-weight: 600;
		    color: #fff;
		    border: 1px solid transparent;
		    border-radius: 8px;
		    position: relative;
		    transition: all 0.3s ease 0s;
		}

		#accordion .panel-title a.collapsed{
		    background: #fff;
		    color: #2884ff;
		    border: 1px solid #2884ff;
		}
		#accordion .panel-title a:after,
		#accordion .panel-title a.collapsed:after{
		    content: "\f107";
		    font-family: fontawesome;
		    width: 55px;
		    height: 55px;
		    line-height: 55px;
		    border-radius: 50%;
		    font-size: 25px;
		    color: #fff;
		    text-align: center;
		    position: absolute;
		    top: -8px;
            left: -4px;
		    transition: all 0.3s ease 0s;
		}
		#accordion .panel-title a.collapsed:after{
    color: #2884ff;
    box-shadow: none;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
		}
		#accordion .panel-body{
		    font-size: 14px;
		    line-height: 25px;
		    border-top: none;
		}
		#accordion .panel-body p{
		    padding-left: 2px;
		    /* border-left: 1px dashed #8c8c8c; */
		}

/* User center sub-site polish */
.user-tab-pane[data-user-pane="subsite"] .user-form {
    max-width: none;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-grid {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item {
    position: relative;
    overflow: hidden;
    min-height: 86px;
    padding: 15px 16px;
    border: 1px solid rgba(38, 121, 255, 0.14);
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
    box-shadow: 0 10px 22px rgba(42, 57, 83, 0.07);
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2679ff;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item:nth-child(4):before,
.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item:nth-child(6):before {
    background: #12a37f;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item:nth-child(5):before {
    background: #f59f00;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item span {
    margin-bottom: 8px;
    color: #6f7f95;
    font-size: 12px;
    letter-spacing: 0;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item strong,
.user-tab-pane[data-user-pane="subsite"] .subsite-detail-item a {
    color: #122542;
    font-size: 15px;
    line-height: 1.45;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-preview {
    max-width: none;
    margin: 0 0 22px;
    padding: 16px;
    border-radius: 10px;
    border-color: rgba(18, 163, 127, 0.18);
    background: #f7fbfa;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-logo-box {
    width: 64px;
    height: 64px;
    border-radius: 10px;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 12px;
    color: #122542;
    font-size: 16px;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-section-title:before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 4px;
    background: #2679ff;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-payout-grid {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-sales-list {
    max-width: none;
    gap: 10px;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-sales-row {
    grid-template-columns: minmax(220px, 1.4fr) minmax(100px, 0.55fr) minmax(150px, 0.75fr) minmax(140px, 0.7fr);
    min-height: 50px;
    padding: 13px 14px;
    border-radius: 10px;
    border-color: rgba(38, 121, 255, 0.12);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(42, 57, 83, 0.06);
}

.user-tab-pane[data-user-pane="subsite"] .subsite-sales-row > div:last-child {
    color: #12a37f;
    font-weight: 900;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-visibility {
    max-width: none;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-check-row {
    min-height: 46px;
    border-radius: 10px;
    border-color: rgba(38, 121, 255, 0.14);
    background: #ffffff;
    box-shadow: 0 7px 16px rgba(42, 57, 83, 0.05);
}

.user-tab-pane[data-user-pane="subsite"] .subsite-check-row input {
    accent-color: #2679ff;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-goods-group {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(38, 121, 255, 0.11);
    border-radius: 10px;
    background: #f7f9fc;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-goods-group-title {
    margin-bottom: 12px;
    color: #122542;
    font-size: 14px;
    font-weight: 900;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-goods-group .subsite-check-grid {
    grid-template-columns: 1fr;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-goods-price-row {
    grid-template-columns: minmax(220px, 0.8fr) minmax(360px, 1.2fr);
}

.user-tab-pane[data-user-pane="subsite"] .subsite-price-editor {
    justify-content: space-between;
    min-height: 46px;
    border-radius: 10px;
    border-color: rgba(18, 163, 127, 0.18);
    background: #ffffff;
    box-shadow: 0 7px 16px rgba(42, 57, 83, 0.05);
}

.user-tab-pane[data-user-pane="subsite"] .subsite-price-editor span:first-child {
    color: #526174;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-price-editor span:last-child {
    color: #12a37f;
    font-weight: 900;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-price-editor input {
    border-radius: 8px;
    text-align: right;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-notice-field textarea {
    min-height: 116px;
    resize: vertical;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-notice-locked {
    max-width: none;
    margin: 14px 0 18px;
}

.user-tab-pane[data-user-pane="subsite"] [hidden] {
    display: none !important;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 12px 0 18px;
    color: #6d7d93;
    font-size: 13px;
    font-weight: 800;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-page-btn {
    min-width: 72px;
    height: 32px;
    border: 1px solid rgba(38, 121, 255, 0.2);
    border-radius: 8px;
    color: #2679ff;
    background: #ffffff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-page-btn:hover:not(:disabled) {
    color: #ffffff;
    background: #2679ff;
}

.user-tab-pane[data-user-pane="subsite"] .subsite-page-btn:disabled {
    color: #a5b2c3;
    background: #f4f7fb;
    cursor: not-allowed;
}

@media (max-width: 1199px) {
    .user-tab-pane[data-user-pane="subsite"] .subsite-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .user-tab-pane[data-user-pane="subsite"] .subsite-check-grid,
    .user-tab-pane[data-user-pane="subsite"] .subsite-payout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .user-tab-pane[data-user-pane="subsite"] .subsite-detail-grid,
    .user-tab-pane[data-user-pane="subsite"] .subsite-check-grid,
    .user-tab-pane[data-user-pane="subsite"] .subsite-payout-grid,
    .user-tab-pane[data-user-pane="subsite"] .subsite-sales-row,
    .user-tab-pane[data-user-pane="subsite"] .subsite-goods-price-row {
        grid-template-columns: 1fr;
    }

    .user-tab-pane[data-user-pane="subsite"] .subsite-detail-item {
        min-height: auto;
    }

    .user-tab-pane[data-user-pane="subsite"] .subsite-preview {
        align-items: flex-start;
    }

    .user-tab-pane[data-user-pane="subsite"] .subsite-price-editor {
        justify-content: flex-start;
    }

    .user-tab-pane[data-user-pane="subsite"] .subsite-pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
}
