/**
 * 谍赞商城样式（类名统一 shop- 前缀，避免与站内其它样式冲突）
 */

.shop-login-tip {
    margin-bottom: 20px;
}

/* 会员中心商城记录 */
.shop-receiver-cell,
.shop-pickup-cell {
    max-width: 260px;
    word-break: break-all;
}

.shop-pickup-info {
    white-space: pre-line;
    line-height: 1.7;
    color: #24384d;
}

/* 虚拟物品取货信息弹层 */
.shop-pickup-overlay {
    display: none;
    align-items: center;
    justify-content: center;
}

.shop-pickup-modal {
    max-width: 560px;
    width: 90%;
    box-sizing: border-box;
    overflow: hidden;
}

.shop-pickup-body {
    margin: 4px 0 18px;
    padding: 16px 18px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    background: #f7fafd;
    border: 1px solid #eaf2fa;
    border-radius: 10px;
    white-space: pre-line;
    line-height: 1.9;
    color: #24384d;
    font-size: 14px;
    word-break: break-all;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    overflow-x: hidden;
    max-height: 46vh;
    overflow-y: auto;
}

.shop-pickup-btn {
    white-space: nowrap;
}

.shop-pickup-disabled {
    background: #f1f3f6;
    color: #9aa7b6;
    border: 1px solid #e3e8ef;
    cursor: not-allowed;
}

@media screen and (max-width: 600px) {
    .shop-pickup-modal {
        width: calc(100% - 24px);
        max-width: none;
    }
}

