/* ========================================
   南航伴您畅游世界 - 国泰航空风格改版
   移动端样式表
   ======================================== */

/* Shared variables should be inherited from page_style.css :root */

/* === iPhone specific (430x932) === */
@media screen and (max-width: 430px) and (max-height: 932px) {
  .thhxshow li {
    font-size: 0.9rem !important;
  }
}

/* === iPhone SE (390x844) === */
@media only screen and (max-width: 390px) and (max-height: 844px) {
  .departureCityFilter {
    margin-bottom: 20px;
  }

  .ul_con {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }

  .ul_con li {
    padding: 5px;
    margin-bottom: 5px;
  }

  .ul_con a {
    text-decoration: none;
    color: #2d2d2d;
  }

  /* Quick nav */
  .qh_nav {
    background: url(../images/qhdh.png) center no-repeat;
    width: 100%;
    background-size: 100% 100%;
    height: 60px;
    position: relative;
    margin-top: 20px;
  }

  .tabs {
    display: flex;
    margin-bottom: 0;
    width: 99%;
  }

  .tab {
    flex: 1;
    padding: 15px 0 !important;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.8rem !important;
    line-height: 0.9rem !important;
    width: 20% !important;
    border-radius: 30px;
    margin-top: 10px !important;
    margin-left: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 35px !important;
  }

  .active-tab {
    background-color: #008bcf;
    color: white;
    border-radius: 30px;
  }

  .tab-content-show {
    display: none;
  }

  .active-content {
    display: block;
  }

  .hxshowbg {
    height: 200px !important;
    overflow-y: auto;
    background: url(../images/hxbg.png) center no-repeat;
    width: 100%;
    background-size: 100% 100%;
    margin-top: 0 !important;
  }

  #Oceania, #America, #Europe, #Asia, #MiddleEastAfrica {
    height: 300px !important;
    overflow-y: auto;
    margin-top: 60px !important;
    width: 99%;
  }

  .thhxshow {
    width: 95%;
    margin-top: 10px !important;
    overflow: hidden;
    position: absolute;
  }

  .thhxshow li {
    width: 33%;
    float: left;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1rem !important;
    color: #181e25;
    font-weight: bold;
    padding: 5px;
  }

  .thhxshow li select {
    font-size: 1.2rem;
    position: absolute;
    margin-top: 5px;
  }

  .anniu {
    width: 20%;
    margin: 0 auto;
  }

  .tab-content-show::-webkit-scrollbar {
    width: 5px;
    height: 3px;
    scrollbar-arrow-color: red;
    position: relative;
    z-index: 99;
  }

  .tab-content-show::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 1);
    background: #008bcf;
    scrollbar-arrow-color: red;
    position: relative;
    z-index: 99;
    height: 3px;
  }

  .tab-content-show::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    position: relative;
    z-index: 99;
  }

  .city-filter {
    position: absolute;
    top: 11.2% !important;
    left: 22% !important;
  }

  .city-filter select {
    font-size: 0.6rem !important;
  }

  .no-flight-message {
    margin-top: 10px;
    color: red;
    font-weight: bold;
  }

  .ul_con {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .ul_con li {
    float: left;
    width: 30%;
    margin: 0 auto;
    text-align: center;
  }

  .ul_con li:nth-child(3) {
    float: left;
    width: 40%;
    margin: 0 auto;
    text-align: center;
  }

  .ul_conup1 {
    font-size: 0.7rem !important;
    color: #181e25;
    margin: 0 auto;
    line-height: 1rem !important;
    border-bottom: 1px solid #c8c8c8;
  }

  .ul_conup2 {
    font-size: 0.7rem !important;
    color: #181e25;
    margin: 0 auto;
    line-height: 1rem !important;
    border-bottom: 1px solid #c8c8c8;
  }

  .ul_conup3 {
    font-size: 0.7rem !important;
    color: #181e25;
    margin: 0 auto;
    line-height: 1rem !important;
    border-bottom: 1px solid #c8c8c8;
    overflow: hidden;
    text-align: center;
  }
}

