/**
 * 观星云交易市场 — 沿用问答社区 ask-jn 视觉规范
 */
.shop-jn {
    --shop-accent: #206be7;
    --shop-accent-hover: #1859c7;
    --shop-accent-soft: rgba(32, 107, 231, 0.06);
    --shop-text: #2c2f36;
    --shop-text-secondary: #5c6370;
    --shop-text-muted: #909399;
    --shop-price: #e63535;
    --shop-border: #dcdfe6;
    --shop-card-radius: 8px;
    --shop-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.shop-jn-page {
    color: var(--shop-text);
}

.shop-jn-page {
    background: var(--jn-bg, #f6f7f8);
    min-height: 60vh;
    padding-bottom: 56px;
}

/* 主面板增强 */
.shop-jn-page .ask-jn-panel {
    border-radius: var(--shop-card-radius);
    box-shadow: var(--shop-shadow);
    overflow: hidden;
}

.shop-jn .ask-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 0;
}

.shop-jn.shop-list-page .ask-banner--compact .ask-banner-inner p {
    margin-bottom: 24px;
}

.shop-jn .ask-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    height: 40px;
    padding: 0 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.95);
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.shop-jn .ask-banner-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.shop-jn .ask-banner-btn.is-primary {
    background: #fff;
    border-color: #fff;
    color: var(--shop-accent);
    font-weight: 600;
}

.shop-jn .ask-banner-btn.is-primary:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: #fff;
    color: var(--shop-accent-hover);
}

/* 分类 Tab */
.shop-jn .q-header-wrap,
.shop-list-filter {
    background: #fafbfc;
    border-bottom: 1px solid var(--jn-line, #efefef);
}

.shop-jn .shop-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 0 16px;
    min-height: 50px;
}

.shop-jn .shop-cat-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 18px;
    font-size: 14px;
    color: var(--shop-text-secondary);
    cursor: pointer;
    transition: color 0.15s;
    white-space: nowrap;
}

.shop-jn .shop-cat-tab:hover {
    color: var(--shop-accent);
}

.shop-jn .shop-cat-tab.is-active {
    color: var(--shop-accent);
    font-weight: 600;
}

.shop-jn .shop-cat-tab.is-active::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    background: var(--shop-accent);
    border-radius: 2px 2px 0 0;
}

/* 工具栏 */
.shop-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-bottom: 1px solid var(--jn-line, #efefef);
}

.shop-toolbar-top {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.shop-search {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
}

.shop-search input {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 40px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--shop-text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.shop-search input:focus {
    outline: none;
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px rgba(32, 107, 231, 0.08);
}

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

.shop-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--shop-text-muted);
    pointer-events: none;
    line-height: 1;
}

.shop-search-icon i {
    font-size: 15px;
}

.shop-search-clear,
.shop-price-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    color: var(--shop-text-muted);
    background: transparent;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.shop-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.shop-search-clear:hover,
.shop-price-clear:hover {
    color: var(--shop-accent);
    background: rgba(32, 107, 231, 0.08);
}

.shop-search-clear i,
.shop-price-clear i {
    font-size: 16px;
    line-height: 1;
}

.shop-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--shop-text-secondary);
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.shop-filter-reset:hover {
    color: var(--shop-accent);
    border-color: rgba(32, 107, 231, 0.35);
    background: rgba(32, 107, 231, 0.04);
}

.shop-filter-reset i {
    font-size: 14px;
}

.shop-toolbar-count {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--shop-text-muted);
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f4f7fb;
    border: 1px solid #e8edf3;
}

.shop-toolbar-count strong {
    color: var(--shop-accent);
    font-weight: 600;
}

.shop-toolbar-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.shop-toolbar-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.shop-toolbar-filters-row--basic {
    padding-bottom: 2px;
}

.shop-config-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fbff 0%, #f4f8fc 100%);
    border: 1px solid #e3ebf5;
}

.shop-config-filter__head {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    height: 40px;
    padding: 0 4px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-text);
    white-space: nowrap;
}

.shop-config-filter__head i {
    font-size: 16px;
    color: var(--shop-accent);
}

.shop-config-filter__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.shop-config-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 108px;
}

.shop-config-field--cycle {
    min-width: 132px;
    flex: 1 1 140px;
    max-width: 200px;
}

.shop-config-field__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--shop-text-muted);
    line-height: 1;
}

.shop-config-field__control {
    width: 100%;
}

.shop-config-field__control.shop-spec-input-wrap {
    width: 100%;
    min-width: 108px;
}

.shop-config-filter__reset {
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-end;
}

.shop-toolbar-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.shop-toolbar-field-label {
    font-size: 13px;
    color: var(--shop-text-muted);
    white-space: nowrap;
}

.shop-toolbar-select {
    height: 40px;
    min-width: 148px;
    padding: 0 32px 0 12px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--shop-text);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.shop-toolbar-select:focus {
    outline: none;
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px rgba(32, 107, 231, 0.08);
}

.shop-toolbar-field--price {
    min-width: 0;
}

.shop-spec-input-wrap {
    display: flex;
    align-items: center;
    height: 40px;
    border: 1px solid #d8e3f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-spec-input-wrap:focus-within {
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px rgba(32, 107, 231, 0.08);
}

.shop-spec-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 6px 0 12px;
    border: none;
    font-size: 14px;
    color: var(--shop-text);
    background: transparent;
    box-sizing: border-box;
}

.shop-spec-input:focus {
    outline: none;
}

.shop-spec-input::placeholder {
    color: #b8c4d4;
    font-size: 13px;
}

.shop-spec-input-suffix {
    flex-shrink: 0;
    min-width: 36px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--shop-text-secondary);
    background: #f3f6fa;
    border-left: 1px solid #e8edf3;
    user-select: none;
}

