/* ===== shop_new2 - 瀑布流 + 弹窗购买 + 大分类按钮 ===== */

/* ===== 商品列表 - 瀑布流 ===== */
.shop-new2-goods-list {
    column-count: 4 !important;
    column-gap: 12px !important;
    padding: 8px 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    display: block !important;
}
.shop-new2-goods-list .goods_box {
    break-inside: avoid !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: auto !important;
    cursor: pointer;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #fff !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
/* 移动端商品 items 名称价格 */
.shop-new2-goods-list .goods_box .goods_info {
    padding: 10px 12px !important;
}
.shop-new2-goods-list .goods_box .goods_name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    margin-bottom: 4px !important;
}
.shop-new2-goods-list .goods_box .goods_price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
}
.shop-new2-goods-list .goods_box .goods_remark {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-left: 6px !important;
}
.shop-new2-goods-list .goods_box:hover {
    border-color: #bfdbfe !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.1) !important;
    transform: translateY(-2px);
}
.shop-new2-goods-list .goods_box.active {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12) !important;
    background: #eff6ff !important;
}
.shop-new2-goods-list .goods_box .card {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.shop-new2-goods-list .goods_box .card .card__detail {
    padding: 10px 12px;
}
.shop-new2-goods-list .goods_box .card .card__detail_name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}
.shop-new2-goods-list .goods_box .card .card__detail_price {
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
}
.shop-new2-goods-list .goods_box .card .card__detail_stock {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 6px;
}
.shop-new2-goods-list .goods_box .card .card__detail_stock.text-success {
    color: #22c55e !important;
}
.shop-new2-goods-list .goods_box .card .lite_img {
    display: none !important;
}

/* 瀑布流图片容器 */
.shop-new2-goods-list .new1-goods-img-wrap {
    width: 100%;
    overflow: hidden;
    /* background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%); */
}
.shop-new2-goods-list .new1-goods-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}
/* 瀑布流 - 通过不同宽高比实现高度不一致 */
.shop-new2-goods-list .goods_box:nth-child(5n+1) .new1-goods-img-wrap { aspect-ratio: 3/4; }
.shop-new2-goods-list .goods_box:nth-child(5n+2) .new1-goods-img-wrap { aspect-ratio: 4/3; }
.shop-new2-goods-list .goods_box:nth-child(5n+3) .new1-goods-img-wrap { aspect-ratio: 1/1; }
.shop-new2-goods-list .goods_box:nth-child(5n+4) .new1-goods-img-wrap { aspect-ratio: 3/2; }
.shop-new2-goods-list .goods_box:nth-child(5n+5) .new1-goods-img-wrap { aspect-ratio: 2/3; }
.shop-new2-goods-list .goods_box:hover .new1-goods-img-wrap img {
    transform: scale(1.03);
}
/* 移动端 goods_img 图片 */
.shop-new2-goods-list .goods_box .goods_img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}
/* 移动端瀑布流 - 不同宽高比 */
.shop-new2-goods-list .goods_box:nth-child(5n+1) .goods_img { aspect-ratio: 3/4; }
.shop-new2-goods-list .goods_box:nth-child(5n+2) .goods_img { aspect-ratio: 4/3; }
.shop-new2-goods-list .goods_box:nth-child(5n+3) .goods_img { aspect-ratio: 1/1; }
.shop-new2-goods-list .goods_box:nth-child(5n+4) .goods_img { aspect-ratio: 3/2; }
.shop-new2-goods-list .goods_box:nth-child(5n+5) .goods_img { aspect-ratio: 2/3; }
.shop-new2-goods-list .goods_box:hover .goods_img {
    transform: scale(1.03);
}

/* 商品加载更多按钮 */
.shop-new2-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-top: 8px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    column-span: all;
}
.shop-new2-load-more:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