/* 商品列表 */
.shop-goods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-goods-item {
    /* 每行 5 个商品（间距 20px × 4 = 80px，故每列减去 16px） */
    width: calc(20% - 16px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(31, 72, 124, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.shop-goods-item:hover {
    transform: translateY(-4px);
}

.shop-goods-link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding-bottom: 14px;
}

.shop-goods-pic {
    /* 1:1 方形预览：高度跟随卡片宽度，与商品详情图比例保持一致 */
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-goods-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-goods-title {
    margin: 12px 14px 6px;
    font-size: 15px;
    line-height: 1.5;
    color: #24384d;
}

.shop-goods-sub {
    margin: 0 14px 10px;
    font-size: 12px;
    color: #8497ab;
    min-height: 34px;
}

.shop-goods-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 14px;
}

.shop-goods-price {
    color: #e04b3a;
    font-weight: 700;
    font-size: 17px;
}

.shop-goods-type {
    font-size: 12px;
    color: #2980b9;
    background: #eef6ff;
    border-radius: 10px;
    padding: 2px 10px;
}

/* 商品详情 */
.shop-detail-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(31, 72, 124, 0.08);
}

.shop-detail-top {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.shop-detail-pic {
    flex: 0 0 380px;
    max-width: 100%;
    /* 与商城列表保持一致：1:1 方形预览 */
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 12px;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-detail-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-detail-nopic {
    color: #9bb0c6;
    font-size: 14px;
}

.shop-detail-info {
    flex: 1 1 360px;
    min-width: 280px;
}

.shop-detail-title {
    margin: 0 0 8px;
    font-size: 22px;
    color: #1b3550;
}

.shop-detail-sub {
    margin: 0 0 14px;
    color: #68788c;
    font-size: 14px;
}

.shop-detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-detail-price {
    color: #e04b3a;
    font-size: 28px;
    font-weight: 700;
}

.shop-detail-market {
    color: #a6b6c8;
    text-decoration: line-through;
    font-size: 14px;
}

.shop-detail-tag {
    font-size: 12px;
    color: #2980b9;
    background: #eef6ff;
    border-radius: 12px;
    padding: 3px 12px;
}

.shop-detail-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: #68788c;
    font-size: 13px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.shop-buy-box {
    border-top: 1px dashed #e2ecf7;
    padding-top: 16px;
}

.shop-buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* 实物商品：购买数量 / 收货人 / 联系电话 并排显示 */
.shop-buy-row-inline {
    flex-wrap: wrap;
    gap: 10px 12px;
}

.shop-buy-row-inline .shop-buy-label {
    flex: 0 0 auto;
    white-space: nowrap;
}

.shop-buy-row-inline .shop-buy-num {
    flex: 0 0 90px;
}

.shop-buy-row-inline .shop-buy-input {
    flex: 1 1 150px;
    min-width: 130px;
}

.shop-buy-readonly {
    background: #f7fafd;
    color: #42576e;
}

.shop-buy-edit {
    flex: 0 0 auto;
    color: #2980b9;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.shop-buy-edit:hover {
    text-decoration: underline;
}

.shop-buy-tip {
    margin: 0 0 6px;
    font-size: 12px;
    color: #8497ab;
}

.shop-buy-tip a {
    color: #2980b9;
    text-decoration: none;
}

.shop-buy-label {
    flex: 0 0 70px;
    color: #68788c;
    font-size: 13px;
}

.shop-buy-num,
.shop-buy-input {
    height: 38px;
    border: 1px solid #dbe6f2;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    color: #24384d;
    outline: none;
}

.shop-buy-num {
    width: 110px;
}

.shop-buy-input {
    flex: 1 1 auto;
    min-width: 200px;
}

.shop-buy-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* 立即购买按钮：与右下角「项目查询」浮动按钮同色 */
.shop-buy-actions .rpa-btn-primary,
.shop-buy-actions .rpa-btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
}

/* 立即购买按钮：放大并居中显示 */
.shop-buy-actions .rpa-btn-primary {
    justify-content: center;
    min-width: 260px;
    padding: 15px 46px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.26);
    transition: all 0.2s;
}

.shop-buy-actions .rpa-btn-primary:hover {
    background: #2471a3;
    border-color: #2471a3;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(41, 128, 185, 0.34);
}

/* 商品图片美化边框（相框效果） */
.shop-detail-pic {
    padding: 12px;
    border: 1px solid #e2ecf8;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 55%, #eef6ff 100%);
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.shop-detail-pic img {
    border-radius: 10px;
}

.shop-detail-pic .shop-detail-nopic {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #d5e3f2;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
}

/* ==================== 商品详情友情提示 ==================== */
/* ==================== 实物订单详情弹层 ==================== */
.shop-order-modal {
    max-width: 560px;
}

.shop-order-body {
    max-height: 60vh;
    overflow-y: auto;
    margin: 4px 0 18px;
    padding: 4px 2px;
    box-sizing: border-box;
}

.shop-order-detail-list {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px 12px;
    margin: 0;
    padding: 0;
}

.shop-order-detail-list dt {
    font-size: 0.82rem;
    color: #8b9fb5;
    font-weight: 400;
    text-align: right;
}

.shop-order-detail-list dd {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.7;
    color: #24384d;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.shop-express-copy {
    display: inline-block;
    padding: 2px 8px;
    border: 1px dashed #2980b9;
    border-radius: 6px;
    color: #2980b9;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.shop-express-copy:hover {
    background: #eaf4fd;
    border-style: solid;
}

.shop-copy-tip {
    margin-left: 8px;
    font-size: 0.74rem;
    color: #a8bccf;
}

.shop-copy-tip.is-ok {
    color: #2e9e4f;
}

.shop-copy-tip.is-fail {
    color: #c0392b;
}

.shop-express-none {
    color: #a8bccf;
}

.shop-express-cell {
    color: #24384d;
}

.shop-order-detail-btn {
    white-space: nowrap;
}

.shop-detail-tip {
    flex: 0 0 268px;
    max-width: 100%;
    height: 380px; /* 与左侧商品图片模块等高（图片模块为 380×380 正方形） */
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding: 18px 18px 20px;
    border: 1px solid #ffe2bd;
    border-radius: 12px;
    background: linear-gradient(160deg, #fffaf1, #fff6e6);
    overflow: hidden;
}

.shop-detail-tip-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #ffe0b8;
    font-size: 0.95rem;
    font-weight: 800;
    color: #b26a00;
}

.shop-detail-tip-head i {
    font-size: 17px;
    color: #f0932b;
}

.shop-detail-tip-body {
    flex: 1;
    overflow-y: auto;
    font-size: 0.84rem;
    line-height: 1.9;
    color: #8a6a3d;
    word-break: break-word;
}

.shop-detail-tip-body p {
    margin: 0 0 8px;
}

.shop-detail-tip-body p:last-child {
    margin-bottom: 0;
}

.shop-detail-tip-body ul,
.shop-detail-tip-body ol {
    margin: 0 0 8px;
    padding-left: 18px;
}

.shop-detail-tip-body li {
    margin-bottom: 4px;
}

@media screen and (max-width: 1200px) {
    .shop-detail-tip {
        flex: 1 1 100%;
        height: auto;
    }
}

.shop-buy-actions .rpa-btn-primary:hover {
    background: #2471a3;
    border-color: #2471a3;
    box-shadow: 0 4px 16px rgba(41, 128, 185, 0.35);
}

/* 商城记录表格：表头与单元格一律单行显示，超出隐藏，悬停查看完整内容 */
.shop-record-table {
    table-layout: fixed;
    width: 100%;
}

.shop-record-table th,
.shop-record-table td {
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.shop-record-table th:nth-child(1) { width: 15%; }
.shop-record-table th:nth-child(2) { width: 22%; }
.shop-record-table th:nth-child(3) { width: 6%; }
.shop-record-table th:nth-child(4) { width: 9%; }
.shop-record-table th:nth-child(5) { width: 13%; }
.shop-record-table th:nth-child(6) { width: 9%; }
.shop-record-table th:nth-child(7) { width: 12%; }

.shop-record-table td .ucenter-btn,
.shop-record-table td .shop-pickup-disabled {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.shop-detail-content {
    margin-top: 26px;
    /* 正文字号与页面整体保持一致（页面基准 16px） */
    font-size: 1rem;
    line-height: 1.9;
    color: #3c4a5a;
}

.shop-detail-content p {
    margin: 0 0 10px;
}

.shop-detail-content li {
    margin-bottom: 6px;
}

.shop-detail-content strong {
    color: #1a3a5c;
}

.shop-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ==================== 商品详情标题美化 ==================== */
.shop-detail-content-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.shop-detail-content-bar {
    width: 5px;
    height: 20px;
    border-radius: 3px;
    background: linear-gradient(180deg, #2980b9, #1a3a5c);
    flex-shrink: 0;
}

.shop-detail-content-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1a3a5c;
    white-space: nowrap;
}

.shop-detail-content-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #dbe6f3, rgba(219, 230, 243, 0));
}

/* 详情页未登录提示 */
.shop-detail-login-tip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* 只保留「立即登录」按钮时，按钮左右居中显示 */
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d8e7f6;
    border-radius: 10px;
    background: linear-gradient(135deg, #f4f9ff, #eef5fd);
    font-size: 0.85rem;
    line-height: 1.7;
    color: #4a6b8a;
}

.shop-detail-login-tip i {
    font-size: 18px;
    color: #2980b9;
}

/* 图标与提示文字保持在同一行内显示 */
.shop-detail-login-text {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

.shop-detail-login-text .iconfont {
    font-size: 18px;
    color: #2980b9;
    margin-right: 6px;
    vertical-align: -3px;
    flex-shrink: 0;
}

.shop-detail-login-btn {
    margin-left: 0;
    padding: 8px 20px;
    border-radius: 20px;
    background: #2980b9;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
}

.shop-detail-login-btn:hover {
    background: #2471a3;
}

@media screen and (max-width: 900px) {
    .shop-goods-item {
        width: calc(50% - 10px);
    }

    .shop-detail-pic {
        flex: 1 1 100%;
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

/* ==================== 商城头部：商品类型 + 类目筛选 ==================== */
.shop-nav-card {
    position: relative;
    margin-bottom: 26px;
    padding: 28px 30px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 55%, #eef4fd 100%);
    border: 1px solid #e4ecf6;
    box-shadow: 0 6px 24px rgba(26, 58, 92, 0.06);
    /* 不能裁剪：大类目悬停展开的子类目浮层需要溢出显示 */
    overflow: visible;
    z-index: 5;
}

.shop-nav-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, rgba(41, 128, 185, 0), #2980b9 25%, #1a3a5c 60%, rgba(26, 58, 92, 0));
}

.shop-nav-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.shop-nav-tag {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 3px;
    font-weight: 700;
    color: #7fa3c4;
    text-transform: uppercase;
}

.shop-nav-title {
    margin: 0 0 10px;
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a3a5c;
    letter-spacing: 1px;
}

.shop-nav-desc {
    margin: 0;
    max-width: 620px;
    font-size: 0.88rem;
    line-height: 1.8;
    color: #5a7a95;
}

.shop-nav-stats {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.shop-nav-stat {
    min-width: 96px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e4ecf6;
    text-align: center;
    box-shadow: 0 2px 10px rgba(26, 58, 92, 0.05);
}

.shop-nav-stat b {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #2980b9;
    line-height: 1.2;
}

.shop-nav-stat span {
    font-size: 0.76rem;
    color: #6b86a3;
}

/* 一级：商品类型 */
.shop-nav-types {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e4ecf6;
}

.shop-type-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 22px;
    border: 1px solid #d8e4f2;
    background: #fff;
    color: #1a3a5c;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s;
}

.shop-type-tab em {
    font-style: normal;
    font-size: 0.76rem;
    padding: 1px 8px;
    border-radius: 10px;
    background: #eef4fd;
    color: #2980b9;
}

.shop-type-tab:hover {
    border-color: #2980b9;
    color: #2980b9;
    transform: translateY(-1px);
}

.shop-type-tab.is-active {
    background: #2980b9;
    border-color: #2980b9;
    color: #fff;
    box-shadow: 0 6px 16px rgba(41, 128, 185, 0.28);
}

.shop-type-tab.is-active em {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* 二级：类目 */
.shop-nav-cats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-cat-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.shop-cat-row-label {
    flex-shrink: 0;
    width: 76px;
    padding-top: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1a3a5c;
}

.shop-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px dashed #d8e4f2;
    background: #fbfdff;
    color: #5a7a95;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.2s;
}

.shop-cat-chip i {
    font-style: normal;
    font-size: 0.74rem;
    color: #9db2c9;
}

.shop-cat-chip:hover {
    border-color: #2980b9;
    border-style: solid;
    color: #2980b9;
    background: #f2f8fe;
}

.shop-cat-chip.is-active {
    border-style: solid;
    border-color: #2980b9;
    background: #eaf4fd;
    color: #1c6ea4;
    font-weight: 600;
}

.shop-cat-chip.is-active i {
    color: #2980b9;
}

.shop-cat-empty {
    padding: 6px 0;
    font-size: 0.82rem;
    color: #a8bccf;
}

@media screen and (max-width: 900px) {
    .shop-nav-card {
        padding: 22px 18px 18px;
    }

    .shop-nav-head {
        align-items: flex-start;
    }

    .shop-nav-stats {
        width: 100%;
    }

    .shop-nav-stat {
        flex: 1;
        min-width: 0;
    }

    .shop-cat-row {
        flex-direction: column;
        gap: 6px;
    }

    .shop-cat-row-label {
        width: auto;
        padding-top: 0;
    }
}

/* ==================== 商城工具条：左搜索 + 右下拉筛选 ==================== */
.shop-type-wrap {
    position: relative;
}

/*
 * 选项卡与浮层之间有一段视觉间距，鼠标经过这段空隙时不能算“离开”，
 * 否则慢慢往下移动时浮层会提前收起。这里在选项卡底部补一块透明过渡区，
 * 它属于选项卡自身，鼠标经过时依然保持展开。
 */
.shop-type-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

/* 悬停大类目时浮出的子类目面板 */
.shop-type-sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 180px;
    max-width: 420px;
    max-height: 320px;
    overflow-y: auto;
    margin-top: 6px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e6eef7;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(26, 58, 92, 0.14);
}

/* 鼠标移到选项卡或面板上都保持展开（含 6px 过渡区） */
.shop-type-wrap:hover .shop-type-sub {
    display: flex;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin: 22px 0 20px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e6eef7;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(26, 58, 92, 0.05);
}

/* 左侧：商品搜索 */
.shop-search {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 1 320px;
    min-width: 220px;
}

.shop-search-input {
    flex: 1;
    height: 38px;
    padding: 0 16px;
    border: 1px solid #dfe8f2;
    border-right: none;
    border-radius: 19px 0 0 19px;
    font-size: 14px;
    color: #24384d;
    background: #fbfdff;
    outline: none;
}

.shop-search-input:focus {
    border-color: #2980b9;
    background: #ffffff;
}

.shop-search-btn {
    height: 38px;
    padding: 0 22px;
    border: none;
    border-radius: 0 19px 19px 0;
    background: #2980b9;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.shop-search-btn:hover {
    background: #2471a3;
}

/* 右侧：下拉筛选 */
.shop-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.shop-filter-label {
    font-size: 13px;
    color: #8a93a5;
    white-space: nowrap;
}

.shop-filter-select {
    height: 36px;
    padding: 0 30px 0 14px;
    border: 1px solid #dfe8f2;
    border-radius: 18px;
    background-color: #fbfdff;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238a93a5' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 13px;
    color: #24384d;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.shop-filter-select:hover,
.shop-filter-select:focus {
    border-color: #2980b9;
    background-color: #ffffff;
}

/* 筛选无结果时的空状态 */
.shop-goods-empty {
    width: 100%;
    padding: 64px 0;
    text-align: center;
    color: #9bb0c6;
    font-size: 14px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(31, 72, 124, 0.06);
}

/* 商品详情页服务标签 */
.shop-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
    margin-top: 16px;
}

.shop-detail-badge {
    display: inline-flex;
    flex: 0 0 calc(33.333% - 7px);
    max-width: calc(33.333% - 7px);
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 8px 8px;
    color: #0e5f8a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(135deg, #eaf7ff 0%, #e8fbf6 100%);
    border: 1px solid #b8e2f2;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.12);
}

.shop-detail-badge::before {
    content: "✓";
    margin-right: 6px;
    color: #2e9e4f;
    font-weight: 700;
}

.shop-detail-coupon-match {
    color: #b45309;
}

.shop-detail-coupon-tag {
    display: inline-block;
    padding: 2px 8px;
    margin: 2px 4px 2px 0;
    color: #b45309;
    font-size: 12px;
    background: #fff7ed;
    border: 1px solid #f3d19b;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .shop-detail-badges {
        gap: 8px;
    }

    .shop-detail-badge {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-width: 0;
        padding: 7px 12px;
        font-size: 13px;
    }
}

/* 商城列表分页 */
.shop-pager {
    display: flex;
    justify-content: center;
    margin: 30px 0 12px;
}

.shop-pager-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.shop-page-link,
.shop-page-current,
.shop-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 10px;
}

.shop-page-link {
    color: #1a3a5c;
    background: #fff;
    border: 1px solid #dce6f0;
    text-decoration: none;
    transition: color .2s, border-color .2s, box-shadow .2s;
}

.shop-page-link:hover {
    color: #2980b9;
    border-color: #2980b9;
    box-shadow: 0 6px 16px rgba(41, 128, 185, .12);
}

.shop-page-current {
    color: #fff;
    background: #2980b9;
    border: 1px solid #2980b9;
    font-weight: 700;
}

.shop-page-ellipsis {
    min-width: 20px;
    padding: 0 2px;
    color: #8c9eb5;
}

.shop-pager-total {
    margin-left: 8px;
    color: #8c9eb5;
    font-size: 13px;
}

@media (max-width: 560px) {
    .shop-page-link,
    .shop-page-current {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
        font-size: 13px;
    }

    .shop-pager-total {
        width: 100%;
        margin: 4px 0 0;
        text-align: center;
    }
}