.shop-config-field__control .shop-toolbar-select--cycle {
    width: 100%;
    min-width: 0;
    border-color: #d8e3f0;
    background-color: #fff;
}

.shop-toolbar-select--cycle {
    min-width: 120px;
}

.shop-spec-input::-webkit-outer-spin-button,
.shop-spec-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-spec-input[type=number] {
    -moz-appearance: textfield;
}

.shop-price-range {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-price-input {
    width: 88px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--shop-text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.shop-price-input:focus {
    outline: none;
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px rgba(32, 107, 231, 0.08);
}

.shop-price-input::placeholder {
    color: var(--shop-text-muted);
}

.shop-price-sep {
    color: var(--shop-text-muted);
    font-size: 13px;
    user-select: none;
}

.shop-price-clear {
    flex-shrink: 0;
}

/* ========== 商品列表页 ========== */
.shop-list-panel {
    display: flex;
    flex-direction: column;
    background: #fff;
    min-height: 480px;
}

.shop-list-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--jn-line, #efefef);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.shop-list-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-list-title i {
    color: var(--shop-accent);
    font-size: 20px;
}

.shop-list-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--shop-text-muted);
}

.shop-list-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-list-pager {
    padding: 16px 20px 20px;
    background: #f9fafb;
    border-top: 1px solid var(--jn-line, #efefef);
}

.shop-list-page .shop-product-list {
    padding: 16px 20px;
    background: #fff;
}

.shop-list-page .shop-product-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.shop-list-page .shop-card-head {
    margin-bottom: 10px;
}

.shop-list-page .shop-card-head .shop-detail-badge {
    height: 26px;
    padding: 0 10px;
    font-size: 12px;
}

.shop-list-page .shop-card-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.shop-card-meta-seller {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    text-decoration: none;
    color: var(--shop-text-muted);
    transition: color 0.15s;
}

.shop-card-meta-seller:hover {
    color: var(--shop-accent);
}

.shop-card-meta-seller__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.shop-card-meta-seller__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef1f5;
}

.shop-card-meta-seller__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card-meta-seller__avatar.is-fallback {
    font-size: 10px;
    font-weight: 600;
    color: #5c6678;
}

.shop-card-meta-seller__dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 7px;
    height: 7px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: #c0c4cc;
}

.shop-card-meta-seller__dot.is-online {
    background: #52c41a;
}

.shop-card-meta-seller__dot.is-offline {
    background: #c0c4cc;
}

.shop-card-meta-seller__name {
    font-size: 12px;
    font-weight: 500;
    color: var(--shop-text-primary, #1f2329);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-card-meta-seller:hover .shop-card-meta-seller__name {
    color: var(--shop-accent);
}

.shop-card-meta-seller__status {
    font-size: 12px;
    color: var(--shop-text-muted, #8f959e);
}

.shop-card-meta-seller__status.is-online {
    color: #389e0d;
}

.shop-card-meta-seller__status.is-offline {
    color: var(--shop-text-muted, #8f959e);
}

.shop-card-meta-seller__status::before {
    content: '·';
    margin-right: 4px;
    color: #d0d5dd;
}

.shop-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e8ebf0;
    font-size: 12px;
    color: var(--shop-text-muted);
}

.shop-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.shop-card-meta i {
    font-size: 13px;
    color: var(--shop-accent);
}

.shop-card-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 55%, #f8fbff 100%);
    border: 1px solid #fde2e2;
    min-width: 120px;
}

.shop-card-price-box .shop-detail-price-label {
    font-size: 12px;
}

.shop-list-page .shop-card-aside {
    flex: 0 0 168px;
    gap: 12px;
}

.shop-list-page .shop-card-price {
    font-size: 26px;
}

.shop-card-btn {
    width: 100%;
    gap: 4px;
}

.shop-list-page .shop-card-aside .shop-btn-primary {
    color: var(--shop-accent);
    background: #fff;
    border-color: var(--shop-accent);
    box-shadow: none;
}

.shop-list-page .shop-card-aside .shop-btn-primary:hover {
    color: #fff;
    background: var(--shop-accent);
    border-color: var(--shop-accent);
}

.shop-detail-sidebar .shop-side-title,
.shop-sidebar.shop-detail-sidebar .shop-side-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-detail-sidebar .shop-side-title i,
.shop-sidebar.shop-detail-sidebar .shop-side-title i {
    font-size: 16px;
    color: var(--shop-accent);
}

.shop-side-card--tips {
    background: linear-gradient(180deg, #fff 0%, #fffbf2 100%);
}

/* 列表页侧边栏 */
.shop-list-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.shop-list-sidebar .shop-side-card {
    margin-bottom: 14px;
}

.shop-side-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.shop-side-stat {
    padding: 12px 10px;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
    border: 1px solid #dbeafe;
}

.shop-side-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--shop-accent);
    line-height: 1.2;
}

.shop-side-stat span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--shop-text-muted);
}

.shop-side-stat--wide {
    grid-column: 1 / -1;
}

.shop-side-stat-amount {
    font-size: 18px;
    letter-spacing: -0.02em;
    word-break: break-all;
}

.shop-side-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-side-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    font-size: 12px;
    color: var(--shop-text-secondary);
}

.shop-side-trust-item i {
    font-size: 14px;
    color: var(--shop-accent);
    flex-shrink: 0;
}

.shop-side-cat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-side-cat-link {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--shop-text-secondary);
    background: #f2f4f7;
    border: 1px solid #e8ebf0;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
}

.shop-side-cat-link:hover {
    color: var(--shop-accent);
    border-color: rgba(32, 107, 231, 0.35);
    background: var(--shop-accent-soft);
}