/* ===== 分类按钮 - 三倍大号 + 选中对号 ===== */
.shop-new2-category-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding: 4px 0 !important;
    max-height: none !important;
    overflow-x: visible !important;
}
.shop-new2-category-list .category_box,
.shop-new2-category-list .new1-category-item {
    padding: 20px 32px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    cursor: pointer;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    
}
.shop-new2-category-list .category_box:hover,
.shop-new2-category-list .new1-category-item:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.shop-new2-category-list .category_box.active,
.shop-new2-category-list .new1-category-item.active {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
    border-color: #2563eb !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
    padding-right: 48px !important;
    
}

.shop-new2-category-list .category_box.active .cate_desc,
.shop-new2-category-list .category_box.active .cate_name,
.shop-new2-category-list .new1-category-item.active span:last-child {
    color: rgba(255,255,255,0.85) !important;
}
.shop-new2-category-list .category_box img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    object-fit: cover;
}
.shop-new2-category-list .category_box .cate_name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: inherit !important;
}
.shop-new2-category-list .category_box .cate_desc {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

/* ===== 弹窗购买 ===== */
.shop-new2-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.shop-new2-overlay.show {
    display: flex;
}
.shop-new2-modal {
    background: #fff;
    /* border-radius: 16px 16px 0 0; */
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 86vh;
    overflow-y: auto;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    animation: slideUp 0.3s ease;
    padding: 0;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.shop-new2-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    border-radius: 16px 16px 0 0;
}
.shop-new2-modal-header .title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}
.shop-new2-modal-header .close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    font-size: 18px;
    color: #64748b;
}
.shop-new2-modal-header .close-btn:hover {
    background: #e2e8f0;
    color: #334155;
}
.shop-new2-modal-body {
    padding: 20px;
}
.shop-new2-modal .goods-preview {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
}
.shop-new2-modal .goods-preview-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}
.shop-new2-modal .goods-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-new2-modal .goods-preview-info {
    flex: 1;
    min-width: 0;
}
.shop-new2-modal .goods-preview-info .name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-new2-modal .goods-preview-info .price {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}
.shop-new2-modal .goods-preview-info .stock {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}
/* 弹窗内优惠信息和商品描述 */
.shop-new2-modal .popup-discount-section,
.shop-new2-modal .popup-remark-section {
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.shop-new2-modal .popup-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* 弹窗内优惠和描述内容区 */
.shop-new2-modal .popup-discount-section .sale_message,
.shop-new2-modal .popup-remark-section .desc_content {
    /* padding: 12px 14px; */
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    word-break: break-all;
    padding-left: 10px;
}
.shop-new2-modal .popup-discount-section .sale_message .content span,
.shop-new2-modal .popup-remark-section .desc_content .content {
    color: #475569;
}
.shop-new2-modal .form-section {
    margin-bottom: 16px;
}
.shop-new2-modal .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.shop-new2-modal .form-label .required {
    color: #ef4444;
}
.shop-new2-modal .form-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    background: #f8fafc;
    transition: 0.2s;
}
.shop-new2-modal .form-input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    outline: none;
}
.shop-new2-modal .form-input::placeholder {
    color: #94a3b8;
}
.shop-new2-modal .form-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* 数量选择器 */
.shop-new2-modal .qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}
.shop-new2-modal .qty-selector .qty-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #475569;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
    border: none;
    user-select: none;
}
.shop-new2-modal .qty-selector .qty-btn:hover {
    background: #e2e8f0;
}
.shop-new2-modal .qty-selector input {
    width: 56px;
    height: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}
.shop-new2-modal .qty-selector input:focus {
    outline: none;
}

/* 选项按钮组 */
.shop-new2-modal .option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-new2-modal .option-btn {
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}
.shop-new2-modal .option-btn:hover {
    border-color: #93c5fd;
    color: #2563eb;
}
.shop-new2-modal .option-btn.active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
    font-weight: 500;
}

