/*
Theme Name: Ralart Mosaic
Theme URI: https://www.ralartmosaic.com
Author: Ralart
Author URI: https://www.ralartmosaic.com
Description: 专业外贸B2B马赛克瓷砖WordPress主题，支持产品展示与询盘功能
Version: 1.0.0
License: Proprietary
Text Domain: ralart-mosaic
*/

/* ==========================================
   1. CSS 变量 & 全局重置
   ========================================== */
:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff5252;
    --secondary-color: #1a237e;
    --accent-color: #ff6f00;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.mobile-menu-open,
body.inquiry-open {
    overflow: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* ==========================================
   2. 通用组件
   ========================================== */

/* 区域标题 */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 400;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* 按钮样式 */
.btn {
    border-radius: var(--border-radius-sm);
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-outline-success {
    color: #25d366;
    border-color: #25d366;
    background: transparent;
}

.btn-outline-success:hover {
    background-color: #25d366;
    color: #fff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
}

/* 页面横幅 */
.page-banner-section {
    position: relative;
    overflow: hidden;
}

.page-banner-bg {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(211,47,47,0.5) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 60px 0;
}

.page-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.page-banner-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.page-banner-breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.page-banner-breadcrumb a:hover {
    color: #fff;
}

/* ==========================================
   3. 页头
   ========================================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#site-header.scrolled {
    background: #fff;
    box-shadow: var(--shadow);
}

.header-top-bar {
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.header-top-bar a {
    color: rgba(255,255,255,0.9);
}

.header-top-bar a:hover {
    color: #fff;
    text-decoration: none;
}

.header-top-contact span,
.header-top-contact a {
    margin-right: 20px;
}

.header-top-contact i {
    margin-right: 5px;
    color: var(--primary-light);
}

.header-top-social {
    text-align: right;
}

.header-top-social a {
    margin-left: 12px;
    font-size: 0.9rem;
}

.header-main {
    padding: 10px 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    max-height: 50px;
}

/* 主导航 */
.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.main-nav > li {
    position: relative;
}

.main-nav > li > a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.main-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a {
    color: var(--primary-color);
}

.main-nav > li > a:hover::after,
.main-nav > li.current-menu-item > a::after {
    transform: scaleX(1);
}

/* 下拉菜单 */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: var(--shadow-hover);
    border-radius: var(--border-radius);
    list-style: none;
    padding: 8px 0;
    z-index: 999;
}

.main-nav > li:hover > .sub-menu {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.main-nav .sub-menu > li > a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.main-nav .sub-menu > li > a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 头部搜索 */
.header-search-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.header-search-toggle:hover {
    color: var(--primary-color);
}

.header-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.header-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-form-container {
    width: 600px;
    max-width: 90vw;
    position: relative;
}

.search-form-container input {
    width: 100%;
    padding: 20px 50px 20px 20px;
    font-size: 1.5rem;
    border: none;
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
    color: #fff;
    outline: none;
}

.search-form-container input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-form-container button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--primary-color);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
}

/* ==========================================
   4. 移动端菜单覆盖层
   ========================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-logo img {
    max-height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.mobile-menu .sub-menu {
    display: none;
}

.mobile-menu .sub-menu.active {
    display: block;
}

.mobile-menu .sub-menu li a {
    padding-left: 35px;
    font-size: 0.9rem;
    background: var(--bg-light);
}

/* ==========================================
   5. 询盘弹窗
   ========================================== */
.inquiry-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.inquiry-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.inquiry-popup-wrapper {
    background: #fff;
    border-radius: var(--border-radius-lg);
    width: 550px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.inquiry-popup-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inquiry-popup-header h3 {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.inquiry-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.inquiry-popup-close:hover {
    color: var(--primary-color);
}

.inquiry-popup-body {
    padding: 30px;
}

.inquiry-popup-body .form-control {
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.inquiry-popup-body .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}

.inquiry-form-message {
    margin-top: 15px;
}

/* ==========================================
   6. 首页横幅
   ========================================== */
.hero-slider-section {
    position: relative;
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 600px;
}

.hero-slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-slide-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-slide-content .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Owl Carousel 导航覆盖 */
.hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.hero-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.hero-slider .owl-nav .owl-prev {
    left: 30px;
}

.hero-slider .owl-nav .owl-next {
    right: 30px;
}

@media (max-width: 991px) {
    .hero-slide {
        min-height: 70vh;
    }
    .hero-slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        min-height: 60vh;
    }
    .hero-slide-content h1 {
        font-size: 1.8rem;
    }
}

/* ==========================================
   7. 产品分类展示区
   ========================================== */
.category-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.category-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.category-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 1;
}

.category-card-body h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-card-body p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* ==========================================
   8. 产品卡片
   ========================================== */
