/* =========================================================
   Bijoux Hélène Riu — Recherche — bijoux-search.css?v=1.3
   ========================================================= */

/* ── HEADER SEARCH (loupe gold) ─────────────────────────── */

/* Icône loupe gold dans le header */
#search_widget .search i.search,
#search_widget form i.material-icons.search,
.header-search .material-icons,
.search-icon,
#search_widget i[class*="search"]:not(.clear) {
  color: #c9a96e !important;
}

/* Input de recherche élargi + focus gold */
#search_widget input[type="search"],
#search_widget input[type="text"] {
  min-width: 180px;
  transition: min-width 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
#search_widget input[type="search"]:focus,
#search_widget input[type="text"]:focus {
  min-width: 280px;
  border-color: #c9a96e !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.25) !important;
}

/* Dropdown suggestions autocomplete */
#search_widget .ui-autocomplete,
.search-widget .js-search-dropdown,
.search_block_top .ac_results {
  border: 1px solid rgba(201, 169, 110, 0.4) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.15) !important;
  overflow: hidden;
}

/* Résultats autocomplete */
#search_widget .ui-autocomplete li,
.search-widget .js-search-results li {
  padding: 0;
}
#search_widget .ui-autocomplete li a,
.search-widget .js-search-results .search-result a {
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.15s;
  text-decoration: none;
  color: #2c1a0e;
}
#search_widget .ui-autocomplete li a:hover,
.search-widget .js-search-results .search-result a:hover {
  background: #f5f0e8;
}

/* ── PAGE RÉSULTATS ──────────────────────────────────────── */

/* Breadcrumb recherche */
.bhr-search-breadcrumb {
  margin-bottom: 0.5rem;
}
.bhr-search-breadcrumb .breadcrumb {
  font-size: 0.8rem;
  padding: 0;
  background: none;
  margin: 0;
}
.bhr-search-breadcrumb .breadcrumb-item a {
  color: #c9a96e;
  text-decoration: none;
}
.bhr-search-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}
.bhr-search-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #7a6a5a;
}

/* Titre Cormorant */
.bhr-search-header {
  margin-bottom: 1.5rem;
}
.bhr-search-header__title {
  font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif !important;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  font-weight: 400 !important;
  color: #2c1a0e !important;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.bhr-search-header__title em {
  font-style: italic;
  color: #c9a96e;
}
.bhr-search-header__count {
  font-size: 0.875rem;
  color: #7a6a5a;
  margin: 0;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.bhr-search-empty {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.bhr-search-empty__icon .material-icons {
  font-size: 3.5rem;
  color: #c9a96e;
  opacity: 0.6;
  display: block;
  margin-bottom: 1rem;
}
.bhr-search-empty__text {
  font-size: 1rem;
  color: #5a4a3a;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.bhr-search-empty__suggestions-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a6a5a;
  margin-bottom: 0.75rem;
}
.bhr-search-empty__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.bhr-search-empty__cat-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid #c9a96e;
  border-radius: 20px;
  color: #2c1a0e;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bhr-search-empty__cat-link:hover {
  background: #c9a96e;
  color: #fff;
}

/* ── PAGINATION BHR (fix visuel) ────────────────────────── */
.bhr-pagination-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.bhr-pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.bhr-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #c9a96e;
  border-radius: 50%;
  color: #c9a96e;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.bhr-pagination__btn:hover {
  background: #c9a96e;
  color: #fff;
}
.bhr-pagination__pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bhr-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  text-decoration: none;
  color: #2c1a0e;
  transition: background 0.15s;
}
a.bhr-pagination__page:hover {
  background: #f5f0e8;
}
.bhr-pagination__page--current {
  background: #c9a96e;
  color: #fff;
  font-weight: 600;
}
.bhr-pagination__spacer {
  color: #7a6a5a;
  padding: 0 0.25rem;
}
.bhr-pagination__info {
  font-size: 0.8rem;
  color: #7a6a5a;
  margin: 0;
}

/* === SEARCH 80 DÉFAUTS === */

