/**
 * 强制电脑端显示样式
 * 此文件用于强制所有设备以电脑端布局显示网站
 */

/* 强制设置视口宽度为电脑端尺寸 */
html {
    min-width: 1400px !important;
    overflow-x: auto !important;
}

body {
    min-width: 1400px !important;
    overflow-x: auto !important;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
}

/* 隐藏所有移动端菜单按钮 */
.menu-toggle,
.mobile-menu,
#mobile-menu,
.mobile-nav,
.mobile-nav-button,
.hamburger-menu,
.mobile-only,
.show-mobile {
    display: none !important;
}

/* 强制显示电脑端导航 */
.nav-core,
.nav-menu,
.desktop-nav,
.desktop-only,
.show-desktop {
    display: flex !important;
}

/* 禁用所有响应式布局 */
@media screen and (max-width: 768px),
@media screen and (max-width: 1024px),
@media screen and (max-width: 1200px),
@media screen and (max-width: 1400px),
@media screen and (max-device-width: 768px),
@media screen and (max-device-width: 1024px),
@media screen and (max-device-width: 1200px),
@media screen and (max-device-width: 1400px) {
    /* 在这些媒体查询中强制保持电脑端样式 */
    html, body {
        min-width: 1400px !important;
        width: 1400px !important;
    }
    
    .nav-container,
    .container,
    .wrapper,
    .main-content,
    .content-area {
        max-width: 1400px !important;
        width: 1400px !important;
        min-width: 1400px !important;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .nav-item {
        display: block !important;
    }
}

/* 强制所有容器保持电脑端宽度 */
.container,
.wrapper,
.main-content,
.content-area,
.page-container {
    max-width: 1400px !important;
    min-width: 1400px !important;
    width: 1400px !important;
    margin: 0 auto !important;
}

/* 禁用移动端触摸优化 */
* {
    -webkit-tap-highlight-color: transparent !important;
    touch-action: auto !important;
}

/* 强制表单元素保持电脑端样式 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-size: 14px !important;
    height: auto !important;
    min-height: 35px !important;
}

/* 强制表格保持电脑端显示 */
table {
    display: table !important;
    width: 100% !important;
}

tr {
    display: table-row !important;
}

td,
th {
    display: table-cell !important;
}

/* 禁用移动端列布局 */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left !important;
    display: block !important;
}

/* 强制网格布局保持电脑端 */
.grid-container,
.row {
    display: flex !important;
    flex-wrap: nowrap !important;
}

/* 隐藏移动端特定元素 */
[data-device="mobile"],
[data-view="mobile"],
.mobile-header,
.mobile-footer,
.mobile-sidebar {
    display: none !important;
}

/* 确保电脑端元素显示 */
[data-device="desktop"],
[data-view="desktop"],
.desktop-header,
.desktop-footer,
.desktop-sidebar {
    display: block !important;
}