/* 支付方式 - 小方块并排 */
.shop-new2-modal .pay-methods {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}
.shop-new2-modal .pay-method {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 12px;
    color: #475569;
}
.shop-new2-modal .pay-method:hover {
    border-color: #93c5fd;
}
.shop-new2-modal .pay-method.active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 500;
}
.shop-new2-modal .pay-method img {
    width: 20px;
    height: 20px;
}
.shop-new2-modal .pay-method .pay-radio {
    margin-left: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex-shrink: 0;
}
.shop-new2-modal .pay-method.active .pay-radio {
    border-color: #2563eb;
    background: #2563eb;
}
.shop-new2-modal .pay-method.active .pay-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

/* 支付按钮 */
.shop-new2-modal .pay-submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 12px;
    letter-spacing: 0.5px;
}
.shop-new2-modal .pay-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.shop-new2-modal .pay-submit-btn:active {
    transform: scale(0.98);
}

/* 价格总览 */
.shop-new2-modal .price-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
}
.shop-new2-modal .price-summary .label {
    font-size: 14px;
    color: #64748b;
}
.shop-new2-modal .price-summary .total {
    font-size: 22px;
    font-weight: 700;
    color: #ef4444;
}
.shop-new2-modal .price-summary .original {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 8px;
}

/* 弹窗内手续费显示 */
.shop-new2-modal .to_pay {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0;
    font-size: 13px;
    color: #64748b;
}
.shop-new2-modal .to_pay span:first-child {
    display: flex;
    align-items: center;
    gap: 4px;
}
.shop-new2-modal .to_pay span span {
    color: #ef4444;
    font-weight: 600;
    font-size: 15px;
}
.shop-new2-modal .to_pay span p {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

 

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .shop-new2-goods-list {
        column-count: 3 !important;
    }
}
/* 响应式 - 手机 */
@media (max-width: 768px) {
    .shop-new2-goods-list {
        column-count: 2 !important;
        column-gap: 8px !important;
    }
    .shop-new2-goods-list .goods_box {
        margin-bottom: 8px !important;
        border-radius: 8px !important;
    }
    .shop-new2-category-list {
        gap: 8px !important;
    }
    .shop-new2-category-list .category_box,
    .shop-new2-category-list .new1-category-item {
        padding: 10px 14px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
    .shop-new2-category-list .category_box img {
        width: 24px !important;
        height: 24px !important;
        border-radius: 4px !important;
    }
    .shop-new2-category-list .category_box .cate_name {
        /* font-size: 12px !important; */
    }
    .shop-new2-category-list .category_box .cate_desc {
        font-size: 10px !important;
    }
    .shop-new2-modal {
        max-width: 100% !important;
        border-radius: 16px 16px 0 0 !important;
    }
    .shop-new2-modal .goods-preview-img {
        width: 64px;
        height: 64px;
    }
    .shop-new2-modal .goods-preview-info .name {
        font-size: 14px;
    }
    .shop-new2-modal .goods-preview-info .price {
        font-size: 18px;
    }
}

/* ===== Header 联系方式下拉 ===== */
.header-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: rgba(255,255,255,.15) !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: background .2s !important;
}
.header-contact-btn:hover {
    background: rgba(255,255,255,.25) !important;
}
.header-contact-dropdown {
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
}
.header-contact-dropdown .container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding: 0 !important;
}
.header-contact-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 24px !important;
    font-size: 13px !important;
    color: #374151 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    transition: background .15s !important;
}
.header-contact-item:last-child {
    border-bottom: none !important;
}
.header-contact-item:hover {
    background: #f9fafb !important;
}
.header-contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.header-contact-info svg {
    color: #9ca3af !important;
    flex-shrink: 0 !important;
}
.header-contact-info .contact-label {
    font-size: 12px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
}
.header-contact-info .contact-value {
    color: #1f2937 !important;
    font-weight: 500 !important;
    user-select: all !important;
}
.header-contact-copy {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    background: #f3f4f6 !important;
    transition: all .15s !important;
    user-select: none !important;
    flex-shrink: 0 !important;
}
.header-contact-copy:hover {
    background: #e5e7eb !important;
    color: #374151 !important;
}
.header-contact-copy .copy-msg {
    transition: all .15s !important;
}
.header-contact-copy .copy-msg.show {
    color: #059669 !important;
}