/* Search results page */
.page-search { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 24px); }
.page-search h1, .bhr-search-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 24px;
}
.page-search .total-products, .bhr-search-count {
  color: rgba(232,224,208,0.7);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Search empty state */
.bhr-search-empty, .page-search .alert-warning {
  text-align: center;
  padding: clamp(40px, 8vw, 100px) 24px;
  max-width: 720px;
  margin: 0 auto;
}
.bhr-search-empty h2, .page-search .alert-warning h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 16px;
}
.bhr-search-empty p { color: rgba(232,224,208,0.85); font-size: 1.05rem; margin-bottom: 32px; }

/* Pills catégories */
.bhr-search-empty__pills, .bhr-pill-group {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0;
}
.bhr-pill, .bhr-pill-link {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(212,181,112,0.5);
  background: rgba(212,181,112,0.08);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all .25s;
  min-height: 44px;
  align-items: center;
}
.bhr-pill:hover { background: var(--gold); color: var(--night); transform: translateY(-1px); }

/* Search overlay (header) */
.bhr-search-overlay__inner { width: 100%; max-width: 720px; }
.bhr-search-overlay__close {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: 0; color: var(--cream);
  width: 44px; height: 44px; cursor: pointer; font-size: 1.5rem;
}

/* Suggestions autocomplete (si module fournit) */
.ui-autocomplete, .search-suggestions {
  background: var(--ink, #14102A) !important;
  border: 1px solid rgba(107,74,140,0.4);
  border-radius: 8px;
  margin-top: 8px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1101;
}
.ui-autocomplete .ui-menu-item { padding: 10px 14px; color: var(--cream); cursor: pointer; }
.ui-autocomplete .ui-state-active { background: rgba(212,181,112,0.15); color: var(--gold); }

/* Pagination résultats */
.page-search .pagination { margin-top: 40px; text-align: center; }

/* ── FIXES AUDIT 2026-04-25 ─────────────────────────────── */

/* 1. Double breadcrumb — cacher .bhr-search-breadcrumb sur page search
      (PS génère son propre nav[aria-label="Breadcrumb"]) */
.page-search .bhr-search-breadcrumb {
  display: none !important;
}

/* 2. Fix overflow produits — neutralise les negative margins Bootstrap
      (.products a margin: 0 -15px qui dépasse du conteneur) */
.page-search #products,
.page-search #js-product-list {
  overflow: hidden;
}
/* Compenser les négative margins Bootstrap sur .products pour éviter le clip */
.page-search .products {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Forcer les col Bootstrap à prendre 100% de leur cellule grid */
.page-search .products > .product,
.page-search .products > .js-product,
.page-search .products > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

/* 3. Toolbar sort — fix label "Sort by" qui flotte seul sur une ligne */
.page-search .bhr-toolbar,
.page-search .bhr-products-top {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 16px;
}
.page-search .bhr-sort {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.page-search .bhr-sort__label {
  display: inline !important;
  white-space: nowrap;
  font-size: 0.8rem;
  color: rgba(232, 224, 208, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 4. Highlight terme recherché dans les noms/snippets produits
      PS peut injecter <mark> ou balise highlight */
.page-search mark,
.page-search .search-highlight,
.page-search em.match {
  background: rgba(201, 169, 110, 0.25) !important;
  color: #c9a96e !important;
  font-style: normal;
  border-radius: 2px;
  padding: 0 2px;
}

/* 5. Focus ring input overlay — accessibilité keyboard */
#bhr-search-input:focus-visible {
  outline: 2px solid #c9a96e !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2) !important;
}

/* 6. Overlay close button — target ring clavier */
.bhr-search-close:focus-visible {
  outline: 2px solid #c9a96e !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* 7. Page search — padding mobile correct */
@media (max-width: 575px) {
  .page-search #main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-search .products {
    padding: 0;
  }
}

/* ── ITER 12 — POLISH FIN RECHERCHE ─────────────────────── */

/* 1. OVERLAY INPUT — grand, serif italic */
#bhr-search-overlay .bhr-search-overlay__input,
#bhr-search-input,
.bhr-search-overlay input[type="search"],
.bhr-search-overlay input[type="text"] {
  font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #2c1a0e;
  border: none;
  border-bottom: 2px solid rgba(201, 169, 110, 0.5);
  border-radius: 0;
  background: transparent;
  width: 100%;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.2s;
}
#bhr-search-overlay .bhr-search-overlay__input:focus,
#bhr-search-input:focus,
.bhr-search-overlay input[type="search"]:focus,
.bhr-search-overlay input[type="text"]:focus {
  border-bottom-color: #c9a96e;
}
#bhr-search-overlay .bhr-search-overlay__input::placeholder,
#bhr-search-input::placeholder,
.bhr-search-overlay input::placeholder {
  color: rgba(44, 26, 14, 0.35);
  font-style: italic;
}

/* 2. HINTS CLAVIER — ESC / Entrée */
.bhr-search-hints {
  display: flex;
  gap: 1rem;
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(44, 26, 14, 0.45);
  letter-spacing: 0.04em;
}
.bhr-search-hints kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(44, 26, 14, 0.25);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.7rem;
  background: rgba(44, 26, 14, 0.06);
  vertical-align: middle;
  margin-right: 3px;
  color: #2c1a0e;
}

/* 3. SUGGESTIONS LIVE — hover gold */
.ui-autocomplete .ui-menu-item-wrapper,
.ui-autocomplete .ui-menu-item a,
#search_widget .ui-autocomplete li a,
.search-suggestions li a,
.bhr-suggestion-item {
  padding: 9px 14px;
  display: block;
  color: #2c1a0e;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-state-active,
#search_widget .ui-autocomplete li a:hover,
.search-suggestions li a:hover,
.bhr-suggestion-item:hover,
.bhr-suggestion-item--active {
  background: rgba(201, 169, 110, 0.15) !important;
  color: #c9a96e !important;
}

/* 4. EMPTY STATE — message aimable + suggestions catégories */
.bhr-no-results {
  text-align: center;
  padding: clamp(48px, 8vw, 100px) 24px;
  max-width: 640px;
  margin: 0 auto;
}
.bhr-no-results__icon {
  font-size: 3rem;
  color: #c9a96e;
  opacity: 0.5;
  margin-bottom: 16px;
}
.bhr-no-results__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #2c1a0e;
  margin-bottom: 10px;
}
.bhr-no-results__text {
  font-size: 0.95rem;
  color: #7a6a5a;
  line-height: 1.65;
  margin-bottom: 28px;
}
.bhr-no-results__cats-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a6a5a;
  margin-bottom: 12px;
}
.bhr-no-results__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.bhr-no-results__cat {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #c9a96e;
  border-radius: 999px;
  color: #2c1a0e;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  min-height: 40px;
}
.bhr-no-results__cat:hover {
  background: #c9a96e;
  color: #fff;
}

/* 5. HIGHLIGHT <mark> gold dans les résultats */
.page-search mark,
mark.bhr-highlight,
.bhr-search-results mark {
  background: rgba(201, 169, 110, 0.22) !important;
  color: #9e7835 !important;
  font-style: normal;
  border-radius: 2px;
  padding: 0 2px;
  text-decoration: none;
}

/* 6. FILTRES FACETS — masqués sur page recherche (full-text only) */
.page-search #search_filters,
.page-search .bhr-facets,
.page-search #js-active-search-filters,
.page-search .active-search-filters,
.page-search .facets-title,
.page-search .facet,
.page-search #_desktop_search_filters_clear_all {
  display: none !important;
}

