.detail{
    padding-bottom: 130rpx; // 为底部固定栏留出空间
    // 轮播图样式
    ::v-deep .u-swiper {
        height: 600rpx !important;
    }
    
    ::v-deep .u-swiper__wrapper{
        height: 100% !important;
    }
    
    ::v-deep .u-swiper__wrapper__item {
        height: 100% !important;
    }
    
    ::v-deep .u-swiper__wrapper__item__wrapper {
        height: 100% !important;
    }
    
    ::v-deep .u-swiper__wrapper__item__wrapper__image{
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    
    ::v-deep .u-swiper__indicator{
        bottom: 20rpx !important;
    }
    
    ::v-deep .u-swiper__indicator-item{
        background-color: rgba(255, 255, 255, 0.5) !important;
    }
    
    ::v-deep .u-swiper__indicator-item--active{
        background-color: #ffffff !important;
    }
    
    // 立即下架按钮
    .immediate-off-shelf {
        position: fixed;
        bottom: 130rpx;
        right: 20rpx;
        z-index: 999;
        animation: bounce 2s infinite;
        
        ::v-deep .u-button {
            background-color: #1f2937;
            border-radius: 60rpx;
            padding: 10rpx 36rpx;
            height: 84rpx;
            line-height: 84rpx;
            box-shadow:  0 20px 25px -5px rgb(0 0 0 / 0.1);
            font-size: 28rpx;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8rpx;
            border: none !important;
        }
        
        ::v-deep .u-button--error {
            border: none !important;
        }
        
        ::v-deep .u-icon {
            margin-right: 4rpx;
        }
    }
    
    // 上下跳动动画
    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10rpx);
        }
    }
    
    // 轮播图下方操作按钮
    .swiper-actions{
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 40rpx 0;
        background-color: #ffffff;
        border-bottom: 1rpx solid #e8e8e8;
        
        .action-item{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            ::v-deep .u-icon{
                background-color: #f9fafb;
                border-radius: 20rpx;
                padding:20rpx;
            }
            .action-text{
                margin-top: 16rpx;
                font-size: 22rpx;
                font-weight: 500;
                color: #606266;
            }
        }
    }
    
    
    // 底部功能按钮栏
    .bottom-bar{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120rpx;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-around;
        box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
        
        .bar-item{
            flex: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            
            .primary{
                display: flex;
                align-items: center;
                gap: 8rpx;
                padding: 14rpx 22rpx;
                border-radius: 20rpx;
                background-color: #ca8a04;
                box-shadow: 0 10px 15px -3px #fef08a, 0 4px 6px -4px #fef08a;
                .bar-text{
                    margin-top: 0;
                    color: #ffffff;
                    font-size: 23rpx;
                }
            }
            
            .bar-text{
                margin-top: 8rpx;
                font-size: 20rpx;
                font-weight: 500;
                color: #9ca3af;
                line-height: 32rpx;
            }
        }
    }
    
    // 核心信息区域样式
    .core-info {
        background-color: #ffffff;
        margin: 20rpx 20rpx 0 20rpx;
        padding: 30rpx;
        border-radius: 16rpx;
        box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
        
        .section-title {
            font-size: 32rpx;
            font-weight: 600;
            color: #303133;
            margin-bottom: 24rpx;
            padding-bottom: 16rpx;
            border-bottom: 1rpx solid #e8e8e8;
        }
        
        .info-row {
            display: flex;
            padding: 16rpx 0;
            
            .info-label {
                flex: 1;
                color: #909399;
                font-size: 28rpx;
                line-height: 40rpx;
            }
            
            .info-value {
                flex: 2;
                color: #303133;
                font-size: 28rpx;
                line-height: 40rpx;
                text-align: right;  
                font-weight: 600;
                &.code{
                    color: #909399;
                }         
                &.note {
                    background-color: #f5f7fa;
                    padding: 16rpx;
                    border-radius: 10rpx;
                    color: #909399;
                    text-align: left;
                }
            }

            &.col{
                gap: 16rpx;
                flex-direction: column;
            }
        }
    }
    
    // 财务与价格区域样式
    .finance-price {
        background-color: #ffffff;
        margin: 20rpx 20rpx 0 20rpx;
        padding: 30rpx;
        border-radius: 16rpx;
        box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
        
        .section-title {
            font-size: 32rpx;
            font-weight: 600;
            color: #303133;
            margin-bottom: 24rpx;
            padding-bottom: 16rpx;
            border-bottom: 1rpx solid #e8e8e8;
        }
        
        .price-group {
            display: flex;
            justify-content: space-between;
            margin-bottom: 24rpx;
            
            &:last-child {
                margin-bottom: 0;
            }
        }
        
        .price-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            
            &:first-child {
                padding-right: 30rpx;
            }
            
            &:last-child {
                padding-left: 30rpx;
            }
        }
        
        .price-label {
            color: #909399;
            font-size: 24rpx;
            margin-bottom: 12rpx;
        }
        
        .price-value {
            font-size: 36rpx;
            font-weight: 600;
            
            &.original {
                color: #303133;
            }
            
            &.additional {
                color: #1890ff;
            }
            
            &.agent {
                color: #303133;
            }
            
            &.suggested {
                color: #f56c6c;
            }
        }
    }
    
    // 溯源与位置区域样式
    .traceability-location {
        background-color: #ffffff;
        margin: 20rpx;
        padding: 30rpx;
        border-radius: 16rpx;
        box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
        
        .section-title {
            font-size: 32rpx;
            font-weight: 600;
            color: #303133;
            margin-bottom: 24rpx;
            padding-bottom: 16rpx;
            border-bottom: 1rpx solid #e8e8e8;
        }
        
        .info-row {
            display: flex;
            padding: 16rpx 0;
            
            .info-label {
                flex: 1;
                color: #909399;
                font-size: 28rpx;
                line-height: 40rpx;
            }
            
            .info-value {
                flex: 2;
                color: #303133;
                font-size: 28rpx;
                line-height: 40rpx;
                text-align: right;
                ::v-deep .u-input {
                    border: 1rpx solid #dcdfe6;
                    border-radius: 8rpx;
                    padding: 10rpx 16rpx;
                    font-size: 28rpx;
                    color: #303133;
                    
                    &:focus {
                        border-color: #409eff;
                        box-shadow: 0 0 0 2rpx rgba(64, 158, 255, 0.2);
                    }
                }
                
                textarea {
                    width: 100%;
                    border: 1rpx solid #dcdfe6;
                    border-radius: 8rpx;
                    padding: 10rpx 16rpx;
                    font-size: 28rpx;
                    color: #303133;
                    line-height: 40rpx;
                    resize: none;
                    
                    &:focus {
                        border-color: #409eff;
                        box-shadow: 0 0 0 2rpx rgba(64, 158, 255, 0.2);
                    }
                }
            }
        }
        
        .action-button {
            margin-top: 24rpx;
            text-align: center;
            
            ::v-deep .u-button {
                font-weight: 600;
                border: none;
                background-color: #eff6ff;
                border-radius: 15rpx;
                font-size: 24rpx;
                padding: 34rpx 0;
            }
        }
    }
}