/* === Main Mobile (max-width: 540px) === */
@media screen and (max-width: 540px) {
  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .break_nav {
    width: 95%;
    margin: 24px auto;
    color: #2d2d2d;
    font-size: 14px;
  }

  .tu3 {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 40px auto 48px auto !important;
  }

  .tu3 ul {
    margin: 0;
    padding: 0;
  }

  .tu3 ul li {
    list-style-type: none;
    float: left;
    width: 100%;
  }

  .tu3 ul li img {
    width: 100%;
    display: block;
  }

  .tab_qh_all {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    margin-left: 0;
  }
  .tab_qh_all1 {
    width: 100%;
    margin: 0px auto;
    overflow: hidden;
    margin-left: 0;
  }

  .section-row-title {
    font-size: 1.5rem;
    color: #2d2d2d;
    text-align: left;
    letter-spacing: 0.3px;
    line-height: 1.4;
    margin: 0 0 48px 0;
    padding: 0;
  }
  .section-row-title-china {
    margin-top: 0;
  }

  .hdxq {
    width: 95%;
    margin: 40px auto;
    overflow: hidden;
  }

  .dbtlo {
    width: 95%;
    margin: 24px auto;
  }

  .dbtlo-p1 {
    font-size: 22px;
  }

  .booking-condition-wrapper {
    margin: 32px 0 40px 0;
  }

  .booking-condition-wrapper h3 {
    font-size: 20px;
    margin: 0 0 24px 0;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .booking-item {
    gap: 12px;
  }

  .booking-icon {
    width: 18px;
    height: 18px;
    padding-top: 2px;
  }

  .booking-label {
    font-size: 15px;
  }

  .booking-value {
    font-size: 14px;
  }

  .booking-footer {
    margin-top: 32px;
    font-size: 12px;
  }

  /* === Cathay Promo Codes 移动端 === */
  .cathay-promo-codes {
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
  }

  .cathay-promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 0;
  }

  .cathay-promo-item {
    grid-template-columns: 32px 1fr;
    gap: 2px 12px;
    margin-left: 0;
  }

  .cathay-promo-item:nth-child(2) {
    margin-left: 0;
  }

  .cathay-promo-grid > .cathay-booking-item:nth-child(3) {
    margin-left: 0;
  }

  .cb-item-let {
    padding-left: 0;
  }

  .cathay-promo-icon {
    width: 32px;
    height: 32px;
    margin-top: 0;
  }

  .cathay-promo-icon svg {
    width: 22px;
    height: 22px;
  }

  .cathay-promo-item:nth-child(1) {
    grid-column: 1;
  }

  .cathay-promo-item:nth-child(2) {
    grid-column: 1;
    transform: none;
  }

  /* === Cathay Booking Conditions 移动端 === */
  .cathay-booking-conditions {
    margin: 32px 0;
   /* font-weight: 600; */
  }

  .cathay-promo-label,
  .cathay-booking-label {
    font-size: 1.125rem;
  }


  .cathay-booking-grid {
    grid-template-columns: 1fr;
    margin-top: 25px;
    gap: 20px;
  }

  .flightSearch__btn {
  padding: 15px 10px;
  width: 95% !important;
  line-height: 20px;
  font-size: 14px;
  background-color: #028ace !important;
  text-align: center;
  color: #fff;
  border: 0 none;
  cursor: pointer;
  }

  .cathay-booking-item {
    gap: 12px;
  }
  /* 分隔线 */
  .cathay-booking-conditions .cathay-promo-item,
  .cathay-booking-conditions .cathay-booking-item {
    border-bottom: 1px solid #e6e7e8;
    padding-bottom: 25px;
  }


  .cathay-booking-icon {
    width: 32px;
    height: 32px;
  }

  .cathay-booking-icon svg {
    width: 22px;
    height: 22px;
  }

  /* === DBTLO 移动端 === */
  .dbtlo {
    width: 95%;
    margin: 24px auto;
  }

  /* === Con container 移动端 === */
  .con {
    padding: 0 16px;
  }
  .con1 {
    padding: 0 16px;
    background-color: #ffffff;
  }

  /* === Cxk Search Box 移动端 === */
  .cxk {
    margin: 0 auto 0;
  }

  /* === Slick Arrow 移动端：覆盖 hover:none 隐藏规则 === */
  .slick-arrow {
    display: flex !important;
    width: 36px;
    height: 36px;
  }

  .slick-arrow svg {
    width: 16px;
    height: 16px;
  }

  .connt {
    width: 99%;
    height: auto;
    overflow-y: auto;
    margin: 20px auto 0 auto;
    padding: 0;
  }

  .xia {
    height: auto;
    overflow: hidden;
    background: url(../images/hxbg.png) center no-repeat;
    width: 98%;
    background-size: 100% 100%;
    margin: 30px auto 0 auto;
  }

  .thhx {
    width: 95%;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 8px;
  }

  .thhx p {
    font-size: 1.4rem;
    text-align: center;
    color: #181e25;
    letter-spacing: 0.5px;
    line-height: 3rem;
    border-bottom: 1px solid #D9D9D9;
  }

  .thhxshow li {
    width: 33.33%;
    float: left;
    font-size: 0.8rem;
    text-align: center;
    line-height: 2.5rem;
  }

  .thhxshow li select {
    font-size: 0.8rem !important;
  }

  .ljydbtn {
    width: 40% !important;
    border: 2px solid #008bcf;
    line-height: 2.5rem;
    border-radius: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: #008bcf;
    margin: 30px auto;
  }

  .alltk {
    width: 95%;
    margin: 32px auto 0 auto;
    padding-bottom: 46px;
  }

  .alltk hr {
    border: none;
    border-top: 1px solid #EBEBEB;
    margin: 0 0 20px 0;
  }

  .cx-detail-title {
    font-size: 1.75rem;
    font-weight: 400;
    position: relative;
    top: 4px;
    padding-bottom: 30px;
    color: #2d2d2d;
  }

  .cx-accordion-header {
    font-size: 1.125rem;
    padding: 14px 0;
  }

  .cx-accordion-body ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d2d2d;
  }

  .title01 {
    height: 40px;
  }

  .title01 h2 {
    font-size: 20px;
    line-height: 40px;
  }

  .title01:before {
    left: -43px;
    top: 0;
    width: 43px;
    height: 40px;
    background-size: 100%;
  }

  .title01:after {
    right: -43px;
    top: 0;
    width: 43px;
    height: 40px;
    background-size: 100%;
  }

  .content-text {
    padding-top: 56px;
    padding-bottom: 30px;
  }

  .content-text h2 {
    color: #008bcf;
    font-size: 18px;
    padding-top: 16px;
  }

  .content-text h3 {
    font-size: 16px;
  }

  .content-text li {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.5px;
  }

  .content-text ul {
    width: 90%;
    margin: 10px auto;
    font-size: 16px;
    padding: 10px 0;
  }

  .content-text ul dd {
    font-size: 16px;
    line-height: 1.8;
  }

  .content-text dt {
    font-size: 15px;
    line-height: 1.8;
  }

  .specialleft1 {
    left: calc(56% * 0.5);
  }

  .specialleft2 {
    left: calc(70% * 0.5);
  }

  .specialleft3 {
    left: calc(79% * 0.5);
  }

  /* zdj styles */
  .departureCityFilter {
    margin-bottom: 20px;
  }

  .ul_con {
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }

  .ul_con li {
    padding: 5px;
    margin-bottom: 5px;
  }

  .ul_con a {
    text-decoration: none;
    color: #2d2d2d;
  }

  .qh_nav {
    background: url(../images/qhdh.png) center no-repeat;
    width: 100%;
    background-size: 100% 100%;
    height: 60px;
    position: relative;
    margin-top: 20px;
  }

  .tabs {
    display: flex;
    margin-bottom: 0;
    width: 99%;
  }

  .tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.8rem;
    line-height: 0.7rem !important;
    width: 20% !important;
    border-radius: 30px;
    margin-top: 12px !important;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px !important;
  }

  .active-tab {
    background-color: #008bcf;
    color: white;
    border-radius: 30px;
  }

  .tab-content-show {
    display: none;
  }

  .active-content {
    display: block;
  }

  .hxshowbg {
    height: 290px !important;
    overflow-y: auto;
    background: url(../images/hxbg.png) center no-repeat;
    width: 100%;
    background-size: 100% 100%;
    margin-top: 0 !important;
  }

  #Oceania, #America, #Europe, #Asia, #MiddleEastAfrica {
    height: 200px !important;
    overflow-y: auto;
    margin-top: 60px !important;
    width: 99%;
  }

  .thhxshow {
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    position: absolute;
    top: 0% !important;
    height: 60px;
  }

  .thhxshow li {
    width: 30%;
    float: left;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1rem !important;
    color: #181e25;
    font-weight: bold;
  }

  .thhxshow li select {
    font-size: 1.2rem;
    margin-top: 5px;
    left: 0% !important;
  }

  .anniu {
    width: 20%;
    margin: 0 auto;
  }

  .tab-content-show::-webkit-scrollbar {
    width: 5px;
    height: 3px;
    scrollbar-arrow-color: red;
    position: relative;
    z-index: 99;
  }

  .tab-content-show::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 1);
    background: #008bcf;
    scrollbar-arrow-color: red;
    position: relative;
    z-index: 99;
    height: 3px;
  }

  .tab-content-show::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    position: relative;
    z-index: 99;
  }

  .city-filter {
    position: absolute;
    top: 36% !important;
    left: 10% !important;
  }

  .city-filter select {
    font-size: 0.6rem !important;
    width: 90px !important;
  }

  .no-flight-message {
    margin-top: 10px;
    color: red;
    font-weight: bold;
  }

  .ul_con {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .ul_con li {
    float: left;
    width: 30%;
    margin: 0 auto;
    text-align: center;
  }

  .ul_con li:nth-child(3) {
    float: left;
    width: 40%;
    margin: 0 auto;
    text-align: center;
  }

  .ul_conup1 {
    font-size: 0.6rem;
    color: #181e25;
    margin: 0 auto;
    line-height: 2rem;
    border-bottom: 1px solid #c8c8c8;
  }

  .ul_conup2 {
    font-size: 0.6rem;
    color: #181e25;
    margin: 0 auto;
    line-height: 2rem;
    border-bottom: 1px solid #c8c8c8;
  }

  .ul_conup3 {
    font-size: 0.6rem;
    color: #181e25;
    margin: 0 auto;
    line-height: 2rem;
    border-bottom: 1px solid #c8c8c8;
    overflow: hidden;
    text-align: center;
  }

  /* Content area */
  .content {
    width: 100%;
    background: #ffffff !important;
    margin: 0 auto;
  }

  .whychoose {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }

  .whychoose p {
    font-size: 1.4rem !important;
    color: #181e25;
    letter-spacing: 0.5px;
    text-align: center;
  }

  .whychoose ul li {
    width: 30% !important;
    float: left;
    margin-left: 2.5% !important;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .part1, .part2, .part3, .part4 {
    width: 95%;
    margin: 0 auto 40px auto;
    display: block;
    overflow: hidden;
  }

  .part5 {
    width: 95%;
    background: url(../images/partbg.png) center repeat-y;
    border-radius: 5px;
    margin: 80px auto 40px auto;
    position: relative;
  }

  .part6 {
    width: 95%;
    background: url(../images/partbg.png) center repeat-y;
    border-radius: 5px;
    margin: 80px auto 40px auto;
    position: relative;
  }

  .parttitle5 {
    width: 30%;
    margin: 0 auto;
    overflow: hidden;
    position: absolute;
    top: -2% !important;
    left: 34%;
  }

  .parttitle6 {
    width: 30%;
    margin: 0 auto;
    overflow: hidden;
    position: absolute;
    top: -2% !important;
    left: 34%;
  }

  .imgpl {
    width: 90% !important;
    margin: 0 auto;
    overflow: hidden;
  }

  .imgpl li:first-child {
    margin-left: 0% !important;
    margin-top: 40px !important;
  }


  .cathay-booking-title {
  font-size: 1.5rem;
  font-weight: 400;
  }

  .imgpl li {
    width: 100% !important;
    margin-left: 0% !important;
    margin-top: 10px;
  }

  .wxts {
    width: 90%;
    margin: 24px 10px;
    overflow: hidden;
  }

  .wxts li {
    font-size: 14px;
    color: #323232;
    letter-spacing: 0.3px;
    line-height: 1.8;
  }

  .partbt {
    width: 94.8%;
    overflow: hidden;
    margin-left: 2.4%;
    margin-top: 10%;
  }

  .picpl {
    width: 100%;
    margin: 0 auto 20px auto;
    overflow: hidden;
  }

  .picpl li {
    width: 92%;
    float: left;
  }

  .hxtable {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
  }

  .showline1 {
    width: 100%;
    margin: 0 auto 30px auto;
    border: 1px solid #74b5fa;
  }

  .showline1 th:first-child {
    border-left: 1px solid #74b5fa;
  }

  .showline1 th {
    font-size: 0.9rem;
    background: #74b5fa;
    border-left: 1px solid #fff;
    line-height: 40px;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-align: center;
  }

  .showline1 td {
    font-size: 0.8rem;
    background: #ffffff;
    border-left: 1px solid #74b5fa;
    border-bottom: 1px solid #74b5fa;
    line-height: 40px;
    letter-spacing: 0.3px;
    color: #323232;
    text-align: center;
    width: 25%;
  }

  .wxts li {
    font-size: 0.8rem;
    color: #323232;
    letter-spacing: 0.3px;
    line-height: 1.8;
  }

  .wxts li b {
    font-size: 1rem;
  }

  .title1 {
    width: 70% !important;
    top: -29px !important;
    left: 27% !important;
  }

  .title1 p {
    color: #ffffff;
    font-size: 0.8rem !important;
    position: absolute;
    top: 50%;
    left: 36%;
    letter-spacing: 1px;
  }

  .title11 {
    height: auto;
    overflow: hidden;
    position: absolute;
    width: 60% !important;
    top: -20px !important;
    left: 22% !important;
  }

  .title11 p {
    color: #ffffff;
    font-size: 0.9rem !important;
    position: absolute;
    top: 38%;
    left: 20%;
    letter-spacing: 1px;
  }

  .kbg {
    width: 100%;
    height: 40px;
    overflow: hidden;
  }

  /* Section row titles */

  .biaoneirong {
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    width: 99%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .biaoneirong::-webkit-scrollbar {
    display: none;
  }

  .biaoneirong ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .biaoneirong li {
    flex: 0 0 240px;
    max-width: 240px;
    margin: 0;
    float: none;
  }

  .biaoneirong_ms {
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    width: 99%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .biaoneirong_ms::-webkit-scrollbar {
    display: none;
  }

  .biaoneirong_ms ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .biaoneirong_ms li {
    flex: 0 0 280px;
    max-width: 280px;
    margin: 0;
    float: none;
  }

  .overlay .text {
    display: none;
  }

  /* Card layout (mobile) */
  .image-container {
    /*background: #fff; 
    border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .card-img {
    width: 100%;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .card-body {
    padding: 12px 16px 16px;
    font-size: 13px;
  }

  .card-title {
    font-size: 1.5rem;
   /* font-weight: 600;  */
    color: #2d2d2d;
    margin: 0 0 6px 0;
    line-height: 1.3;
  }

  .card-desc {
    font-size: 1rem;
    color: #2d2d2d;
    /* margin: 0;  */
    line-height: 1.6;
  }

  .card-body dt {
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0 0 6px 0;
    line-height: 1.3;
  }

  .card-body dd {
    font-size: 13px;
    color: #2d2d2d;
    margin: 0;
    line-height: 1.6;
  }

  .con1 {
    height: auto;
    overflow: hidden;
    font-size: 0.8rem;
    text-align: center;
    color: #4A4A4A;
    letter-spacing: 0.5px;
    margin: 0px auto;
  }

  .con2 {
    height: auto;
    overflow: hidden;
    font-size: 0.8rem;
    text-align: center;
    color: #4A4A4A;
    letter-spacing: 0.5px;
    margin: 0 auto 24px auto;
    line-height: 1.8em;
  }

  .con2 span {
    color: #00a0fd;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .con2 b {
    color: #00a0fd;
    font-weight: bold;
  }

  .con4 {
    width: 50%;
  }

  .con3 p:nth-child(4) {
    margin-left: 0;
  }

  .biaotou {
    width: 98%;
  }

  .con8 {
    height: auto;
    overflow: hidden;
    font-size: 0.8rem;
    color: #4A4A4A;
    line-height: 1.8;
    padding: 0 0 40px 20px;
    width: 98%;
  }

  .con8 b {
    color: #00a0fd;
    font-weight: bold;
  }

  .mytable1 {
    width: 100%;
    border-left: #27b0ff 1px solid;
    border-top: #27b0ff 1px solid;
  }

  .mytable1 th {
    width: 33%;
    background-color: #27b0ff;
    color: #ffffff;
    font-size: 0.8rem;
    text-align: center;
    padding: 2px;
    line-height: 20px;
  }

  .mytable1 td {
    width: 33%;
    color: #545454;
    font-size: 0.8rem;
    border-bottom: #27b0ff 1px solid;
    border-right: #27b0ff 1px solid;
    text-align: center;
    padding: 2px;
  }

  .gundong {
    height: 250px;
    overflow-y: auto;
  }

  .con6 {
    height: auto;
    overflow: hidden;
    font-size: 0.7rem;
    color: #4A4A4A;
    line-height: 20px;
    padding: 0 40px 0 50px;
  }

  .tiqiantitle {
    width: 95%;
    background: #fff;
    border-radius: 28px;
    text-align: center;
    margin: 0 auto 40px auto;
    font-size: 0.9rem;
    color: #4A4A4A;
    line-height: 2rem;
    overflow: hidden;
    letter-spacing: 0.5px;
    border: 2px solid #00a0fd;
  }

  .con-blue {
    overflow: hidden;
    max-width: 95%;
    margin: 0 auto 24px auto;
    background: url(../images/bg.png) top no-repeat;
    background-size: 100% 100%;
    position: relative;
  }

  .bt1 {
    width: 60%;
    position: absolute;
    margin: 0 auto;
    overflow: hidden;
    top: -6%;
    left: 22%;
  }

  .bt1 img {
    width: 100%;
    display: block;
  }

  .block75 {
    width: 90%;
    margin: 30px auto 20px 20px;
    text-align: center;
  }

  .bt3 {
    width: 50%;
    position: absolute;
    margin: 0 auto;
    overflow: hidden;
    top: -15%;
    left: 26%;
  }

  .dyemail {
    width: 60% !important;
    margin: 0 auto 80px auto;
  }

  .banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    display: none !important;
  }

  .banner_h5 {
    width: 100%;
    display: block !important;
    overflow: hidden;
  }
}

/* === Tablet (max-width: 768px) === */
@media screen and (max-width: 768px) {
  .banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    display: none !important;
  }

  .banner_h5 {
    width: 100%;
    display: block !important;
    overflow: hidden;
  }

  .anniu {
    width: 40%;
    margin: 0 auto;
  }

  .ul_conup1, .ul_conup2, .ul_conup3 {
    font-size: 0.85rem;
  }

  .thhxshow li {
    line-height: 1.5rem;
  }

  .thhxshow li:nth-child(2),
  .thhxshow li:nth-child(3) {
    line-height: 2.5rem;
  }

  .dbtlo-p1 {
    font-size: 22px;
  }

  /* === Cathay Promo Codes 平板端 === */
  .cathay-promo-codes {
    flex-direction: column;
    gap: 24px;
  }

  .cathay-promo-grid {
    grid-template-columns: 1fr 1fr;
    margin-left: 0;
  }

  .cathay-promo-item {
    grid-template-columns: 32px 1fr;
    gap: 2px 12px;
    margin-left: 0;
  }

  .cathay-promo-item:nth-child(2) {
    margin-left: 0;
  }

  .cathay-promo-grid > .cathay-booking-item:nth-child(3) {
    margin-left: 0;
  }

  .cathay-promo-icon {
    width: 32px;
    height: 32px;
    margin-top: 0;
  }

  .cathay-promo-icon svg {
    width: 22px;
    height: 22px;
  }

  .cathay-promo-item:nth-child(1),
  .cathay-promo-item:nth-child(2) {
    grid-column: auto;
    transform: none;
  }

  /* === Cathay Booking Conditions 平板端 === */
  .cathay-booking-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .con {
    padding: 0 20px;
  }

  .hdxq li:nth-child(1) {
    font-size: 18px;
  }

  .hdxq li {
    font-size: 15px;
  }
}

/* === Fix: Ensure Mobile styles override Tablet styles for Cathay sections === */
@media screen and (max-width: 540px) {
  .cathay-promo-grid {
    grid-template-columns: 1fr !important;
  }
  .cathay-promo-item {
    grid-template-columns: 32px 1fr !important;
    gap: 2px 12px !important;
    margin-left: 0 !important;
  }
  .cathay-promo-item:nth-child(2) {
    margin-left: 0 !important;
  }
  .cathay-promo-grid > .cathay-booking-item:nth-child(3) {
    margin-left: 0 !important;
  }

  .cathay-promo-icon {
    width: 32px !important;
    height: 32px !important;
    margin-top: 0 !important;
  }

  .cathay-promo-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .cathay-booking-grid {
     grid-template-columns: 1fr !important;
   }
   .cathay-promo-item:nth-child(1) {
     grid-column: 1 !important;
   }
   .cathay-promo-item:nth-child(2) {
     transform: none !important;
     grid-column: 1 !important;
   }
}

/* === iPhone 11 Pro Max (414x896) === */
@media screen and (max-width: 414px) and (max-height: 896px) {
  .tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.6rem;
    line-height: 0.8rem !important;
    width: 20% !important;
    border-radius: 30px;
    margin-top: 10px !important;
    margin-left: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 35px !important;
  }
}

/* === iPhone 6/7/8 (375x667) === */
@media screen and (max-width: 375px) and (max-height: 667px) {
  .tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 0.6rem;
    line-height: 0.8rem !important;
    width: 20% !important;
    border-radius: 30px;
    margin-top: 10px !important;
    margin-left: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 35px !important;
  }
}

/* === Empty placeholder iPhone SE === */
@media screen and (max-width: 390px) and (max-height: 844px) {
  /* placeholder for potential overrides */
}
