* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Microsoft Yahei", PingFangSC-Regular, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;}
:root {
--emerson-blue: #005eb8;
--emerson-dark: #003c7e;
--emerson-light: #e6f0fa;
--text-dark: #333;
--text-light: #666;
--border: #ddd;
--white: #fff;
--gray: #f5f7fa;
--light-gray: #f9f9f9;
--transition: all 0.3s ease;
--sidebar-width: 280px;
}
body {
color: var(--text-dark);
line-height: 1.6;
background-color: var(--white);
}
a {
color: #333;
text-decoration: none;
}
a:hover {
color:#18506D;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header Styles */
header {
background-color: var(--white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.top-bar {
background-color: var(--emerson-dark);
color: var(--white);
padding: 8px 0;
font-size: 14px;
}
.top-bar-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.contact-info span {
margin-right: 20px;
}
.language-selector select {
background: transparent;
border: none;
color: var(--white);
font-size: 14px;
}
.main-header {
padding: 15px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 40px;
}
.logo h2 {
margin-left: 10px;
font-size: 24px;
color: var(--emerson-blue);
font-weight: 600;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 25px;
position: relative;
}
nav ul li a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
font-size: 16px;
padding: 8px 5px;
transition: color 0.3s;
}
nav ul li a:hover {
color: var(--emerson-blue);
}
nav ul li a.active {
color: var(--emerson-blue);
border-bottom: 3px solid var(--emerson-blue);
}
.search-icon {
margin-left: 20px;
color: var(--emerson-blue);
cursor: pointer;
}
/* Breadcrumb */
.breadcrumb {
padding: 15px 0;
background-color: var(--light-gray);
margin-bottom: 30px;
border-bottom: 1px solid var(--border);
}
.breadcrumb ul {
display: flex;
list-style: none;
flex-wrap: wrap;
}
.breadcrumb ul li {
margin-right: 10px;
font-size: 14px;
}
.breadcrumb ul li:not(:last-child):after {
content: '>';
margin-left: 10px;
color: var(--text-light);
}
.breadcrumb a {
color: var(--emerson-blue);
text-decoration: none;
}
.breadcrumb a:hover {
text-decoration: underline;
}
/* Main Content Layout */
.main-content-wrapper {
display: flex;
gap: 30px;
padding: 20px 0 40px;
}
/* Sidebar Styles */
.sidebar {
width: var(--sidebar-width);
flex-shrink: 0;
background: var(--white);
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
padding: 25px 20px;
height: fit-content;
position: sticky;
top: 120px;
}
.sidebar-section {
margin-bottom: 30px;
}
.sidebar-section:last-child {
margin-bottom: 0;
}
.sidebar h3 {
color: var(--emerson-dark);
font-size: 1.3rem;
margin-bottom: 18px;
padding-bottom: 10px;
border-bottom: 2px solid var(--emerson-light);
display: flex;
align-items: center;
}
.sidebar h3 i {
margin-right: 10px;
color: var(--emerson-blue);
}
.category-list {
list-style: none;
}
.category-list li {
margin-bottom: 12px;
}
.category-list li a {
display: block;
padding: 10px 15px;
background: var(--light-gray);
border-radius: 6px;
color: var(--text-dark);
text-decoration: none;
transition: var(--transition);
display: flex;
align-items: center;
}
.category-list li a:hover {
background: var(--emerson-light);
color: var(--emerson-blue);
transform: translateX(5px);
}
.category-list li a i {
margin-right: 10px;
width: 20px;
text-align: center;
}
.category-list li a.active {
background: var(--emerson-blue);
color: var(--white);
}
.popular-products .product-item {
display: flex;
gap: 15px;
padding: 12px 0;
border-bottom: 1px solid var(--border);
align-items: center;
}
.popular-products .product-item:last-child {
border-bottom: none;
}
.popular-products .product-image {
width: 60px;
height: 60px;
background: var(--emerson-light);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
}
.popular-products .product-image img {
max-width: 80%;
max-height: 80%;
}
.popular-products .product-info h4 {
font-size: 0.95rem;
margin-bottom: 5px;
}
.popular-products .product-info .price {
color: var(--emerson-blue);
font-weight: 600;
}
.support-card {
background: linear-gradient(135deg, var(--emerson-dark) 0%, var(--emerson-blue) 100%);
color: var(--white);
padding: 20px;
border-radius: 8px;
text-align: center;
}
.support-card h3 {
color: var(--white);
border-bottom: none;
margin-bottom: 15px;
}
.support-card p {
margin-bottom: 20px;
font-size: 0.95rem;
}
.support-btn {
display: block;
background: var(--white);
color: var(--emerson-blue);
text-align: center;
padding: 12px;
margin-top: 5px;
border-radius: 6px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
}
.support-btn:hover {
background: rgba(255, 255, 255, 0.9);
transform: translateY(-3px);
}
/* Product Detail Layout */
.product-detail {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
padding: 30px 0;
flex: 1;
}
/* Product Gallery */
.product-gallery {
position: relative;
}
.main-image {
background-color: var(--emerson-light);
border-radius: 8px;
height: 300px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
overflow: hidden;
}
.main-image img {
max-width: 80%;
max-height: 80%;
transition: transform 0.5s;
}
.thumbnail-gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.thumbnail {
height: 100px;
background-color: var(--light-gray);
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s;
border: 2px solid transparent;
}
.thumbnail:hover, .thumbnail.active {
border-color: var(--emerson-blue);
}
.thumbnail img {
max-width: 80%;
max-height: 80%;
}
.product-badge {
position: absolute;
top: 20px;
left: 20px;
background: var(--emerson-blue);
color: var(--white);
padding: 6px 12px;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
z-index: 2;
}
/* Product Info */
.product-info h1 {
font-size: 16px;
color: var(--emerson-dark);
margin-bottom: 10px;
}
.product-sku {
color: var(--text-light);
margin-bottom: 20px;
font-size: 14px;
}
.product-rating {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.stars {
color: #ffc107;
margin-right: 10px;
}
.rating-count {
color: var(--text-light);
font-size: 14px;
}
.product-description {
margin-bottom: 25px;
line-height: 1.8;
}
.highlight-features {
background: var(--emerson-light);
border-left: 4px solid var(--emerson-blue);
padding: 20px;
border-radius: 0 8px 8px 0;
margin-bottom: 25px;
}
.highlight-features h3 {
margin-bottom: 15px;
color: var(--emerson-dark);
}
.highlight-features ul {
list-style: none;
}
.highlight-features li {
padding: 8px 0;
display: flex;
align-items: center;
}
.highlight-features li:before {
content: "✓";
color: var(--emerson-blue);
margin-right: 10px;
font-weight: bold;
}
.product-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border);
}
.product-price {
font-size: 1.8rem;
color: var(--emerson-dark);
font-weight: 600;
}
.availability {
color: #28a745;
font-weight: 500;
}
.product-actions {
display: flex;
gap: 15px;
margin-bottom: 30px;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 25px;
background-color: var(--emerson-blue);
color: var(--white);
text-decoration: none;
border-radius: 4px;
font-weight: 600;
transition: background-color 0.3s;
border: none;
cursor: pointer;
font-size: 16px;
}
.btn:hover {
background-color: var(--emerson-dark);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.btn-outline {
background-color: transparent;
border: 2px solid var(--emerson-blue);
color: var(--emerson-blue);
}
.btn-outline:hover {
background-color: rgba(0, 94, 184, 0.1);
}
.btn-large {
padding: 15px 30px;
font-size: 18px;
}
.action-icon {
margin-right: 8px;
}
/* Product Tabs */
.tab-headers {
display: flex;
border-bottom: 1px solid var(--border);
flex-wrap: wrap;
}
.tab-header {
padding: 12px 25px;
background-color: transparent;
border: none;
color: var(--text-light);
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
position: relative;
}
.tab-header::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 0;
height: 3px;
background-color: var(--emerson-blue);
transition: width 0.3s ease;
}
.tab-header.active, .tab-header:hover {
color: var(--emerson-blue);
}
.tab-header.active::after, .tab-header:hover::after {
width: 100%;
}
.tab-content {
display: block;
animation: fadeIn 0.5s ease forwards;
padding: 20px 0;
}
.tab-content img {
display: block;
margin: 0 auto;
max-width: 90%;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Specifications */
.spec-table {
width: 100%;
border-collapse: collapse;
}
.spec-table th, .spec-table td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid var(--border);
}
.spec-table th {
background-color: var(--light-gray);
font-weight: 600;
width: 30%;
}
/* Applications */
.applications-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
margin-top: 25px;
}
.application-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
}
.application-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
transform: translateY(-5px);
}
.application-icon {
height: 120px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--emerson-light);
}
.application-icon i {
font-size: 3rem;
color: var(--emerson-blue);
}
.application-content {
padding: 20px;
}
.application-content h3 {
color: var(--emerson-dark);
margin-bottom: 10px;
}
/* Resources */
.resource-list {
list-style: none;
}
.resource-item {
padding: 15px 0;
border-bottom: 1px solid var(--border);
display: flex;
justify-content: space-between;
align-items: center;
}
.resource-item:last-child {
border-bottom: none;
}
.resource-info {
display: flex;
align-items: center;
}
.resource-icon {
width: 40px;
height: 40px;
background: var(--emerson-light);
color: var(--emerson-blue);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
}
.resource-details h3 {
margin-bottom: 5px;
font-size: 1.1rem;
}
.resource-details p {
color: var(--text-light);
font-size: 14px;
}
.resource-download {
color: var(--emerson-blue);
font-weight: 600;
text-decoration: none;
transition: var(--transition);
}
.resource-download:hover {
text-decoration: underline;
}
/* Related Products */
.related-products {
margin: 60px 0 40px;
padding-top: 40px;
border-top: 1px solid var(--border);
}
.section-title {
text-align: center;
margin-bottom: 40px;
}
.section-title h2 {
font-size: 2rem;
color: var(--emerson-dark);
margin-bottom: 15px;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 25px;
}
.product-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
}
.product-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
transform: translateY(-5px);
}
.product-image {
height: 180px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--emerson-light);
position: relative;
}
.product-image img {
max-width: 80%;
max-height: 80%;
}
.product-title {
color: var(--emerson-dark);
font-size: 14px;
min-height: 44px;
}
.view-btn {
display: block;
text-align: center;
color: var(--white);
padding: 10px;
border-radius: 4px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
}
/* Related News Section */
.related-news {
background-color: var(--light-gray);
padding: 60px 0;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.articles-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}
.article-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
}
.article-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
transform: translateY(-5px);
}
.card-image {
height: 180px;
overflow: hidden;
}
.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.article-card:hover .card-image img {
transform: scale(1.05);
}
.card-content {
padding: 20px;
}
.card-category {
color: var(--emerson-blue);
font-size: 13px;
text-transform: uppercase;
margin-bottom: 8px;
}
.card-title {
color: var(--emerson-dark);
margin-bottom: 10px;
font-size: 1.1rem;
min-height: 50px;
}
.card-date {
color: var(--text-light);
font-size: 14px;
display: flex;
align-items: center;
}
.card-date i {
margin-right: 5px;
color: var(--emerson-blue);
}
/* Footer */
footer {
background-color: var(--emerson-dark);
color: var(--white);
padding: 60px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-column h3 {
font-size: 1.3rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}
.footer-column h3:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 50px;
height: 2px;
background-color: var(--emerson-blue);
}
.footer-column ul {
list-style: none;
}
.footer-column ul li {
margin-bottom: 10px;
}
.footer-column ul li a {
color: #ccc;
text-decoration: none;
transition: color 0.3s;
}
.footer-column ul li a:hover {
color: var(--white);
}
.social-icons {
display: flex;
gap: 15px;
margin-top: 20px;
}
.social-icons a {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: var(--white);
transition: background-color 0.3s;
}
.social-icons a:hover {
background-color: var(--emerson-blue);
transform: translateY(-3px);
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
text-align: center;
color: #aaa;
font-size: 14px;
}
/* Responsive Styles */
@media (max-width: 992px) {
.product-detail {
grid-template-columns: 1fr;
}
.main-image {
height: 300px;
}
.sidebar {
width: 240px;
}
}
@media (max-width: 768px) {
.main-content-wrapper {
flex-direction: column;
}
.sidebar {
width: 100%;
position: static;
margin-bottom: 30px;
margin-top: 20px;
}
.main-header {
flex-direction: column;
padding: 15px 0;
}
nav ul {
margin-top: 20px;
flex-wrap: wrap;
justify-content: center;
}
nav ul li {
margin: 5px 10px;
}
.product-actions {
flex-direction: column;
}
.tab-headers {
flex-wrap: wrap;
}
.section-title h2 {
font-size: 1.8rem;
}
.breadcrumb ul {
flex-direction: column;
align-items: flex-start;
}
.breadcrumb ul li:not(:last-child):after {
content: '';
margin: 0;
display: none;
}
.breadcrumb ul li {
margin-bottom: 5px;
}
}