@media (max-width: 959px) {
  /* 移动端头部基础样式 */
  .header-mobile {
    /*position: fixed;*/
    /*top: var(--announcement-height);*/
    /*left: 0;*/
    /*width: 100%;*/
    /*z-index: 100;*/
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .header-mobile__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    height: 60px;
    background: var(--theme-color, #fff);
    z-index: 100;
    will-change: transform;
  }

  .header-mobile__left,
  .header-mobile__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
  }

  .header-mobile__right {
    justify-content: flex-end;
  }

  /* 菜单按钮样式 */
  .header-mobile__menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-mobile__menu-icon {
    position: relative;
    width: 20px;
    height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .header-mobile__menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease,
                opacity 0.3s ease;
    transform-origin: center;
  }

  /* 菜单打开时的动画效果 */
  .header-mobile__menu-button[aria-expanded="true"] .header-mobile__menu-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .header-mobile__menu-button[aria-expanded="true"] .header-mobile__menu-line:nth-child(2) {
    opacity: 0;
  }

  .header-mobile__menu-button[aria-expanded="true"] .header-mobile__menu-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* 移动端菜单样式 */
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-mobile-height, 60px));
    background: #fff;
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: inset 0 2px 2px #1b20614d;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu__header {
    display: none;
  }

  .mobile-menu__nav {
    padding: 16px 16px 0;
  }

  .mobile-menu__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: none;
    text-align: left;
    color: #000;
    text-decoration: none;
  }

  .mobile-menu__link--has-children {
    font-weight: 500;
  }

  .mobile-menu__link--has-children svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .mobile-menu__link--has-children[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }

  .mobile-menu__link-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu__submenu {
    display: none;
    padding: 8px 0 8px 16px;
  }

  .mobile-menu__submenu.is-active {
    display: block;
  }

  .mobile-menu__sublink {
    display: block;
    padding: 12px 0;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 14px;
  }

  /* 搜索抽屉样式 */
  .search-modal {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .search-modal.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .search-modal__inner {
    position: relative;
    padding: 24px 16px;
  }

  .search-modal__title {
    display: block;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #000;
    padding-right: 40px;
  }

  .search-modal__input-group {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
  }

  .search-modal__input {
    width: 100%;
    height: 44px;
    padding: 0 40px 0 0 !important;
    border: none;
    font-size: 16px;
    background: transparent;
    color: #000;
  }

  .search-modal__input::placeholder {
    color: #999;
    opacity: 1;
  }

  .search-modal__input:focus {
    outline: none;
  }

  .search-modal__submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-modal__submit:hover {
    color: #000;
  }

  .search-modal__close {
    position: absolute;
    top: 24px;
    right: 16px;
    padding: 0;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-modal__close:hover {
    opacity: 0.7;
  }

  .search-modal__close svg {
    width: 20px;
    height: 20px;
  }

  /* 关闭按钮样式 */
  .mobile-menu__close,
  .search-modal__close {
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
  }

  /* 动画效果 */
  .header-mobile__buttons button:hover,
  .header-mobile__buttons a:hover,
  .mobile-menu__link:hover,
  .mobile-menu__sublink:hover {
    opacity: 0.7;
  }

  /* 滚动条样式 */
  .mobile-menu::-webkit-scrollbar {
    width: 4px;
  }

  .mobile-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .mobile-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
  }

  /* 顶部通知栏样式 */
  .header-mobile__announcement {
    background: var(--theme-color);
    color: rgb(var(--color-light-text));
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    line-height: 1.4;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: auto;
    opacity: 1;
    transform-origin: top;
  }

  .header-mobile.hide-announcement .header-mobile__announcement {
    height: 0;
    padding: 0;
    opacity: 0;
  }

  .header-mobile.hide-announcement {
    transform: translateY(0);
  }

  .header-mobile__announcement-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .header-mobile__announcement-top {
    font-weight: 500;
  }

  .header-mobile__announcement-top a,
  .header-mobile__announcement-top a:hover {
    text-decoration: underline;
    color: inherit;
  }

  .header-mobile__announcement-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    opacity: 0.9;
  }

  .header-mobile__announcement-bottom a,
  .header-mobile__announcement-bottom a:hover {
    text-decoration: underline;
  }

  .header-mobile__announcement-bottom count-down {
    min-width: 100px;
    text-align: left;
  }

  /* Logo样式 */
  .header-mobile__logo {
    flex: 1;
    text-align: center;

    img, svg {
      vertical-align: middle;
      max-height: 40px;
      height: auto;
      object-fit: contain;
    }
  }

  .header-mobile__logo-text {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
  }

  /* 右侧按钮组样式 */
  .header-mobile__buttons {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  /* 统一所有按钮和链接的基础样式 */
  .header-mobile__left button,
  .header-mobile__right a,
  .header-mobile__buttons button,
  .header-mobile__buttons a,
  .header-mobile__right button {
    background: none;
    border: none;
    position: relative;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    svg path {
      fill: #fff;
    }
  }

  /* 购物车计数器样式 */
  .header-mobile__cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #FFDB66;
    color: #000;
    font-weight: 500;
    border-radius: 10px;
    width: 12px;
    height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
  }

  /* 响应式控制 */
  /*@media screen and (max-width: 767px) {*/
    .component-header,
    .section-header_no-sticky_header,
    .section-header_menu-wrapper {
      display: none !important;
    }
    
    /* 移动端优化 */
    .header-mobile__top {
      padding: 8px 16px;
    }
  /*}*/

  /* 附加功能区域样式 */
  .mobile-menu__additional {
    padding: 0 16px;
  }

  .mobile-menu__operation-item,
  .mobile-menu__feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .mobile-menu__operation-icon,
  .mobile-menu__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
  }

  .mobile-menu__operation-icon img, 
  .mobile-menu__feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 国家选择器样式 */
  .mobile-menu__localization {
    padding-top: 0;
  }

  .mobile-menu__country-selector {
    position: relative;
  }

  .mobile-menu__country-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: left;
    color: #000;
    font-weight: 500;
  }

  .mobile-menu__country-button-content {
    display: flex;
    align-items: center;
  }

  .mobile-menu__country-name {
    font-size: 14px;
  }

  .mobile-menu__country-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .mobile-menu__country-button[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }

  .mobile-menu__country-list {
    display: none;
    width: 100%;
    background: #fff;
  }

  .mobile-menu__country-list[hidden] {
    display: none;
  }

  .mobile-menu__country-list:not([hidden]) {
    display: block;
  }

  .mobile-menu__country-list a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #000;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }

  .mobile-menu__country-list a:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .mobile-menu__country-list a[aria-current="true"] {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 500;
  }

  .mobile-menu__link-icon {
    display: inline-flex;
    align-items: center;
  }

  .mobile-menu__link-icon img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
  }

  .mobile-menu__products {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 16px;
  }

  .mobile-menu__product {
    text-decoration: none;
    color: inherit;
    display: block;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-menu__product-image {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
  }

  .mobile-menu__product-image img {
    width: 100%;
    height: 100%;
  }

  .mobile-menu__product-info {
    flex: 1;
    min-width: 0;
  }

  .mobile-menu__product-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu__view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16px 16px;
  }

  .mobile-menu__view-all svg {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    opacity: 0.6;
  }

  .mobile-menu__sublink-wrapper {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu__submenu {
    padding: 16px 0;
    background: var(--color-background);
  }

  .mobile-menu__sublink {
    padding: 12px 16px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #EEEEEE;
    display: block;
    font-weight: 500;
  }

  .header-mobile #cart-icon-bubble-wrapper {
    width: auto;
    height: auto;
  }
}