/* claude-20261023-mobile-land（用户 10-23 同意）：从百度、必应等搜索引擎点进来的手机用户不再跳 H5，直接看这些电脑版页面。
   在 evau-mobile-fit-20261019.css 的基础上：页头压紧（第一屏就能看到标题）、线路详情页改成手机顺序、修好价格日历。
   只在宽度 < 768px 时生效（<link media>），电脑端不受影响。由 tools/evau_seo_fix.php 第八部分插入。 */
@media (max-width: 767px) {
  /* 页头第一行：网站名和电话一行显示，放不下用省略号；登录等链接排第二行；只能悬停的“网站导航”去掉 */
  .header-content, .header-content .public-txt { float: none !important; width: 100% !important; height: auto !important; }
  .header-content .wm-1200 { padding-top: 2px !important; padding-bottom: 2px !important; }
  .header-content .public-txt p { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; margin: 0 !important; line-height: 24px !important; font-size: 12px !important; }
  .header-content .dh { float: none !important; display: flex !important; gap: 12px; height: auto !important; }
  .header-content #loginstatus { display: contents !important; }
  .header-content .dh a { float: none !important; line-height: 24px !important; height: 24px !important; font-size: 12px !important; padding: 0 !important; margin: 0 !important; }
  .header-content .top_web_map { display: none !important; }

  /* logo 变小；搜索框和按钮同一行；空的“热门搜索”和电话块去掉（电话在第一行和页脚都有） */
  .big .top_mt { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 0 !important; }
  .big .top_mt .logo { flex: 0 0 auto; height: auto !important; margin: 0 !important; padding: 0 !important; }
  .big .top_mt .logo img { height: 40px !important; width: auto !important; }
  .big .all_search { flex: 1 1 100%; margin: 0 !important; }
  .big .top_search { display: flex !important; height: auto !important; }
  .big .top_search .s_txt { flex: 1 1 auto; width: auto !important; min-width: 0; height: 38px !important; }
  .big .top_search .s_btn { flex: 0 0 52px; height: 38px !important; margin: 0 !important; }
  .big .searcg_hot, .big .h_phone_num { display: none !important; }

  /* 主导航：一行，左右滑动；“旅行导航”下拉菜单在手机上用不了，去掉 */
  .nav .global_nav { display: none !important; }
  .nav .menu .main_nav_list ul { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; scrollbar-width: none; }
  .nav .menu .main_nav_list ul::-webkit-scrollbar { display: none; }
  .nav .menu .main_nav_list li { flex: 0 0 auto; float: none !important; }
  .nav .menu .main_nav_list li a { padding: 0 12px !important; }

  /* 线路详情：标题和本城服务在前，然后图片、卖点、价格、日历、优惠、出发与预订 */
  .line-details__main { display: flex !important; flex-direction: column; }
  .line-details__left, .line-details__right { display: contents !important; }
  .line-details__title { order: 1; }
  .line-details__main .evau-city-links { order: 2; }
  .line-details__main .evau-brand { order: 3; }
  .line-details__slide { order: 4; }
  .line-details__main .line-trait { order: 5; }
  .line-details__price { order: 6; }
  .line-details__date { order: 7; }
  .line-details__dcou { order: 8; }
  .line-details__start { order: 9; }
  .line-details__btn { order: 10; }
  .line-details__main .share-bar-box { order: 11; }

  /* 价格日历：月份一行（左右箭头切换）；日期按 7 列排 */
  .line-slideTxtBox2 .bd { height: auto !important; }
  .line-slideTxtBox2 .tempWrap ul { max-width: none !important; flex-wrap: nowrap !important; }
  .line-details__table { display: block !important; width: 100% !important; overflow: visible !important; }
  .line-details__table thead tr, .line-details__table tbody tr { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; width: 100% !important; height: auto !important; }
  .line-details__table th, .line-details__table td { display: block !important; float: none !important; width: auto !important; height: auto !important; min-width: 0 !important; padding: 3px 1px !important; font-size: 11px !important; line-height: 1.3 !important; text-align: center !important; overflow: hidden; }
  /* 行上的 clearfix 伪元素在 7 列网格里也会占一格，把星期和日期都往右挤，去掉 */
  .line-details__table tr::before, .line-details__table tr::after { content: none !important; display: none !important; }

  /* 包车详情：标题和本城服务在图片前面，然后价格、卖点、车辆信息 */
  .carshow-tw { display: flex !important; flex-direction: column; }
  .carshow-tw .cp-show-msg { display: contents !important; }
  .carshow-tw .hs-title { order: 1; }
  .carshow-tw .focus-slide { order: 2; }
  .carshow-tw .cp-show-msg > .price { order: 3; }
  .carshow-tw .cp-show-msg > .sl { order: 4; }
  .carshow-tw .cp-show-msg > .sell-point { order: 5; }
  .carshow-tw .cp-show-msg > .msg-ul { order: 6; }

  /* 景点详情：标题和本城服务在图片前面，然后价格、门票信息、介绍、预订 */
  .ticket-info > .wm-1200 { display: flex !important; flex-direction: column; }
  .ticket-info-right { display: contents !important; }
  .ticket-info-right > .show-title { order: 1; }
  .ticket-info-right > .evau-city-links { order: 2; }
  .ticket-info-right > .evau-brand { order: 3; }
  .ticket-info-left { order: 4; }
  .ticket-info-right > .price { order: 5; position: static !important; }
  .ticket-info-right > .info-item { order: 6; }
  .ticket-info-right > .intro { order: 7; }
  .ticket-info-right > .sfrm { order: 8; }

  /* 城市、目的地页：标题和简介放在城市大图前面，大图限高 */
  .dest-sum-box { display: flex !important; flex-direction: column; height: auto !important; }
  .dest-sum-box .dest-sum-txt { order: -1; height: auto !important; }
  .dest-sum-box .dest-sum-txt .nr { height: auto !important; overflow: visible !important; }
  .dest-sum-pic, .dest-sum-pic .img { height: auto !important; }
  .dest-sum-pic img { max-height: 180px !important; width: 100% !important; object-fit: cover; }
  /* “本城服务：”“热门城市：”小标题原来固定 100px 宽，手机上被截成“本城服” */
  .hot-dest-box > strong { width: auto !important; white-space: nowrap !important; }
}
