/*detail*/
#detail .dc {
    width: 100%;
    height: 58px;
    background: #f0f0f0;
}

#detail .dc .content {
    height: 58px;
    width: 1226px;
}

#detail .dc .content .title {
    width: 300px;
    height: 58px;
    line-height: 58px;
    font-size: 22px;
    font-weight: bold;
}

#detail .dc .content nav {
    display: inline-block;
    width: 170px;
    height: 58px;
    line-height: 58px;
}

#detail .dc .content nav li {
    font-size: 14px;
    float: left;
    display: block;
    margin: 0px 5px;
}

#detail .dc .content nav li a {
    color: #333;
    font-size: 14px;
}

#detail .dc .content nav li a:hover {
    color: #ff6700;
}

#detail .intro .left {
    width: 560px;
}

/* 图片切换按钮样式 */
#detail .intro .left .image-switch {
    text-align: center;
    margin-top: 15px;
}

#detail .intro .left .image-switch .switch-btn {
    padding: 8px 20px;
    margin: 0 5px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#detail .intro .left .image-switch .switch-btn:hover {
    border-color: #ff6700;
    color: #ff6700;
}

#detail .intro .left .image-switch .switch-btn.active {
    background: #ff6700;
    border-color: #ff6700;
    color: #fff;
}

#detail .intro .left > img {
    width: 100%;
    height: 100%;
}

#detail .intro .left .smallbox {
    display: none;
    background-color: rgba(0, 255, 0, 0.3);
    width: 280px;
    height: 280px;
    position: absolute;
    top: 0;
    left: 0;
}

#detail .intro .left .swiper-container {
    width: 100%;
    height: 100%;
    margin: 20px auto;
    padding: 0 34px;
    box-sizing: border-box;
    position: relative;
}

#detail .intro .left .swiper-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下架标签样式 */
.sold-out-badge {
    position: absolute;
    top: calc(50% + 20px);
    left: calc(50% - 70px);
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 200px;
}

#detail .intro .left .swiper-container .swiper-button-prev {
    left: 0;
    background-position: left;
}

#detail .intro .left .swiper-container .swiper-button-next {
    right: 0;
    background-position: right;
}

#detail .intro .right {
    width: 620px;
    background: #f8f8f8;
    padding-bottom: 50px;
}

#detail .intro .right .sub_title {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.8;
    margin-top: 10px;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
}

/* 字段标签样式 */
#detail .intro .right .field-label {
    display: inline-block;
    flex: 0 0 160px;
    width: 160px;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    line-height: 1.8;
}

/* 字段值样式 - 支持换行 */
#detail .intro .right .sub_title > span:not(.field-label) {
    flex: 1;
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 长文本内容自适应样式 */
#detail .intro .right .sub_title.intro-text {
    height: auto;
    min-height: 50px;
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.8;
}

/* 商品规格选择样式 */
#detail .intro .right .spec-container {
    margin: 0px 20px 0 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

#detail .intro .right .spec-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

#detail .intro .right .spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#detail .intro .right .spec-item {
    position: relative;
    display: inline-block;
}

#detail .intro .right .spec-radio {
    display: none;
}

#detail .intro .right .spec-label {
    display: block;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

#detail .intro .right .spec-radio:checked + .spec-label {
    border-color: #ff6700;
    color: #ff6700;
    box-shadow: 0 0 0 2px rgba(255, 103, 0, 0.2);
}

#detail .intro .right .spec-label:hover {
    border-color: #ff6700;
}

#detail .intro .right .spec-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

#detail .intro .right .spec-label.disabled:hover {
    border-color: #e5e5e5;
}

#detail .intro .right .spec-name {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

#detail .intro .right .spec-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#detail .intro .right .spec-price {
    font-size: 16px;
    color: #ff6700;
    font-weight: bold;
    margin-bottom: 3px;
}

#detail .intro .right .spec-original-price {
    font-size: 12px;
    color: #999;
}

/* 数量选择器样式 */
#detail .intro .right .quantity-container {
    margin: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

#detail .intro .right .quantity-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

#detail .intro .right .quantity-controls {
    display: flex;
    align-items: center;
}

#detail .intro .right .quantity-btn {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#detail .intro .right .quantity-btn:hover {
    background: #e5e5e5;
}

#detail .intro .right .quantity-input {
    width: 60px;
    height: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    margin: 0 10px;
}

#detail .intro .right .quantity-input:focus {
    outline: none;
    border-color: #ff6700;
}

#detail .intro .right .quantity-unit {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
}

#detail .intro .right .order {
    height: 50px;
    line-height: 50px;
    float: right;
}

#detail .intro .right .order .car {
    height: 50px;
    width: 156px;
    border: none;
    background: #1baeae;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    margin-right: 40px;
}

#detail .intro .right .order .car:hover {
    border: 1px solid #fff;
}

.swiper-container {
    width: 300px;
    height: 100%;
}

.swiper-container .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
}

.pro-policy {
    height: 100px;
    line-height: 50px;
    float: right;
    margin-top: 80px;
}

.pro-policy a {
    display: inline-block;
    /*zoom: 1;*/
    /*display: inline;*/
    cursor: default;
    white-space: nowrap;
    color: #b0b0b0;
}

.pro-policy span i {
    font-size: 20px;
    display: inline-block;
    /*zoom: 1;*/
    /*display: inline;*/
    font-style: normal;
    vertical-align: middle;
}

.pro-policy span em {
    font-style: normal;
    display: inline-block;
    /*zoom: 1;*/
    /*display: inline;*/
    margin-left: 2px;
    vertical-align: middle;
}

.tb-extra {
    font-size: 13px;
    margin-top: 40px;
    height: 70px;
    width: 65%;
    float: left;
}

.tb-extra dl {
    overflow: hidden;
    /*zoom: 1;*/
}

.tb-extra dl dt {
    float: left;
    width: 60px;
    height: 22px;
    line-height: 22px;
    margin-bottom: 4px;
    color: #6C6C6C;
}

.tb-extra dl dd a {
    float: left;
    margin-bottom: 15px;
    margin-right: 15px;
    height: 22px;
    line-height: 22px;
    color: #6C6C6C;
}

.goods img {
    width: 100%;
    margin-top: 2px;
}
