.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: var(--surface-page); }
.ambient > span { position: absolute; border-radius: 50%; filter: blur(65px); }
.ambient-blue { width: 700px; height: 660px; left: calc(50% - 600px); top: calc(45% - 440px); background: radial-gradient(ellipse, var(--glow-blue), transparent 72%); }
.ambient-lilac { width: 620px; height: 580px; left: calc(50% - 40px); top: calc(45% - 240px); background: radial-gradient(ellipse, var(--glow-lilac), transparent 72%); }
.ambient-pearl { width: 540px; height: 420px; left: calc(50% - 370px); top: calc(45% + 20px); background: radial-gradient(ellipse, var(--glow-pearl), transparent 72%); }
.page { width: min(1120px, calc(100% - 64px)); min-height: 100svh; margin: 0 auto; padding: calc(44svh - 36px) 0 70px; }
.page[data-engaged="true"] { padding-top: 60px; }
.search-stage { width: min(100%, 592px); margin: 0 auto; position: relative; z-index: 5; animation: arrive .65s var(--ease) both; }
.search-field {
  position: relative; display: flex; align-items: center; gap: 16px;
  height: 72px; padding: 0 16px 0 24px; border-radius: 24px;
  border: 1px solid var(--line-glass); background: var(--surface-search);
  box-shadow: var(--search-shadow);
  backdrop-filter: blur(32px) saturate(125%); -webkit-backdrop-filter: blur(32px) saturate(125%);
  transition: box-shadow .22s var(--ease), background .18s, border-color .18s;
}
.search-field::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(150px circle at var(--light-x, 50%) var(--light-y, 0px), var(--light-highlight), transparent 90%); z-index: -1; }
.search-field:hover { background: var(--surface-glass); border-color: var(--line-strong); }
.search-field:focus-within { background: var(--surface-focus); border-color: var(--brand); box-shadow: 0 0 0 3px var(--focus-ring), var(--search-shadow); }
.search-symbol { color: var(--content-tertiary); flex: 0 0 auto; }
.search-symbol .icon { width: 23px; height: 23px; stroke-width: 1.5; }
#product-input { width: 100%; min-width: 0; flex: 1; padding: 15px 0; border: 0; outline: none; background: transparent; color: var(--content-primary); font-size: 16px; letter-spacing: .1px; appearance: none; -webkit-appearance: none; }
#product-input::-webkit-search-cancel-button { display: none; }
#product-input::placeholder { color: var(--content-placeholder); opacity: 1; font-weight: 400; }
.search-submit { width: 37px; height: 37px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--surface-subtle); border: 1px solid var(--line); color: var(--content-tertiary); transition: color .18s, background .18s, border-color .18s, transform .22s var(--ease); }
.search-submit .icon { width: 18px; height: 18px; }
.has-query .search-submit { background: var(--brand); border-color: var(--brand); color: var(--surface-panel); }
.has-query .search-submit:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.search-submit:hover { transform: translateX(1px); }
.search-submit:active { transform: scale(.97); }
.clear-button { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; color: var(--content-tertiary); margin-right: -6px; border-radius: 8px; transition: color .18s, background .18s; }
.clear-button .icon { width: 16px; height: 16px; }
.clear-button:hover { color: var(--content-primary); background: var(--surface-hover); }
.search-feedback { position: absolute; top: calc(100% + 17px); left: 25px; right: 15px; color: var(--danger); font-size: 12px; line-height: 1.7; }
.suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 12px); padding: 9px; border-radius: 18px; overflow: hidden; }
[data-visible="false"] { pointer-events: none; }
.suggestions-heading { display: flex; justify-content: space-between; padding: 7px 13px 10px; font-size: 11px; color: var(--content-tertiary); }
#product-options { max-height: min(356px, 43svh); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.suggestion { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px; border-radius: 10px; transition: background .18s, transform .22s var(--ease); }
.suggestion:hover { background: var(--surface-hover); }
.suggestion[aria-selected="true"] { background: var(--brand-subtle); }
.suggestion:active { transform: scale(.99); }
.suggestion-icon { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--surface-subtle); border-radius: 10px; display: grid; place-items: center; color: var(--brand); }
.suggestion-icon .icon { width: 19px; height: 19px; }
.suggestion-description { flex: 1; min-width: 0; }
.suggestion-name { display: block; font-size: 13px; font-weight: 500; color: var(--content-primary); }
.suggestion-meta { display: block; font-size: 11px; color: var(--content-tertiary); margin-top: 3px; }
.suggestion-price { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--content-secondary); }
.suggestion-enter { color: var(--content-tertiary); margin-left: 7px; }
.suggestion-enter .icon { width: 13px; height: 13px; }
.quote-panel { margin: 32px auto 0; transform-origin: top center; }
.noscript { position: fixed; inset: 55% 20px auto; text-align: center; font-size: 13px; color: var(--danger); }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .page { width: calc(100% - 32px); padding-top: calc(39svh - 32px); padding-bottom: 32px; }
  .page[data-engaged="true"] { padding-top: 28px; }
  .search-field { height: 64px; padding: 0 12px 0 19px; gap: 10px; border-radius: 20px; }
  #product-input { font-size: 16px; letter-spacing: -.3px; }
  #product-input::placeholder { font-size: 13px; }
  .search-symbol .icon { width: 20px; height: 20px; }
  .search-submit { width: 33px; height: 33px; }
  .clear-button { margin-right: -5px; }
  .suggestions { border-radius: 16px; padding: 7px; }
  .suggestion { gap: 9px; padding: 11px 9px; }
  .suggestion-enter { display: none; }
  .quote-panel { margin-top: 22px; }
  .ambient-blue { opacity: .75; left: calc(50% - 460px); }
  .ambient-lilac { opacity: .75; left: calc(50% - 120px); }
}