.shop-side-cat-link.is-active {
    color: #fff;
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    font-weight: 500;
}

.shop-side-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.shop-side-feature-item {
    padding: 12px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    text-align: center;
}

.shop-side-feature-item i {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    color: var(--shop-accent);
}

.shop-side-feature-item strong {
    display: block;
    font-size: 13px;
    color: var(--shop-text);
    margin-bottom: 4px;
}

.shop-side-feature-item span {
    display: block;
    font-size: 11px;
    color: var(--shop-text-muted);
    line-height: 1.5;
}

.shop-side-action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-side-action-btns .shop-btn {
    margin-top: 0;
    gap: 6px;
}

.shop-side-card--overview {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.shop-side-card--feed {
    background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.shop-side-title--feed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-side-title__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-trade-feed-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    color: #67c23a;
    background: #f0f9eb;
    border: 1px solid #e1f3d8;
}

.shop-trade-feed-live__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #67c23a;
    box-shadow: 0 0 0 0 rgba(103, 194, 58, 0.5);
    animation: shop-trade-feed-pulse 1.8s ease-out infinite;
}

@keyframes shop-trade-feed-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(103, 194, 58, 0.45);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(103, 194, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(103, 194, 58, 0);
    }
}

.shop-trade-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 2px;
}

.shop-trade-feed::-webkit-scrollbar {
    width: 4px;
}

.shop-trade-feed::-webkit-scrollbar-thumb {
    background: #dcdfe6;
    border-radius: 4px;
}

.shop-trade-feed-loading,
.shop-trade-feed-empty {
    padding: 20px 8px;
    text-align: center;
    font-size: 13px;
    color: var(--shop-text-muted);
}

.shop-trade-feed-loading i {
    margin-right: 4px;
}

.shop-trade-feed-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef1f5;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-trade-feed-item:hover {
    border-color: #dbeafe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.shop-trade-feed-item.is-new {
    animation: shop-trade-feed-enter 0.45s ease-out;
    border-color: #b3e19d;
    background: #f6ffed;
}

@keyframes shop-trade-feed-enter {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-trade-feed-item__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.shop-trade-feed-item.is-publish .shop-trade-feed-item__icon {
    color: var(--shop-accent);
    background: #eff6ff;
}

.shop-trade-feed-item.is-trade .shop-trade-feed-item__icon {
    color: #e6a23c;
    background: #fdf6ec;
}

.shop-trade-feed-item__body {
    flex: 1;
    min-width: 0;
}

.shop-trade-feed-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.shop-trade-feed-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
}

.shop-trade-feed-item.is-publish .shop-trade-feed-tag {
    color: var(--shop-accent);
    background: #eff6ff;
}

.shop-trade-feed-item.is-trade .shop-trade-feed-tag {
    color: #e6a23c;
    background: #fdf6ec;
}

.shop-trade-feed-time {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--shop-text-muted);
}

.shop-trade-feed-summary {
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--shop-text-secondary);
    line-height: 1.4;
}

.shop-trade-feed-goods {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-text);
    line-height: 1.4;
    word-break: break-all;
}

.shop-trade-feed-link {
    color: inherit;
    text-decoration: none;
}

.shop-trade-feed-link:hover {
    color: var(--shop-accent);
}

.shop-trade-feed-meta {
    display: block;
    font-size: 11px;
    color: var(--shop-text-muted);
    line-height: 1.4;
}

.shop-side-card--features {
    background: #fff;
}

/* 商品列表 — 卡片式 */
.shop-product-list {
    position: relative;
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9fafb;
}

.shop-product-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--jn-line, #efefef);
    border-radius: var(--shop-card-radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.shop-product-card:hover {
    border-color: rgba(32, 107, 231, 0.25);
    box-shadow: 0 4px 20px rgba(32, 107, 231, 0.08);
    transform: translateY(-1px);
}

.shop-card-main {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.shop-card-cat {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--shop-text-secondary);
    background: #f2f3f5;
    border: 1px solid var(--shop-border);
}

.shop-card-id {
    font-size: 12px;
    color: var(--shop-text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.shop-card-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--shop-text);
}

.shop-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.shop-card-title a:hover {
    color: var(--shop-accent);
}

.shop-card-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    border-radius: 8px;
}

.shop-card-time-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.shop-card-time-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--shop-text-muted);
    line-height: 1.4;
}

.shop-card-time-label i {
    font-size: 12px;
    color: var(--shop-accent);
}

.shop-card-time-item strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--shop-text);
    line-height: 1.45;
    word-break: break-all;
}

.shop-card-time-item strong.is-danger {
    color: var(--shop-price);
}

.shop-card-time-item strong.is-warn {
    color: #926e00;
}

.shop-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--shop-text);
    background: #f7f8fa;
    border: 1px solid #ebeef2;
    line-height: 1.5;
}

.shop-spec-item em {
    font-style: normal;
    color: var(--shop-text-muted);
    font-size: 11px;
}

.shop-card-desc {
    margin: 0;
    font-size: 13px;
    color: var(--shop-text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card-aside {
    flex: 0 0 148px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding-left: 20px;
    border-left: 1px dashed var(--jn-line, #efefef);
}

.shop-card-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--shop-price);
    line-height: 1;
    letter-spacing: -0.5px;
}

.shop-card-price small {
    font-size: 14px;
    font-weight: 500;
    margin-right: 1px;
}

.shop-card-time {
    font-size: 11px;
    color: var(--shop-text-muted);
    text-align: right;
    line-height: 1.4;
}

/* 按钮 */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
}

.shop-btn-block {
    width: 100%;
    margin-top: 14px;
}

.shop-btn-primary {
    color: #fff;
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    box-shadow: 0 2px 6px rgba(32, 107, 231, 0.22);
}

