/**
 * Tire Website Stylesheet
 * 轮胎销售网站样式表
 * Brand Color: #E3000F (普利司通红)
 * Dark: #333333
 * Light: #F5F5F5
 */

/* ==================== 基础重置 ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #333333;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==================== 变量定义 ==================== */
:root {
    --color-brand: #E3000F;
    --color-brand-dark: #B8000C;
    --color-brand-light: #FF1A26;
    --color-dark: #333333;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-light: #F5F5F5;
    --color-lighter: #FAFAFA;
    --color-border: #E0E0E0;
    --color-white: #ffffff;
    --color-black: #000000;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1280px;
    --header-height: 80px;
}

/* ==================== 容器 ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-brand);
    color: var(--color-white);
    border-color: var(--color-brand);
}

.btn-primary:hover {
    background-color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-brand);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: var(--color-light);
    border-color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.btn-outline:hover {
    background-color: var(--color-brand);
    color: var(--color-white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ==================== 顶部信息栏 ==================== */
.top-bar {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-item .icon {
    width: 16px;
    height: 16px;
    stroke: var(--color-brand);
}

.top-bar-text {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* ==================== 主导航栏 ==================== */
.main-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo 图片样式 */
.logo-img {
    max-width: 180px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 140px;
    }
}

.logo-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 11px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .logo-tagline {
        display: none;
    }
}

/* 主导航 */
.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    transition: color var(--transition-normal);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--color-brand);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--color-brand);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
}

/* 下拉菜单 */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--color-dark);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.nav-dropdown a:hover {
    background-color: var(--color-lighter);
    color: var(--color-brand);
    border-left-color: var(--color-brand);
    padding-left: 24px;
}

/* 头部操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ==================== 移动端导航 ==================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1001;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-menu {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.mobile-nav-link {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--color-lighter);
    color: var(--color-brand);
    border-left-color: var(--color-brand);
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid var(--color-border);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1024px) {
    .mobile-nav,
    .mobile-nav-overlay {
        display: none;
    }
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-tire.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--color-brand);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--color-brand);
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--color-brand);
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .hero {
        min-height: 700px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .hero-desc {
        font-size: 20px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 72px;
    }
}

/* ==================== 特色产品区块 ==================== */
.featured-section {
    padding: 80px 0;
    background-color: var(--color-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title span {
    color: var(--color-brand);
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 产品卡片 */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: var(--color-light);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background-color: var(--color-brand);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.product-spec {
    font-size: 12px;
    color: var(--color-gray);
    background-color: var(--color-light);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.product-price {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--color-brand);
}

.product-price-currency {
    font-size: 14px;
    font-weight: 400;
}

.product-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.product-link:hover {
    color: var(--color-brand);
}

/* ==================== 分类区块 ==================== */
.categories-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.category-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.category-content {
    position: relative;
    z-index: 1;
}

.category-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.category-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.category-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ==================== 优势区块 ==================== */
.advantages-section {
    padding: 80px 0;
    background-color: var(--color-dark);
    color: var(--color-white);
}

.advantages-section .section-title {
    color: var(--color-white);
}

.advantages-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}

@media (min-width: 640px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.advantage-card {
    text-align: center;
    padding: 32px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.advantage-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-brand);
    border-radius: 50%;
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-white);
}

.advantage-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.advantage-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ==================== 页脚 ==================== */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* 页脚CTA */
.footer-cta {
    background-color: var(--color-brand);
    padding: 48px 0;
}

.footer-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-cta-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-cta-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer-cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* 页脚主体 */
.footer-main {
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* 页脚 Logo 图片样式 */
.footer-logo-img {
    max-width: 150px;
    height: auto;
    display: block;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
}

.footer-logo-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background-color: var(--color-brand);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-brand);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--color-brand);
}

/* 页脚底部 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright,
.footer-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== 主内容区 ==================== */
.main-content {
    min-height: calc(100vh - var(--header-height));
}

/* ==================== 工具类 ==================== */
.text-center {
    text-align: center;
}

.text-brand {
    color: var(--color-brand);
}

.bg-brand {
    background-color: var(--color-brand);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 打印样式 ==================== */
@media print {
    .top-bar,
    .main-header,
    .main-footer,
    .mobile-menu-toggle,
    .btn {
        display: none !important;
    }
    
    .main-content {
        min-height: auto;
    }
}

/* ==================== 移动端优化 ==================== */

/* 小屏幕基础优化 */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* 标题字号调整 */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* 产品列表移动端 */
@media (max-width: 768px) {
    .products-content .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-card .product-info {
        padding: 16px;
    }
    
    .product-card .product-name {
        font-size: 14px;
    }
    
    .product-card .product-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-content .products-grid {
        grid-template-columns: 1fr;
    }
}

/* 产品详情页移动端 */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price .price {
        font-size: 28px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

/* 关于页面移动端 */
@media (max-width: 1024px) {
    .about-section .row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 联系页面移动端 */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* 表单移动端 */
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .inquiry-section {
        padding: 24px;
    }
}

/* 分页移动端 */
@media (max-width: 640px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* 标签页移动端 */
@media (max-width: 640px) {
    .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* 相关产品移动端 */
@media (max-width: 1024px) {
    .related-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero 区域移动端 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

/* 页脚移动端 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .nav-dropdown {
        display: none;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .product-card:hover .product-image img {
        transform: none;
    }
}

/* 防止横向滚动 */
body {
    overflow-x: hidden;
}

/* 图片自适应 */
img {
    max-width: 100%;
    height: auto;
}

/* 表格横向滚动 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