/* 7. HISTORIQUE RECHERCHES RÉCENTES */
.bhr-search-history {
  margin-top: 16px;
  text-align: left;
}
.bhr-search-history__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(44, 26, 14, 0.45);
  margin-bottom: 8px;
}
.bhr-search-history__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bhr-search-history__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bhr-search-history__term {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 999px;
  color: #5a4a3a;
  font-size: 0.8rem;
  text-decoration: none;
  background: rgba(201, 169, 110, 0.06);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.bhr-search-history__term:hover {
  background: rgba(201, 169, 110, 0.18);
  border-color: #c9a96e;
  color: #2c1a0e;
}
.bhr-search-history__term .bhr-history-clock {
  font-size: 0.75rem;
  color: rgba(201, 169, 110, 0.6);
}
.bhr-search-history__remove {
  background: none;
  border: none;
  color: rgba(44, 26, 14, 0.3);
  cursor: pointer;
  padding: 0 2px;
  font-size: 0.85rem;
  line-height: 1;
  transition: color 0.15s;
}
.bhr-search-history__remove:hover {
  color: #c9a96e;
}

/* 8. TAGS CATÉGORIES SOUS L'INPUT */
.bhr-search-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  justify-content: flex-start;
}
.bhr-search-cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #5a4a3a;
  text-decoration: none;
  background: rgba(201, 169, 110, 0.05);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 36px;
}
.bhr-search-cat-tag:hover,
.bhr-search-cat-tag--active {
  background: rgba(201, 169, 110, 0.18);
  border-color: #c9a96e;
  color: #2c1a0e;
}
.bhr-search-cat-tag--active {
  font-weight: 600;
}