.shop-btn-primary:hover {
    background: var(--shop-accent-hover);
    border-color: var(--shop-accent-hover);
    color: #fff;
    box-shadow: 0 4px 10px rgba(32, 107, 231, 0.28);
}

.shop-btn-ghost {
    color: var(--shop-text-secondary);
    background: #fff;
    border-color: var(--shop-border);
}

.shop-btn-ghost:hover {
    color: var(--shop-accent);
    background: var(--shop-accent-soft);
    border-color: rgba(32, 107, 231, 0.35);
}

/* 覆盖 ask-jn a { color: inherit }，避免链接继承深色文字 */
.shop-jn a.shop-btn-primary,
.shop-jn a.shop-btn-primary:hover,
.shop-jn a.shop-btn-primary:focus,
.shop-jn button.shop-btn-primary,
.shop-jn button.shop-btn-primary:hover,
.shop-jn button.shop-btn-primary:focus {
    color: #fff;
}

.shop-jn a.shop-btn-ghost,
.shop-jn a.shop-btn-ghost:focus {
    color: var(--shop-text-secondary);
}

.shop-jn a.shop-btn-ghost:hover {
    color: var(--shop-accent);
}

/* 列表卡片内按钮：描边样式，避免满屏实心蓝 */
.shop-jn .shop-card-aside a.shop-btn-primary,
.shop-jn .shop-card-aside a.shop-btn-primary:focus {
    color: var(--shop-accent);
}

.shop-jn .shop-card-aside a.shop-btn-primary {
    color: var(--shop-accent);
    background: #fff;
    border-color: var(--shop-accent);
    box-shadow: none;
}

.shop-jn .shop-card-aside a.shop-btn-primary:hover {
    color: #fff;
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    box-shadow: 0 2px 8px rgba(32, 107, 231, 0.2);
}

/* 侧边栏「进入商品管理」 */
.shop-sidebar .shop-btn-block {
    margin-top: 16px;
}

.shop-notify-entry {
    margin-bottom: 12px;
    overflow: visible;
}

.shop-notify-entry .shop-notify-btn {
    position: relative;
    margin-top: 0;
    overflow: visible;
}

.shop-notify-entry .ask-notify-sidebar-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #f56c6c;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(245, 108, 108, 0.4);
    pointer-events: none;
}

.shop-sidebar .shop-btn-manage {
    height: 42px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.shop-sidebar .shop-btn-manage:hover {
    box-shadow: 0 2px 8px rgba(32, 107, 231, 0.18);
}

/* 空状态 */
.shop-empty {
    padding: 64px 20px;
    text-align: center;
    color: var(--shop-text-muted);
    background: #fff;
    border-radius: var(--shop-card-radius);
    border: 1px dashed var(--shop-border);
}

.shop-list-page .shop-product-list.is-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 360px;
    background: #fff;
}

.shop-list-page .shop-product-list.is-empty #shopProductCards {
    display: none;
}

.shop-list-page .shop-product-list.is-empty .shop-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 360px;
    margin: 0;
    padding: 48px 24px;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    background: #fff;
}

.shop-empty-icon {
    margin-bottom: 12px;
    line-height: 1;
    color: #dcdfe6;
}

.shop-empty-icon i {
    font-size: 48px;
}

.shop-empty-text {
    margin: 0;
    font-size: 14px;
}

/* 侧边栏 */
.shop-sidebar .shop-side-card {
    background: var(--jn-card, #fff);
    border: 1px solid var(--jn-line, #efefef);
    border-radius: var(--shop-card-radius);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--shop-shadow);
}

.shop-sidebar .shop-side-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--jn-line, #efefef);
}

.shop-side-desc {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--shop-text-secondary);
    line-height: 1.7;
}

.shop-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-side-list li {
    position: relative;
    padding: 10px 0 10px 14px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: var(--shop-text-secondary);
    line-height: 1.65;
}

.shop-side-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--shop-accent);
}

