/* ============================================
   全站移动端自适应样式 v2.0
   覆盖所有前台页面（除后台外）
   断点：991px（平板）、767px（手机）、480px（小屏）
   ============================================ */

/* ==================== 通用基础 ==================== */
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================== 移动端汉堡菜单 ==================== */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: #0f172a;
  padding: 5px 10px;
  z-index: 1001;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.3s ease;
  padding: 60px 0 20px;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-drawer .mobile-nav-item {
  display: block;
  padding: 12px 20px;
  color: #64748b;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.mobile-nav-drawer .mobile-nav-item:hover,
.mobile-nav-drawer .mobile-nav-item.active {
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.08);
}

.mobile-nav-drawer .mobile-nav-section-title {
  padding: 15px 20px 8px;
  color: #64748B;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== 平板适配 (<= 991px) ==================== */
@media screen and (max-width: 991px) {
  /* 显示汉堡菜单按钮 */
  .mobile-menu-toggle {
    display: block !important;
  }

  /* 导航栏调整 */
  .nav-header {
    padding: 0 15px;
    height: 55px;
  }

  .nav-header .nav-left .nav-icon img {
    width: 120px;
    height: auto;
  }

  .nav-right .control {
    font-size: 13px;
    margin: 0 8px;
  }

  .nav-right .no-login {
    display: none !important;
  }

  /* 隐藏桌面端下拉菜单 */
  .nav-cont {
    display: none !important;
  }

  /* 导航下拉内容在移动端通过抽屉显示 */
  .section-content {
    padding: 40px 15px;
  }

  /* 首页 banner */
  .banner-cont .swiper-slide {
    height: 300px;
  }

  .banner-cont .swiper-slide img {
    object-fit: cover;
  }

  .section-content .section-content-inner {
    width: 100%;
  }

  /* 首页服务区块 */
  .service-content .fboxRow {
    flex-direction: column;
    gap: 15px;
  }

  .service-content .fboxRow .flex1 {
    width: 100%;
  }

  .service-box {
    padding: 20px;
  }

  .service-title {
    font-size: 18px;
  }

  .title-desc {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  /* 首页解决方案区块 */
  .resolve-content .fboxRow {
    flex-wrap: wrap;
    gap: 15px;
  }

  .resolve-content .resolve-box {
    width: calc(50% - 8px);
  }

  /* 首页统计数字 */
  .section-bg .fboxRow {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .section-bg .fboxRow .flex1 {
    width: calc(50% - 10px);
    text-align: center;
  }

  /* 产品页面 */
  .gallery-top {
    height: auto !important;
  }

  .product-item-top {
    flex-direction: column;
  }

  .product-item-top .product-item-left {
    width: 100%;
    padding-right: 0;
    margin-bottom: 15px;
  }

  .product-item-top .product-item-right {
    width: 100%;
  }

  .gallery-thumbs {
    height: auto !important;
  }

  .gallery-thumbs .swiper-slide {
    width: auto !important;
    padding: 8px 16px;
  }

  /* 托管/租用页面产品卡片 */
  .server-banner-list,
  .rent-banner-list {
    flex-direction: column;
    gap: 15px;
  }

  .server-banner-list .server-banner-item,
  .rent-banner-list .rent-banner-item {
    width: 100%;
  }

  /* 解决方案页面 */
  .trend-content .fboxRow,
  .solution-advantage .fboxRow {
    flex-wrap: wrap;
    gap: 15px;
  }

  .trend-content .fboxRow > div,
  .trend-content .fboxRow > .flex1 {
    width: calc(50% - 8px);
  }

  .solution-scene .scene-content {
    flex-direction: column;
  }

  .solution-scene .scene-left {
    width: 100%;
    margin-bottom: 15px;
  }

  .solution-scene .scene-right {
    width: 100%;
  }

  .solution-advantage .advantage-box {
    width: calc(50% - 8px);
  }

  /* 关于我们页面 */
  .about-stats .fboxRow {
    flex-wrap: wrap;
    gap: 20px;
  }

  .about-stats .fboxRow .flex1 {
    width: calc(50% - 10px);
  }

  .about-milestone .milestone-list {
    flex-direction: column;
    gap: 15px;
  }

  /* 联系表单 */
  .contact-form .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form .form-item {
    width: 100%;
  }

  /* 侧边浮动工具 */
  .aside-tools {
    display: none;
  }

  /* 页脚 */
  .footer-content .footer-nav {
    flex-direction: column;
  }

  .footer-content .footer-nav .footer-nav-left {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-content .footer-nav .footer-nav-right {
    width: 100%;
  }
}

/* ==================== 手机适配 (<= 767px) ==================== */
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  /* 导航栏 */
  .nav-header {
    height: 50px;
    padding: 0 10px;
  }

  .nav-header .nav-left .nav-icon img {
    width: 100px;
  }

  .nav-right .control {
    font-size: 12px;
    margin: 0 5px;
  }

  /* 通用section */
  .section-content {
    padding: 30px 10px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .section-title .section-desc {
    font-size: 13px;
  }

  /* 首页 banner */
  .banner-cont .swiper-slide {
    height: 220px;
  }

  .section-content h1 {
    font-size: 20px;
  }

  .banner-desc {
    font-size: 13px;
  }

  .section-content .btn-normal {
    padding: 8px 20px;
    font-size: 13px;
  }

  /* 首页 banner 下方项目 */
  .banner-s .banner-list .banner-item {
    padding: 15px 20px;
  }

  .banner-s .banner-list .banner-item h5 {
    font-size: 15px;
  }

  /* 首页服务区块 - 单列 */
  .service-content .fboxRow {
    flex-direction: column;
  }

  .service-content .fboxRow .flex1 {
    width: 100%;
  }

  .service-box {
    padding: 15px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-tag-group {
    gap: 6px;
  }

  .service-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .service-price .font24 {
    font-size: 18px;
  }

  .service-btn-group {
    flex-direction: column;
    gap: 10px;
  }

  .service-btn-group .fboxWrap {
    width: 100%;
    justify-content: space-between;
  }

  .service-btn-group .btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  /* 解决方案区块 - 两列 */
  .resolve-content .fboxRow {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .resolve-content .resolve-box {
    width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    margin: 0 !important;
    padding: 16px !important;
  }

  .resolve-content .resolve-box h4 {
    font-size: 14px !important;
  }

  .resolve-content .resolve-box .title-desc {
    font-size: 12px !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .resolve-content .resolve-box .resolve-link {
    font-size: 12px !important;
  }

  .resolve-content .resolve-box .resolve-icon svg {
    width: 32px !important;
    height: 32px !important;
  }

  /* 统计数字 */
  .section-bg .fboxRow .flex1 {
    width: 100%;
  }

  .section-bg .fboxRow .flex1 h2 {
    font-size: 28px;
  }

  /* 产品页面 */
  .product-item-top {
    padding: 15px;
  }

  .product-item-bottom {
    padding: 15px;
  }

  .config-lable,
  .config-value {
    font-size: 12px;
  }

  .product-price .font24 {
    font-size: 20px;
  }

  /* 托管/租用页面 */
  .server-banner-item,
  .rent-banner-item {
    padding: 15px;
  }

  /* 解决方案页面 */
  .trend-content .fboxRow > div,
  .trend-content .fboxRow > .flex1 {
    width: 100%;
  }

  .solution-advantage .advantage-box {
    width: 100%;
  }

  .solution-scene .scene-content {
    padding: 15px;
  }

  /* 关于我们页面 */
  .about-stats .fboxRow .flex1 {
    width: 100%;
  }

  .about-content .about-desc {
    font-size: 13px;
  }

  /* 联系表单 */
  .contact-form {
    padding: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }

  /* 公告/新闻列表 */
  .announce-list .announce-item,
  .news-list .news-item {
    padding: 12px 15px;
  }

  /* 文档页面 */
  .document-list .document-item {
    padding: 12px 15px;
  }

  /* 合作伙伴页面 */
  .partner-content .partner-box {
    width: 100%;
  }

  /* 侧边工具 - 隐藏 */
  .aside-tools {
    display: none !important;
  }

  /* 移动端底部导航 - 显示 */
  .mobile-bottom-nav {
    display: flex !important;
  }

  /* 页脚 */
  .footer-content .footer-nav .footer-nav-left {
    flex-direction: column;
    gap: 15px;
  }

  .footer-nav-box .footer-nav-head {
    font-size: 14px;
    padding: 8px 0;
  }

  .footer-nav-box .footer-nav-cont {
    padding-top: 5px;
  }

  .footer-nav-box .footer-nav-item {
    font-size: 12px;
    padding: 3px 0;
  }

  .footer .footer-record {
    flex-direction: column;
    text-align: center;
    padding: 10px 5px;
    font-size: 12px;
    line-height: 1.6;
  }

  .footer .footer-record span {
    margin: 2px 0;
  }

  /* 承诺区块 */
  .promise {
    flex-direction: column;
    gap: 10px;
  }

  .promise-box {
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
  }

  .promise-box img {
    width: 24px;
    height: 24px;
  }

  .promise-box .ml-20 {
    margin-left: 10px;
  }

  /* 注册广告 */
  .register-advert img {
    width: 100%;
  }

  /* 视频区域 */
  .flask-video-section .flask-video-wrap {
    height: 200px;
  }

  .flask-video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Swiper 分页器 */
  .swiper-pagination {
    bottom: 5px !important;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
}

/* ==================== 小屏手机适配 (<= 480px) ==================== */
@media screen and (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .nav-header {
    height: 45px;
    padding: 0 8px;
  }

  .nav-header .nav-left .nav-icon img {
    width: 90px;
  }

  .nav-right .control {
    font-size: 11px;
    margin: 0 4px;
  }

  .section-content {
    padding: 25px 8px;
  }

  .section-title h2 {
    font-size: 18px;
  }

  .section-title .section-desc {
    font-size: 12px;
  }

  .banner-cont .swiper-slide {
    height: 180px;
  }

  .section-content h1 {
    font-size: 18px;
  }

  .banner-desc {
    font-size: 12px;
  }

  .service-box {
    padding: 12px;
  }

  .service-title {
    font-size: 15px;
  }

  .service-tag {
    font-size: 10px;
    padding: 2px 6px;
  }

  .service-price .font24 {
    font-size: 16px;
  }

  .service-btn-group .btn {
    font-size: 11px;
    padding: 6px 8px;
  }

  /* 产品页面 */
  .product-item-top {
    padding: 10px;
  }

  .product-item-bottom {
    padding: 10px;
  }

  .config-lable,
  .config-value {
    font-size: 11px;
  }

  .product-price .font24 {
    font-size: 18px;
  }

  /* 移动端底部导航 */
  .mobile-bottom-nav {
    padding: 5px 0;
  }

  .mobile-bottom-nav__item {
    font-size: 10px;
  }

  .mobile-bottom-nav__glyph {
    width: 20px;
    height: 20px;
  }

  /* 页脚 */
  .footer .footer-record {
    font-size: 11px;
  }
}

/* ==================== 移动端底部导航栏样式 ==================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 998;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #94A3B8;
  text-decoration: none;
  font-size: 11px;
  flex: 1;
  padding: 4px 0;
}

.mobile-bottom-nav__item:active,
.mobile-bottom-nav__item.active {
  color: #3B82F6;
}

.mobile-bottom-nav__glyph {
  width: 22px;
  height: 22px;
}

.mobile-bottom-nav__item--primary {
  color: #3B82F6;
}

/* 当底部导航显示时，给body加padding-bottom */
@media screen and (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }
}




/* ============================================
   COMPREHENSIVE MOBILE FIXES v3.0 (20260626q)
   Covers ALL pages with fixed-width overrides
   ============================================ */

/* ===== Tablet (<= 991px) ===== */
@media screen and (max-width: 991px) {

  /* --- HOMEPAGE --- */
  .resolve-content .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .resolve-content .resolve-box {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    margin: 0 !important;
    padding: 20px !important;
  }
  .resolve .section-title h2 {
    font-size: 26px !important;
    white-space: normal !important;
  }
  .banner-s .banner-list {
    flex-wrap: wrap !important;
  }
  .banner-s .banner-item {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    padding: 20px !important;
  }
  /* Homepage practice/brand */
  .practice .practice-content {
    flex-wrap: wrap !important;
  }
  .practice .practice-box {
    width: calc(50% - 20px) !important;
    padding: 20px !important;
  }
  .practice .brand-box {
    width: calc(33.33% - 20px) !important;
    height: 100px !important;
  }
  /* Homepage cert-list */
  .cert-list .cert-item {
    width: calc(25% - 10px) !important;
  }
  /* Homepage news */
  .news-content {
    gap: 30px !important;
    flex-wrap: wrap !important;
  }
  .news-content .news-cont {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  /* Homepage section-base image */
  .section-base .base img {
    width: 100% !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    height: auto !important;
  }

  /* --- PRODUCT PAGES (cloud, dedicated, trusteeship, rent, domain, ssl, icp, sms, trademark) --- */
  .product-hot .hot-item {
    width: calc(50% - 20px) !important;
    padding: 20px !important;
  }
  .product-cloud .cloud-box {
    min-width: 100% !important;
    flex-direction: column !important;
    padding: 20px !important;
  }
  .product-cloud .cloud-box img {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
    width: 80px !important;
    height: 80px !important;
  }
  .product-performance .performance {
    flex-direction: column !important;
  }
  .product-performance .performance-left img {
    min-width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
  .product-performance .performance-left3 img {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Product efficient tabs */
  .efficient .nav-tabs {
    flex-direction: row !important;
    overflow-x: auto !important;
  }
  .efficient .nav-tabs a {
    width: auto !important;
    min-width: 120px !important;
    padding: 10px 15px !important;
  }
  .tabs-efficient .tab-box {
    flex-direction: column !important;
  }
  .tabs-efficient .tabs-img {
    width: 100% !important;
    height: auto !important;
  }
  /* Product price items */
  .price .price-item {
    width: calc(50% - 20px) !important;
  }
  /* Product standards - 2 columns */
  .standards-box {
    width: calc(50% - 20px) !important;
  }
  /* Product help-box */
  .help-box {
    width: calc(50% - 20px) !important;
    padding: 25px 20px !important;
  }
  /* Product price more */
  .product-price .price .more a {
    width: 100% !important;
    height: 80px !important;
    line-height: 80px !important;
  }

  /* --- SOLUTION PAGES --- */
  .solution-scene .scene-box {
    flex-direction: column !important;
    padding: 30px 20px !important;
    gap: 30px !important;
  }
  .solution-scene .scene-box img {
    width: 100% !important;
    height: auto !important;
    max-width: 480px !important;
  }
  .solution-advantage .advantage {
    height: auto !important;
    padding: 30px 15px !important;
    background-image: none !important;
  }
  .solution-advantage .advantage-list {
    position: relative !important;
    height: auto !important;
  }
  .solution-advantage .advantage-box {
    position: relative !important;
    width: calc(50% - 10px) !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    margin: 10px !important;
    display: inline-block;
    vertical-align: top;
    height: auto !important;
  }
  .solution-advantage .line {
    display: none !important;
  }
  /* Solution trend */
  .trend .trend-content .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .trend-box {
    flex: 1 1 calc(50% - 8px) !important;
    padding: 25px !important;
    height: auto !important;
  }
  .trend-box img {
    height: 100px !important;
  }
  /* Solution future form */
  .solution-future .form-group {
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* --- PARTNER PAGES --- */
  .advantage-content .fboxRow,
  .reward-content .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .advantage-content .advantage-item,
  .reward-content .reward-item {
    width: calc(50% - 8px) !important;
  }
  /* Partner step/process */
  .process-content .fboxRow,
  .step-content .fboxRow,
  .join-flow .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .process-content .process-item,
  .step-content .step-item,
  .join-flow .step-box,
  .join-flow .flow-item {
    width: calc(50% - 8px) !important;
  }
  /* Partner support boxes */
  .agent-support .support-list .support-item {
    width: calc(50% - 10px) !important;
  }
  /* Partner advantage boxes in agent-dark.css */
  .advantage-left .advantage-content .fboxRow > div,
  .advantage-left .advantage-content .fboxRow > .flex1 {
    width: calc(50% - 8px) !important;
  }

  /* --- ABOUT US PAGE --- */
  .about-details {
    flex-direction: column !important;
  }
  .about-details .about-details-left,
  .about-details .about-details-right {
    width: 100% !important;
    max-width: 100% !important;
  }
  .about-details .about-details-right {
    margin-top: 20px !important;
  }
  .about-reason .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .about-reason .reason-box,
  .about-reason .reason-item-1,
  .about-reason .reason-item-2,
  .about-reason .reason-item-3,
  .about-reason .reason-item-4,
  .about-reason .reason-item-5 {
    width: calc(50% - 8px) !important;
  }
  .about-together .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .about-together .reason-box {
    width: calc(50% - 8px) !important;
    padding: 25px !important;
  }
  .about-box .box-list {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .about-box .box-list .box-item {
    width: calc(50% - 8px) !important;
    padding: 20px !important;
  }
  .about-box .box-list .box-item img {
    width: 100% !important;
    height: auto !important;
    max-width: 200px !important;
  }
  .about-example .box-list .box-item {
    width: calc(50% - 8px) !important;
    height: auto !important;
  }
  .about-milestone .milestone-list {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .about-custom .custom-box {
    flex-wrap: wrap !important;
  }
  .about-stats .fboxRow .flex1 {
    width: calc(50% - 10px) !important;
  }

  /* --- SERVICE GUARANTEE PAGE --- */
  .server-sustain .sustain .sustain-box {
    flex: 1 1 calc(50% - 10px) !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
    padding: 20px !important;
  }
  .server-sustain .sustain {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .contact-support .support-box {
    min-width: 100% !important;
    flex-direction: column !important;
    padding: 20px !important;
  }
  .contact-support .support-box img {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }
  /* Filing/refund steps */
  .free-filing .filing-step,
  .refund .refund-step,
  .server-filing .filing-list .filing-item,
  .server-refund .refund-list .refund-item {
    width: calc(33.33% - 10px) !important;
  }

  /* --- DOCUMENT PAGE --- */
  .document-nav .docement-list {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .document-box {
    width: 100% !important;
  }
  .document-list .document-item {
    padding: 12px 15px !important;
  }

  /* --- CONTACT PAGE --- */
  .contact-content .fboxRow {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .contact-content .contact-item {
    width: 100% !important;
  }

  /* --- FEEDBACK PAGE --- */
  .feedback-form .form-horizontal .form-radio {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .feedback-form .form-horizontal .radio label {
    width: calc(50% - 5px) !important;
    height: 60px !important;
  }

  /* --- RECRUIT PAGE --- */
  .recuit .recuit-btn-group {
    overflow-x: auto !important;
    gap: 10px !important;
  }
  .recuit .recuit-list .recuit-item {
    padding: 15px !important;
  }

  /* --- ACTIVITIES PAGE --- */
  .active-list {
    flex-wrap: wrap !important;
  }
  .active-item {
    width: calc(50% - 10px) !important;
    margin-bottom: 15px !important;
  }
  .seckill-goods {
    flex-wrap: wrap !important;
  }
  .seckill-item {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px !important;
  }
  .cloud-goods .cloud-item {
    flex-direction: column !important;
    height: auto !important;
  }
  .cloud-item .cloud-left,
  .cloud-item .cloud-mid,
  .cloud-item .cloud-right {
    width: 100% !important;
    padding: 15px 0 !important;
  }
  .cloud-mid .cloud-config-item {
    width: 33% !important;
  }
  .cloud-tab .tab-left .tab-item {
    width: auto !important;
    min-width: 100px !important;
    padding: 0 15px !important;
  }
  .more-acticve .more-box {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .more-acticve .more-item {
    width: 100% !important;
    height: auto !important;
  }

  /* --- NEWS/ANNOUNCE LIST & DETAIL --- */
  .news-content {
    gap: 30px !important;
  }
  .news-list .news-item,
  .announce-list .announce-item {
    padding: 12px 15px !important;
  }
  .news-details .news-content,
  .announce-details .announce-content {
    padding: 20px !important;
  }

  /* --- DOMAIN PAGES --- */
  .domain-search .input-search {
    flex-wrap: wrap !important;
  }
  .domain-search .input-search input {
    width: 100% !important;
    margin-top: 10px !important;
  }
  .domain-search .input-search .search-btn {
    width: 100% !important;
    margin-top: 10px !important;
  }
  .domain-buy .domain-table {
    overflow-x: auto !important;
  }

  /* --- GENERAL: Fixed-width overrides --- */
  .product-item-top {
    flex-direction: column !important;
  }
  .product-item-top .product-item-left,
  .product-item-top .product-item-right {
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 15px !important;
  }
  .product-item-bottom {
    padding: 15px !important;
  }
  .server-banner-list,
  .rent-banner-list {
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  .server-banner-list .server-banner-item,
  .rent-banner-list .rent-banner-item {
    width: calc(50% - 8px) !important;
  }

  /* --- SOLUTION LIST PAGE --- */
  .solution-list .solution-item {
    width: calc(50% - 10px) !important;
  }
}

/* ===== Mobile (<= 767px) ===== */
@media screen and (max-width: 767px) {

  /* --- HOMEPAGE (2 columns on mobile) --- */
  .resolve-content .fboxRow {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .resolve-content .resolve-box {
    width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    margin: 0 !important;
    padding: 16px !important;
  }
  .resolve-content .resolve-box h4 {
    font-size: 13px !important;
  }
  .resolve-content .resolve-box .title-desc {
    font-size: 11px !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .resolve-content .resolve-box .resolve-link {
    font-size: 11px !important;
  }
  .resolve-content .resolve-box .resolve-icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  .resolve .section-title h2 {
    font-size: 22px !important;
    white-space: normal !important;
  }
  .banner-s .banner-list {
    flex-direction: column !important;
  }
  .banner-s .banner-item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  .practice .practice-box {
    width: 100% !important;
  }
  .practice .brand-box {
    width: calc(50% - 20px) !important;
  }
  .cert-list .cert-item {
    width: calc(50% - 10px) !important;
  }
  .news-content {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .news-content .news-cont {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  /* --- PRODUCT PAGES --- */
  .product-hot .hot-item {
    width: 100% !important;
  }
  .product-cloud .cloud-box {
    min-width: 100% !important;
  }
  .price .price-item {
    width: 100% !important;
  }
  .standards-box {
    width: 100% !important;
  }
  .help-box {
    width: 100% !important;
  }
  .product-price .price .more a {
    width: 100% !important;
    height: 60px !important;
    line-height: 60px !important;
  }
  /* Product efficient tabs - auto-wrap center */
  .efficient .nav-tabs {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow-x: visible !important;
    gap: 4px !important;
  }
  .efficient .nav-tabs li {
    margin: 2px !important;
  }
  .efficient .nav-tabs a {
    width: auto !important;
    min-width: 80px !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    text-align: center !important;
  }
  .efficient .nav-tabs li.active a {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: #3B82F6 !important;
    color: #60A5FA !important;
  }

  /* --- SOLUTION PAGES --- */
  .solution-advantage .advantage-box {
    width: 100% !important;
  }
  .trend-box {
    flex: 1 1 100% !important;
  }
  .solution-scene .scene-box img {
    max-width: 100% !important;
  }

  /* --- PARTNER PAGES --- */
  .advantage-content .advantage-item,
  .reward-content .reward-item {
    width: 100% !important;
  }
  .process-content .process-item,
  .step-content .step-item,
  .join-flow .step-box,
  .join-flow .flow-item {
    width: 100% !important;
  }
  .agent-support .support-list .support-item {
    width: 100% !important;
  }

  /* --- ABOUT US --- */
  .about-reason .reason-box,
  .about-reason .reason-item-1,
  .about-reason .reason-item-2,
  .about-reason .reason-item-3,
  .about-reason .reason-item-4,
  .about-reason .reason-item-5 {
    width: 100% !important;
  }
  .about-together .reason-box {
    width: 100% !important;
  }
  .about-box .box-list .box-item {
    width: 100% !important;
  }
  .about-example .box-list .box-item {
    width: 100% !important;
  }
  .about-stats .fboxRow .flex1 {
    width: 100% !important;
  }

  /* --- SERVICE GUARANTEE --- */
  .server-sustain .sustain .sustain-box {
    flex: 1 1 100% !important;
  }
  .free-filing .filing-step,
  .refund .refund-step,
  .server-filing .filing-list .filing-item,
  .server-refund .refund-list .refund-item {
    width: 100% !important;
  }

  /* --- ACTIVITIES --- */
  .active-item {
    width: 100% !important;
  }
  .cloud-mid .cloud-config-item {
    width: 50% !important;
  }
  .more-acticve .more-item {
    width: 100% !important;
  }

  /* --- SERVER BANNER2 --- */
  .server-banner2 .section-content {
    padding: 40px 15px !important;
  }
  .server-banner2 h1 {
    font-size: 22px !important;
  }
  .server-banner2 .server-banner-desc,
  .server-banner2 .server-banner-desc2 {
    font-size: 13px !important;
  }

  /* --- DOMAIN PAGES --- */
  .domain-search .input-search input,
  .domain-search .input-search .search-btn,
  .domain-search .input-search .input-search-select {
    width: 100% !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }

  /* --- SERVER/RENT BANNER LIST (full width on mobile for readability) --- */
  .server-banner-list,
  .rent-banner-list {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .server-banner-list .server-banner-item,
  .rent-banner-list .rent-banner-item {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
  }

  .server-banner-list .server-banner-item h4,
  .rent-banner-list .rent-banner-item h4 {
    font-size: 15px !important;
  }

  .server-banner-list .server-banner-item .item-desc,
  .rent-banner-list .rent-banner-item .item-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  /* --- SOLUTION LIST --- */
  .solution-list .solution-item {
    width: 100% !important;
  }

  /* --- FORMS (feedback, contact, solution-future) --- */
  .feedback-form .form-horizontal .radio label {
    width: 100% !important;
    height: 50px !important;
  }
  .form-group {
    width: 100% !important;
    margin-right: 0 !important;
  }
  .solution-future .solution-contact .form-group input,
  .solution-future .solution-contact .form-group textarea {
    width: 100% !important;
  }

  /* --- TABLES --- */
  .table {
    font-size: 12px;
  }
  .table th,
  .table td {
    padding: 8px 5px;
  }

  /* --- HONOR/CERT GRID --- */
  .honor-content .honor-item,
  .cert-content .cert-item {
    width: calc(50% - 5px) !important;
  }

  /* --- STEP/PROCESS BOXES --- */
  .process-content .fboxRow,
  .step-content .fboxRow {
    flex-direction: column !important;
    gap: 15px !important;
  }
}

/* ===== Small phones (<= 480px) ===== */
@media screen and (max-width: 480px) {
  .resolve .section-title h2 {
    font-size: 18px !important;
  }
  .resolve .section-title .section-desc {
    font-size: 12px !important;
  }
  .banner-s .banner-item h5 {
    font-size: 14px !important;
  }
  .banner-s .banner-item .title-desc {
    font-size: 11px !important;
  }
  .cloud-mid .cloud-config-item {
    width: 100% !important;
  }
  .honor-content .honor-item,
  .cert-content .cert-item {
    width: 100% !important;
  }
  .practice .brand-box {
    width: 100% !important;
  }
  .cert-list .cert-item {
    width: 100% !important;
  }
  .news-content .news-item .time {
    min-width: 70px !important;
    font-size: 11px !important;
  }
  .news-content .news-item .number {
    width: 10px !important;
    height: 10px !important;
    font-size: 10px !important;
  }
  .active-type-title {
    font-size: 22px !important;
  }
  .seckill-name {
    font-size: 18px !important;
  }
  .cloud-name {
    font-size: 18px !important;
  }
  .config-lable {
    font-size: 14px !important;
  }
}

/* ===== TABLE MOBILE SCROLL (20260630a) ===== */
.table-responsive-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.table-responsive-wrap table {
  min-width: 600px;
}

/* ===== GENERAL MOBILE OPTIMIZATIONS ===== */
@media screen and (max-width: 767px) {
  /* Prevent horizontal scroll on all pages */
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  /* Ensure all sections don't overflow */
  .section,
  .section-content,
  .container,
  .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Better touch targets */
  .btn,
  .btn-normal,
  .btn-normal-light {
    min-height: 40px;
    font-size: 14px !important;
  }

  /* Product page banner text */
  .banner-cloud h1,
  .banner-dedicated h1,
  .banner-ssl h1,
  .banner-bt-host h1,
  .banner-sms h1,
  .banner-icp h1,
  .banner-rent h1,
  .banner-trademark h1,
  .banner-trusteeship h1,
  .banner-domain h1,
  .banner-document h1,
  .banner-announce h1 {
    font-size: 22px !important;
    letter-spacing: 1px !important;
  }

  .banner-cloud .server-banner-desc,
  .banner-cloud .server-banner-desc2,
  .banner-dedicated .server-banner-desc,
  .banner-dedicated .server-banner-desc2,
  .banner-ssl .server-banner-desc,
  .banner-ssl .server-banner-desc2,
  .banner-sms .server-banner-desc,
  .banner-sms .server-banner-desc2 {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  /* Banner buttons */
  .banner-cloud .btn,
  .banner-dedicated .btn,
  .banner-ssl .btn,
  .banner-sms .btn,
  .banner-icp .btn,
  .banner-domain .btn {
    padding: 8px 20px !important;
    font-size: 13px !important;
  }

  /* Section titles */
  .section-title h2 {
    font-size: 20px !important;
  }

  .section-title .section-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  /* Card content */
  .service-box,
  .resolve-box,
  .nav-item-box {
    padding: 16px !important;
  }

  /* Footer */
  .footer-content {
    padding: 20px 15px !important;
  }

  .footer-nav-box .footer-nav-head {
    font-size: 13px !important;
    padding: 6px 0 !important;
  }

  .footer-nav-box .footer-nav-item {
    font-size: 12px !important;
    padding: 2px 0 !important;
  }

  /* Hide elements that don't work on mobile */
  .aside-tools,
  .back-to-top {
    display: none !important;
  }

  /* Body padding for bottom nav */
  body {
    padding-bottom: 60px !important;
  }
}

@media screen and (max-width: 480px) {
  /* Even smaller fonts */
  .section-title h2 {
    font-size: 18px !important;
  }

  .banner-cloud h1,
  .banner-dedicated h1,
  .banner-ssl h1,
  .banner-sms h1,
  .banner-icp h1,
  .banner-domain h1,
  .banner-document h1 {
    font-size: 20px !important;
  }

  .server-banner-list .server-banner-item,
  .rent-banner-list .rent-banner-item {
    padding: 14px !important;
  }

  .server-banner-list .server-banner-item h4,
  .rent-banner-list .rent-banner-item h4 {
    font-size: 14px !important;
  }
}
