.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.search-modal-overlay { position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(25, 22, 22, .72); }
.search-modal-overlay[hidden] { display: none; }
.search-modal { width: min(680px, 100%); padding: 32px 40px 40px; background: #fff; border-top: 6px solid var(--brand-red); box-shadow: 0 22px 70px rgba(0, 0, 0, .25); }
.search-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.search-modal-header h2 { margin: 0; color: #333; font-size: 28px; line-height: 1.2; }
.search-modal-close { width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #333; font-size: 32px; line-height: 1; cursor: pointer; }
.search-modal-form { display: flex; gap: 16px; margin-top: 32px; }
.search-modal-input-wrap { display: flex; align-items: center; flex: 1; height: 52px; border: 1px solid #cecece; border-radius: 4px; }
.search-modal-input-wrap img { width: 22px; height: 22px; margin: 0 14px; opacity: .65; }
.search-modal-input-wrap input { width: 100%; height: 100%; padding: 0 14px 0 0; border: 0; outline: 0; color: #333; font: 16px/1.2 inherit; }
.search-modal-input-wrap:focus-within { border-color: var(--brand-red); box-shadow: 0 0 0 2px rgba(224, 15, 21, .1); }
.search-modal-submit { flex: none; min-width: 132px; height: 52px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--brand-red); color: #fff; font: 700 15px/1 inherit; cursor: pointer; }
.search-modal-submit:hover { background: #c70d13; }
.search-modal-close:focus-visible, .search-modal-submit:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
@media (max-width: 767px) {
  .search-modal { padding: 24px 20px 28px; }
  .search-modal-header h2 { font-size: 22px; }
  .search-modal-form { flex-direction: column; gap: 12px; margin-top: 24px; }
  .search-modal-submit { width: 100%; }
}