.shop-side-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-side-list li strong {
    display: block;
    color: var(--shop-text);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

/* 平台优势 */
.shop-features {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
}

.shop-features-title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.shop-feature-item {
    background: #fff;
    border: 1px solid var(--jn-line, #efefef);
    border-radius: var(--shop-card-radius);
    padding: 24px 18px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-feature-item:hover {
    border-color: rgba(32, 107, 231, 0.2);
    box-shadow: var(--shop-shadow);
}

.shop-feature-item h3 {
    margin: 14px 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-feature-item p {
    margin: 0;
    font-size: 13px;
    color: var(--shop-text-secondary);
    line-height: 1.65;
}

.shop-feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-accent);
    background: var(--shop-accent-soft);
    line-height: 1;
}

.shop-feature-icon i {
    font-size: 22px;
}

/* ========== 商品详情页 ========== */
.shop-detail-panel {
    background: #fff;
}

.shop-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 24px;
    font-size: 13px;
    color: var(--shop-text-muted);
    border-bottom: 1px solid var(--jn-line, #efefef);
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.shop-detail-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--shop-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.shop-detail-breadcrumb a:hover {
    color: var(--shop-accent);
}

.shop-detail-breadcrumb-sep {
    color: #d0d4db;
}

.shop-detail-breadcrumb span:last-child {
    color: var(--shop-text);
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-detail-hero {
    padding: 28px 24px 32px;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-bottom: 1px solid var(--jn-line, #efefef);
}

.shop-detail-summary {
    width: 100%;
    min-width: 0;
}

.shop-detail-sidebar .shop-side-card--buy {
    padding: 16px;
}

.shop-side-card--merchant {
    padding: 16px;
}

.shop-seller-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-seller-panel__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(32, 107, 231, 0.04) 0%, rgba(32, 107, 231, 0.01) 100%);
    border: 1px solid rgba(32, 107, 231, 0.08);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-seller-panel__profile:hover {
    border-color: rgba(32, 107, 231, 0.22);
    box-shadow: 0 4px 14px rgba(32, 107, 231, 0.08);
    transform: translateY(-1px);
}

.shop-seller-panel__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.shop-seller-panel__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    background: linear-gradient(145deg, #eef4ff 0%, #f8faff 100%);
}

.shop-seller-panel__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-seller-panel__avatar.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--shop-accent);
}

.shop-seller-panel__online-dot {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #c0c4cc;
    box-sizing: border-box;
}

.shop-seller-panel__online-dot.is-online {
    background: #52c41a;
    box-shadow: 0 0 0 2px rgba(82, 196, 26, 0.18);
}

.shop-seller-panel__online-dot.is-offline {
    background: #c0c4cc;
}

.shop-seller-panel__meta {
    flex: 1;
    min-width: 0;
}

.shop-seller-panel__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-seller-panel__status {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.5;
    border-radius: 999px;
    background: #f4f4f5;
    color: #909399;
}

.shop-seller-panel__status.is-online {
    background: #f6ffed;
    color: #389e0d;
}

.shop-seller-panel__status.is-offline {
    background: #f4f4f5;
    color: #909399;
}

.shop-seller-panel__bio {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--shop-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-seller-panel__ip {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--shop-text-secondary);
}

.shop-card-meta-seller__status .ask-ip-location {
    margin-left: 2px;
    font-weight: 400;
}

.shop-seller-panel__arrow {
    flex-shrink: 0;
    font-size: 14px;
    color: #c0c4cc;
    transition: color 0.2s ease, transform 0.2s ease;
}

.shop-seller-panel__profile:hover .shop-seller-panel__arrow {
    color: var(--shop-accent);
    transform: translateX(2px);
}

.shop-seller-panel__shop-btn {
    margin-top: 0;
    height: 38px;
    font-size: 13px;
    font-weight: 500;
}

.shop-seller-panel__shop-btn i {
    margin-right: 4px;
}

/* 兼容旧类名（详情页已迁移为 panel 结构） */
.shop-seller-info__head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.shop-seller-online-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c0c4cc;
}

.shop-seller-online-dot.is-online {
    background: #52c41a;
    box-shadow: 0 0 0 3px rgba(82, 196, 26, 0.18);
}

.shop-seller-online-dot.is-offline {
    background: #c0c4cc;
}

.shop-seller-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text-primary, #1f2329);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-seller-status {
    margin: 8px 0 0;
    padding-left: 16px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--shop-text-secondary, #646a73);
}

.shop-seller-status.is-online {
    color: #389e0d;
}

.shop-seller-status.is-offline {
    color: var(--shop-text-secondary, #646a73);
}

.shop-detail-sidebar .shop-side-card--buy .shop-btn-block {
    margin-top: 0;
}

.shop-detail-price-card--side {
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}

.shop-detail-actions--side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
    width: 100%;
}

.shop-detail-actions--side .shop-btn {
    width: 100%;
    min-width: 0;
    height: 36px;
    max-width: none;
    flex: none;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    margin-top: 0;
}

.shop-detail-actions--side .shop-btn-primary {
    box-shadow: 0 2px 6px rgba(32, 107, 231, 0.2);
}

.shop-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.shop-detail-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    color: var(--shop-text-secondary);
    background: #f2f4f7;
    border: 1px solid #e8ebf0;
}

.shop-detail-badge.is-accent {
    color: #926e00;
    background: linear-gradient(180deg, #fff9eb 0%, #fdf3dc 100%);
    border-color: #f0dfa8;
}

.shop-detail-badge.is-ad {
    color: #fff;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-color: transparent;
}

.shop-detail-badge.is-official {
    color: #0f5132;
    background: linear-gradient(180deg, #ecfdf3 0%, #d1fae5 100%);
    border-color: #86efac;
}

.shop-detail-badge.is-ad-slot {
    color: #1d4ed8;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}

.shop-product-card.is-ad-promoted {
    border-color: #f0dfa8;
    box-shadow: 0 8px 24px rgba(247, 147, 30, 0.12);
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 42%);
}

.shop-product-card.is-ad-promoted:hover {
    box-shadow: 0 12px 28px rgba(247, 147, 30, 0.18);
}

.shop-detail-badge--id {
    color: var(--shop-text-muted);
    background: #fff;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.shop-detail-specs-box {
    margin-bottom: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--jn-line, #efefef);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.shop-detail-host-price {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed #e8ebf0;
}

.shop-detail-specs-box .shop-detail-host-price:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.shop-detail-host-price-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-detail-host-price-title i {
    font-size: 17px;
    color: #d48806;
}

.shop-detail-host-price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.shop-detail-host-price-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fffdf6 0%, #fff9eb 100%);
    border: 1px solid #f0dfa8;
}

.shop-detail-host-price-label {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--shop-text-secondary, #646a73);
}

.shop-detail-host-price-item strong {
    font-size: 18px;
    font-weight: 700;
    color: #ad6800;
    line-height: 1.2;
}

.shop-detail-host-price-item strong small {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #8c6d1f;
}

.shop-detail-host-price-tip {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--shop-text-secondary, #646a73);
}

.shop-card-host-price {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #8c6d1f;
    background: #fff9eb;
    border: 1px solid #f0dfa8;
    border-radius: 8px;
}

.shop-card-host-price i {
    margin-right: 4px;
}

.shop-trade-rules-msgbox {
    width: 92%;
    max-width: 720px;
}

.shop-trade-rules-msgbox .el-message-box__message {
    max-height: none;
}

.shop-trade-rules-modal__hint {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--shop-text, #1f2329);
    font-weight: 600;
}

.shop-trade-rules-modal__body {
    max-height: 52vh;
    overflow-y: auto;
    padding: 14px 16px;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    background: #fafbfc;
}

.shop-trade-rules-modal__body h2 {
    margin: 18px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text, #1f2329);
}

.shop-trade-rules-modal__body h2:first-child {
    margin-top: 0;
}

.shop-trade-rules-modal__body h4 {
    margin: 12px 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-text, #1f2329);
}

.shop-trade-rules-modal__body p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--shop-text-secondary, #646a73);
}