/* ── FIN ITER 12 ─────────────────────────────────────────── */

/* ── ITER 23 — POLISH SEARCH 3e PASSE ───────────────────── */

/* 1. RECHERCHES POPULAIRES — chips cliquables */
.bhr-popular-searches {
  margin-top: 18px;
}
.bhr-popular-searches__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(44, 26, 14, 0.45);
  margin-bottom: 10px;
}
.bhr-popular-searches__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bhr-popular-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1px solid rgba(201, 169, 110, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #5a4a3a;
  background: rgba(201, 169, 110, 0.07);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  min-height: 34px;
}
.bhr-popular-chip:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: #c9a96e;
  color: #2c1a0e;
  transform: translateY(-1px);
}
.bhr-popular-chip__icon {
  font-size: 0.75rem;
  color: #c9a96e;
  opacity: 0.75;
}
.bhr-popular-chip--trending .bhr-popular-chip__icon::before {
  content: "↑";
}

/* 2. SUGGESTIONS INSTANT avec image thumb */
.bhr-instant-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fffdf9;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(44, 26, 14, 0.12);
  z-index: 1200;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
}
.bhr-instant-suggestions:empty { display: none; }
.bhr-instant-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #2c1a0e;
  transition: background 0.15s;
  cursor: pointer;
}
.bhr-instant-suggestion:hover,
.bhr-instant-suggestion--focused {
  background: rgba(201, 169, 110, 0.1);
}
.bhr-instant-suggestion__thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: rgba(201, 169, 110, 0.12);
}
.bhr-instant-suggestion__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(201, 169, 110, 0.5);
}
.bhr-instant-suggestion__info {
  flex: 1;
  min-width: 0;
}
.bhr-instant-suggestion__name {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.bhr-instant-suggestion__name mark {
  background: rgba(201, 169, 110, 0.25) !important;
  color: #9e7835 !important;
  font-style: normal;
  border-radius: 2px;
  padding: 0 1px;
}
.bhr-instant-suggestion__price {
  font-size: 0.78rem;
  color: #c9a96e;
  font-weight: 600;
}
.bhr-instant-suggestion__cat {
  font-size: 0.72rem;
  color: #7a6a5a;
  margin-left: 6px;
  font-weight: 400;
}
.bhr-instant-suggestions__footer {
  padding: 9px 16px;
  border-top: 1px solid rgba(201, 169, 110, 0.18);
  font-size: 0.78rem;
  color: #c9a96e;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}
.bhr-instant-suggestions__footer:hover { background: rgba(201, 169, 110, 0.08); }

/* 3. FILTER INLINE RÉSULTATS — catégorie / prix */
.bhr-inline-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 8px;
}
.bhr-inline-filters__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(44, 26, 14, 0.45);
  margin-right: 4px;
}
.bhr-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  color: #5a4a3a;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
  min-height: 32px;
}
.bhr-filter-chip:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: #c9a96e;
  color: #2c1a0e;
}
.bhr-filter-chip--active {
  background: #c9a96e;
  border-color: #c9a96e;
  color: #fff;
  font-weight: 600;
}
.bhr-filter-chip--active:hover {
  background: #b8945c;
  border-color: #b8945c;
  color: #fff;
}
.bhr-filter-chip__count {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-left: 2px;
}

/* 4. "VOUS VOULIEZ DIRE ?" — suggestion correction orthographe */
.bhr-did-you-mean {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: #5a4a3a;
}
.bhr-did-you-mean__icon {
  color: #c9a96e;
  font-size: 1rem;
  flex-shrink: 0;
}
.bhr-did-you-mean__link {
  color: #c9a96e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  transition: border-color 0.15s, color 0.15s;
}
.bhr-did-you-mean__link:hover {
  color: #9e7835;
  border-bottom-color: #9e7835;
}

