:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #777;
    --border-color: #e0e0e0;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
    padding: 20px;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    padding: 30px;
}

.product-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.product-main-section {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.product-gallery {
    flex: 1;
}

.main-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.main-image:hover img {
    transform: scale(1.02);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
}

.thumbnail-container img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.thumbnail-container img:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-specs {
    flex: 1;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.product-specs h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.specs-table {
    width: 100%;
}

.spec-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    width: 40%;
    font-weight: 500;
    color: var(--primary-color);
}

.company-card {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.desktop-card {
    display: block;
}

.mobile-card {
    display: none;
    margin-top: 30px;
}

.card-header {
    padding: 15px 20px;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.card-body {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.keyword-tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.address-item {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255,255,255,0.3);
    display: flex;
    gap: 10px;
}

.product-description {
    margin-top: 30px;
}

.product-description h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.description-section {
    margin-bottom: 30px;
}

.description-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 20px 0 15px;
}

.description-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.feature-list {
    margin: 15px 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 8px;
}

.feature-image {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .product-main-section {
        flex-direction: column;
    }
    
    .desktop-card {
        display: none;
    }
    
    .mobile-card {
        display: block;
    }
  .desktop-footer {
         display: none;
    }
    .thumbnail-container {
        justify-content: center;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
}
