@charset "UTF-8";

/* 搜尋 */
.index-search {padding-top: 2rem; padding-bottom: 2rem;}
.index-search h1 {font-size: 26px;}
.index-search .tab-search {padding-right: 5%; padding-left: 5%; height: 100%; z-index: 15; pointer-events: none;}
.index-search .tab-search-field {position: relative; margin: 0; }
.index-search .tab-search-field input.tab-input-search {background: rgba(255,255,255,0.9); font-size: 1.1rem; padding: 2px 68px 2px 22px; width: 100%; height: 52px; border-radius: 8px; box-shadow: 0 0 16px rgb(0 0 0 / 20%);}
.index-search .tab-search-field input.tab-input-search::placeholder {color: #999;}
.index-search .tab-search-field input.tab-input-search:focus {border: 1px solid #209cff; box-shadow: rgba(205, 231, 255, 1) 0 0 0 3px !important;}
.index-search .tab-search-field input.tab-input-search.active {background: rgba(255,255,255,1); color: #666; font-size: 1.1rem; caret-color: #666; margin-left: 0; box-shadow: 0 0 16px rgb(0 0 0 / 30%);}
.index-search .tab-search-field .tab-recommend-results {font-size: .9rem; top: 3.4rem;}
.index-search .tab-search-field .tab-search-close {top: 11px; right: 65px; height: 24px; width: 24px;}
.index-search .tab-search-field .tab-search-close img {height: 32px; width: 32px;}
.index-search .tab-search-field .tab-recommend-results .button {font-size: .9rem; padding: 0.3rem;}
.index-search .tab-search-field .search-keyword {font-size: .9rem;}

.index-search .tab-search-field .tab-search-go {background: url(/home/eShop/img/icon-search-white.svg) #209cff no-repeat center center; background-size: contain; right: 4px; top: 4px; height: 44px; width: 44px; background-size: 50%; border-radius: 6px; text-indent: 100%; white-space: nowrap; overflow: hidden; cursor: pointer; opacity: 0.95; pointer-events: none;}

/* .tab-search-field {position: absolute; left: 0; right: 0; height: 100%; pointer-events: none;} */
.tab-search-field input.tab-input-search {background: rgba(255,255,255,.2); color: #666; width: 100%; margin-right: 0; padding: 4px 40px 4px 16px; font-size: 16px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; pointer-events: auto;}
.tab-search-field input.tab-input-search::placeholder {color: rgba(255,255,255,.7);}
.tab-search-field input.tab-input-search.active {background: rgba(0,0,0,0.2); font-size: 16px;}
.tab-search-field .tab-search-go {position: absolute; background: url(../img/icon-search-white.svg) no-repeat center center; right: 4px; top: 0; bottom: 0; height: 36px; text-indent: 100%; white-space: nowrap; overflow: hidden; opacity: 0.7; cursor: pointer;     pointer-events: none;}
.tab-search-field .tab-search-close {position: absolute; top: 9px; right: 45px; height: 20px; width: 20px; visibility: hidden;pointer-events: auto;}
/*.tab-search-field .tab-search-close a {height: 20px; width: 20px; display: flex;}*/
.tab-search-field input.tab-input-search.active ~ .tab-search-go {/*background: url(https://web-eshop.cdn.hinet.net/eshop/img/ic/search-blue.svg) no-repeat left center; right: -8px;*/ opacity: 1; pointer-events: auto;}
.tab-search-field input.tab-input-search.active ~ .tab-search-close {visibility: visible;}
.tab-search-field .tab-recommend-results-block {position: fixed; top: 0; left: 100%; height: 100%; overflow: hidden; display: none;}
.tab-search-field .tab-recommend-results {position: absolute; background: #fff; font-size: .9rem; font-weight: 400; padding: 0.6rem 1.2rem 0.8rem 1.2rem; margin: 0; right: 0; top: 44px; left: 0; list-style: none; border-radius: 0.6rem; box-shadow: 0px 15px 1.5rem rgb(0 0 0 / 10%); z-index: 19; display: none; pointer-events: auto;}
.tab-search-field .tab-recommend-results .button {font-size: .85rem; min-width: 90px; padding: 0.3rem; margin: 0; line-height: 1.6; box-shadow: none !important;}

.tab-search-field input.tab-input-search.active ~ .tab-recommend-results.active {touch-action: none; display: block;}
.tab-search-field .search-seperator {font-weight: 500; padding-top: 0.4rem;}
.tab-search-field .search-keyword {font-size: 0.9rem; padding: 0; touch-action: auto; z-index: 29;}
.tab-search-field .search-keyword ul {list-style: none; margin: 0; max-height: 200px; overflow-y: auto;}
.tab-search-field .search-keyword ul li {margin-right: 0.6rem; border-bottom: 1px solid #e6e6e6;}
.tab-search-field .search-keyword ul li:last-child {border-bottom: 0;}
.tab-search-field .search-keyword ul li a {color: #333; padding: 0.5rem 0; display: block; text-align: left;}
.tab-search-field .search-keyword ul li a:hover {color: #209cff; text-decoration: none;}
.tab-search-field .search-keyword .search-keyword-icon {margin-right: 8px; min-width: 24px; display: flex;}

.index-search-tag {margin-top: 1.2rem;}
.index-search-tag .tag-popular {width: 88%; margin: 0 auto; padding: 0!important;}
.index-search-tag .tag-popular-title {font-size: .8rem; font-weight: bold; color: #666; margin-bottom: .6rem;}
.index-search-tag .tag-popular-area {line-height: 280%;}
.index-search-tag .tag-popular-area a.tag {background: #fff; padding: 7px 14px; color: #666; font-size: 14px; font-weight: normal; border: 1px solid #ccc; border-radius: 12px;}
.index-search-tag .tag-popular-area a.tag:hover {color: #209cff; text-decoration: none; border: 1px solid #209cff;}

/* 搜尋結果 */
#recommend-results-2 { display: block; opacity: 1; visibility: visible; z-index: 3; background: white; transition: all .3s; -webkit-box-shadow: 0px 0px 2rem rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 2rem rgba(0, 0, 0, 0.1); -webkit-transition: all .3s; text-align: left; padding: .4rem .8rem; border-radius: .2rem; width: 100%; margin: 0; top: 1.8rem; left: 0; right: 0;}
#recommend-results-2 li { line-height: 1.2; padding: .2rem 0; margin: 0; list-style: none; }
#recommend-results-2 li a { color: #333333 !important; text-decoration: none; cursor: pointer; font-size: .8rem;}
#recommend-results-2 li a:hover { color: #209cff; text-decoration: none; cursor: pointer; }

.search-result-item { word-break: break-all; }
.search-result-category { display: block; padding: 0.6rem 0 1.2rem 0; width: 100%; }
.search-result-category li { display: inline-block; margin-right: 10px; }
.search-result-category a .current { color: darkorange; font-weight: 600; }
.search-category { list-style: none; margin: 0; border-bottom: 4px solid #e5e5e5; }
.search-category li { margin: 4px 0 8px 0; font-size: 0.8rem; display: inline-block; vertical-align: top; }
.search-category li a { color: #4c4c4c; padding: 0.55rem 2.2vw; font-size: 1rem; font-weight: bold; }
.search-category li a:hover {color: #209cff; text-decoration: none;}
.search-category li a.current { color: #209cff; border-bottom: 4px solid #209cff;}
.search-result-item { word-break: break-all; font-size: .75rem; margin-bottom: 0.8rem; padding-bottom: .4rem; border-bottom: 1px solid #e5e5e5;}
.search-result-item .h4 {font-size: 1.1rem; margin-bottom: 4px;}
.search-result-item .h4 a {color: #333;}
.search-result-item .h4 a:hover {color: #209cff;}
.search-result-item p { color: #4d4d4d; font-size: .9rem; }
.search-result-item .sub-content { font-size: 0.6rem; color: rgba(0, 0, 0, 0.5) !important; margin-bottom: 0; }

.search-notfound>.container {padding: 1.6rem 0 1rem 0; border-bottom: 1px solid #e5e5e5;}
.search-notfound .search-notfound-note {margin-top: .6rem; font-size: .9rem;}

.index-search-result {width: 88%; margin: 8% auto;}
#target .section-title-area, #target .section-title-area .h2 {text-align: center;}


/* header 搜尋 */
section#header header nav .extra-section .search .search-button-2026 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; width: 44px; height: 44px; }
.search-overlay-2026 {content: ''; position: fixed; background: rgba(0,0,0,.2); left: 0; right: 0; top: 0; bottom: 0; z-index: 2;}
.search-field-2026 {position: absolute; background: #fff; top: 60px; left: 0; right: 0; box-shadow: rgba(0, 0, 0, 0.25) 0 4px 4px 0, inset rgba(0, 0, 0, 0.15) 0 2px 4px 0; z-index: 19; display: none;}
.search-field-2026.active {display: block;}
.search-field-2026 .index-search {padding-bottom: 1rem;}
.search-field-2026 .tab-search-field .search-keyword {width: 100%;}
.search-field-2026 .tab-recommend-results {display: none;}
.search-field-2026 .tab-recommend-results.active {display: flex;}
.search-field-2026 .index-search .tab-search-field .tab-recommend-results {position: relative; background: none; top: initial; box-shadow: none; padding-bottom: 0; padding-top: 0; margin-top: -0.4rem;}