/* 新增容器样式 */
.new-container {
    width: 1065px;
    height: 262.28px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 8px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .new-container {
        width: 95%;
        height: 80px;
        margin-bottom: 15px;
    }
}

/* 新增缩略图容器样式 */
.new-container .thumb-wrapper {
    margin: 15px 0 15px 15px;
    float: left;
}

/* 缩略图尺寸控制 */
.new-container .new-thumbnail {
    width: 230px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1); /* 匹配现有阴影样式 */
}

/* 响应式适配 */
@media (max-width: 768px) {
    .new-container .new-thumbnail {
        width: 120px;
    }
    .new-container .thumb-wrapper {
        margin-left: 10px;
    }
}
.thumb-title {
    margin-top: 15px;
    margin-left: 15px;
    /* 新增字体样式 */
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.thumb-title .detail {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}
.thumb-title .detail span {
    display: inline-block;
    margin-right: 5px;
}

/* 分割线样式 */
.divider-line {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
    width: 98.5%; /* 新增宽度设置 */
    margin-left: 0; /* 移除左边距 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .divider-line {
        margin: 10px 0;
    }
}

/* 属性容器横向布局 */
.attr-container {
    display: flex;
    width: 98.5%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f9fa;
    margin-top: -10px; /* 新增20px上边距 */
}

.attr-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.attr-item {
    display: flex;
    align-items: center;
    min-width: 200px;
    margin-right: 30px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .attr-row {
        flex-direction: column;
        gap: 10px;
    }
    .attr-item {
        margin-right: 0;
        min-width: auto;
        width: 100%;         /* 移动端满宽 */
    }
}



.attr-label {
    font-weight: bold;
    color: #666;
    white-space: nowrap; /* 防止标签换行 */
}

.attr-value {
    color: #333;
    margin-left: 8px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .attr-row {
        flex-direction: column;
        gap: 10px;
    }
    .attr-item {
        margin-right: 0;
        min-width: auto;
    }
}
/* 按钮容器样式 */
.new-container .btn-container {
    margin-top: 25px;
    display: flex;
    width: 98.5%;
    gap: 15px;
    justify-content: flex-start; /* 左对齐 */
}

/* 基础按钮样式重置 */
.new-container .btn-container .btn {
    flex: 0 0 auto; /* 完全禁用伸缩 */
    padding: 12px 25px;
    box-sizing: border-box; /* 精确尺寸控制 */
    text-align: center;
    line-height: 1.2;
}

/* 独立按钮尺寸 */
.new-container .btn-collect {
    width: 160px; /* 固定宽度 */
    background-color: #f59e0b;
    border-radius: 8px;
}
.new-container .btn-cart {
    width: 100px; /* 固定宽度 */
    background-color: #ff5f33;
    border-radius: 8px;
}
.new-container .btn-share {
    width: 280px; /* 固定宽度 */
    background-color: #fff3e9;
    border-radius: 8px;
    color: #333 !important; /* 新增字体颜色 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .new-container .btn-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .new-container .btn-container .btn {
        width: 100% !important;
        flex: 1 1 100%;
        padding: 12px 15px;
    }
}

/* 新增推广标签样式 */
.thumb-title h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 调整后的推广标签样式 */
.promo-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    background-color: #ff4200;
    color: white!important;
    margin-left: auto;
    position: relative;
    left: -15px; /* 新增向左偏移 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .thumb-title h2 {
        flex-wrap: wrap;
    }
    .promo-tag {
        margin-top: 5px;
        order: 1; /* 移动端换行显示 */
        width: 100%;
        text-align: center;
    }
}


