/* 产品页面专用样式 */

/* 页面头部 */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="circuit" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20h40M20 0v40M10 10h20M30 30h-20" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23circuit)"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.7;
}

/* 产品分类标签 */
.product-categories {
    background: var(--background-light);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    z-index: 100;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-tab {
    padding: 12px 20px;
    background: var(--background-gray);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.category-tab:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* 搜索和筛选区域 */
.product-search-section {
    background: var(--background-gray);
    padding: 40px 0;
}

.search-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-box .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .search-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* 产品网格 */
.products-list {
    padding: 60px 0;
    background: var(--background-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--background-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-stock-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-stock-status.in-stock {
    background: var(--success-color);
    color: white;
}

.product-stock-status.limited-stock {
    background: var(--warning-color);
    color: white;
}

.product-stock-status.out-of-stock {
    background: var(--error-color);
    color: white;
}

.product-info {
    padding: 25px;
}

.product-header {
    margin-bottom: 15px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.product-manufacturer {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-specs {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--background-gray);
    border-radius: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--background-gray) 0%, white 100%);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.price-range {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.lead-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.product-actions .btn-quote {
    background: var(--gradient-secondary);
}

.product-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.product-actions .btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* 无产品结果 */
.no-products-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-products-found i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-products-found h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 15px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 40px;
    text-align: center;
}

.page-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.page-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    color: var(--text-light);
    font-weight: bold;
}

/* 快速询价表单 */
.quick-quote-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.quick-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.quick-quote-form {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quick-quote-form h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.quick-quote-form p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.quote-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* BOM上传区域 */
.bom-upload-section {
    background: var(--background-gray);
    padding: 80px 0;
}

.bom-upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.bom-upload-left h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.bom-upload-left p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.bom-benefits {
    list-style: none;
    padding: 0;
}

.bom-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.bom-benefits i {
    color: var(--success-color);
    font-size: 1.1rem;
    width: 20px;
}

.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--accent-color);
    background: rgba(74, 144, 226, 0.05);
}

.upload-area.drag-over {
    border-color: var(--accent-color);
    background: rgba(74, 144, 226, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.upload-area:hover .upload-icon {
    transform: translateY(-5px);
}

.upload-area h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.upload-area p {
    color: var(--text-light);
    margin-bottom: 20px;
}

#bomFileInput {
    display: none;
}

.supported-formats small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.upload-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-secondary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-tab {
        white-space: nowrap;
        min-width: 120px;
        text-align: center;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        min-width: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bom-upload-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quote-form {
        padding: 25px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .product-pricing {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-categories {
        padding: 20px 0;
    }
    
    .product-search-section {
        padding: 25px 0;
    }
    
    .products-list {
        padding: 40px 0;
    }
    
    .quick-quote-section,
    .bom-upload-section {
        padding: 40px 0;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .product-specs {
        padding: 10px;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* 动画效果 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.no-products-found {
    animation: fadeIn 0.5s ease-out;
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.search-loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 产品卡片悬停效果 */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card > * {
    position: relative;
    z-index: 2;
}
/* 列表表格样式 */
.product-list-section { padding: 60px 0; background: var(--background-gray); }
.product-filter { margin-bottom: 24px; display: flex; gap: 12px; align-items: center; justify-content: center; }
.product-filter input { padding: 10px 14px; border: 2px solid var(--border-color); border-radius: 8px; min-width: 240px; background: #fff; }
.product-filter .search-btn { background: var(--secondary-color); color: #fff; border: none; padding: 10px 18px; border-radius: 8px; cursor: pointer; transition: background 0.3s ease; }
.product-filter .search-btn:hover { background: var(--primary-color); }
.table-scroll { width: 100%; overflow-x: auto; background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
.product-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.product-table th { background: var(--primary-color); color: #fff; text-align: left; padding: 14px; font-weight: 600; }
.product-table td { padding: 14px; border-bottom: 1px solid var(--border-color); color: var(--text-dark); }
.product-table tr:hover { background: #f6f8fc; }
.stock-status { padding: 6px 12px; border-radius: 18px; font-size: 12px; font-weight: 600; display: inline-block; }
.stock-status.in-stock { background: #e6f7e9; color: #167c35; }
.stock-status.low-stock { background: #fff4e0; color: #a86a00; }
.stock-status.out-stock { background: #fdecec; color: #b9322f; }
.action-cell a { display: inline-block; padding: 8px 14px; border-radius: 20px; background: var(--accent-color); color: #fff; text-decoration: none; font-weight: 600; }
.action-cell a:hover { background: var(--secondary-color); }

/* Quote Modal */
.quote-modal { position: fixed; inset: 0; display: none; z-index: 10000; }
.quote-modal.open { display: block; }
.quote-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); }
.quote-dialog { position: relative; width: 90%; max-width: 720px; margin: 60px auto; background: var(--background-light); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); padding: 24px; }
.quote-close { position: absolute; right: 12px; top: 8px; width: 36px; height: 36px; border: none; border-radius: 50%; background: var(--background-gray); color: var(--text-dark); cursor: pointer; }
.quote-title { margin-bottom: 16px; }
.quote-form .quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.quote-form .quote-field { display: flex; flex-direction: column; }
.quote-form label { font-size: 0.9rem; margin-bottom: 6px; color: var(--text-dark); }
.quote-form input, .quote-form textarea { border: 2px solid var(--border-color); border-radius: 10px; padding: 12px 14px; font-size: 0.95rem; transition: all 0.2s ease; font-family: inherit; color: var(--text-dark); }
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(74,144,226,0.1); }
.quote-actions { margin-top: 8px; text-align: right; }

@media (max-width: 768px) {
  .quote-form .quote-row { grid-template-columns: 1fr; }
  .quote-dialog { margin: 20px auto; }
}
.brands-strip { margin: 20px 0 30px; }
.brands-strip h4 { font-size: 1rem; color: var(--secondary-color); margin-bottom: 12px; font-weight: 600; text-align: center; }
.brands-strip .logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center; }
.brands-strip .logo-card { background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); padding: 10px 14px; height: 90px; display: flex; align-items: center; justify-content: center; }
.brands-strip .logo-card img { max-width: 100%; max-height: 70px; object-fit: contain; }

/* New Product List Layout Styles */
.product-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.category-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-content {
    flex: 1;
    min-width: 0; /* Prevent flex item from overflowing */
}

.cat-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.cat-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-item {
    margin-bottom: 5px;
}

.cat-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cat-link:hover, .cat-link.active {
    background: var(--background-gray);
    color: var(--accent-color);
    padding-left: 20px;
}

.cat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-row .cat-link {
    flex: 1;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.sidebar-toggle:hover {
    color: var(--accent-color);
}

.sidebar-toggle-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.sub-list {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 5px 0 10px 0;
    display: none;
}

.cat-item.open .sub-list {
    display: block;
}

.sub-item .cat-link {
    font-size: 0.9rem;
    padding: 8px 12px;
    color: var(--text-light);
}

.sub-item .cat-link:hover, .sub-item .cat-link.active {
    color: var(--accent-color);
}

/* New Product Card Styles (PL Card) */
.pl-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaedf2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
}

.pl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
}

.pl-image {
    height: 180px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.pl-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.hover-logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pl-card:hover .hover-logo-overlay {
    opacity: 1;
}

.hover-logo-overlay img {
    max-width: 60%;
    max-height: 60%;
    opacity: 0.2;
}

.pl-body {
    padding: 15px;
}

.pl-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
    }
    
    .category-sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page Styles */
.product-detail-section {
    padding: 80px 0;
    background: #fff;
}

.detail-wrap {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.detail-media {
    flex: 1;
    min-width: 300px;
}

.product-image-large {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-large:hover .hover-logo-overlay {
    opacity: 1;
}

.product-image-large img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.detail-info {
    flex: 1.2;
    min-width: 300px;
}

.detail-top {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.detail-model {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.detail-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-chip {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-chip.badge-category {
    background: var(--background-gray);
    color: var(--secondary-color);
}

.badge-chip.badge-custom {
    background: #e6f7e9;
    color: #27ae60;
}

.badge-chip.badge-sample {
    background: #fff4e0;
    color: #f39c12;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--success-color);
}

.spec-table {
    background: var(--background-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #eaedf2; /* Keep generic border just in case, or match inline which didn't specify but implied by existing css */
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    font-weight: 600;
    color: var(--text-light);
}

.spec-val {
    font-weight: 600;
    color: var(--text-dark);
}

.cta-box {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.cta-box .btn {
    flex: 1;
    text-align: center;
}

.trade-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.note-card {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-content-detail {
    margin-top: 60px;
}

.content-body {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: var(--text-dark);
}

.productlist-section {
    padding: 60px 0;
}

.related-products {
    padding: 60px 0;
    background: var(--background-gray);
}

.related-products .section-header {
    margin-bottom: 40px;
}

.related-products .btn-outline {
    width: 100%;
    justify-content: center;
}

.related-products-sidebar {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

/* Service Areas Page Styles (Tabbed) */
.service-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-detail-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.02);
}

.service-detail-text {
    padding: 0 10px;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.6;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.detail-desc p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 联系我们页面样式 */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: stretch;
}

/* 联系信息卡片 - 电子名片风格 */
.contact-info-card {
    background: #fff;
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header-line {
    height: 12px;
    background: #2b4c9f;
    width: 100%;
    flex-shrink: 0;
}

.card-logo-area {
    margin: 30px 40px 20px 40px;
    border-bottom: 2px solid #2b4c9f;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.card-logo {
    height: 40px;
    width: auto;
}

.card-tagline {
    background: #2b4c9f;
    color: white;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 10px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.manager-section {
    margin: 0 40px 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manager-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.job-title {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-left: 10px;
}

.highlight-phone {
    font-size: 1.4rem;
    color: #666;
    font-weight: 500;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

.company-section {
    margin: 0 40px 30px 40px;
}

.company-name-cn {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.company-name-en {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.card-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-detail-item i {
    color: #2b4c9f;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

/* 覆盖旧样式 */
.contact-icon, .contact-details {
    display: none;
}

/* 社交按钮适配 */
.social-connect {
    margin: 20px 40px 40px 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.social-connect h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #666;
}

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

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-btn.whatsapp {
    background: #25D366;
    color: white;
}

.social-btn.wechat {
    background: #07C160;
    color: white;
    cursor: pointer;
    border: none;
}

.social-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 表单美化 - 配合名片风格 */
.contact-form-wrapper {
    background: #fff;
    padding: 35px;
    border-radius: 4px;
    border: 1px solid #eef0f5;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid #2b4c9f;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-title {
    margin-bottom: 25px;
    text-align: center;
}

.form-title h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-title p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #888 !important; /* 加深边框颜色，强制显示 */
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff !important; /* 强制白色背景 */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); /* 增加内阴影增加立体感 */
}

.form-control:focus {
    border-color: #2b4c9f !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(43, 76, 159, 0.15) !important;
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-img {
    height: 42px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #eee;
}

.submit-btn {
    background: #2b4c9f;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 76, 159, 0.2);
}

/* 微信二维码弹窗 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.qr-modal.open {
    display: flex;
}

.qr-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.qr-dialog {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    text-align: center;
    max-width: 90%;
    width: 320px;
    z-index: 10000;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.qr-modal.open .qr-dialog {
    transform: scale(1);
    opacity: 1;
}

.qr-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-close:hover {
    background: rgba(0,0,0,0.1);
    color: #333;
    transform: rotate(90deg);
}

.qr-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.qr-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 业务范围样式 */
.business-scope-section {
    margin: 25px 0;
    padding-top: 25px;
    border-top: 1px dashed #e0e0e0;
}

.business-scope-section .section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

.business-scope-section .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 14px;
    width: 3px;
    background: #2b4c9f;
    border-radius: 2px;
}

.scope-list {
    display: grid;
    padding-left: 32px;
    padding-right: 22px;
    gap: 12px;
}

.scope-list li {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scope-list li i {
    color: #2b4c9f;
    font-size: 0.8rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-card, .contact-form-wrapper {
        padding: 30px;
    }

    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: 2;
    }
    
    .news-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}
