/* 订单详情页样式 - 增加优先级防止样式冲突 */

/* 全局容器样式 */
.sod-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.5;
    overflow: hidden !important;
    position: relative !important;
    box-sizing: border-box !important;
    overscroll-behavior-x: none !important;
}

.sod-wrapper .sod-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    overflow: hidden !important;
    width: auto !important;
}

/* 面包屑导航 */
.sod-wrapper .sod-breadcrumbs {
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sod-wrapper .sod-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sod-wrapper .sod-breadcrumbs-list li {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.sod-wrapper .sod-breadcrumbs-list li:after {
    content: "/";
    margin-left: 8px;
    color: #ccc;
}

.sod-wrapper .sod-breadcrumbs-list li:last-child:after {
    content: none;
}

.sod-wrapper .sod-breadcrumbs-list a {
    color: #666;
    text-decoration: none;
}

.sod-wrapper .sod-breadcrumbs-list a:hover {
    color: #0093b8;
}

.sod-wrapper .sod-breadcrumb-active {
    color: #333;
    font-weight: 500;
}

/* 产品详情布局 */
.sod-wrapper .sod-product-detail {
    margin-bottom: 40px;
}

.sod-wrapper .sod-product-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.sod-wrapper .sod-product-image-col,
.sod-wrapper .sod-product-info-col {
    padding: 0 15px;
}

.sod-wrapper .sod-product-image-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.sod-wrapper .sod-product-info-col {
    flex: 0 0 50%;
    max-width: 50%;
}

/* 产品图片样式 */
.sod-wrapper .sod-product-image {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 400px;
}

.sod-wrapper #sod-main-product-image {
    cursor: default !important;
    transition: none !important;
    transform: none !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.sod-wrapper .sod-product-image:hover #sod-main-product-image {
    transform: none !important;
}

.sod-wrapper .sod-product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.sod-wrapper .sod-product-thumbnail {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 5px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sod-wrapper .sod-product-thumbnail img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.2s;
}

.sod-wrapper .sod-product-thumbnail:hover img {
    border-color: #0093b8;
    transform: scale(1.05);
}

.sod-wrapper .sod-product-thumbnail.active img {
    border: 2px solid #0093b8;
}

/* 产品信息样式 */
.sod-wrapper .sod-product-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px;
    line-height: 1.3;
}

