/* ============================================
   铝合金踢脚线产品库 - 手机版样式
   移动优先设计 | 雅名阁装饰
   ============================================ */

/* ---------- CSS变量 ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --bg: #f3f4f6;
    --bg-white: #ffffff;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 56px;
    --bottom-nav-height: 64px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 16px);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

input {
    font-family: inherit;
    outline: none;
}

/* ---------- 顶部导航 ---------- */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
}

.nav-brand .nav-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
}

.nav-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text);
    transition: background 0.2s;
}

.nav-back:active {
    background: var(--bg);
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-search {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.nav-search:active {
    background: var(--primary-light);
    color: var(--primary);
}

/* ---------- 主横幅 ---------- */
.hero-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
    padding: 32px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.hero-banner p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 16px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.hero-tags span {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* ---------- 快捷搜索 ---------- */
.quick-search {
    padding: 0 16px;
    margin-top: -20px;
    position: relative;
    z-index: 10;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 4px;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.search-input-group:focus-within {
    border-color: var(--primary);
}

.search-input-group i {
    color: var(--text-muted);
    font-size: 16px;
    padding: 0 14px;
}

.search-input-group input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    background: transparent;
    min-width: 0;
}

.search-input-group button {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}

.search-input-group button:active {
    background: var(--primary-dark);
}

/* ---------- 通用区块 ---------- */
.section {
    padding: 24px 16px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.section-header h2 i {
    color: var(--primary);
    font-size: 18px;
}

.section-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

/* ---------- 系列卡片网格 ---------- */
.series-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.series-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.series-card:active {
    transform: scale(0.97);
}

.card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37,99,235,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.card-title {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.4;
}

/* ---------- 图册卡片 ---------- */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.album-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.album-card:active {
    transform: scale(0.97);
}

.album-cover {
    aspect-ratio: 210/297;
    position: relative;
}

.album-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ---------- 产品列表 ---------- */
.main-content {
    padding: 16px;
}

.product-count {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.product-count strong {
    color: var(--primary);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.product-card:active {
    transform: scale(0.98);
}

.product-card-img {
    width: 120px;
    min-width: 120px;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #c0c0c0;
    font-size: 16px;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.product-card:active .product-card-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.product-card-body {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-model {
    font-size: 12px;
    color: var(--text-muted);
}

.product-series-tag {
    font-size: 11px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-prices {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.price-block.wholesale {
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.price-label {
    font-size: 11px;
    color: var(--text-muted);
}

.price-value {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
}

.price-block.wholesale .price-value {
    color: var(--primary);
}

/* ---------- 系列标签页 ---------- */
.series-tabs-wrapper {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.series-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 8px;
}

.series-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.tab-item:active {
    background: var(--primary-light);
}

/* ---------- 产品详情 ---------- */
.product-detail-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

/* 产品图片画廊（图册风格） */
.product-gallery {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pg-slider-container {
    position: relative;
    width: 100%;
    background: #f9fafb;
}

.pg-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

.pg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.pg-slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.pg-slide-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.pg-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 12px 0;
}

.pg-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.pg-btn:active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pg-info {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: center;
}

.pg-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pg-thumbnails::-webkit-scrollbar {
    display: none;
}

.pg-thumb {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    cursor: pointer;
    opacity: 0.5;
}

.pg-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.pg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 详情卡片 */
.detail-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.detail-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-series {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-model {
    background: var(--accent-light);
    color: #92400e;
}

.card-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-heading i {
    color: var(--primary);
    font-size: 16px;
}

/* 参数网格 */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 12px;
    color: var(--text-muted);
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.spec-full {
    grid-column: 1 / -1;
}

/* 价格卡片 */
.price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.price-card {
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.price-card.retail {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #fecaca;
}

.price-card.wholesale {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
}

.price-card-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-card-value {
    font-size: 24px;
    font-weight: 800;
}

.price-card.retail .price-card-value {
    color: #dc2626;
}

.price-card.wholesale .price-card-value {
    color: var(--primary);
}

.price-card-unit {
    font-size: 12px;
    color: var(--text-muted);
}

/* 配件列表 */
.accessory-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.accessory-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.accessory-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.accessory-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.accessory-label {
    font-size: 12px;
    color: var(--text-muted);
}

.accessory-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

/* 产品说明图 */
.desc-image-wrapper {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f9fafb;
}

.desc-image {
    width: 100%;
    display: block;
}

/* ---------- 图片查看器 ---------- */
.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: none;
    flex-direction: column;
}

.image-viewer.active {
    display: flex;
}

.viewer-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(rgba(0,0,0,0.6), transparent);
    height: 56px;
}

.viewer-counter {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.viewer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-container {
    flex: 1;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.viewer-container::-webkit-scrollbar {
    display: none;
}

.viewer-slide {
    min-width: 100vw;
    height: 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.viewer-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---------- 搜索页 ---------- */
.search-page-section {
    padding: 16px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.search-form-large .search-input-group {
    box-shadow: none;
    border: 1px solid var(--border);
}

.search-form-large .search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.search-hints {
    margin-top: 20px;
}

.hint-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hint-title i {
    color: #f59e0b;
}

.hint-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hint-tag {
    padding: 8px 16px;
    background: var(--bg);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.hint-tag:active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 2px;
}

.search-result-header h2 {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.highlight {
    color: var(--primary);
}

.result-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- 图册浏览 ---------- */
.album-page {
    background: #0f0f0f;
    color: #fff;
}

.album-page .top-nav {
    background: rgba(15,15,15,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.album-page .nav-back,
.album-page .nav-title {
    color: #fff;
}

.album-counter {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.album-nav {
    padding: 0 12px 0 4px !important;
}

/* 图册主图 */
.album-viewer {
    padding: 16px;
}

.album-slider-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: #1a1a1a;
}

.album-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
}

.album-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.album-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.album-slide.preview {
    opacity: 1;
    z-index: 1;
}

.album-slide.dragging {
    transition: none !important;
}

.album-slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.album-slide-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* 图册控制栏 */
.album-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 0;
}

.album-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1e1e1e;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.album-btn:active {
    background: var(--primary);
}

.album-btn:disabled {
    opacity: 0.3;
}

.album-info {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    min-width: 80px;
    text-align: center;
}

/* 图册缩略图条 */
.album-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.album-thumbnails::-webkit-scrollbar {
    display: none;
}

.album-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    cursor: pointer;
    opacity: 0.5;
}

.album-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.album-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 全屏查看器 */
.fullscreen-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: none;
}

.fullscreen-viewer.active {
    display: flex;
    flex-direction: column;
}

.fullscreen-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(rgba(0,0,0,0.8), transparent);
}

.fullscreen-counter {
    color: #fff;
    font-size: 14px;
}

.fullscreen-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-container {
    flex: 1;
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.fullscreen-container::-webkit-scrollbar {
    display: none;
}

.fullscreen-slide {
    min-width: 100vw;
    height: 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.fullscreen-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fullscreen-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.fullscreen-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.fullscreen-btn:active {
    background: rgba(255,255,255,0.3);
}

/* ---------- 底部导航 ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    display: flex;
    height: calc(var(--bottom-nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-item i {
    font-size: 20px;
    transition: color 0.2s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.nav-phone {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    margin: 6px 12px;
    border-radius: var(--radius);
    height: auto;
    flex: 1.2;
}

.nav-item.nav-phone.active {
    color: #fff;
}

/* ---------- 底部 ---------- */
.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 24px 16px;
    margin-top: 24px;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.qr-section {
    text-align: center;
}

.qr-section img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,0.2);
}

.qr-section p {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}

.phone-btn:active {
    background: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: #6b7280;
}

/* ---------- 空状态 ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    color: #d1d5db;
}

.empty-state p {
    font-size: 15px;
    margin-bottom: 4px;
}

.empty-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:active {
    background: var(--primary-dark);
}

/* ---------- 响应式适配 ---------- */
@media (min-width: 600px) {
    .series-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .albums-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-card-img {
        width: 160px;
        min-width: 160px;
    }

    .accessory-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .spec-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-nav {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }

    .main-content {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (min-width: 900px) {
    .container,
    .main-content {
        max-width: 800px;
        margin: 0 auto;
    }

    .series-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .albums-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .album-slider-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.series-card, .product-card, .album-card {
    animation: fadeInUp 0.4s ease backwards;
}

.series-card:nth-child(1), .product-card:nth-child(1), .album-card:nth-child(1) { animation-delay: 0s; }
.series-card:nth-child(2), .product-card:nth-child(2), .album-card:nth-child(2) { animation-delay: 0.05s; }
.series-card:nth-child(3), .product-card:nth-child(3), .album-card:nth-child(3) { animation-delay: 0.1s; }
.series-card:nth-child(4), .product-card:nth-child(4), .album-card:nth-child(4) { animation-delay: 0.15s; }
.series-card:nth-child(5), .product-card:nth-child(5), .album-card:nth-child(5) { animation-delay: 0.2s; }
.series-card:nth-child(6), .product-card:nth-child(6), .album-card:nth-child(6) { animation-delay: 0.25s; }

/* ---------- 触摸增强 ---------- */
@media (hover: none) and (pointer: coarse) {
    .card-overlay {
        display: none;
    }
}