.shop-trade-rules-modal__body p:last-child {
    margin-bottom: 0;
}

.shop-trade-rules-modal__body .text-danger {
    color: #cf1322;
}

.shop-detail-specs-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-detail-specs-title i {
    font-size: 17px;
    color: var(--shop-accent);
}

.shop-card-specs--detail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.shop-card-specs--detail .shop-spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    background: #f8fafc;
    border: 1px solid #eef1f5;
    line-height: 1.5;
}

.shop-card-specs--detail .shop-spec-item em {
    font-size: 12px;
    color: var(--shop-text-muted);
}

.shop-card-specs--detail .shop-spec-item b {
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text);
    word-break: break-all;
}

.shop-card-specs--list {
    gap: 10px;
}

.shop-card-specs--list .shop-spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    min-width: 88px;
}

.shop-card-specs--list .shop-spec-item em {
    font-size: 11px;
}

.shop-card-specs--list .shop-spec-item b {
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-text);
    word-break: break-all;
}

.shop-detail-meta-box {
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--jn-line, #efefef);
    font-size: 13px;
    color: var(--shop-text-secondary);
    line-height: 1.7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    width: 100%;
    box-sizing: border-box;
}

.shop-detail-title {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--shop-text);
    letter-spacing: -0.3px;
}

.shop-detail-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 20px;
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid var(--jn-line, #efefef);
    border-radius: 10px;
}

.shop-detail-info--basic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
}

.shop-detail-panel .shop-card-times {
    margin-bottom: 12px;
}

.shop-detail-panel #shopDetailSpecs .shop-detail-specs-box {
    margin-bottom: 16px;
}

.shop-detail-meta-times {
    margin-top: 0;
    margin-bottom: 18px;
    padding-top: 0;
    border-top: none;
}

.shop-detail-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    font-size: 13px;
}

.shop-detail-info-label {
    color: var(--shop-text-muted);
    font-size: 12px;
}

.shop-detail-info-item strong {
    color: var(--shop-text);
    font-weight: 600;
    line-height: 1.4;
    word-break: break-all;
}

.shop-detail-info-item strong.is-danger {
    color: var(--shop-price);
}

.shop-detail-info-item strong.is-warn {
    color: #926e00;
}

.shop-detail-price-card {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 55%, #f8fbff 100%);
    border: 1px solid #fde2e2;
    box-shadow: 0 4px 16px rgba(230, 53, 53, 0.06);
}

.shop-fee-buyer-alert {
    margin: -8px 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f7f8fa;
    border: 1px solid #e5e7eb;
}

.shop-fee-buyer-alert__title {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #303133;
}

.shop-fee-buyer-alert__body {
    font-size: 12px;
    line-height: 1.7;
    color: #606266;
}

.shop-fee-buyer-alert__body strong {
    color: #303133;
    font-weight: 600;
}

.shop-card-fee-tip,
.shop-card-fee-note {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--shop-text-muted, #8a94a6);
    text-align: right;
    max-width: 148px;
    white-space: normal;
}

.shop-card-price-box.is-fee-buyer {
    gap: 2px;
    min-width: 132px;
}

.shop-card-pay-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(230, 53, 53, 0.18);
    width: 100%;
}

.shop-card-pay-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--shop-text-muted, #8a94a6);
}

.shop-card-pay-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--shop-price);
    line-height: 1;
    letter-spacing: -0.3px;
}

.shop-card-pay-amount small {
    font-size: 12px;
    font-weight: 600;
    margin-right: 1px;
}

.shop-detail-price-label {
    font-size: 13px;
    color: var(--shop-text-muted);
    font-weight: 500;
}

.shop-detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--shop-price);
    line-height: 1;
    letter-spacing: -0.5px;
}

.shop-detail-price small {
    font-size: 18px;
    font-weight: 600;
    margin-right: 2px;
}

.shop-detail-meta-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-detail-meta-title i {
    color: var(--shop-accent);
}

.shop-detail-meta-box .shop-card-specs {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.shop-detail-meta-box .shop-spec-item {
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #eef1f5;
}

.shop-detail-meta-box .shop-card-expire {
    margin-bottom: 0;
    padding: 10px 12px;
    background: #f0f7ff;
    border-radius: 8px;
    color: var(--shop-accent);
    font-weight: 500;
}

.shop-detail-meta-box .shop-card-expire + .shop-card-specs {
    margin-top: 12px;
}

.shop-detail-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 16px 0 0;
    border-top: 1px dashed #e8ebf0;
}

.shop-detail-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--shop-text-secondary);
}

.shop-detail-trust-item i {
    font-size: 16px;
    color: var(--shop-accent);
}

.shop-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.shop-detail-actions .shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 148px;
    height: 48px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.2s;
}

.shop-detail-actions .shop-btn:hover {
    transform: translateY(-1px);
}

.shop-detail-actions .shop-btn-buy {
    flex: 1 1 200px;
    max-width: 260px;
    box-shadow: 0 6px 20px rgba(32, 107, 231, 0.25);
}

