/* ============================================================
   二手手机回收出售系统 - 前台样式
   响应式断点：1200px / 992px / 768px / 576px / 480px
   ============================================================ */

/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f7fa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; -webkit-touch-callout: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea, button { font-size: 16px; } /* 防止iOS缩放 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: none;
    min-height: 44px;
    line-height: 1.2;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-primary:active { transform: scale(0.98); }
.btn-outline { border-color: #2563eb; color: #2563eb; background: #fff; }
.btn-outline:hover { background: #eff6ff; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-lg { padding: 14px 36px; font-size: 17px; min-height: 52px; }
.btn-sm { padding: 6px 14px; font-size: 13px; min-height: 34px; }
.btn-block { display: flex; width: 100%; }

/* ========== 头部 ========== */
.site-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    color: #2563eb;
    flex-shrink: 0;
}
.logo-icon { font-size: 24px; }
.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
    padding: 8px 18px;
    border-radius: 8px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: #eff6ff; color: #2563eb; }
.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hotline { color: #666; font-size: 13px; white-space: nowrap; }
.admin-link { color: #2563eb; font-size: 13px; white-space: nowrap; }

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端导航面板 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: #fff;
    z-index: 200;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.mobile-nav.active { display: block; right: 0; }
.mobile-nav-inner { padding: 70px 0 30px; }
.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
    min-height: 52px;
}
.mobile-nav-item:active { background: #f5f5f5; }
.mobile-nav-item.active { color: #2563eb; background: #eff6ff; }
.mobile-nav-icon { font-size: 20px; width: 24px; text-align: center; }
.mobile-nav-divider { height: 8px; background: #f5f7fa; margin: 8px 0; }
.mobile-nav-hotline {
    margin: 20px 24px 0;
    padding: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 10px;
    text-align: center;
}
.mobile-nav-hotline span { display: block; font-size: 12px; color: #666; margin-bottom: 4px; }
.mobile-nav-hotline strong { font-size: 18px; color: #2563eb; }
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-nav-overlay.active { display: block; opacity: 1; }

/* ========== Banner ========== */
.hero-banner {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { text-align: center; position: relative; z-index: 1; }
.hero-banner h1 { font-size: 44px; margin-bottom: 16px; font-weight: 800; letter-spacing: -0.5px; }
.hero-sub { font-size: 19px; opacity: 0.92; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }
.hero-actions .btn { min-width: 160px; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.2); }
.hero-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.stat-item { text-align: center; min-width: 100px; }
.stat-num { display: block; font-size: 36px; font-weight: 800; line-height: 1.2; }
.stat-label { font-size: 14px; opacity: 0.85; margin-top: 4px; }

/* ========== 通用区块 ========== */
.section { padding: 60px 0; }
.section-gray { background: #f0f2f5; }
.section-title { font-size: 30px; text-align: center; margin-bottom: 10px; font-weight: 700; }
.section-desc { text-align: center; color: #888; margin-bottom: 40px; font-size: 15px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }

/* ========== 回收流程 ========== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-item {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.step-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.step-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    margin: 0 auto 18px;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.step-item h3 { font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.step-item p { color: #888; font-size: 13px; line-height: 1.6; }

/* ========== 品牌 ========== */
.brand-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.brand-card {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.brand-card:hover { border-color: #3b82f6; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(59,130,246,0.15); }
.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.brand-logo span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.brand-logo-img {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.brand-logo-img img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    display: block;
}
.brand-name { font-size: 14px; font-weight: 600; color: #334155; }

/* ========== 商品卡片 ========== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.25s;
    display: block;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.product-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-placeholder { font-size: 26px; font-weight: 700; color: #cbd5e1; }
.product-tag {
    position: absolute; top: 12px; right: 12px;
    background: #ef4444; color: #fff;
    padding: 4px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 500;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}
.product-info { padding: 18px; }
.product-name { font-size: 15px; font-weight: 600; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-spec { color: #888; font-size: 13px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-spec-sub { color: #6b7280; font-size: 12px; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price { display: flex; align-items: center; justify-content: space-between; }
.price-current { color: #ef4444; font-size: 22px; font-weight: 800; }
.stock-info { color: #999; font-size: 12px; }

/* ========== 服务保障 ========== */
.guarantee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guarantee-item { text-align: center; padding: 28px 20px; background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.guarantee-icon { font-size: 42px; margin-bottom: 14px; }
.guarantee-item h3 { font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.guarantee-item p { color: #888; font-size: 13px; line-height: 1.7; }

/* ========== 页面容器 ========== */
.page-container { padding: 32px 0 70px; min-height: calc(100vh - 200px); }
.page-header { text-align: center; margin-bottom: 36px; }
.page-header h1 { font-size: 32px; margin-bottom: 10px; font-weight: 700; }
.page-header p { color: #888; font-size: 15px; }

/* ========== 回收估价页 ========== */
.recycle-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.recycle-form-wrap { background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.form-section { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid #f0f0f0; }
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.form-section-title { font-size: 18px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.step-num {
    width: 30px; height: 30px;
    background: #3b82f6; color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700;
    flex-shrink: 0;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #444; font-size: 14px; }
.required { color: #ef4444; }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="number"],
.form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fff;
    min-height: 46px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 自定义下拉框 combobox */
.combobox { position: relative; width: 100%; }
.combobox input[type="text"] {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fff;
    min-height: 46px;
    cursor: pointer;
}
.combobox input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.combobox input[type="text"][readonly] { cursor: pointer; }
.combobox input[type="text"]:not([readonly]) { cursor: text; }
.combobox-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.2s;
}
.combobox.open .combobox-arrow { transform: translateY(-50%) rotate(180deg); }
.combobox-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.combobox.open .combobox-dropdown { display: block; }
.combobox-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.combobox-option:last-child { border-bottom: none; }
.combobox-option:hover, .combobox-option.active {
    background: #eff6ff;
    color: #1d4ed8;
}
.combobox-option .option-storage { color: #9ca3af; font-size: 12px; }
.combobox-option:hover .option-storage, .combobox-option.active .option-storage { color: #60a5fa; }
.combobox-empty { padding: 16px; text-align: center; color: #9ca3af; font-size: 14px; }
.combobox-loading { padding: 16px; text-align: center; color: #9ca3af; font-size: 14px; }
.combobox-footer {
    padding: 10px 16px;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    border-radius: 0 0 10px 10px;
}
.combobox-manual-btn {
    color: #3b82f6;
    font-size: 13px;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 4px 0;
}
.combobox-manual-btn:hover { color: #1d4ed8; text-decoration: underline; }
.manual-model-wrap { position: relative; }
.manual-model-wrap input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #f59e0b;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fffbeb;
    min-height: 46px;
}
.manual-model-wrap input[type="text"]:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.back-to-list-btn {
    display: inline-block;
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
}
.back-to-list-btn:hover { color: #3b82f6; text-decoration: underline; }
.manual-price-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #92400e;
    margin-top: 10px;
}

/* 成色选择 */
.condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.condition-card input { display: none; }
.condition-card-inner {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    min-height: 90px;
}
.condition-card input:checked + .condition-card-inner {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.condition-name { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; color: #1f2937; }
.condition-desc { font-size: 12px; color: #888; line-height: 1.5; }

/* 故障选择 */
.fault-category { margin-bottom: 18px; }
.fault-cat-title { font-size: 14px; color: #666; margin-bottom: 12px; font-weight: 600; padding-left: 4px; }
.fault-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fault-item {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13px;
    min-height: 48px;
}
.fault-item:hover { border-color: #93c5fd; background: #f8fafc; }
.fault-item input[type="checkbox"] {
    accent-color: #3b82f6;
    width: 18px; height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}
.fault-item:has(input:checked) { border-color: #3b82f6; background: #eff6ff; }
.fault-name { flex: 1; color: #374151; }
.fault-deduct { color: #ef4444; font-size: 12px; white-space: nowrap; font-weight: 600; }

/* 报价卡片 */
.price-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.sticky { position: sticky; top: 84px; }
.price-card-title {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #1e40af;
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 2px solid #eff6ff;
}
.price-breakdown { margin-bottom: 18px; }
.price-row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #555;
}
.price-divider { border-top: 1px dashed #e5e7eb; margin: 10px 0; }
.price-final { font-weight: 700; font-size: 16px; color: #1f2937; }
.final-price { color: #ef4444; font-size: 28px; font-weight: 800; }
.text-danger { color: #ef4444; }
.price-notice {
    background: #fffbeb;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 12px;
    color: #92400e;
    line-height: 2;
}

/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    gap: 12px;
}
.filter-brands { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tag {
    padding: 7px 18px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #555;
    font-size: 13px;
    transition: all 0.15s;
    cursor: pointer;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}
.filter-tag:hover { background: #e5e7eb; }
.filter-tag.active { background: #3b82f6; color: #fff; box-shadow: 0 2px 8px rgba(59,130,246,0.3); }
.search-form { display: flex; gap: 8px; }
.search-form input {
    padding: 9px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    width: 200px;
    min-height: 40px;
}
.search-form input:focus { outline: none; border-color: #3b82f6; }

/* ========== 空状态 ========== */
.empty-state { text-align: center; padding: 70px 20px; color: #999; background: #fff; border-radius: 14px; }
.empty-state p { margin-bottom: 20px; font-size: 16px; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination .current {
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    min-width: 38px;
    text-align: center;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pagination .current { background: #3b82f6; color: #fff; border-color: #3b82f6; font-weight: 600; }
.pagination a:hover { border-color: #3b82f6; color: #3b82f6; }

/* ========== 商品详情 ========== */
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 20px; }
.breadcrumb a { color: #3b82f6; }
.product-detail {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 36px;
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}
.product-detail-img {
    aspect-ratio: 1;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder-lg { font-size: 48px; font-weight: 700; color: #cbd5e1; }
.product-detail-name { font-size: 28px; margin-bottom: 10px; font-weight: 700; }
.product-detail-spec { color: #888; margin-bottom: 24px; font-size: 16px; }
.product-detail-price-box {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.price-label { font-size: 13px; color: #888; margin-bottom: 6px; }
.price-value { font-size: 40px; color: #ef4444; font-weight: 800; line-height: 1.1; }
.price-stock { font-size: 13px; color: #666; margin-top: 8px; }
.product-detail-desc { margin-bottom: 24px; }
.product-detail-desc h4 { margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.product-detail-desc p { color: #666; line-height: 1.8; font-size: 14px; }
.product-detail-guarantee { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.guarantee-tag {
    background: #ecfdf5;
    color: #059669;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}
/* 详细配置参数 */
.spec-section { margin-bottom: 28px; background: #f8fafc; border-radius: 12px; padding: 20px; border: 1px solid #f0f0f0; }
.spec-title { font-size: 16px; font-weight: 600; color: #1f2937; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #e5e7eb; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.spec-row { display: flex; padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.spec-row:nth-last-child(-n+2) { border-bottom: none; }
.spec-label { width: 100px; flex-shrink: 0; color: #888; font-size: 13px; }
.spec-value { flex: 1; color: #333; font-size: 13px; font-weight: 500; word-break: break-all; }
.buy-form { margin-top: 24px; }
.quantity-selector { display: inline-flex; align-items: center; border: 1.5px solid #d1d5db; border-radius: 10px; overflow: hidden; }
.qty-btn {
    width: 44px; height: 46px;
    border: none; background: #f9fafb;
    font-size: 20px; cursor: pointer;
    color: #555;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.qty-btn:hover { background: #f3f4f6; }
.qty-btn:active { background: #e5e7eb; }
.quantity-selector input {
    width: 64px; text-align: center;
    border: none; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb;
    height: 46px; font-size: 16px; font-weight: 600;
    background: #fff;
}
.total-price { font-size: 28px; color: #ef4444; font-weight: 800; padding-top: 8px; }

/* ========== 订单查询 ========== */
.query-box { max-width: 720px; margin: 0 auto 36px; background: #fff; border-radius: 14px; padding: 32px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.query-form .btn { margin-top: 8px; }
.order-detail-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); margin-bottom: 24px; }
.order-detail-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px; background: #f8fafc; border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap; gap: 10px;
}
.order-detail-header h3 { font-size: 18px; font-weight: 600; }
.order-status { color: #fff; padding: 5px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; }
.order-detail-body { padding: 28px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 22px; }
.detail-item { font-size: 14px; color: #555; line-height: 1.6; }
.detail-full { grid-column: 1 / -1; }
.detail-label { color: #999; margin-right: 4px; }
.order-price-box { background: #f9fafb; border-radius: 10px; padding: 18px 22px; }
.order-price-box .price-row { padding: 8px 0; }
.price-final-row { border-top: 1px dashed #e5e7eb; padding-top: 12px !important; margin-top: 4px; font-weight: 600; }
.fault-detail-box { margin-top: 18px; background: #fffbeb; padding: 14px 18px; border-radius: 10px; }
.fault-detail-box h4 { margin-bottom: 8px; font-size: 14px; color: #92400e; font-weight: 600; }
.fault-detail-box p { font-size: 13px; color: #78350f; line-height: 1.8; }

.order-list-section { margin-bottom: 32px; }
.order-list-section h3 { margin-bottom: 14px; font-size: 18px; font-weight: 600; }
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.order-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); min-width: 600px; }
.order-table th, .order-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #f0f0f0; font-size: 13px; white-space: nowrap; }
.order-table th { background: #f8fafc; font-weight: 600; color: #555; }
.order-table tr:last-child td { border-bottom: none; }
.order-status-sm { color: #fff; padding: 3px 12px; border-radius: 12px; font-size: 12px; white-space: nowrap; }
.link { color: #3b82f6; font-weight: 500; }
.text-primary { color: #2563eb; }
.text-center { text-align: center; }

/* ========== 弹窗 ========== */
.modal {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal.active { display: flex; }
.modal-content {
    background: #fff; border-radius: 16px; padding: 36px 32px;
    max-width: 420px; width: 100%; text-align: center;
    animation: modalIn 0.25s ease;
    max-height: 90vh; overflow-y: auto;
}
@keyframes modalIn { from { transform: scale(0.9) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-icon {
    width: 68px; height: 68px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; margin: 0 auto 20px;
}
.modal-icon.success { background: #dcfce7; color: #16a34a; }
.modal-content h3 { margin-bottom: 12px; font-size: 22px; font-weight: 700; }
.modal-content p { color: #666; margin-bottom: 18px; font-size: 14px; line-height: 1.7; }
.modal-order-info {
    background: #f8fafc; border-radius: 10px; padding: 16px;
    margin-bottom: 24px; font-size: 14px; text-align: left;
}
.modal-order-info div { padding: 6px 0; }

/* ========== 底部 ========== */
.site-footer { background: #1f2937; color: #9ca3af; padding: 50px 0 0; margin-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 17px; font-weight: 600; }
.footer-col p { font-size: 13px; line-height: 1.9; }
.footer-col ul li { margin-bottom: 10px; font-size: 13px; }
.footer-col ul li a { color: #9ca3af; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #374151; padding: 20px 0; text-align: center; font-size: 12px; }
.footer-contact {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #9ca3af;
}
.fc-item { display: inline-flex; align-items: center; gap: 6px; }
.fc-label {
    background: rgba(255,255,255,0.1);
    color: #d1d5db;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}
.fc-address { flex: 1 1 100%; justify-content: center; }

/* ============================================================
   响应式断点
   ============================================================ */

/* --- 大屏桌面 (≤1200px) --- */
@media (max-width: 1200px) {
    .container { max-width: 100%; padding: 0 24px; }
    .brand-grid { grid-template-columns: repeat(6, 1fr); }
}

/* --- 小屏桌面/平板横屏 (≤992px) --- */
@media (max-width: 992px) {
    .hero-banner h1 { font-size: 36px; }
    .hero-sub { font-size: 17px; }
    .hero-stats { gap: 36px; }
    .stat-num { font-size: 30px; }

    .recycle-layout { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .price-card { order: -1; }

    .product-detail { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
    .product-detail-img { max-width: 400px; margin: 0 auto; width: 100%; }

    .steps { grid-template-columns: repeat(2, 1fr); }
    .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-grid { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    .section { padding: 48px 0; }
    .section-title { font-size: 26px; }
}

/* --- 平板 (≤768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* 头部：隐藏桌面导航，显示汉堡菜单 */
    .main-nav { display: none; }
    .header-right { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { height: 56px; gap: 8px; }
    .logo { font-size: 17px; flex-shrink: 1; min-width: 0; }
    .logo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .logo-icon { font-size: 22px; flex-shrink: 0; }

    /* Banner */
    .hero-banner { padding: 48px 0; }
    .hero-banner h1 { font-size: 30px; }
    .hero-sub { font-size: 15px; margin-bottom: 28px; }
    .hero-actions { margin-bottom: 40px; gap: 12px; }
    .hero-actions .btn { min-width: 140px; padding: 12px 24px; font-size: 15px; }
    .hero-stats { gap: 24px; }
    .stat-item { min-width: 80px; }
    .stat-num { font-size: 26px; }
    .stat-label { font-size: 12px; }

    /* 区块 */
    .section { padding: 32px 0; }
    .section-title { font-size: 22px; }
    .section-desc { font-size: 13px; margin-bottom: 20px; }
    .section-header { flex-direction: column; align-items: flex-start; }

    /* 网格 */
    .steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .step-item { padding: 24px 16px; }
    .step-icon { width: 44px; height: 44px; font-size: 18px; margin-bottom: 14px; }
    .step-item h3 { font-size: 16px; }

    .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .brand-card { padding: 16px 8px; min-height: 90px; gap: 8px; }
    .brand-logo { width: 40px; height: 40px; }
    .brand-logo span { font-size: 17px; }
    .brand-logo-img { height: 36px; }
    .brand-logo-img img { max-height: 36px; }
    .brand-name { font-size: 13px; }

    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hot-products .product-card:nth-child(n+7) { display: none; }
    .product-img { aspect-ratio: 4/3; }
    .product-info { padding: 8px 10px; }
    .product-name { font-size: 12px; margin-bottom: 2px; line-height: 1.3; }
    .product-spec { font-size: 10px; margin-bottom: 4px; }
    .product-spec-sub { display: none; }
    .price-current { font-size: 14px; }

    .guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .guarantee-item { padding: 18px 14px; }
    .guarantee-icon { font-size: 30px; }
    .guarantee-item h3 { font-size: 15px; margin-bottom: 4px; }
    .guarantee-item p { font-size: 12px; }

    /* 估价页 */
    .page-container { padding: 24px 0 50px; }
    .page-header h1 { font-size: 26px; }
    .page-header p { font-size: 14px; }
    .recycle-form-wrap { padding: 20px; border-radius: 12px; }
    .form-section { margin-bottom: 24px; padding-bottom: 20px; }
    .form-section-title { font-size: 16px; margin-bottom: 14px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .condition-grid { grid-template-columns: 1fr; gap: 10px; }
    .condition-card-inner { min-height: auto; padding: 14px; }
    .fault-grid { grid-template-columns: 1fr; gap: 8px; }

    .price-card { padding: 20px; }
    .price-card-title { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; }
    .final-price { font-size: 24px; }

    /* 筛选栏 */
    .filter-bar { padding: 14px; flex-direction: column; align-items: stretch; }
    .filter-brands { justify-content: flex-start; }
    .search-form { width: 100%; }
    .search-form input { flex: 1; width: auto; }

    /* 商品详情 */
    .product-detail { padding: 20px; gap: 24px; }
    .product-detail-name { font-size: 22px; }
    .product-detail-spec { font-size: 14px; margin-bottom: 18px; }
    .price-value { font-size: 32px; }
    .product-detail-price-box { padding: 18px; }

    /* 订单查询 */
    .query-box { padding: 20px; }
    .order-detail-header { padding: 14px 18px; }
    .order-detail-body { padding: 18px; }
    .detail-grid { grid-template-columns: 1fr; gap: 10px; }

    /* 底部 */
    .site-footer { padding: 32px 0 0; margin-top: 32px; }
    .footer-inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
    .footer-col h4 { margin-bottom: 10px; font-size: 14px; }
    .footer-col p { font-size: 12px; line-height: 1.7; }
    .footer-col ul li { margin-bottom: 6px; font-size: 12px; }
    .footer-bottom { padding: 14px 0; font-size: 11px; }

    /* 弹窗 */
    .modal-content { padding: 28px 22px; }
    .modal-icon { width: 56px; height: 56px; font-size: 28px; margin-bottom: 16px; }
    .modal-content h3 { font-size: 19px; }
}

/* --- 手机 (≤576px) --- */
@media (max-width: 576px) {
    .hero-banner { padding: 36px 0; }
    .hero-banner h1 { font-size: 24px; margin-bottom: 10px; }
    .hero-sub { font-size: 13px; margin-bottom: 22px; }
    .hero-actions { flex-direction: row; gap: 10px; margin-bottom: 28px; flex-wrap: nowrap; }
    .hero-actions .btn { width: auto; flex: 1; max-width: none; min-width: 0; padding: 11px 12px; font-size: 14px; }
    .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .stat-item { min-width: auto; }
    .stat-num { font-size: 20px; }
    .stat-label { font-size: 11px; margin-top: 2px; }

    .steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .step-item { padding: 18px 10px; }
    .step-icon { width: 38px; height: 38px; font-size: 16px; margin-bottom: 10px; }
    .step-item h3 { font-size: 14px; margin-bottom: 4px; }
    .step-item p { font-size: 12px; line-height: 1.4; }
    .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .brand-card { padding: 12px 6px; min-height: 72px; gap: 6px; }
    .brand-logo-img { height: 28px; }
    .brand-logo-img img { max-height: 28px; }
    .brand-logo { width: 32px; height: 32px; }
    .brand-logo span { font-size: 14px; }
    .brand-name { font-size: 11px; }
    .guarantee-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .guarantee-item { padding: 14px 10px; }
    .guarantee-icon { font-size: 26px; margin-bottom: 6px; }
    .guarantee-item h3 { font-size: 14px; margin-bottom: 2px; }
    .guarantee-item p { font-size: 11px; line-height: 1.4; }

    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .product-img { aspect-ratio: 1; }
    .product-info { padding: 6px 8px; }
    .product-name { font-size: 11px; margin-bottom: 2px; line-height: 1.3; }
    .product-spec { font-size: 9px; margin-bottom: 3px; }
    .product-spec-sub { display: none; }
    .price-current { font-size: 13px; }
    .product-tag { font-size: 9px; padding: 2px 6px; top: 4px; right: 4px; }
    .stock-info { display: none; }

    .spec-table { grid-template-columns: 1fr; }
    .spec-row:nth-last-child(-n+2) { border-bottom: 1px solid #eef0f3; }
    .spec-row:last-child { border-bottom: none; }
    .spec-label { width: 90px; }

    .section-title { font-size: 20px; }
    .section { padding: 24px 0; }
    .section-desc { margin-bottom: 16px; font-size: 12px; }
    .page-header h1 { font-size: 22px; }

    /* 手机端隐藏页脚三列内容，只保留版权栏 */
    .footer-inner { display: none; }
    .site-footer { padding-top: 0; margin-top: 24px; }
    .footer-bottom { padding: 14px 0; }
    .footer-contact { display: flex; gap: 6px 12px; font-size: 12px; margin-bottom: 8px; }
    .fc-label { padding: 1px 6px; font-size: 10px; }
    .fc-address { font-size: 11px; }

    .filter-tag { padding: 6px 14px; font-size: 12px; min-height: 32px; }

    .btn-lg { padding: 12px 28px; font-size: 16px; min-height: 48px; }

    .quantity-selector input { width: 56px; }
    .total-price { font-size: 24px; }
}

/* --- 小屏手机 (≤400px) --- */
@media (max-width: 400px) {
    .container { padding: 0 12px; }
    .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .brand-card { padding: 10px 4px; min-height: 64px; gap: 4px; }
    .brand-logo-img { height: 24px; }
    .brand-logo-img img { max-height: 24px; }
    .brand-name { font-size: 10px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
    .product-img { aspect-ratio: 1; }
    .product-info { padding: 5px 6px; }
    .product-name { font-size: 10px; margin-bottom: 1px; line-height: 1.2; }
    .product-spec { font-size: 8px; margin-bottom: 2px; }
    .product-spec-sub { display: none; }
    .price-current { font-size: 12px; }
    .product-tag { font-size: 8px; padding: 1px 5px; top: 3px; right: 3px; }
    .section { padding: 20px 0; }
    .section-title { font-size: 18px; }
    .section-desc { margin-bottom: 12px; font-size: 11px; }
    .guarantee-grid { gap: 8px; }
    .guarantee-item { padding: 12px 8px; }
    .guarantee-icon { font-size: 22px; }
    .guarantee-item h3 { font-size: 13px; }
    .guarantee-item p { font-size: 10px; }
    .hero-banner { padding: 30px 0; }
    .hero-banner h1 { font-size: 22px; }
    .hero-sub { font-size: 12px; margin-bottom: 18px; }
    .hero-actions { margin-bottom: 22px; gap: 8px; }
    .hero-actions .btn { padding: 10px 8px; font-size: 13px; }
    .hero-stats { gap: 6px; }
    .stat-num { font-size: 18px; }
    .stat-label { font-size: 10px; }
    .price-value { font-size: 28px; }
    .final-price { font-size: 22px; }
}

/* --- 横屏手机优化 --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-banner { padding: 32px 0; }
    .hero-banner h1 { font-size: 28px; margin-bottom: 8px; }
    .hero-sub { margin-bottom: 20px; }
    .hero-actions { margin-bottom: 28px; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 24px; }
}

/* --- 打印优化 --- */
@media print {
    .site-header, .site-footer, .menu-toggle, .mobile-nav, .btn { display: none !important; }
    .product-card, .step-item, .guarantee-item, .brand-card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
    body { background: #fff; }
}

/* ============================================================
   商品详情页 - 新版美观布局
   ============================================================ */

/* 主信息区 */
.pd-main {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}

/* 图片区 */
.pd-gallery { display: flex; flex-direction: column; gap: 16px; }
.pd-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pd-main-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
    transition: transform 0.3s ease;
}
.pd-img-wrap:hover .pd-main-img { transform: scale(1.05); }
.pd-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700; color: #cbd5e1;
}
.pd-img-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

/* 信息区 */
.pd-info { display: flex; flex-direction: column; gap: 20px; }
.pd-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.pd-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
}
.pd-storage-tag {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

/* 价格卡片 */
.pd-price-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #fed7aa;
}
.pd-price-label {
    font-size: 13px;
    color: #9a3412;
    font-weight: 500;
    margin-bottom: 6px;
}
.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.pd-price-symbol {
    font-size: 22px;
    font-weight: 700;
    color: #ea580c;
}
.pd-price-value {
    font-size: 40px;
    font-weight: 800;
    color: #ea580c;
    line-height: 1;
    letter-spacing: -1px;
}
.pd-price-decimal {
    font-size: 18px;
    font-weight: 600;
    color: #ea580c;
}
.pd-price-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 13px;
    color: #9a3412;
}
.pd-price-meta strong { color: #c2410c; font-weight: 700; }

/* 保障标签 */
.pd-guarantee {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.pd-guar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 8px;
    justify-content: center;
}
.pd-guar-icon {
    font-size: 14px;
    color: #10b981;
    font-weight: 700;
}

/* 商品描述 */
.pd-desc {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px 20px;
    border-left: 3px solid #3b82f6;
}
.pd-desc-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* 区块标题 */
.pd-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.pd-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
}
.pd-section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, transparent);
}

/* 配置参数卡片网格 */
.pd-specs-section {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}
.pd-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.pd-spec-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.pd-spec-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(59,130,246,0.1);
    transform: translateY(-2px);
}
.pd-spec-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.pd-spec-content { flex: 1; min-width: 0; }
.pd-spec-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 2px;
}
.pd-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    word-break: break-all;
}

/* 购买区 */
.pd-buy-section {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}
.pd-buy-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}
.pd-buy-form { display: flex; flex-direction: column; gap: 18px; }
.pd-buy-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.pd-buy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.pd-buy-field { display: flex; flex-direction: column; gap: 8px; }
.pd-buy-field label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.pd-buy-field input,
.pd-buy-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.pd-buy-field input:focus,
.pd-buy-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.pd-buy-field textarea { resize: vertical; min-height: 60px; }

/* 数量选择器 */
.pd-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    width: fit-content;
}
.pd-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #f8fafc;
    font-size: 20px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-qty-btn:hover { background: #e2e8f0; color: #1e293b; }
.pd-qty-btn:active { background: #cbd5e1; }
.pd-qty-selector input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    background: #fff;
    border-left: 1.5px solid #e2e8f0;
    border-right: 1.5px solid #e2e8f0;
}

/* 合计价格 */
.pd-total-price {
    font-size: 28px;
    font-weight: 800;
    color: #ea580c;
    line-height: 1;
    padding-top: 4px;
}

/* 提交按钮 */
.pd-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(249,115,22,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
}
.pd-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}
.pd-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(249,115,22,0.3);
}
.pd-submit-icon { font-size: 20px; }

/* 商品详情页响应式 */
@media (max-width: 992px) {
    .pd-main { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
    .pd-gallery { max-width: 400px; margin: 0 auto; width: 100%; }
    .pd-guarantee { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .pd-main { padding: 16px; border-radius: 12px; gap: 18px; }
    .pd-title { font-size: 20px; }
    .pd-price-value { font-size: 32px; }
    .pd-price-symbol { font-size: 18px; }
    .pd-price-card { padding: 16px; }
    .pd-guarantee { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pd-guar-item { font-size: 12px; padding: 6px 8px; }
    .pd-specs-section, .pd-buy-section { padding: 20px 16px; border-radius: 12px; }
    .pd-specs-grid { grid-template-columns: 1fr; gap: 10px; }
    .pd-spec-card { padding: 12px 14px; }
    .pd-spec-icon { width: 38px; height: 38px; font-size: 18px; }
    .pd-buy-row, .pd-buy-grid { grid-template-columns: 1fr; gap: 14px; }
    .pd-buy-card { padding: 16px; }
    .pd-total-price { font-size: 24px; }
    .pd-submit-btn { padding: 14px 24px; font-size: 16px; }
    .pd-section-title { font-size: 17px; }
}

@media (max-width: 400px) {
    .pd-price-value { font-size: 28px; }
    .pd-guarantee { grid-template-columns: 1fr 1fr; }
}
