/* Recherche instantanée (module partagé vendor/recherche/) : panneau plein écran sous la barre de saisie, grille de pièces.
   Couleurs et polices du site (variables --brand-*), avec des valeurs de repli. */
.rc { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; background: var(--brand-color-bg, #fff); color: var(--brand-color-ink, #222); }
.rc[hidden] { display: none; }
.rc.ouvert { animation: rc-entree .22s ease-out; }
@keyframes rc-entree { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .rc.ouvert { animation: none; } }
.rc-tete { display: flex; align-items: center; gap: 10px; width: min(100% - 32px, 1240px); margin-inline: auto; padding: 14px 0; border-bottom: 1px solid var(--brand-color-line, #e5e5e5); }
.rc-form { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; min-height: 52px; border: 1px solid var(--brand-color-line, #ddd); border-radius: 999px; background: var(--brand-color-surface, #fff); }
.rc-form:focus-within { border-color: var(--brand-color-ink, #222); }
.rc-form > svg { width: 20px; height: 20px; flex: none; color: var(--brand-color-ink-soft, #666); }
.rc-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: inherit; padding: 12px 0; }
.rc-form input::-webkit-search-cancel-button { display: none; }
.rc-effacer { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; flex: none; }
.rc-effacer svg { width: 18px; height: 18px; }
.rc-effacer:hover { background: var(--brand-color-surface-2, #f2f2f2); }
.rc-fermer { display: inline-grid; place-items: center; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; padding: 10px 6px; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rc-corps { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.rc-corps > * { width: min(100% - 32px, 1240px); margin-inline: auto; }
.rc-sugg, .rc-compris { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.rc-sugg button, .rc-rayon { display: inline-flex; align-items: center; line-height: normal; padding: 9px 16px; border: 1px solid var(--brand-color-line, #ddd); border-radius: 999px; background: none; font: inherit; font-size: .9rem; color: inherit; text-decoration: none; cursor: pointer; }
.rc-sugg button:hover, .rc-rayon:hover { border-color: var(--brand-color-ink, #222); }
.rc-filtre { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--brand-color-ink, #222); border-radius: 999px; background: var(--brand-color-ink, #222); color: var(--brand-color-bg, #fff); font-size: .9rem; line-height: normal; }
.rc-compte { margin: 18px auto 14px; font-size: .9rem; color: var(--brand-color-ink-soft, #666); }
.rc-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; padding-bottom: 48px; }
@media (min-width: 700px) { .rc-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 18px; } }
@media (min-width: 1100px) { .rc-grille { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rc-p { display: grid; gap: 4px; align-content: start; color: inherit; text-decoration: none; }
.rc-img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 6px; background: var(--brand-color-surface-2, #f2f2f2); border-radius: var(--brand-radius-sm, 4px); }
.rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rc-p:hover .rc-img img { transform: scale(1.03); }
.rc-img em { position: absolute; left: 8px; top: 8px; padding: 3px 8px; font-style: normal; font-size: .7rem; background: var(--brand-color-bg, #fff); }
.rc-p small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-color-ink-soft, #666); }
.rc-p b { font-weight: 500; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-prix { font-size: .9rem; font-variant-numeric: tabular-nums; }
.rc-prix s { margin-left: 6px; color: var(--brand-color-ink-soft, #666); }
.rc-remise { color: var(--brand-color-secondary, #8a2b2b); }
.rc-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
