/* Search bar icon + iOS double box; mobile category FILTER label */

/* —— Mobile search: one bar, crisp black icon (same as header) —— */
@media only screen and (max-width: 770px) {
  html:root body #header #header-search.skip-active form,
  html:root body .lux-drawer-search form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e5e5e5 !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
  }

  html:root body #header #header-search.skip-active .input-box,
  html:root body .lux-drawer-search .input-box {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  html:root body #header #header-search.skip-active input#search,
  html:root body #header #header-search.skip-active input[type="search"],
  html:root body #header #header-search.skip-active input[name="q"],
  html:root body .lux-drawer-search input[type="search"],
  html:root body .lux-drawer-search input[name="q"],
  html:root body .lux-drawer-search input.input-text {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 44px !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  html:root body #header #header-search.skip-active input[type="search"]::-webkit-search-decoration,
  html:root body #header #header-search.skip-active input[type="search"]::-webkit-search-cancel-button,
  html:root body #header #header-search.skip-active input[type="search"]::-webkit-search-results-button,
  html:root body #header #header-search.skip-active input[type="search"]::-webkit-search-results-decoration,
  html:root body .lux-drawer-search input[type="search"]::-webkit-search-decoration,
  html:root body .lux-drawer-search input[type="search"]::-webkit-search-cancel-button,
  html:root body .lux-drawer-search input[type="search"]::-webkit-search-results-button,
  html:root body .lux-drawer-search input[type="search"]::-webkit-search-results-decoration {
    display: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  html:root body #header #header-search.skip-active button.search-button,
  html:root body .lux-drawer-search button.search-button {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px 20px !important;
  }

  html:root body #header #header-search.skip-active button.search-button span,
  html:root body .lux-drawer-search button.search-button span {
    display: none !important;
  }

  html:root body #header #header-search.skip-active button.search-button::before,
  html:root body #header #header-search.skip-active button.search-button::after,
  html:root body .lux-drawer-search button.search-button::before,
  html:root body .lux-drawer-search button.search-button::after {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
  }

  /* —— Mobile FILTER: don't cover the word, no empty card —— */
  html:root body .col-left .block.block-layered-nav,
  html:root body .sidebar .block.block-layered-nav,
  html:root body .block-layered-nav {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
  }

  html:root body p.block-subtitle.block-subtitle--filter,
  html:root body .block-layered-nav .block-subtitle--filter {
    position: relative !important;
    display: block !important;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 12px 40px 12px 16px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
  }

  html:root body .block-layered-nav .block-subtitle--filter:after,
  html:root body .block-layered-nav .block-subtitle--filter:hover:after,
  html:root body .block-layered-nav .block-subtitle--filter.active:after {
    content: "" !important;
    position: absolute !important;
    left: auto !important;
    right: 16px !important;
    top: 50% !important;
    margin-top: -3px !important;
    width: 0 !important;
    height: 0 !important;
    display: block !important;
    background: none !important;
    border: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 6px solid #111 !important;
    border-bottom: 0 !important;
  }

  html:root body p.block-subtitle.block-subtitle--filter:not(.active) + dl,
  html:root body p.block-subtitle.block-subtitle--filter:not(.active) + #narrow-by-list,
  html:root body p.block-subtitle.block-subtitle--filter:not(.active) + #narrow-by-list2 {
    display: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  html:root body #narrow-by-list,
  html:root body #narrow-by-list2 {
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-top: 0 !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }

  html:root body .block-layered-nav .block-content > dl > dt,
  html:root body .block-layered-nav dt {
    position: relative !important;
    padding: 12px 40px 12px 16px !important;
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-sizing: border-box !important;
  }

  html:root body .block-layered-nav .block-content > dl > dt:after,
  html:root body .block-layered-nav .block-content.accordion-open > dl > dt.current:after {
    left: auto !important;
    right: 16px !important;
    border-color: transparent !important;
    border-top: 5px solid #111 !important;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-bottom: 0 !important;
    background: none !important;
  }
}