.shop-detail-actions .shop-btn-buy:hover {
    box-shadow: 0 8px 24px rgba(32, 107, 231, 0.32);
}

/* 详情页侧边栏增强 */
.shop-detail-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--shop-text-secondary);
    line-height: 1.8;
}

.shop-detail-side-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f3;
}

.shop-detail-side-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-detail-side-list span:first-child {
    color: var(--shop-text-muted);
    flex-shrink: 0;
}

.shop-detail-sidebar .shop-detail-side-list strong {
    font-weight: 600;
    color: var(--shop-text);
}

.shop-side-list--tips li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
}

.shop-side-list--tips li > i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
    color: var(--shop-accent);
}

.shop-side-list--tips li > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.shop-side-list--tips li strong {
    display: block;
    font-size: 13px;
    color: var(--shop-text);
}

.shop-side-list--tips li span {
    display: block;
    font-size: 12px;
    color: var(--shop-text-muted);
    line-height: 1.6;
}

.shop-side-card--action .shop-btn i {
    margin-right: 4px;
}

.shop-side-card--tips {
    background: linear-gradient(180deg, #fff 0%, #fffbf2 100%);
}

/* 详情 Tab */
.shop-jn-page .ask-jn-panel.shop-detail-panel {
    overflow: visible;
}

.shop-detail-tabs {
    border-top: none;
    background: #fff;
    scroll-margin-top: 88px;
}

.shop-tab-nav {
    display: flex;
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid var(--jn-line, #efefef);
    background: #fafbfc;
}

.shop-tab-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 22px;
    font-size: 14px;
    color: var(--shop-text-secondary);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    user-select: none;
}

.shop-tab-item i {
    font-size: 15px;
}

.shop-tab-item:hover {
    color: var(--shop-accent);
    background: rgba(32, 107, 231, 0.04);
}

.shop-tab-item.is-active {
    color: var(--shop-accent);
    font-weight: 600;
    background: #fff;
}

.shop-tab-item.is-active::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: -1px;
    height: 2px;
    background: var(--shop-accent);
    border-radius: 2px 2px 0 0;
}

.shop-tab-body {
    background: #fff;
}

#shopDetailTabs .shop-detail-pane {
    display: none;
    padding: 28px 24px 32px;
    background: #fff;
}

#shopDetailTabs .shop-detail-pane.is-active {
    display: block !important;
}

.shop-detail-desc {
    padding: 20px 22px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid var(--jn-line, #efefef);
    min-height: 120px;
    width: 100%;
    box-sizing: border-box;
}

.shop-detail-desc.is-empty {
    color: var(--shop-text-muted);
}

.shop-detail-empty {
    margin: 0;
    color: var(--shop-text-muted);
    text-align: center;
}

.shop-rich-body {
    line-height: 1.85;
    word-break: break-word;
    color: var(--shop-text);
    font-size: 14px;
}

.shop-rich-body h2 {
    margin: 24px 0 12px;
    font-size: 17px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-rich-body h2:first-child {
    margin-top: 0;
}

.shop-rich-body h4 {
    margin: 16px 0 10px;
    font-size: 15px;
}

.shop-rich-body p {
    margin: 0 0 12px;
    line-height: 1.85;
    color: var(--shop-text-secondary);
}

.shop-rich-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
}

.shop-rich-body .text-danger {
    color: #e63535;
    font-weight: 600;
}

.shop-error {
    padding: 60px 20px;
    text-align: center;
    color: var(--shop-text-secondary);
}

.shop-error h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 500;
}

/* 详情页 — 商品不存在等整页空状态 */
.shop-detail-real.is-empty {
    display: block;
}

.shop-detail-real.is-empty .ask-jn-sidebar {
    display: none !important;
}

.shop-detail-real.is-empty .ask-jn-primary {
    width: 100%;
    flex: none;
    max-width: none;
}

.shop-detail-real.is-empty .shop-detail-panel {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    background: #fff;
}

.shop-empty--detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 420px;
    margin: 0;
    padding: 48px 24px;
    text-align: center;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    background: #fff;
}

.shop-empty--detail .shop-empty-icon {
    margin-bottom: 16px;
    color: #dcdfe6;
}

.shop-empty--detail .shop-empty-icon i {
    font-size: 56px;
}

.shop-empty--detail .shop-empty-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--shop-text);
}

.shop-empty--detail .shop-empty-text {
    margin: 0;
    max-width: 360px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--shop-text-muted);
}

.shop-empty--detail .shop-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.shop-empty--sold .shop-empty-icon {
    color: #e6a23c;
}

.shop-empty--detail .shop-empty-actions .shop-btn {
    min-width: 120px;
}

/* 列表加载 */
.shop-product-list.is-loading #shopProductCards {
    display: none;
}

.shop-product-list.is-loading #shopEmpty {
    display: none !important;
}


#shopPagerReal:not(.shop-skel-hidden):empty {
    display: none;
}

