/* ==========================================================================
   五行香云纱 WU XING XIANG YUN SHA - RESPONSIVE & MOBILE STYLESHEET
   1:1 Match of CURIEL touch.css for Screens <= 800px & Mobile Devices
   ========================================================================== */

@media screen and (max-width: 1024px) {
  .com_InnContent {
    padding: 0 24px;
  }
  
  .heB_ul {
    gap: 24px;
  }
  
  .heD_ul {
    gap: 24px;
  }
  
  .he_product_layout {
    gap: 30px;
  }
}

@media screen and (max-width: 800px) {
  :root {
    --header-height: 64px;
  }

  /* Header adjustments */
  .he_conBlock {
    display: none; /* Hide desktop nav bar */
  }

  .he_en, .he_vip_btn {
    display: none;
  }

  .touch_nav {
    display: block; /* Show hamburger */
  }

  /* Hamburger transform to X */
  .touch_nav.active .touch_wr:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .touch_nav.active .touch_wr:nth-child(2) {
    opacity: 0;
  }

  .touch_nav.active .touch_wr:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile Slide-in Drawer */
  .mobile_drawer {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 998;
    overflow-y: auto;
    padding: 30px 24px 60px;
    display: none;
    flex-direction: column;
    gap: 24px;
  }

  .mobile_drawer.open {
    display: flex !important;
    animation: drawerSlide 0.35s ease forwards;
  }

  @keyframes drawerSlide {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile_nav_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile_nav_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
  }

  .mobile_nav_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-serif-cn);
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    padding: 6px 0;
  }

  .mobile_nav_header .arrow {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: var(--color-gold-accent);
  }

  .mobile_nav_item.expanded .mobile_nav_header .arrow {
    transform: rotate(90deg);
  }

  .mobile_sub_menu {
    display: none;
    padding: 14px 0 6px 14px;
    flex-direction: column;
    gap: 12px;
  }

  .mobile_nav_item.expanded .mobile_sub_menu {
    display: flex;
  }

  .mobile_sub_link {
    font-size: 14px;
    color: #a0a0a0;
    display: block;
    padding: 4px 0;
  }

  .mobile_sub_link:hover {
    color: var(--color-gold-bright);
  }

  .mobile_drawer_footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile_vip_action {
    display: block;
    text-align: center;
    padding: 14px 0;
    background: var(--color-gold-accent);
    color: #0a0a0a;
    font-family: var(--font-serif-cn);
    font-size: 15px;
    letter-spacing: 2px;
    border-radius: 25px;
    font-weight: 500;
  }

  /* Fullscreen Snap Slide adjustments on Mobile */
  .ind_title {
    bottom: 12%;
    width: 92%;
  }

  .ind_title h1 {
    font-size: 26px;
    letter-spacing: 3px;
    margin-bottom: 8px;
  }

  .ind_title h2 {
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .ind_more {
    padding: 10px 28px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .mobileTouch_num {
    right: 20px;
    bottom: 24px;
    font-size: 14px;
    padding: 4px 12px;
  }

  .mobileTouch_n {
    font-size: 16px;
  }

  .slide_nav_dots {
    display: none; /* Hide vertical dots on small mobile to keep screen clean */
  }

  /* Footer on mobile */
  #Footer {
    height: auto;
    flex-direction: column;
    gap: 24px;
    padding: 30px 20px;
    text-align: center;
  }

  .fo_logo {
    position: static;
    transform: none;
    order: 1;
  }

  .fo_left {
    order: 2;
    justify-content: center;
  }

  .fo_right {
    order: 3;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }

  .fo_right span {
    display: none;
  }

  /* Lookbook Modal on Mobile */
  .lookbook_wrapper {
    flex-direction: column;
    padding: 70px 20px 40px;
    gap: 30px;
  }

  .modal_close_btn {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .main_photo_frame {
    height: 420px;
  }

  .thumb_item {
    width: 65px;
    height: 90px;
  }

  .detail_title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .detail_desc {
    font-size: 14px;
    line-height: 1.8;
  }

  .detail_spec_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail_cta_box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta_booking_btn {
    text-align: center;
  }

  .cta_phone_link {
    justify-content: center;
  }
}
