* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ec142b;
    text-decoration: none;
}

.nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ec142b;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

.search-box button {
    padding: 8px 20px;
    background: #ec142b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Banner */
.banner {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ec142b;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover {
    background: #c41023;
}

.banner-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dot.active {
    background: #fff;
}

/* Product Card */
.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 0;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* Factory Section */
.factory-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.factory-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* About Text */
.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* Advantage Items */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item p {
    color: #666;
}

/* Page Header */
.page-header {
    background: #f9f9f9;
    padding: 30px 0;
    margin-bottom: 40px;
}

.breadcrumb {
    color: #666;
}

.breadcrumb a {
    color: #ec142b;
    text-decoration: none;
}

/* Product Detail Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.main-image img {
    width: 100%;
    border-radius: 8px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: #ec142b;
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.product-info-main h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
}

.product-price {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price-label {
    color: #666;
    margin-right: 10px;
}

.price-value {
    font-size: 24px;
    font-weight: bold;
    color: #ec142b;
}

.product-description h3,
.product-specs h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 12px;
    border: 1px solid #eee;
}

.spec-table.full-width {
    margin-top: 10px;
}

.spec-table.full-width th {
    background: #f9f9f9;
    font-weight: 600;
    text-align: left;
    padding: 12px;
    border: 1px solid #eee;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary {
    background: #ec142b;
    color: #fff;
}

.btn-primary:hover {
    background: #c41023;
}

.btn-secondary {
    background: #666;
    color: #fff;
}

.btn-secondary:hover {
    background: #555;
}

/* Product Tabs */
.product-tabs {
    margin: 50px 0;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover,
.tab-btn.active {
    color: #ec142b;
    border-bottom-color: #ec142b;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.tab-panel ul {
    margin-top: 20px;
    padding-left: 20px;
}

.tab-panel li {
    margin-bottom: 10px;
    color: #666;
}

/* Related Products */
.related-products {
    margin-top: 50px;
}

.related-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* Section */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 16px;
}

/* Hot Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-card-content {
    padding: 20px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    color: #666;
    margin-bottom: 15px;
}

.product-card .price {
    font-size: 20px;
    font-weight: bold;
    color: #ec142b;
}

/* About Section */
.about-section {
    background: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
}

.advantage-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ec142b;
}

.advantage-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-card p {
    color: #666;
}

/* Factory Tour */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.factory-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

/* Products Page */
.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.sidebar h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ec142b;
}

.category-list {
    list-style: none;
}

.category-item a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.category-item a:hover,
.category-item.active a {
    background: #ec142b;
    color: #fff;
}

.products-main {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.products-grid.products-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.products-toolbar {
    margin-bottom: 20px;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery img {
    width: 100%;
    border-radius: 8px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.product-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: #ec142b;
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.product-price {
    font-size: 28px;
    color: #ec142b;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-specs {
    margin: 30px 0;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs th,
.product-specs td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: left;
}

.product-specs th {
    background: #f9f9f9;
    font-weight: 600;
}

/* Company Profile Page */
.profile-section {
    margin-bottom: 50px;
}

.profile-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.certificate-card {
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.certificate-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: #ec142b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.contact-form h2 {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group select {
    background: #fff;
    cursor: pointer;
}

.map-container {
    margin-top: 60px;
}

.map-container h2 {
    margin-bottom: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* Video Section */
.video-section {
    background: #f9f9f9;
}

.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-placeholder {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.video-placeholder img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(236, 20, 43, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(236, 20, 43, 0.4);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(236, 20, 43, 1);
}

.main-video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.video-description h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.video-description p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 24px;
}

/* Product Video Section */
.product-video-section {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.product-video-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.product-video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: #000;
}

.product-video {
    width: 100%;
    display: block;
}

.video-note {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .video-container,
    .about-content,
    .product-detail,
    .products-page,
    .contact-page {
        grid-template-columns: 1fr;
    }
}