/* 5. NO RESULTS — recommandations intelligentes (top sellers / random) */
.bhr-no-results__recommendations {
  margin-top: 40px;
  text-align: left;
}
.bhr-no-results__rec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a6a5a;
  margin-bottom: 16px;
  text-align: center;
}
.bhr-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}
.bhr-rec-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #2c1a0e;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.bhr-rec-card:hover {
  box-shadow: 0 4px 16px rgba(44, 26, 14, 0.1);
  border-color: rgba(201, 169, 110, 0.5);
  transform: translateY(-2px);
}
.bhr-rec-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: rgba(201, 169, 110, 0.08);
}
.bhr-rec-card__body {
  padding: 8px 10px;
}
.bhr-rec-card__name {
  font-size: 0.78rem;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bhr-rec-card__price {
  font-size: 0.82rem;
  color: #c9a96e;
  font-weight: 600;
}
.bhr-rec-card__badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(201, 169, 110, 0.7);
  margin-bottom: 3px;
}

/* 6. SEARCH ANALYTICS — gold accent nb résultats */
.bhr-search-analytics {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #7a6a5a;
  margin-bottom: 16px;
}
.bhr-search-analytics__count {
  font-size: 1rem;
  font-weight: 700;
  color: #c9a96e;
  font-family: 'Cormorant Garamond', serif;
}
.bhr-search-analytics__sep {
  width: 1px;
  height: 14px;
  background: rgba(201, 169, 110, 0.35);
  margin: 0 4px;
}
.bhr-search-analytics__time {
  font-size: 0.72rem;
  color: rgba(44, 26, 14, 0.35);
  font-style: italic;
}

/* 7. CLEAR SEARCH BUTTON (×) */
.bhr-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(44, 26, 14, 0.35);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
  padding: 0;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
}
.bhr-search-clear--visible {
  opacity: 1;
  pointer-events: auto;
}
.bhr-search-clear:hover {
  color: #2c1a0e;
  background: rgba(44, 26, 14, 0.06);
}
/* Wrapper relatif pour positionner le × */
.bhr-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}
.bhr-search-input-wrap input {
  padding-right: 36px;
}
/* Fallback — si l'input est dans un conteneur existant */
#search_widget,
.search-widget,
.header-search {
  position: relative;
}
#search_widget .bhr-search-clear,
.search-widget .bhr-search-clear,
.header-search .bhr-search-clear {
  right: 10px;
  top: 50%;
}

/* 8. RECENT SEARCHES — timestamp humanisé */
.bhr-search-history__time {
  font-size: 0.68rem;
  color: rgba(44, 26, 14, 0.3);
  margin-left: 4px;
  font-style: italic;
  white-space: nowrap;
}
.bhr-search-history__term--with-time {
  gap: 4px;
}
/* Badge "il y a X" visible au hover du chip */
.bhr-search-history__item:hover .bhr-search-history__time {
  color: rgba(201, 169, 110, 0.7);
}

/* ── FIN ITER 23 ─────────────────────────────────────────── */

/* =========================================================
   ITER 44 — POLISH SEARCH 4e PASSE
   ========================================================= */

/* 1. VOICE SEARCH BUTTON */
.bhr-voice-btn {
  display: none; /* shown via JS when SpeechRecognition available */
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 50%;
  cursor: pointer;
  color: #c9a96e;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.bhr-voice-btn.bhr-voice-supported {
  display: flex;
}
.bhr-voice-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.bhr-voice-btn:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: #c9a96e;
  color: #b8933d;
}
.bhr-voice-btn.bhr-voice-active {
  background: rgba(201, 169, 110, 0.2);
  border-color: #c9a96e;
  animation: bhr-pulse-mic 1s infinite;
}
@keyframes bhr-pulse-mic {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(201, 169, 110, 0); }
}

