/* ==========================================
   detailFrame topFrame 响应式修复 - 针对手机端显示异常问题
   ========================================== */

/* 平板设备 */
@media (max-width: 991.98px) {
    #detailFrame .topFrame {
        margin: 10px;
        border-radius: 6px;
    }
    
    #detailFrame .topFrame .contentFrame {
        flex-direction: column;
        padding: 15px;
    }
    
    #detailFrame .topFrame .contentFrame #swiperFrame {
        width: 100%;
        margin-bottom: 20px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame {
        flex-basis: auto;
        width: 100%;
        min-width: auto;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul {
        padding-top: 0;
        padding: 10px 0;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li p {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li label {
        font-size: 18px;
        flex-basis: 40%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li span {
        font-size: 18px;
        flex-basis: 60%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li a {
        flex-basis: auto;
        min-width: auto;
        width: 100%;
        font-size: 18px;
        padding: 10px 0;
        margin-top: 10px;
    }
}

/* 手机设备 */
@media (max-width: 767.98px) {
    #detailFrame .topFrame {
        margin: 5px;
        border-radius: 4px;
    }
    
    #detailFrame .topFrame .contentFrame {
        padding: 10px;
    }
    
    #detailFrame .topFrame .contentFrame #swiperFrame {
        margin-bottom: 15px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul {
        padding: 5px 0;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li {
        padding: 8px 5px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li p {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li label {
        font-size: 16px;
        flex-basis: 35%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li span {
        font-size: 16px;
        flex-basis: 65%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li a {
        font-size: 16px;
        padding: 8px 0;
        margin-top: 8px;
    }
}

/* 小屏手机 */
@media (max-width: 575.98px) {
    #detailFrame .topFrame {
        margin: 3px;
        border-radius: 3px;
    }
    
    #detailFrame .topFrame .contentFrame {
        padding: 8px;
    }
    
    #detailFrame .topFrame .contentFrame #swiperFrame {
        margin-bottom: 10px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul {
        padding: 3px 0;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li {
        padding: 5px 3px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li p {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 5px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li label {
        font-size: 14px;
        flex-basis: 30%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li span {
        font-size: 14px;
        flex-basis: 70%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li a {
        font-size: 14px;
        padding: 6px 0;
        margin-top: 6px;
    }
    
    #detailFrame .topFrame .footFrame {
        flex-basis: auto;
        padding: 5px 10px;
    }
    
    #detailFrame .topFrame .footFrame span {
        font-size: 11px;
    }
}

/* 超小屏手机 */
@media (max-width: 399.98px) {
    #detailFrame .topFrame {
        margin: 2px;
        border-radius: 2px;
    }
    
    #detailFrame .topFrame .contentFrame {
        padding: 5px;
    }
    
    #detailFrame .topFrame .contentFrame #swiperFrame {
        margin-bottom: 8px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul {
        padding: 2px 0;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li {
        padding: 3px 2px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li p {
        font-size: 18px;
        line-height: 1.1;
        margin-bottom: 3px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li label {
        font-size: 12px;
        flex-basis: 25%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li span {
        font-size: 12px;
        flex-basis: 75%;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li a {
        font-size: 12px;
        padding: 5px 0;
        margin-top: 5px;
    }
    
    #detailFrame .topFrame .footFrame {
        padding: 3px 5px;
    }
    
    #detailFrame .topFrame .footFrame span {
        font-size: 10px;
    }
}

/* 横向模式优化 */
@media (max-width: 767.98px) and (orientation: landscape) {
    #detailFrame .topFrame .contentFrame {
        flex-direction: row;
        padding: 8px;
    }
    
    #detailFrame .topFrame .contentFrame #swiperFrame {
        flex-basis: 50%;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame {
        flex-basis: 50%;
        min-width: auto;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul {
        padding: 5px 0;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li p {
        font-size: 16px;
        line-height: 1.1;
        margin-bottom: 3px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li label {
        font-size: 12px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li span {
        font-size: 12px;
    }
    
    #detailFrame .topFrame .contentFrame .infoFrame ul li a {
        font-size: 12px;
        padding: 4px 0;
        margin-top: 4px;
    }
}