/* Boutique : barre de recherche et types de produits (charte universite.cd) */
.crq-shop { --crq-shop-brand: var(--crq-brand, #a81010); margin: 0 0 1.5rem; font-size: 15px; clear: both; }
.crq-shop *, .crq-shop *::before { box-sizing: border-box; }
.crq-shop-form { position: relative; display: flex; gap: .5rem; }
.crq-shop-field { flex: 1; margin: 0; }
.crq-shop-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crq-shop input[type="search"] { width: 100%; min-height: 3rem; margin: 0; padding: .7rem 1rem .7rem 2.75rem; border: 1px solid #d0d5dd; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") no-repeat 1rem center / 1.15rem; font: inherit; color: #111418; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.crq-shop input[type="search"]:focus { outline: none; border-color: var(--crq-shop-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--crq-shop-brand) 18%, transparent); }
.crq-shop-go { min-height: 3rem; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--crq-shop-brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.crq-shop-go:hover { filter: brightness(.93); }
.crq-shop-results { position: absolute; z-index: 9999; top: calc(100% + .4rem); left: 0; right: 0; max-height: 26rem; overflow: auto; padding: .4rem; background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(16, 24, 40, .3); }
.crq-shop-hit { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .5rem .6rem; border-radius: 12px; color: #111418 !important; text-decoration: none !important; }
.crq-shop-hit:hover, .crq-shop-hit.is-active { background: color-mix(in srgb, var(--crq-shop-brand) 7%, #fff); }
.crq-shop-thumb { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; overflow: hidden; border-radius: 10px; background: var(--crq-shop-brand); color: #fff; font-weight: 800; }
.crq-shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.crq-shop-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.crq-shop-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.crq-shop-text small { color: #667085; font-size: .8rem; }
.crq-shop-price { font-weight: 750; color: var(--crq-shop-brand); white-space: nowrap; }
.crq-shop-empty { margin: 0; padding: .8rem; color: #667085; }
.crq-shop-more { display: block; width: 100%; margin-top: .25rem; padding: .65rem; border: 0; border-top: 1px solid #e4e7ec; background: none; color: var(--crq-shop-brand); font: inherit; font-weight: 700; cursor: pointer; }
.crq-shop-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.crq-shop-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border: 1px solid #e4e7ec; border-radius: 999px; background: #fff; color: #344054 !important; font-weight: 650; font-size: .9rem; text-decoration: none !important; }
.crq-shop-chip span { padding: 0 .45rem; border-radius: 999px; background: #f2f4f7; color: #667085; font-size: .78rem; }
.crq-shop-chip:hover { border-color: var(--crq-shop-brand); }
.crq-shop-chip.is-active { background: var(--crq-shop-brand); border-color: var(--crq-shop-brand); color: #fff !important; }
.crq-shop-chip.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 560px) { .crq-shop-go { padding: 0 1rem; } .crq-shop-hit { grid-template-columns: 2.5rem minmax(0, 1fr); } .crq-shop-price { grid-column: 2; } }