/* ===== 移动端头部重构 ===== */
/* 覆盖原有 header 内边距 */
.mobile-shop-header {
    padding-top: .32rem !important;
    padding-bottom: .12rem !important;
}
/* 搜索栏 - 保持原标签结构，仅改样式 */
.header-search-wrap {
    padding: 0 .4rem .32rem;
}
.header-search-wrap .search {
    width: 100%;
    margin: 0;
}
.header-search-wrap .search_title {
    padding-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
}
.header-search-wrap .search_title_span {
    display: none !important;
}
.header-search-wrap .search-box {
    flex: 1;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    margin-top: 0 !important;
}
.header-search-wrap .search-box .input {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.95);
    border-radius: 20px;
    padding: 0 14px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border: none;
    margin-right: 0;
}
.header-search-wrap .search-box .input input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    height: 100%;
    padding: 0;
    font-weight: 400;
}
.header-search-wrap .search-box .input input::placeholder {
    color: #94a3b8;
}
.header-search-wrap .search_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36px;
    padding: 0 16px;
    background: linear-gradient(135deg, #48a0f9, #3d7aff);
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(61,122,255,.35);
    flex-shrink: 0;
    white-space: nowrap;
    width: auto !important;
    margin-top: 0 !important;
}
.header-search-wrap .search_button .icon {
    width: 16px !important;
    height: 16px !important;
}
.header-search-wrap .search_button span {
    color: #fff !important;
}
/* 店铺信息行 */
.mobile-shop-header .header-info-row {
    display: flex;
    align-items: center;
    padding: 0 .4rem .32rem;
    gap: 12px;
}
.mobile-shop-header .header-info-row .avatar {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    flex-shrink: 0;
    margin: 0;
}
.mobile-shop-header .header-info-text {
    flex: 1;
    min-width: 0;
}
.mobile-shop-header .header-info-text .shop-name {
    font-size: .48rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
}
.mobile-shop-header .shop-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.mobile-shop-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.mobile-shop-header .badge-ok {
    background: rgba(16,185,129,.2);
    border: 1px solid rgba(16,185,129,.3);
    color: #a7f3d0;
}
.mobile-shop-header .badge-warn {
    background: rgba(245,158,11,.2);
    border: 1px solid rgba(245,158,11,.3);
    color: #fde68a;
}
.mobile-shop-header .badge-info {
    background: rgba(59,130,246,.2);
    border: 1px solid rgba(59,130,246,.3);
    color: #bfdbfe;
}
.mobile-shop-header .badge-time {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
}
/* 操作按钮 */
.mobile-shop-header .header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.mobile-shop-header .header-actions-row2 {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-shop-header .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    height: 32px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
    outline: none;
}
.mobile-shop-header .contact-btn:active {
    background: rgba(255,255,255,.25);
}
.mobile-shop-header .header-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    height: 30px;
    border-radius: 15px;
    font-size: 13px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    white-space: nowrap;
}
.mobile-shop-header .header-link-btn-primary {
    background: #fff;
    color: #3369ff;
    border-color: #fff;
    font-weight: 600;
}
.mobile-shop-header .header-link-btn-red {
    background: #db0c0c;
    color: #e8eaf0;
    border-color: #db0c0c;
    font-weight: 600;
}
/* 联系方式下拉面板 */
.mobile-shop-header .contact-dropdown {
    margin: 0 .4rem .32rem;
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 4px;
    overflow: hidden;
}
.mobile-shop-header .contact-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
    gap: 8px;
}
.mobile-shop-header .contact-item:active {
    background: rgba(255,255,255,.15);
}
.mobile-shop-header .contact-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 36px;
    text-align: center;
}
.mobile-shop-header .contact-value {
    flex: 1;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}
.mobile-shop-header .copy-tip {
    font-size: 11px;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.2);
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}


