.container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

 /* 主要内容区 */
 .main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* 左侧图片区 */
.product-images {
    width: 50%;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
}

.main-image {
    width: 100%;
    height: 450px;
    background-color: #f5f5f5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail.active {
    border-color: #165DFF;
}

.thumbnail:hover {
    border-color: #165DFF;
}

/* 右侧信息区 */
.product-info {
    width: 50%;
    background-color: white;
    border-radius: 8px;
    padding: 25px;
}

.product-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.rating-stars {
    color: #FFB800;
    font-size: 16px;
}

.rating-count {
    color: #666;
}

.rating-count span {
    color: #165DFF;
    font-weight: bold;
}

.product-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.price-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.price-value {
    font-size: 28px;
    font-weight: bold;
    color: #FF5722;
}

.price-value span {
    font-size: 16px;
}

.product-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.meta-value {
    font-weight: 500;
}

.meta-value.highlight {
    color: #165DFF;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background-color: #165DFF;
    color: white;
    flex: 2;
}

.btn-primary:hover {
    background-color: #0E42D2;
}

.btn-secondary {
    background-color: #FF5722;
    color: white;
    flex: 1;
}

.btn-secondary:hover {
    background-color: #E64A19;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #165DFF;
    color: #165DFF;
    flex: 1;
}

.btn-outline:hover {
    background-color: #f0f5ff;
}

.supplier-contact {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.supplier-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    overflow: hidden;
}

.supplier-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supplier-info {
    flex: 1;
}

.supplier-name {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 1rem;
}

.supplier-level {
    color: #666;
    font-size: 12px;
}

.supplier-level span {
    color: #FFB800;
}

/* 产品详情区 */
.product-details {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.detail-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-content {
    line-height: 1.8;
}

.product-description p {
    margin-bottom: 15px;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.specification-table td {
    padding: 12px 15px;
}

.specification-table td:first-child {
    width: 30%;
    background-color: #f9f9f9;
    font-weight: 500;
}

/* 批发商信息区 */
.supplier-section {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.supplier-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.supplier-logo {
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.supplier-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.supplier-main-info {
    flex: 1;
}

.supplier-fullname {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.supplier-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.supplier-stats {
    display: flex;
    gap: 20px;
    color: #666;
}

.supplier-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.supplier-stat span {
    color: #165DFF;
    font-weight: bold;
}

.supplier-actions {
    display: flex;
    gap: 10px;
}

.supplier-btn {
    padding: 8px 16px;
    font-size: 14px;
}

.supplier-intro {
    line-height: 1.8;
}