/* BASIC css start */
background: url('https://cdn-icons-png.flaticon.com/512/622/622669.png') no-repeat 8px center;
background-size: 18px;



/* 검색창 전체 영역 여백 */
.brand-search-input {
  margin-top: 60px;   /* 원하는 만큼 조정: 40px 권장 */
  margin-bottom: 20px;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #222;
  width: 100%;
  font-size: 16px;
}

/*  ㄱㄴㄷ 필터 탭 버튼 */
.korean-initial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.korean-initial-tabs button {
  padding: 6px 10px;
  min-width: 36px;
  font-size: 16px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.korean-initial-tabs button:hover {
  background: #eee;
}

/*  A-Z 필터 탭 버튼 */
.EN-initial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.EN-initial-tabs button {
  padding: 6px 10px;
  min-width: 36px;
  font-size: 14px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.EN-initial-tabs button:hover {
  background: #eee;
}


/*  추천 자동완성 박스 */
.autocomplete-list {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 420px;
  z-index: 2000;
  margin-top: 4px;
  overflow-y: auto;
  max-height: 200px;
}

.autocomplete-list li {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.autocomplete-list li:last-child {
  border-bottom: none;
}

.autocomplete-list li:hover {
  background: #f5f5f5;
}


.menu-brand-search-box {
  padding: 30px 20px 10px;
  background-color: #fff;
}
.brand-search-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #222;
  padding: 10px 12px 10px 36px;
}


/* 브랜드 리스트 래퍼 */
.all-brand-list-wrap {
  padding: 30px 20px;
  background: #fff;
}



/* 각 그룹 헤더 (A, B, C…) */
.all-brand-list-header {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 8px;
}

/* 브랜드 리스트 */
.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding-left: 8px;     /*  왼쪽 여백 추가 */
}

/* 개별 브랜드 항목 */
.brandSearchitem a {
  display: inline-block;
  text-decoration: none;
  color: #000;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 16px;
  min-width: 100px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.brandSearchitem a:hover {
  background: #000;
  color: #fff;
}
.brandSearchitem .brand-name.kor {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 2px;
}

/* 즐겨찾기 버튼 */
.btn-brand-favorite {
  display: inline-block;
  background: url('/static/images/icon_star_off.svg') no-repeat center;
  background-size: 16px;
  width: 20px;
  height: 20px;
  border: none;
  margin-left: 6px;
  vertical-align: middle;
  cursor: pointer;
}
.btn-brand-favorite.active {
  background-image: url('/static/images/icon_star_on.svg');
}

/* 검색창 및 탭 필터 버튼 */
.menu-brand-search-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.search-input-box {
  position: relative;
  flex: 1;
}
.brand-search-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #222;
  font-size: 14px;
  padding: 6px 30px 6px 24px;
  outline: none;
  background: url('/static/images/icon_search.svg') no-repeat 0 center;
  background-size: 18px;
}
.list-type-toggle-box {
  display: flex;
  gap: 6px;
  margin-left: 16px;
}
.btn-brand-list-toggle {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.btn-brand-list-toggle.selected {
  background: #000;
  color: #fff;
  border-color: #000;
}

.brandSearchitem a {
  display: flex;
  flex-direction: column; /*  세로 정렬 */
  align-items: flex-start;
  text-decoration: none;
  color: #000;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  min-width: 100px;
  transition: all 0.2s ease;
}

.brandSearchitem a:hover {
  background: #000;
  color: #fff;
}

.brandSearchitem .brand-name.eng {
  font-weight: 700;
  font-size: 14px;
}

.brandSearchitem .brand-name.kor {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}


/* 1. 전체 여백: 브랜드 리스트 상단과 구분되게 */
.gnb-brand-list-wrap {
  padding-top: 40px;   /*  검색창과 메뉴 위에 여백 */
}

/* 2. 검색창 여백 */
.menu-brand-search-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 12px;
}

/* 3. 브랜드 항목 내 영문/한글 수직 정렬 */
.brandSearchitem a {
  display: flex;
  flex-direction: column;      /*  반드시 있어야 한글이 아래로 */
  align-items: flex-start;
  text-decoration: none;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  min-width: 100px;
  color: #000;
  transition: all 0.2s ease;
}

.brandSearchitem a:hover {
  background: #000;
  color: #fff;
}

.brandSearchitem .brand-name.eng {
  font-weight: bold;
  font-size: 14px;
}

.brandSearchitem .brand-name.kor {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}


/* 검색창 전체 래퍼 */
.menu-brand-search-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 30px 20px 10px;
  background-color: #fff;
}

/* 검색 입력창 */
.search-input-box {
  position: relative;
  flex: 1;
  max-width: 360px;
}

.brand-search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #222;
  background: url('/static/images/icon_search.svg') no-repeat 8px center;
  background-size: 18px;
  outline: none;
  color: #333;
}

/* 입력창 focus 시 보더 강조 */
.brand-search-input:focus {
  border-bottom: 2px solid #000;
}

.brandSearchitem a:hover .brand-name.kor {
  color: #fff;
}

.brandSearchitem {
  display: flex;
  align-items: center;
  margin: 8px 0;
}


/* BASIC css end */

