/* Search-only styles: no category, account or checkout layout overrides. */
.avl-search-results, .avl-search-dialog { --avl-search-red: #ff2800; --avl-search-ink: #171719; --avl-search-muted: #65656e; font-family: "Lexend Deca", system-ui, sans-serif; color: var(--avl-search-ink); }
.avl-search-results, .avl-search-dialog, .avl-search-results *, .avl-search-dialog * { box-sizing: border-box; }
.avl-search-results { max-width: 1440px; width: 100%; margin: 0 auto; padding: 32px clamp(16px, 3vw, 40px) 72px; }
.avl-search-breadcrumb { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; font-size: 13px; color: #65656e; }
.avl-search-breadcrumb a { color: inherit; text-decoration: none; }
.avl-search-hero { background: radial-gradient(ellipse at 95% 0, #4c211d 0, transparent 60%), #19191b; color: #fff; border: 1px solid #303034; border-radius: 24px; padding: clamp(24px, 4vw, 56px); }
.avl-search-results .avl-search-eyebrow, .avl-search-dialog .avl-search-eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .15em; line-height: 1.5; color: #a80714; }
.avl-search-results .avl-search-hero .avl-search-eyebrow { color: #ffab9e; }
.avl-search-results .avl-search-hero h1 { font-size: clamp(28px, 3vw, 44px); line-height: 1.2; letter-spacing: -.035em; font-weight: 600; margin: 0 0 16px; color: #fff; overflow-wrap: anywhere; }
.avl-search-hero h1 span { display: block; }
.avl-search-hero > p:not(.avl-search-eyebrow) { color: #d3d3d7; font-size: 15px; line-height: 1.7; margin: 0 0 26px; }
.avl-search-form { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 8px; border: 1px solid #dcdce1; border-radius: 14px; background: #fff; color: #171719; }
.avl-search-form:focus-within { border-color: #ff2800; box-shadow: 0 0 0 3px #ff280024; }
.avl-search-form__icon { display: flex; flex: 0 0 22px; margin-left: 12px; color: #74747e; }
.avl-search-form svg, .avl-search-trigger svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; }
.avl-search-form input[type="search"] { min-width: 0; width: 100%; flex: 1 1 auto; border: 0 !important; border-radius: 0; box-shadow: none !important; outline: none; background: #fff !important; color: #171719 !important; padding: 10px 0; margin: 0; font: 400 16px/1.5 "Lexend Deca", system-ui, sans-serif; }
.avl-search-form input::placeholder { color: #74747e; opacity: 1; }
.avl-search-form button[type="submit"] { flex: 0 0 auto; border: 1px solid #ff2800; border-radius: 9px; background: #ff2800; color: #fff; padding: 13px 22px; min-height: 48px; font: 600 14px/1.4 "Lexend Deca", system-ui, sans-serif; cursor: pointer; transform: none; box-shadow: none; }
.avl-search-form button[type="submit"]:hover { background: #c90818; border-color: #c90818; color: #fff; }
.avl-search-form button[type="submit"]:active { background: #a80714; border-color: #a80714; transform: none; }
.avl-search-categories { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 32px; font-size: 12px; }
.avl-search-categories > span { color: #65656e; margin-right: 6px; }
.avl-search-categories a { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 12px; border: 1px solid #e5e5e9; border-radius: 30px; background: #fff; color: #36363d; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.avl-search-categories a:hover { border-color: #ff2800; color: #a80714; background: #fff5f3; }
.avl-search-results .avl-search-toolbar { padding: 18px 0; margin: 0 0 24px; border-top: 1px solid #e5e5e9; border-bottom: 1px solid #e5e5e9; }
.avl-search-toolbar label { font-size: 13px; color: #65656e; }
.avl-search-toolbar select { width: auto; max-width: 100%; min-height: 44px; padding: 10px 34px 10px 12px; border: 1px solid #dedee4; border-radius: 9px; color: #171719; background-color: #fff; font: 400 13px/1.5 "Lexend Deca", system-ui, sans-serif; }
.avl-search-empty, .avl-search-intro { grid-column: 1 / -1; padding: clamp(28px, 5vw, 64px) 20px; text-align: center; border: 1px solid #e7e7ec; border-radius: 20px; background: #fafafa; }
.avl-search-empty > svg { width: 40px; height: 40px; stroke: #a80714; stroke-width: 1.4; margin: 0 auto 16px; }
.avl-search-empty h2, .avl-search-intro h2 { margin: 0 0 12px; color: #171719; font-size: 24px; }
.avl-search-empty p, .avl-search-intro p { color: #65656e; line-height: 1.7; font-size: 14px; }
.avl-search-empty a, .avl-search-intro a { color: #a80714; text-underline-offset: 3px; }
.avl-search-empty > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0; }
.avl-search-empty > div a { min-height: 44px; padding: 11px 18px; border: 1px solid #a80714; border-radius: 9px; text-decoration: none; }
.avl-search-trigger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: inherit; background: transparent; border: 0; padding: 0; border-radius: 8px; text-decoration: none; }
.avl-search-trigger:hover { color: #ff2800; background: #ff280012; }
.elementor-widget-hfe-search-button.avl-search-header-ready .hfe-search-button-wrapper { display: none; }
.elementor-widget-hfe-search-button.avl-search-header-ready { width: auto; }
.avl-search-header-ready > .avl-search-trigger { color: #fff; }
.avl-search-header-ready > .avl-search-trigger:hover { color: #ff2800; }
.avl-search-dialog:not([open]) { display: none; }
.avl-search-dialog { width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - clamp(32px, 10vh, 96px)); max-height: calc(100dvh - clamp(32px, 10dvh, 96px)); margin: clamp(16px, 5vh, 48px) auto auto; padding: 0; border: 1px solid #e5e5e9; border-radius: 22px; background: #fff; box-shadow: 0 24px 100px #0004; overflow: auto; overscroll-behavior: contain; }
.avl-search-dialog::backdrop { background: #0a0a10b8; backdrop-filter: blur(5px); }
.avl-search-dialog__inner { padding: clamp(20px, 4vw, 36px); }
.avl-search-dialog__heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.avl-search-dialog h2 { margin: 0; color: #171719; font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.avl-search-dialog .avl-search-close { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; flex: 0 0 44px; border: 1px solid #e5e5e9; border-radius: 50%; background: #f6f6f8; color: #171719; padding: 0; line-height: 0; transform: none; }
.avl-search-dialog .avl-search-close svg { display: block; width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.avl-search-dialog .avl-search-close:hover { background: #fff1ee; border-color: #ff2800; color: #a80714; }
.avl-search-dialog .avl-search-status { min-height: 24px; margin: 18px 0 10px; font-size: 13px; color: #65656e; }
.avl-search-suggestion { display: flex; gap: 16px; align-items: center; padding: 12px 8px; border-bottom: 1px solid #eeeef1; text-decoration: none; color: #171719; border-radius: 8px; }
.avl-search-suggestion:hover, .avl-search-suggestion:focus-visible { background: #f7f7f9; color: #171719; }
.avl-search-suggestion img { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 8px; object-fit: contain; background: #f5f5f7; }
.avl-search-suggestion > span { display: grid; gap: 6px; min-width: 0; }
.avl-search-suggestion strong { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.avl-search-suggestion small { font-size: 13px; color: #65656e; }
.avl-search-suggestion small ins { text-decoration: none; }
.avl-search-suggestion small del { opacity: .7; margin-right: 5px; }
.avl-search-all { display: block; padding: 14px; min-height: 48px; text-align: center; margin-top: 14px; border-radius: 10px; background: #ff2800; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.avl-search-all:hover { background: #c90818; color: #fff; }
.avl-search-dialog .avl-search-categories { margin-bottom: 20px; }
.avl-search-hint { margin: 0; font-size: 12px; color: #65656e; }
html.avl-search-open { overflow: hidden; }
.avl-search-results :is(a,button,select):focus-visible, .avl-search-dialog :is(a,button):focus-visible, .avl-search-trigger:focus-visible { outline: 2px solid #a80714; outline-offset: 3px; }
.avl-search-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .avl-search-results { padding-top: 24px; padding-bottom: 48px; }
  .avl-search-hero { padding: 24px 18px; border-radius: 18px; }
  .avl-search-form { gap: 8px; flex-wrap: wrap; }
  .avl-search-form input[type="search"] { flex-basis: calc(100% - 52px); width: calc(100% - 52px); }
  .avl-search-form button[type="submit"] { width: 100%; }
  .avl-search-toolbar .AP_TbarRight { width: 100%; gap: 8px !important; flex-wrap: wrap !important; overflow: visible; }
  .avl-search-toolbar label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .avl-search-toolbar select { flex: 1; min-width: 0; }
  .avl-search-categories > span { width: 100%; margin-bottom: 4px; }
  .avl-search-dialog { margin-top: 16px; max-height: calc(100dvh - 32px); border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .avl-search-results *, .avl-search-dialog * { scroll-behavior: auto; transition: none !important; } }
