/* Reference search proportions, scoped to OMNEX's red/dark search surface. */
.home-page #storeMobileSearch { max-width: none; width: 100%; min-height: 100dvh; margin: 0; padding: 0 0 40px; background: var(--bg-main); }
/* Keep the search view isolated from homepage sections while results scroll. */
body.store-search-open :is(.omnex-slider, .store-categories, .omnex-footer, [data-store-home-content], .customer-reviews) { display: none !important; }
.home-page #storeMobileSearch .store-mobile-search-heading { position: sticky; top: 72px; z-index: 90; gap: 14px; padding: 16px 20px 12px; background: var(--bg-main); border-bottom: 1px solid rgba(255,255,255,.06); }
.home-page #storeMobileSearch .store-mobile-search-heading :is(h1,h2) { font-size: 18px; font-weight: 700; }
.home-page #storeSearchBack { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); color: #d6d6df; }
.home-page #storeSearchBack:hover { background: rgba(255,255,255,.1); color: #fff; transform: none; }
.home-page #storeMobileSearch .store-mobile-search-body { padding: 16px 0 0; }
.home-page #storeMobileSearchForm { position: relative; margin: 0 20px 16px; min-height: 57px; padding: 0; border: 1.5px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: none; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.home-page #storeMobileSearchForm:focus-within { background: rgba(255,255,255,.07); border-color: #e52636; box-shadow: 0 0 0 3px rgba(229,38,54,.12); }
.home-page #storeMobileSearchForm .store-search-field { gap: 0; padding: 0; }
.home-page #storeMobileSearchForm .store-search-field > svg { position: absolute; right: 16px; width: 19px; height: 19px; color: #aaaab9; pointer-events: none; }
.home-page #storeMobileSearchForm input { height: 54px; padding: 15px 48px 15px 56px; font-size: 16px; font-weight: 400; color: #f4f4f6; caret-color: #ff8692; }
.home-page #storeMobileSearchForm input::placeholder { color: #aaaab9; }
.home-page #storeMobileSearch #storeSearchClear { position: absolute; isolation: isolate; left: 6px; width: 44px; height: 44px; min-width: 44px; padding: 6px; border: 0; border-radius: 50%; background: transparent; color: #aaaab9; box-shadow: none; transform: none; }
.home-page #storeMobileSearch #storeSearchClear::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; transition: background-color .2s; }
.home-page #storeMobileSearch #storeSearchClear:hover { color: #fff; background: transparent; box-shadow: none; transform: none; }
.home-page #storeMobileSearch #storeSearchClear:hover::before { background: rgba(255,255,255,.14); }
.home-page #storeSearchSummary, .home-page #storeSearchMatches { width: min(100%,1280px); margin: 0 auto; padding-inline: 24px; box-sizing: border-box; }
.home-page #storeSearchSummary { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #aaaab9; font-size: 14px; line-height: 1.8; }
.store-search-count { display: inline-flex; align-items: center; justify-content: center; min-width: 27px; padding: 3px 10px; border-radius: 20px; background: #342027; color: #ff8692; font-size: 13px; font-weight: 700; }
.home-page #storeSearchSummary strong { color: #e0e0e7; font-weight: 700; }
.home-page #storeSearchMatches section { margin: 0 0 24px; }
.home-page #storeSearchMatches h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding-top: 4px; color: #d6d6df; font-size: 15px; font-weight: 700; }
.store-search-group-icon { width: 18px; height: 18px; fill: none; stroke: #ff8692; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store-search-group-count { padding: 2px 9px; border-radius: 20px; background: rgba(255,255,255,.07); color: #aaaab9; font-size: 12px; font-weight: 600; }
.home-page #storeSearchMatches .store-search-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); justify-content: normal; gap: 12px; align-items: stretch; }
.home-page #storeSearchMatches .store-catalog-card { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #383842; border-radius: 20px; background: #24242c; color: #f4f4f6; box-shadow: none; animation: omnex-search-card-in .35s ease backwards; transition: transform .2s, border-color .2s, box-shadow .2s; }
.home-page #storeSearchMatches .store-catalog-card:hover, .home-page #storeSearchMatches .store-catalog-card:focus-visible { transform: translateY(-3px); border-color: #e52636; box-shadow: 0 12px 24px rgba(0,0,0,.22); }
.home-page #storeSearchMatches .store-catalog-card:focus-visible { outline: 2px solid #ff8692; outline-offset: 3px; }
.home-page #storeSearchMatches .store-catalog-artwork { position: relative; flex-shrink: 0; margin: 7px 7px 0; padding: 0; aspect-ratio: auto; border-radius: 0; overflow: visible; background: transparent; }
.home-page #storeSearchMatches .store-catalog-artwork img { position: static; display: block; width: 100%; height: auto; aspect-ratio: auto; border-radius: 0; object-fit: contain; object-position: center; background: transparent; box-shadow: none; }
.home-page #storeSearchMatches .store-catalog-artwork img.image-contain { object-fit: contain; }
.home-page #storeSearchMatches .store-catalog-card-info { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 10px 12px 12px; text-align: start; }
.home-page #storeSearchMatches .store-catalog-card-info h3 { display: -webkit-box; overflow: hidden; margin: 0 0 6px; color: #f4f4f6; font-size: 13px; font-weight: 800; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.home-page #storeSearchMatches .store-catalog-card-info p { display: flex; align-items: center; gap: 6px; margin: auto 0 0; color: #b8bac2; font-size: 11px; line-height: 1.6; }
.home-page #storeSearchMatches .store-catalog-card-info p svg { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: #ff8692; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-page #storeMobileSearchState { padding: 60px 20px; min-height: 420px; gap: 0; }
.home-page #storeMobileSearch .store-search-empty-icon { width: 92px; height: 92px; margin: 0 0 20px; border: 1px solid #37313b; border-radius: 50%; background: #1c1b23; color: #e8e8ef; }
.home-page #storeMobileSearch .store-search-discovery { width: 50px; height: 50px; overflow: visible; stroke-width: 1.8; }
.store-search-discovery-card { color: #ae737d; }
.store-search-discovery-lens { animation: store-search-discover 5.6s cubic-bezier(.45,0,.25,1) infinite; animation-play-state: paused; }
.store-search-discovery-lens circle { fill: #1c1b23; }
.store-search-discovery-reflection { color: #ff8995; }
.home-page #storeMobileSearch:not([hidden]) .store-search-empty-icon[data-animate="true"] .store-search-discovery-lens { animation-play-state: running; }
@keyframes store-search-discover {
  0%, 12%, 78%, 100% { transform: translate(0,0); }
  32% { transform: translate(-5px,-4px); }
  52% { transform: translate(2px,-3px); }
}
.home-page #storeMobileSearchState h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #e0e0e7; }
.home-page #storeMobileSearchState p { max-width: 280px; font-size: 14px; line-height: 1.6; color: #aaaab9; }
.home-page #storeSearchLoading { display: flex; flex-direction: column; gap: 12px; width: min(100%,1280px); margin-inline: auto; padding: 0 20px; box-sizing: border-box; }
.home-page #storeSearchLoading span { display: block; height: 70px; border-radius: 16px; background: rgba(255,255,255,.05); animation: omnex-search-loading 1.2s ease-in-out infinite alternate; }
@keyframes omnex-search-card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes omnex-search-loading { to { opacity: .45; } }
@media(max-width:1200px) { .home-page #storeSearchMatches .store-search-grid { grid-template-columns: repeat(6,minmax(0,1fr)); } }
@media(max-width:900px) { .home-page #storeSearchMatches .store-search-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:700px) {
  .home-page #storeSearchMatches .store-search-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .home-page #storeSearchSummary, .home-page #storeSearchMatches { padding-inline: 12px; }
  .home-page #storeSearchMatches .store-catalog-card { border-radius: 16px; }
  .home-page #storeSearchMatches .store-catalog-artwork { margin: 4px 4px 0; }
  .home-page #storeSearchMatches .store-catalog-card-info { padding: 8px 8px 10px; }
  .home-page #storeSearchMatches .store-catalog-card-info h3 { font-size: 11px; line-height: 1.3; margin-bottom: 4px; }
}
@media(max-width:650px) {
  .home-page #storeMobileSearch .store-mobile-search-heading { top: 64px; }
  .home-page #storeMobileSearch { padding-bottom: 32px; }
  .home-page #storeMobileSearchState { min-height: 360px; }
}
