/* V13 Search History · global/header/search/404 · 2026-11-14
   Intentionally scoped: do not style the theme's generic .dropdown or cart UI. */
[data-ds-search-history-form] .field {position:relative;}
[data-ds-search-history-form] {position:relative;}
[data-ds-search-history-form] .ds-search-history {
  box-sizing:border-box;
  display:none;
  position:absolute;
  top:calc(100% + 7px);
  inset-inline:0;
  z-index:250;
  width:100%;
  min-width:0;
  max-height:min(280px, 36dvh);
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:5px 0 7px;
  border:1px solid #e4e6e4;
  border-radius:12px;
  background:#fff;
  color:#171a19;
  box-shadow:0 9px 24px rgba(0,0,0,.085);
  font-family:'Noto Sans TC', 'Exo 2', sans-serif;
  letter-spacing:normal;
  text-align:left;
  -webkit-overflow-scrolling:touch;
}
[data-ds-search-history-form] .ds-search-history.is-open {display:block;}
[data-ds-search-history-form] .ds-search-history__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:36px;
  padding:4px 13px 6px 15px;
}
[data-ds-search-history-form] .ds-search-history__title {
  font-size:12px;
  line-height:1.4;
  font-weight:600;
  color:#6d7270;
}
[data-ds-search-history-form] .ds-search-history__clear {
  flex:0 0 auto;
  border:0;
  border-radius:5px;
  min-height:31px;
  padding:5px 8px;
  font-family:inherit;
  font-size:12px;
  line-height:1.4;
  font-weight:500;
  background:transparent;
  color:#676c69;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
[data-ds-search-history-form] .ds-search-history__clear:hover {background:#f5f6f5;color:#161918;}
[data-ds-search-history-form] .ds-search-history__list {padding:0;margin:0;list-style:none;}
[data-ds-search-history-form] .ds-search-history__term {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
  min-height:43px;
  border:0;
  background:transparent;
  color:#222625;
  padding:10px 15px;
  margin:0;
  text-align:left;
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:normal;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
[data-ds-search-history-form] .ds-search-history__term:hover {background:#f6f7f6;}
[data-ds-search-history-form] .ds-search-history__icon {
  width:16px;
  height:16px;
  flex:0 0 16px;
  color:#999f9b;
}
[data-ds-search-history-form] .ds-search-history__label {
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
[data-ds-search-history-form] .ds-search-history__term:focus-visible,
[data-ds-search-history-form] .ds-search-history__clear:focus-visible {outline:2px solid #212524;outline-offset:-2px;}
@media (max-width:989px){
  #easystore-section-header [data-ds-search-history-form] .ds-search-history {max-height:min(256px, 32dvh);border-radius:11px;}
  #easystore-section-header [data-ds-search-history-form] input.search__input {font-size:16px;}
  [data-ds-search-history-form] .ds-search-history__term {min-height:46px;font-size:15px;}
  [data-ds-search-history-form] .ds-search-history__head {padding-top:5px;padding-bottom:5px;}
}
@media (prefers-reduced-motion:reduce){[data-ds-search-history-form] .ds-search-history{scroll-behavior:auto;}}
