/* 产品配置器样式 */
.product-configurator {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.configurator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0;
}

.options-column {
    flex: 1;
    min-width: 300px;
}

.preview-column {
    flex: 1;
    min-width: 300px;
}

.option-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.option-group-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
    margin-right: 10px;
    display: inline-block;
    min-width: 70px;
}

.sub-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

/* 蓝色按钮样式 */
.option-button {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
    margin-right: 5px;
    margin-bottom: 5px;
}

.option-button:hover {
    background-color: #e0e0e0;
}

.option-button.active {
    background-color: #3a66b8;
    color: white;
    border-color: #3a66b8;
}

.selection-summary {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.selection-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.selected-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eaeaea;
}

.item-name {
    font-weight: normal;
}

.item-price {
    font-weight: bold;
}

.total-section {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 2px solid #eaeaea;
}

.total-section h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.total-price {
    font-size: 24px;
    font-weight: bold;
    color: #e83e8c;
    transition: transform 0.3s, color 0.3s;
}

.price-updated {
    transform: scale(1.1);
    color: #28a745;
}

.selected-highlight {
    transform: scale(1.05);
}

.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3a66b8;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s;
}

.contact-button:hover {
    background-color: #2d5096;
    text-decoration: none;
    color: white;
}

/* 温馨提示框样式 */
.tip-box {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #e1f5fe;
    color: #0288d1;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 4px solid #29b6f6;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .configurator-container {
        flex-direction: column;
    }

    .options-column,
    .preview-column {
        width: 100%;
    }

    .option-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .option-group-title {
        margin-bottom: 10px;
    }

    .sub-options {
        flex-direction: column;
        width: 100%;
    }

    .option-button {
        width: 100%;
        text-align: center;
    }
}