#shopProductCards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 分页（与 BBS ask-jn-pager 一致） */
.shop-pagination.ask-jn-pager {
    padding: 16px 20px 20px;
    background: #f9fafb;
    border-top: 1px solid var(--jn-line, #efefef);
}

.shop-page-btn,
.shop-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--shop-border);
    border-radius: 6px;
    background: #fff;
    color: var(--shop-text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.shop-page-btn:hover:not(:disabled),
.shop-page-num:hover:not(.is-active) {
    color: var(--shop-accent);
    border-color: rgba(32, 107, 231, 0.35);
    background: var(--shop-accent-soft);
}

.shop-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.shop-page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.shop-page-num.is-active {
    color: #fff;
    background: var(--shop-accent);
    border-color: var(--shop-accent);
}

.shop-page-ellipsis {
    padding: 0 4px;
    color: var(--shop-text-muted);
    font-size: 13px;
    user-select: none;
}

.shop-page-info {
    margin-left: 8px;
    font-size: 12px;
    color: var(--shop-text-muted);
    white-space: nowrap;
}

/* 响应式 */
@media (max-width: 992px) {
    .shop-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-detail-hero {
        padding: 20px;
    }

    .shop-card-specs--detail {
        grid-template-columns: 1fr 1fr;
    }

    .shop-detail-host-price-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-detail-info {
        grid-template-columns: 1fr 1fr;
    }

    .shop-detail-title {
        font-size: 22px;
    }

    .shop-detail-price {
        font-size: 32px;
    }

    .shop-detail-actions .shop-btn-buy {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .ask-jn .ask-banner-inner h1 {
        font-size: 26px;
    }

    .shop-product-list {
        padding: 12px;
    }

    .shop-list-page .shop-product-list.is-empty {
        padding: 0;
        min-height: 280px;
    }

    .shop-list-page .shop-product-list.is-empty .shop-empty {
        min-height: 280px;
        padding: 36px 16px;
    }

    .shop-detail-real.is-empty .shop-detail-panel {
        min-height: 320px;
    }

    .shop-empty--detail {
        min-height: 280px;
        padding: 36px 16px;
    }

    .shop-list-sidebar {
        position: static;
    }

    .shop-list-header {
        padding: 16px;
    }

    .shop-list-page .shop-product-card {
        flex-direction: column;
        gap: 16px;
    }

    .shop-list-page .shop-card-aside {
        flex: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding-left: 0;
        padding-top: 14px;
        border-left: none;
        border-top: 1px dashed var(--jn-line, #efefef);
    }

    .shop-card-price-box {
        align-items: flex-start;
    }

    .shop-card-btn {
        width: auto;
        min-width: 120px;
    }

    .shop-product-card {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .shop-card-aside {
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-left: 0;
        padding-top: 14px;
        border-left: none;
        border-top: 1px dashed var(--jn-line, #efefef);
    }

    .shop-card-price {
        font-size: 22px;
    }

    .shop-card-times {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .shop-card-specs--detail {
        grid-template-columns: 1fr;
    }

    .shop-detail-host-price-grid {
        grid-template-columns: 1fr;
    }

    .shop-features-grid {
        grid-template-columns: 1fr;
    }

    .shop-jn-page .ask-jn-body {
        flex-direction: column;
    }

    .shop-jn-page .ask-jn-sidebar.sidebar {
        width: 100%;
        flex: none;
        max-width: none;
    }

    .shop-toolbar {
        padding: 14px 16px;
        gap: 12px;
    }

    .shop-toolbar-top {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .shop-toolbar-count {
        width: 100%;
        text-align: center;
    }

    .shop-toolbar-filters {
        width: 100%;
    }

    .shop-toolbar-filters-row--basic {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-field,
    .shop-toolbar-field--price {
        width: 100%;
    }

    .shop-toolbar-select {
        width: 100%;
        min-width: 0;
    }

    .shop-price-range {
        flex: 1;
        min-width: 0;
    }

    .shop-config-filter {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 14px;
    }

    .shop-config-filter__head {
        height: auto;
        padding: 0 0 2px;
    }

    .shop-config-filter__body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .shop-config-field--cycle {
        grid-column: 1 / -1;
        max-width: none;
    }

    .shop-config-filter__reset {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .shop-spec-input {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .shop-toolbar-select {
        flex: 1;
        min-width: 0;
    }

    .shop-price-range {
        flex: 1;
        min-width: 0;
    }

    .shop-price-input {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    #shopDetailTabs .shop-detail-pane {
        padding: 20px 16px;
    }
}

.shop-btn-bargain {
    margin-top: 8px;
    background: linear-gradient(135deg, #ff7a45 0%, #ff4d4f 100%);
    border: none;
    color: #fff;
}

.shop-btn-bargain:hover {
    opacity: 0.92;
    color: #fff;
}

.shop-bargain-info {
    margin: 10px 0 0;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 8px;
}

.shop-bargain-info.is-success {
    background: #f6ffed;
    border-color: #b7eb8f;
    color: #389e0d;
}

.shop-bargain-info.is-warn {
    background: #fff2e8;
    border-color: #ffbb96;
    color: #d4380d;
}

.shop-detail-price.is-exclusive .shop-detail-price-label::after {
    content: '（专属价）';
    margin-left: 4px;
    font-size: 12px;
    color: #ff4d4f;
}

/* Element UI 弹层与 BBS 社区保持一致层级 */
.shop-jn-page .el-message-box__wrapper,
.shop-jn-page .el-message,
.shop-jn-page .el-loading-mask {
    z-index: 3000;
}

/* 卖家店铺中心 */
.shop-seller-page .shop-seller-goods-wrap {
    padding: 0;
}

.shop-seller-page .shop-seller-product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-seller-page .shop-product-card.is-sold {
    opacity: 0.78;
}

.shop-seller-page .shop-product-card.is-sold .shop-card-title span {
    color: var(--shop-text-secondary);
}

.shop-seller-page .shop-detail-badge.is-sold {
    background: #909399;
    border-color: #909399;
    color: #fff;
}

.shop-seller-page .shop-btn.is-disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.85;
}

.shop-seller-name-link {
    color: var(--shop-accent);
    text-decoration: none;
    font-weight: 600;
}

.shop-seller-name-link:hover {
    color: var(--shop-accent-hover);
    text-decoration: underline;
}

.shop-seller-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--shop-accent);
    text-decoration: none;
}

.shop-seller-shop-link:hover {
    color: var(--shop-accent-hover);
    text-decoration: underline;
}
