/* Escale Recherche */
.erc-lock { overflow: hidden; }
#search-modal { display: none !important; }
.erc { position: fixed; inset: 0; z-index: 2147483000; font-family: Gidole, sans-serif; color: #231f1b; }
.erc[hidden] { display: none; }
.erc__backdrop { position: absolute; inset: 0; background: rgba(35, 31, 27, .45); opacity: 0; transition: opacity .22s; }
.erc__panel {
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(35, 31, 27, .45);
  transform: translateY(-16px);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), opacity .22s;
}
.erc.is-open .erc__backdrop { opacity: 1; }
.erc.is-open .erc__panel { transform: none; opacity: 1; }

.erc__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; max-width: 1290px; margin: 0 auto; padding: 22px 40px 18px; background: #fff; }
.erc__form { flex: 1; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 22px; border: 1px solid #ebe4dc; border-radius: 999px; background: #f7f3ee; transition: border-color .2s, background .2s; }
.erc__form:focus-within { border-color: #231f1b; background: #fff; }
.erc__icon { flex: none; color: #9c876f; }
.erc__input {
  flex: 1;
  min-width: 0;
  height: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  font: inherit !important;
  font-size: 17px !important;
  color: #231f1b !important;
}
.erc__input::placeholder { color: #9a9088; }
.erc__input::-webkit-search-cancel-button { display: none; }
.erc__close { flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ebe4dc; border-radius: 50%; background: #fff; color: #231f1b; cursor: pointer; transition: background .2s; }
.erc__close:hover { background: #f7f3ee; }

.erc__body { max-width: 1290px; margin: 0 auto; padding: 8px 40px 40px; }
.erc-label { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9c876f; }
.erc-loading { margin: 20px 0; color: #7d736a; }

.erc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.erc-chip { padding: 9px 16px; border: 1px solid #ebe4dc; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: #231f1b; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.erc-chip:hover { background: #231f1b; border-color: #231f1b; color: #fff; }

.erc-routines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.erc-routine { display: flex; flex-direction: column; border: 1px solid #ebe4dc; border-radius: 14px; overflow: hidden; color: #231f1b; text-decoration: none; background: #fff; transition: box-shadow .25s, transform .25s; }
.erc-routine:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(35, 31, 27, .5); }
.erc-routine__imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #ebe4dc; }
.erc-routine__imgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f7f3ee; mix-blend-mode: multiply; display: block; }
.erc-routine__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.erc-routine__eyebrow { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #4f6b4a; font-weight: 600; }
.erc-routine__body strong { font-size: 15px; font-weight: 600; }
.erc-routine__price { font-size: 14px; font-weight: 600; }
.erc-routine__price del, .erc-card__price del { font-weight: 400; color: #8a8079; font-size: 12.5px; margin-left: 4px; }

.erc-results { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.erc-results--full { grid-template-columns: 1fr; }
.erc-side .erc-label { margin-top: 4px; }
.erc-needs { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 6px; }
.erc-needs li { margin: 0; }
.erc-needs a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; background: #f7f3ee; color: #231f1b; text-decoration: none; font-size: 15px; transition: background .15s; }
.erc-needs a:hover { background: #efe7dd; }
.erc-needs small { font-size: 11.5px; color: #9c876f; }
.erc-side .erc-routine { margin-bottom: 24px; }

.erc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; }
.erc-card { display: flex; flex-direction: column; color: #231f1b; text-decoration: none; }
.erc-card__img { display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #f7f3ee; margin-bottom: 10px; }
.erc-card__img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2, .7, .2, 1); display: block; }
.erc-card:hover .erc-card__img img { transform: scale(1.05); }
.erc-card__brand { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #9c876f; margin-bottom: 3px; }
.erc-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.erc-card__price { font-size: 14px; font-weight: 600; }
.erc-all { display: inline-flex; align-items: center; margin-top: 26px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #231f1b; color: #fff; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.erc-all:hover { background: #000; }
.erc-none { max-width: 560px; }
.erc-none p { margin: 0 0 10px; font-size: 15px; color: #4a433d; }

@media (max-width: 999px) {
  .erc__bar { padding: 14px 16px 12px; gap: 10px; }
  .erc__form { height: 52px; padding: 0 16px; }
  .erc__input { font-size: 16px !important; }
  .erc__close { width: 44px; height: 44px; }
  .erc__body { padding: 4px 16px 32px; }
  .erc-results { grid-template-columns: 1fr; gap: 8px; }
  .erc-grid, .erc-routines { grid-template-columns: repeat(2, 1fr); }
}
