/* ==========================================================================
   Advanced Woo Search — live results dropdown (rendered at <body> level)
   Restyled to match the nav / mini-cart dropdowns: cream card, rounded
   thumbnails, brand colours, bordeaux matched term, refined footer.
   ========================================================================== */

.aws-search-result {
  background: #fff;
  border: 1px solid var(--jl-line);
  /* flat top connects to the pill's squared-off bottom; rounded bottom only.
     !important: AWS forces border-radius via an #id-scoped rule. */
  border-radius: 0 0 var(--jl-r-media) var(--jl-r-media) !important;
  box-shadow: 0 22px 48px rgba(27, 21, 18, .16);
  padding: 6px;
}
.aws-search-result ul { margin: 0; padding: 0; list-style: none; }

/* --- Result row --- */
.aws-search-result .aws_result_item {
  margin: 0;
  border-bottom: 1px solid var(--jl-line);
}
.aws-search-result .aws_result_item:last-child { border-bottom: 0; }
.aws-search-result .aws_result_link { padding: 12px; transition: background .15s ease; }
.aws-search-result .aws_result_item:hover .aws_result_link {
  background: rgba(110, 28, 47, .05);
  border-radius: var(--jl-r-chip);
}

/* Thumbnail */
.aws-search-result .aws_result_image img {
  border-radius: var(--jl-r-chip);
  border: 1px solid var(--jl-line);
}

/* Title — ink, with the matched term in bordeaux */
.aws-search-result a,
.aws-search-result .aws_result_title {
  font-family: var(--jl-sans);
  font-weight: 500;
  color: var(--jl-ink);
}
.aws-search-result .aws_result_title strong { color: var(--jl-bordeaux); font-weight: 700; }
.aws-search-result .aws_result_item:hover .aws_result_title { color: var(--jl-bordeaux); }

/* Price */
.aws-search-result .aws_result_price .amount { color: var(--jl-bordeaux); font-weight: 500; }
.aws-search-result .aws_result_price del,
.aws-search-result .aws_result_price del .amount { color: var(--jl-text-40); font-weight: 400; }

/* Footer — "Voir tous les résultats" */
.aws-search-result .aws_search_more { border-bottom: 0; }
.aws-search-result .aws_search_more a {
  display: block;
  padding: 13px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--jl-bordeaux);
  transition: background .15s ease, color .15s ease;
}
.aws-search-result .aws_search_more a:hover {
  background: rgba(110, 28, 47, .06);
  border-radius: var(--jl-r-chip);
  color: var(--jl-bordeaux-dark);
}
