/* 헤더 검색창 전체 박스 */
header.wp-block-template-part .wp-block-search__inside-wrapper {
  background: #f5f5f5 !important; /* 옅은 회색 배경 강제 적용 */
  border: none;
  border-radius: 36px;
  width: 100% !important;
  max-height: 40px !important;
}

/* 검색 입력창 */
header.wp-block-template-part .wp-block-search__input {
  background: transparent !important;
  color: #111 !important;
}

/* 크롬 autofill 제거 */
header.wp-block-template-part .wp-block-search__input:-webkit-autofill,
header.wp-block-template-part .wp-block-search__input:-webkit-autofill:hover,
header.wp-block-template-part .wp-block-search__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f5f5f5 inset !important; /* autofill 배경을 강제로 덮음 */
  box-shadow: 0 0 0 1000px #f5f5f5 inset !important;
  -webkit-text-fill-color: #111 !important; /* 글자색 */
  transition: background-color 5000s ease-in-out 0s; /* 색상 번쩍 방지 */
}

/* 돋보기 버튼 */
header.wp-block-template-part .wp-block-search__button {
  background: #f5f5f5 !important;
  border: none !important;
  color: #333 !important;
  padding: 4px 8px;
}

/* ===========================================
   🧭 상품 검색창 (wp-block-search)
   =========================================== */

/* 전체 폼 박스 */
form.wp-block-search {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

/* 내부 래퍼 */
.wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  background: #f5f5f5 !important;
  border: none;
  border-radius: 36px;
  padding: 2px;
  box-sizing: border-box;
}

/* 검색 인풋 */
.wp-block-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent !important;
  font-size: 15px;
  color: #111;
  padding: 10px 16px;
  border-radius: 36px;
}

/* ✅ 크롬 자동완성 색상 제거 */
.wp-block-search__input:-webkit-autofill,
.wp-block-search__input:-webkit-autofill:hover,
.wp-block-search__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f5f5f5 inset !important;
  box-shadow: 0 0 0 1000px #f5f5f5 inset !important;
  -webkit-text-fill-color: #111 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* 검색 버튼 */
.wp-block-search__button {
  background: #111 !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 14px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

/* 돋보기 hover 효과 */
.wp-block-search__button:hover {
  background: #333 !important;
}

/* SVG 아이콘 크기 조정 */
.wp-block-search__button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* 📱 모바일에서는 검색창 숨기기 */
@media (max-width: 781px) {
  header.wp-block-template-part .wp-block-search {
    display: none !important;
    /* visibility: hidden; */
    /* pointer-events: none; */
  }
}

.wp-block-navigation-item__label {
  white-space: normal !important;
}
.wp-block-navigation__container {
  flex-wrap: wrap !important;
}
header a {
  text-decoration: none;
}