.sod-wrapper .sod-product-sku {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.sod-wrapper .sod-product-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

/* 价格样式 */
.sod-wrapper .sod-product-price-wrapper {
    margin-bottom: 20px;
}

.sod-wrapper .sod-product-price {
    font-size: 24px;
    font-weight: 600;
    color: #e53935;
}

.sod-wrapper .sod-product-price.sale {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sod-wrapper .sod-product-price.sale .sod-regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 10px;
    font-weight: normal;
}

/* 数量控制 - 防止Elementor影响 */
.sod-wrapper .sod-product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sod-wrapper .sod-quantity-label {
    margin-right: 10px;
    font-weight: 500;
}

/* 覆盖Elementor按钮样式 */
.sod-wrapper .sod-quantity-control {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #ddd !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    height: 46px !important;
    width: 140px !important;
}

.sod-wrapper .sod-quantity-decrease,
.sod-wrapper .sod-quantity-increase {
    width: 46px !important;
    height: 46px !important;
    border: none !important;
    background-color: #f9f9f9 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    border-radius: 0 !important;
    text-transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sod-wrapper .sod-quantity-decrease i,
.sod-wrapper .sod-quantity-increase i {
    font-size: 16px !important;
    color: #333 !important;
}

.sod-wrapper .sod-quantity-decrease:hover,
.sod-wrapper .sod-quantity-increase:hover {
    background-color: #0093b8 !important;
    color: #fff !important;
}

.sod-wrapper .sod-quantity-decrease:hover i,
.sod-wrapper .sod-quantity-increase:hover i {
    color: #fff !important;
}

.sod-wrapper .sod-quantity-input {
    width: 50px !important;
    height: 46px !important;
    border: none !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background-color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 彻底移除Chrome、Safari、Edge、Opera中输入框的上下箭头 */
.sod-wrapper .sod-quantity-input::-webkit-inner-spin-button, 
.sod-wrapper .sod-quantity-input::-webkit-outer-spin-button,
.sod-wrapper .sod-option-quantity-input::-webkit-inner-spin-button, 
.sod-wrapper .sod-option-quantity-input::-webkit-outer-spin-button { 
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* 彻底移除Firefox中输入框的上下箭头 */
.sod-wrapper .sod-quantity-input,
.sod-wrapper .sod-option-quantity-input {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

/* 隐藏Internet Explorer的箭头 */
.sod-wrapper .sod-quantity-input::-ms-clear,
.sod-wrapper .sod-quantity-input::-ms-reveal,
.sod-wrapper .sod-option-quantity-input::-ms-clear,
.sod-wrapper .sod-option-quantity-input::-ms-reveal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 更多严格的规则以确保箭头不可见 */
.sod-wrapper .sod-quantity-input,
.sod-wrapper .sod-option-quantity-input {
    appearance: textfield !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
    position: relative !important;
}

/* 产品操作按钮 */
.sod-wrapper .sod-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.sod-wrapper .sod-add-to-cart-btn,
.sod-wrapper .sod-buy-now-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
    box-shadow: none;
    width: auto;
    min-width: 200px;
    flex: 0 0 auto;
}

.sod-wrapper .sod-add-to-cart-btn {
    background-color: #0093b8;
    color: #fff;
}

.sod-wrapper .sod-add-to-cart-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.sod-wrapper .sod-add-to-cart-btn:hover {
    background-color: #007a99;
    transform: none;
    box-shadow: none;
}

.sod-wrapper .sod-buy-now-btn {
    background-color: #e53935;
    color: #fff;
    animation: fadeIn 0.5s ease;
}

.sod-wrapper .sod-buy-now-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.sod-wrapper .sod-buy-now-btn:hover {
    background-color: #d32f2f;
    transform: none;
    box-shadow: none;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 选项表格 */
.sod-wrapper .sod-available-options {
    margin-bottom: 40px;
}

.sod-wrapper .sod-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.sod-wrapper .sod-section-title:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #0093b8;
}

.sod-wrapper .sod-options-table-wrapper {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sod-wrapper .sod-options-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
    table-layout: fixed !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    max-width: 100% !important;
}

.sod-wrapper .sod-options-table th,
.sod-wrapper .sod-options-table td {
    padding: 15px !important;
    border: 1px solid #eee !important;
    text-align: center !important;
    vertical-align: middle !important;
    background: transparent !important;
    line-height: normal !important;
}

.sod-wrapper .sod-options-table th {
    background-color: #f5f7fa !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 15px !important;
}

.sod-wrapper .sod-option-thumbnail {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sod-wrapper .sod-option-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.sod-wrapper .sod-option-thumbnail:hover img {
    transform: scale(1.1);
    border-color: #0093b8;
}

.sod-wrapper .sod-option-quantity-control {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #ddd !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    max-width: 130px !important;
    height: 36px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

.sod-wrapper .sod-option-quantity-decrease,
.sod-wrapper .sod-option-quantity-increase {
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background-color: #f9f9f9 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sod-wrapper .sod-option-quantity-decrease i,
.sod-wrapper .sod-option-quantity-increase i {
    font-size: 16px !important;
    color: #333 !important;
}

.sod-wrapper .sod-option-quantity-decrease:hover,
.sod-wrapper .sod-option-quantity-increase:hover {
    background-color: #0093b8 !important;
    color: #fff !important;
}

.sod-wrapper .sod-option-quantity-decrease:hover i,
.sod-wrapper .sod-option-quantity-increase:hover i {
    color: #fff !important;
}

.sod-wrapper .sod-option-quantity-input {
    width: 58px !important;
    height: 36px !important;
    border: none !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background-color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    line-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sod-wrapper .sod-option-add-btn {
    padding: 10px 16px !important;
    background: linear-gradient(135deg, #0093b8, #0093b8) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    min-width: 130px !important;
    height: 40px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    line-height: normal !important;
}

.sod-wrapper .sod-option-add-btn i {
    margin-right: 6px !important;
    font-size: 14px !important;
}

.sod-wrapper .sod-option-add-btn:hover {
    background: linear-gradient(135deg, #0093b8, #0052a3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 3px 8px #007a99 !important;
}

.sod-wrapper .sod-option-total {
    transition: all 0.3s ease !important;
    position: relative !important;
    font-weight: 600 !important;
    color: #e53935 !important;
}

.sod-wrapper .sod-option-total.updating {
    animation: price-update 0.5s ease;
}

@keyframes price-update {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: #ff0000;
    }
    100% {
        transform: scale(1);
    }
}

/* 产品详情内容 */
.sod-wrapper .sod-product-content {
    margin-bottom: 40px;
}

.sod-wrapper .sod-content-wrapper {
    line-height: 1.7;
    color: #444;
}

.sod-wrapper .sod-content-wrapper p {
    margin-bottom: 15px;
}

.sod-wrapper .sod-content-wrapper img {
    max-width: 100%;
    height: auto;
}

/* 相关产品 */
.sod-wrapper .sod-related-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.sod-wrapper .sod-related-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.sod-wrapper .sod-related-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.sod-wrapper .sod-related-link:hover {
    transform: translateY(-5px);
}

.sod-wrapper .sod-related-image {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.sod-wrapper .sod-related-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.sod-wrapper .sod-related-link:hover .sod-related-img {
    transform: scale(1.05);
}

.sod-wrapper .sod-related-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sod-wrapper .sod-related-price {
    font-size: 16px;
    font-weight: 600;
    color: #e53935;
}

.sod-wrapper .sod-related-price.sale {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sod-wrapper .sod-related-regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    font-weight: normal;
    margin-right: 8px;
}

.sod-wrapper .sod-related-sale-price {
    color: #e53935;
    font-weight: 600;
}

.sod-wrapper .sod-no-related {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    color: #888;
}

/* 图片加载过程优化 */
.sod-wrapper #sod-main-product-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sod-wrapper #sod-main-product-image.loading {
    opacity: 0.7;
}

/* 图片查看器 */
.sod-image-viewer {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .sod-wrapper .sod-product-image-col,
    .sod-wrapper .sod-product-info-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .sod-wrapper .sod-product-image-col {
        margin-bottom: 30px;
    }
    
    .sod-wrapper .sod-related-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .sod-wrapper .sod-product-image {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .sod-wrapper .sod-related-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .sod-wrapper .sod-product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .sod-wrapper .sod-add-to-cart-btn,
    .sod-wrapper .sod-buy-now-btn {
        width: 100%;
    }

    .sod-wrapper .sod-options-table-wrapper {
        overflow: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .sod-wrapper .sod-options-table {
        min-width: 650px !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .sod-wrapper .sod-related-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sod-wrapper .sod-product-image {
        min-height: 250px;
    }
}

/* 防止滚动条出现的额外样式 - 限制在组件内部 */
.sod-wrapper .sod-options-container {
    margin-bottom: 30px;
    position: relative;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 禁用组件区域水平滑动 */
.sod-wrapper {
    overscroll-behavior-x: none !important;
}

/* 通知样式 */
#sod-notification {
    position: fixed;
    bottom: 20px;
    left: 50%; /* 居中显示 */
    transform: translateX(-50%) translateY(100px); /* 水平居中 */
    background-color: #0093b8; /* 统一颜色 */
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    text-align: center;
    width: 180px; /* 固定宽度 */
    font-size: 14px;
}

#sod-notification.sod-notification-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 额外的修复，确保输入框中的数字居中 */
.sod-wrapper input[type=number].sod-quantity-input,
.sod-wrapper input[type=number].sod-option-quantity-input {
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    line-height: normal !important;
}

.sod-wrapper input[type=number].sod-quantity-input:focus,
.sod-wrapper input[type=number].sod-option-quantity-input:focus {
    border-color: #eee !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 响应式表格 */
@media (max-width: 767px) {
    .sod-wrapper .sod-options-table-wrapper {
        overflow-x: auto !important;
        margin: 0 -15px !important;
        padding: 0 15px !important;
        width: calc(100% + 30px) !important;
    }
    
    .sod-wrapper .sod-options-table {
        min-width: 650px !important;
    }
    
    .sod-wrapper .sod-option-add-btn {
        min-width: 110px !important;
        padding: 6px 12px !important;
    }
}

/* 选项行悬停效果 */
.sod-wrapper .sod-option-row {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.sod-wrapper .sod-option-row:hover,
.sod-wrapper .sod-option-row.sod-option-row-hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.sod-wrapper .sod-option-row td {
    vertical-align: middle;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

/* 无选项消息样式 */
.sod-wrapper .sod-no-options-message {
    text-align: center;
    padding: 30px 15px !important;
    color: #888;
    font-style: italic;
}

/* 移动端适配增强 */
@media (max-width: 767px) {
    .sod-wrapper .sod-options-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 4px;
    }
    
    .sod-wrapper .sod-options-table {
        min-width: 680px;
    }
    
    .sod-wrapper .sod-option-thumbnail {
        width: 60px;
    }
    
    .sod-wrapper .sod-option-thumbnail img {
        max-width: 60px;
        height: auto;
    }
    
    .sod-wrapper .sod-option-add-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .sod-wrapper .sod-option-quantity-control {
        width: 100px !important;
        height: 36px !important;
    }
    
    .sod-wrapper .sod-option-quantity-decrease,
    .sod-wrapper .sod-option-quantity-increase {
        width: 36px !important;
        height: 36px !important;
    }
    
    .sod-wrapper .sod-option-quantity-input {
        width: 28px !important;
        height: 36px !important;
        line-height: 36px !important;
    }
}

/* 产品列表样式 */
.sod-available-options {
    margin: 30px 0;
}

.sod-section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.sod-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2271b1;
}

.sod-options-container {
    margin: 20px 0;
    overflow-x: auto;
}

.sod-options-table-wrapper {
    width: 100%;
}

.sod-options-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e5e5e5;
}

.sod-options-table th, 
.sod-options-table td {
    padding: 12px;
    border: 1px solid #e5e5e5;
    text-align: center;
    vertical-align: middle;
}

.sod-options-table th {
    background-color: #f7f7f7;
    font-weight: 600;
    color: #333;
}

.sod-option-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.sod-option-thumbnail img:hover {
    transform: scale(1.05);
}

.sod-option-title {
    font-weight: 500;
    color: #333;
}

.sod-option-color {
    color: #666;
}

.sod-option-price {
    font-weight: 500;
    color: #e63946;
}

.sod-option-quantity-control {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 120px;
    margin: 0 auto;
    border: 1px solid #ddd;
}

.sod-option-quantity-decrease,
.sod-option-quantity-increase {
    width: 36px;
    height: 36px;
    background: #f7f7f7;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sod-option-quantity-decrease:hover,
.sod-option-quantity-increase:hover {
    background: #e9e9e9;
}

.sod-option-quantity-input {
    width: 40px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

.sod-option-quantity-input::-webkit-inner-spin-button,
.sod-option-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sod-option-add-btn {
    background-color: #2271b1;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.sod-option-add-btn:hover {
    background-color: #135e96;
}

.sod-option-total {
    font-weight: 600;
    color: #e63946;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sod-options-table {
        min-width: 650px;
    }
    
    .sod-options-container {
        overflow-x: auto;
    }
    
    .sod-section-title {
        font-size: 20px;
    }
    
    .sod-option-add-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* 无选项时的提示样式 */
.sod-no-options-message {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* 图片查看器样式 */
.sod-image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.sod-image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.sod-image-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* 选项价格样式 */
.sod-wrapper .sod-option-price-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sod-wrapper .sod-option-price {
    text-align: center;
    padding: 10px;
    color: #e53935;
}

.sod-wrapper .sod-option-regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    font-weight: normal;
    margin-right: 8px;
}

.sod-wrapper .sod-option-sale-price {
    color: #e53935;
    font-weight: 600;
}

/* 相关产品价格样式 */
.sod-wrapper .sod-related-price.sale {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sod-wrapper .sod-related-regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    font-weight: normal;
    margin-right: 8px;
}

.sod-wrapper .sod-related-sale-price {
    color: #e53935;
    font-weight: 600;
}

/* 产品价格样式 */
.sod-wrapper .sod-product-price.sale {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sod-wrapper .sod-product-price.sale .sod-regular-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 10px;
    font-weight: normal;
} 