/* ===== 移动端底部联系方式弹出面板 ===== */
.contact-bottom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    animation: fadeIn 0.3s ease;
}
.contact-bottom-overlay.show {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.contact-bottom-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 0 0 env(safe-area-inset-bottom);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
    max-height: 70vh;
    overflow-y: auto;
}
.contact-bottom-overlay.show .contact-bottom-panel {
    transform: translateY(0);
}
.contact-bottom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
.contact-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}
.contact-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.contact-close-btn:hover {
    background: #e2e8f0;
    color: #334155;
}
.contact-close-btn:active {
    transform: scale(0.95);
}
.contact-bottom-content {
    padding: 16px 24px;
}
.contact-bottom-item {
    display: flex;
    align-items: center;
    padding: 6px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.contact-bottom-item:last-child {
    margin-bottom: 0;
}
.contact-bottom-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.contact-bottom-item:active {
    transform: scale(0.98);
}
.contact-icon {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}
.qq-icon {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}
.wechat-icon {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}
.phone-icon {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-type {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}
.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}
.contact-copy-btn {
    font-size: 12px;
    color: #2563eb;
    background: rgba(37,99,235,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    flex-shrink: 0;
}
.contact-bottom-tip {
    text-align: center;
    padding: 16px 24px 24px;
    font-size: 13px;
    color: #94a3b8;
}

/* 隐藏旧的下拉面板样式 */
.mobile-shop-header .contact-dropdown {
    display: none !important;
}

/* ===== 商家信息弹窗 ===== */
.shop-info-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.shop-info-overlay.show {
    display: flex !important;
}
.shop-info-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    animation: fadeInScale 0.25s ease;
}
@keyframes fadeInScale {
    from { 
        opacity: 0;
        transform: scale(0.95);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}
.shop-info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.shop-info-modal-header .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.shop-info-modal-header .close-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 16px;
    color: #666;
}
.shop-info-modal-header .close-btn:hover {
    background: #e5e5e5;
    color: #333;
}
.shop-info-modal-body {
    padding: 20px;
}
.shop-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
}
.shop-info-item:last-of-type {
    margin-bottom: 0;
}
.shop-info-label {
    width: 90px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    flex-shrink: 0;
}
.shop-info-value {
    flex: 1;
    font-size: 13px;
    color: #333;
    font-weight: 400;
}
.shop-info-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 18px 0;
}
.shop-info-declaration {
    padding: 14px;
    background: #fafafa;
    border-radius: 6px;
    border-left: 3px solid #2563eb;
}
.shop-info-declaration .shop-info-label {
    width: 100%;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 12px;
}
.shop-info-declaration-content {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
    font-style: italic;
}

/* 移动端店铺信息区域点击指示 */
.mobile-shop-header .header-info-text {
    cursor: pointer;
    position: relative;
}
.mobile-shop-header .header-info-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .shop-info-modal {
        max-width: 320px;
    }
    .mobile-shop-header .header-info-arrow {
        display: none;
    }
}

/* ===== PC端商家信息弹窗样式 ===== */
.new1-merchant-bar {
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.new1-merchant-bar:hover {
    background: rgba(0,0,0,0.02);
}
.merchant-bar-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    transition: opacity 0.2s;
}
.new1-merchant-bar:hover .merchant-bar-arrow {
    opacity: 1;
}

/* PC端弹窗样式调整 */
@media (min-width: 769px) {
    .shop-info-overlay {
        padding: 40px;
    }
    .shop-info-modal {
        max-width: 420px;
        border-radius: 8px;
    }
    .shop-info-modal-header {
        padding: 20px 24px;
    }
    .shop-info-modal-header .title {
        font-size: 18px;
    }
    .shop-info-modal-body {
        padding: 24px;
    }
    .shop-info-item {
        margin-bottom: 18px;
    }
    .shop-info-label {
        width: 100px;
        font-size: 14px;
    }
    .shop-info-value {
        font-size: 14px;
    }
    .shop-info-declaration {
        padding: 16px;
    }
    .shop-info-declaration .shop-info-label {
        font-size: 13px;
    }
    .shop-info-declaration-content {
        font-size: 13px;
    }
}