.product-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(211,47,47,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-view {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid #fff;
    padding: 8px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.product-card-body {
    padding: 20px;
}

.product-card-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-card-title a {
    color: var(--text-color);
}

.product-card-title a:hover {
    color: var(--primary-color);
}

.product-card-actions {
    display: flex;
    flex-wrap: wrap;
}

/* ==========================================
   9. 关于我们区域
   ========================================== */
.about-section {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 120px;
}

.about-experience-badge .num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.about-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

/* ==========================================
   10. 计数器区域
   ========================================== */
.counter-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 80px 0;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,35,126,0.9);
}

.counter-item {
    text-align: center;
    color: #fff;
    position: relative;
}

.counter-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* ==========================================
   11. 产品区域 & 分类
   ========================================== */
.products-section {
    background: var(--bg-light);
}

/* 侧边栏 */
.products-sidebar .sidebar-widget {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.sidebar-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.product-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-categories-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.product-categories-list li a:hover,
.product-categories-list li a.active {
    color: var(--primary-color);
    padding-left: 5px;
}

.category-count {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.sidebar-inquiry-widget {
    background: var(--secondary-color) !important;
    color: #fff !important;
    text-align: center;
}

.sidebar-inquiry-widget .sidebar-widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.sidebar-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-contact-list li {
    padding: 8px 0;
    font-size: 0.9rem;
}

.sidebar-contact-list li i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 8px;
}

/* 产品工具栏 */
.products-toolbar {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.products-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================
   12. 产品详情页
   ========================================== */
.product-detail-section {
    background: #fff;
}

.product-main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-main-image img {
    transition: var(--transition-slow);
}

.product-thumb-gallery .product-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
    opacity: 0.6;
}

.product-thumb-gallery .product-thumb:hover,
.product-thumb-gallery .product-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.product-detail-category a {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 700;
}

.product-detail-content {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.product-detail-meta {
    font-size: 0.9rem;
}

/* 相关产品 */
.related-products-section {
    background: var(--bg-light);
}

/* ==========================================
   13. 关于我们页面
   ========================================== */
.about-page-section {
    background: #fff;
}

.mission-card {
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover) !important;
}

/* ==========================================
   14. 联系我们页面
   ========================================== */
.contact-section {
    background: #fff;
}

.contact-info-sidebar {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contact-sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-info-list li:hover .contact-info-icon {
    background: var(--primary-color);
    color: #fff;
}

.contact-info-text strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.contact-info-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-color);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.map-section .map-placeholder {
    height: 450px;
}

/* ==========================================
   15. 页脚
   ========================================== */
#site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 4px;
    width: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
}

.footer-newsletter p {
    margin-bottom: 15px;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    outline: none;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ==========================================
   16. 返回顶部按钮
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   17. 询盘底部固定栏 (移动端)
   ========================================== */
.inquiry-fixed-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    padding: 10px 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.inquiry-fixed-bar .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

@media (max-width: 767px) {
    .inquiry-fixed-bar {
        display: block;
    }
    .back-to-top {
        bottom: 80px;
    }
}

/* ==========================================
   18. wow.js 动画占位
   ========================================== */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* ==========================================
   19. 404 页面
   ========================================== */
.error-404-section {
    padding: 120px 0;
    text-align: center;
}

.error-404-section h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.error-404-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* ==========================================
   20. 分类筛选标签
   ========================================== */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tab {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ==========================================
   21. 画廊灯箱
   ========================================== */
.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ==========================================
   22. 响应式
   ========================================== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-search-toggle {
        display: block;
    }
    .page-banner-bg {
        min-height: 200px;
    }
    .page-banner-title {
        font-size: 1.8rem;
    }
    .products-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .hero-slide-content h1 {
        font-size: 1.6rem;
    }
    .hero-slide-content p {
        font-size: 0.9rem;
    }
    .counter-number {
        font-size: 2rem;
    }
    .product-detail-title {
        font-size: 1.5rem;
    }
    .footer-top {
        padding: 40px 0 20px;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-bottom-links {
        text-align: center;
        margin-top: 10px;
    }
    .footer-bottom-links a {
        margin: 0 10px;
    }
    .contact-form-wrapper {
        padding: 25px;
    }
    .page-banner-title {
        font-size: 1.4rem;
    }
    .page-banner-bg {
        min-height: 160px;
    }
    .mission-card {
        margin-bottom: 20px;
    }
    .about-experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 12px;
        min-width: 90px;
    }
    .about-experience-badge .num {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .hero-slide {
        min-height: 50vh;
    }
    .hero-slide-content h1 {
        font-size: 1.3rem;
    }
    .counter-section {
        padding: 40px 0;
    }
    .counter-number {
        font-size: 1.6rem;
    }
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ==========================================
   23. 打印样式
   ========================================== */
@media print {
    #site-header,
    #site-footer,
    .back-to-top,
    .inquiry-fixed-bar,
    .header-search-overlay,
    .mobile-menu-overlay,
    .inquiry-popup-overlay {
        display: none !important;
    }
}