/* 隐藏megamenu的描述 */
.mega-menu-description {
  display: none !important;
}

.e_header {
  width: 100%;
}

/* 表单提交按钮宽度 */
.wpforms-container-full button[type=submit] {
  width: 100% !important;
}

@media screen and (max-width: 767px) {
  .e_header {
    padding: 8px 12px;
  }

  .e_header > .stk-row {
    /* 强制不换行 */
    flex-wrap: nowrap !important;
  }

  /* Mega Menu 汉堡，和右侧图标收成一簇 */
  .e_header > .stk-row > .stk-column:nth-child(2) {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto;
  }

  /* Cart + Search */
  .e_header > .stk-row > .stk-column:nth-child(3) {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  /* 把中间块设置为static，让内部块宽度对齐.e_header > .stk-row的宽度 */
  .e_header > .stk-row > .stk-column,
  .e_header > .stk-row > .stk-column .stk-inner-blocks {
    position: static !important;
  }

  .e_header > .stk-row > .stk-column .stk-inner-blocks {
    gap: 0 !important;
  }

  .e_header .wp-block-search__input {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 44px;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s ease;
  }

  .e_header .wp-block-search.is-open .wp-block-search__input {
    opacity: 1;
    visibility: visible;
    /* 可以点击 */
    pointer-events: auto;
  }
} 
