/* 户外厨房配置器样式 */
h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #333;
}

.color-options,
.tv-options,
.oven-options {
    display: flex; /* 使用 Flexbox 进行布局 */
    gap: 10px;    /* 选项之间留出间距 */
    margin-bottom: 20px;
    flex-wrap: wrap; /* 选项多时自动换行 */
}
.option-btn {
    padding: 8px 15px;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    font-size: 0.9em;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease-in-out; /* 添加过渡效果 */
    min-width: 60px; /* 确保按钮有最小宽度 */
    text-align: center;
    display: flex; /* 内部也用flex居中文本 */
    justify-content: center;
    align-items: center;
}

/* 针对颜色按钮的特殊样式 */
.color-options .option-btn {
    width: 40px;
    height: 40px;
    padding: 0; /* 颜色方块不需要内边距 */
    border-radius: 50%; /* 圆形颜色按钮 */
}


.option-btn:hover {
    border-color: #888;
    background-color: #eee;
}

.option-btn.active {
    border-color: #007bff; /* 选中状态的边框颜色 */
    background-color: #e0f0ff; /* 选中状态的背景色 */
    color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* 选中状态的阴影 */
    font-weight: bold;
}

/* 确保图片最大宽度 */
#main-product-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 900px; /* 根据你的设计调整最大宽度 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 给图片加点阴影效果 */
}