/* 2. SEARCH RESULTS GRID RESPONSIVE */
.bhr-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .bhr-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 479px) {
  .bhr-results-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. FILTER SIDEBAR COLLAPSIBLE MOBILE */
.bhr-filter-sidebar {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 767px) {
  .bhr-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 6px;
    color: #2c1a0e;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.5rem;
  }
  .bhr-filter-toggle::after {
    content: "▼";
    font-size: 0.7rem;
    transition: transform 0.3s;
    color: #c9a96e;
  }
  .bhr-filter-toggle.bhr-filter-open::after {
    transform: rotate(180deg);
  }
  .bhr-filter-sidebar {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }
  .bhr-filter-sidebar.bhr-filter-open {
    max-height: 1200px;
    opacity: 1;
  }
}
@media (min-width: 768px) {
  .bhr-filter-toggle {
    display: none;
  }
}

/* 4. PER-PAGE SELECTOR */
.bhr-per-page {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(44, 26, 14, 0.65);
}
.bhr-per-page select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.25rem 1.8rem 0.25rem 0.6rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a96e'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  background-size: 8px;
  font-size: 0.82rem;
  color: #2c1a0e;
  cursor: pointer;
  transition: border-color 0.2s;
}
.bhr-per-page select:focus {
  outline: none;
  border-color: #c9a96e;
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

/* 5. SORT BY — relevance default highlight */
.bhr-sort-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.3rem 2rem 0.3rem 0.7rem;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a96e'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  background-size: 8px;
  font-size: 0.82rem;
  color: #2c1a0e;
  cursor: pointer;
  transition: border-color 0.2s;
}
.bhr-sort-select:focus {
  outline: none;
  border-color: #c9a96e;
}
/* Option par défaut « Pertinence » visuellement marquée */
.bhr-sort-select option[value="relevance"],
.bhr-sort-select option[value="score"],
.bhr-sort-select option:first-child {
  font-weight: 600;
}
/* Badge « Par défaut » à côté du select */
.bhr-sort-default-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(201, 169, 110, 0.15);
  color: #b8933d;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 4px;
  letter-spacing: 0.02em;
}

/* 6. QUICK VIEW HOVER SUR RÉSULTATS */
.bhr-result-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.bhr-result-card__quickview {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.55rem 0.75rem;
  background: rgba(44, 26, 14, 0.82);
  color: #f5e9d0;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.22s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.bhr-result-card:hover .bhr-result-card__quickview,
.bhr-result-card:focus-within .bhr-result-card__quickview {
  transform: translateY(0);
}
.bhr-result-card__quickview:hover {
  background: rgba(201, 169, 110, 0.92);
  color: #2c1a0e;
}
/* Touch : toujours visible sur mobile */
@media (hover: none) {
  .bhr-result-card__quickview {
    transform: translateY(0);
    background: rgba(44, 26, 14, 0.6);
    font-size: 0.72rem;
    padding: 0.4rem;
  }
}

/* 7. AUTO-SUGGEST DEBOUNCED — états visuels */
.bhr-suggest-loading {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: rgba(44, 26, 14, 0.45);
  font-style: italic;
}
.bhr-suggest-loading::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(201, 169, 110, 0.3);
  border-top-color: #c9a96e;
  border-radius: 50%;
  animation: bhr-spin 0.6s linear infinite;
  flex-shrink: 0;
}
@keyframes bhr-spin {
  to { transform: rotate(360deg); }
}
/* Highlight du terme debounced dans les suggestions */
.bhr-suggest-highlight {
  color: #c9a96e;
  font-weight: 700;
}
/* Délai visuel — input en attente de debounce */
.bhr-search-input-wrap.bhr-debouncing input {
  border-color: rgba(201, 169, 110, 0.5) !important;
}

/* 8. SEARCH HISTORY — CLEAR ALL BUTTON */
.bhr-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1rem 0.25rem;
  gap: 0.5rem;
}
.bhr-history-header__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(44, 26, 14, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bhr-history-clear-all {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  color: rgba(201, 169, 110, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.bhr-history-clear-all:hover {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.07);
}
.bhr-history-clear-all:active {
  transform: scale(0.95);
}
/* Animation suppression de tous les chips */
.bhr-search-history__item.bhr-history-removing {
  animation: bhr-fadeout-chip 0.25s ease forwards;
}
@keyframes bhr-fadeout-chip {
  to { opacity: 0; transform: scale(0.85); max-width: 0; padding: 0; margin: 0; overflow: hidden; }
}

/* ── FIN ITER 44 ─────────────────────────────────────────── */

