/* Search only: one anchored surface with predictable row heights. */
.axion-search-panel {
    position: fixed;
    z-index: 100010;
    box-sizing: border-box;
    contain: layout style;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #e8e4dd;
    border-radius: 6px;
    background: #fff;
    color: #3d3934;
    box-shadow: 0 5px 18px rgb(64 18 1 / 10%);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    scrollbar-width: none;
}
.axion-search-panel::-webkit-scrollbar { display: none; }
.axion-search-panel[data-open="1"] {
    animation: axion-search-reveal 120ms ease-out;
}
@keyframes axion-search-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .axion-search-panel[data-open="1"],
    .axion-header .axion-search-backdrop { animation: none; }
}
/* One flat overlay behind the header; no giant focus shadow or reparented input. */
.axion-header[data-axion-search-open="1"] {
    position: relative;
    z-index: 100;
    isolation: isolate;
}
.axion-header[data-axion-search-open="1"] form[data-axion-product-search] {
    background: var(--axh-background, #fff);
}
.axion-search-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgb(32 24 17 / 28%);
    animation: axion-search-reveal 120ms ease-out;
}
.axion-search-backdrop[hidden] { display: none !important; }
@media (min-width: 1025px) {
    .axion-search-backdrop { display: none !important; }
    .axion-search-panel[data-open="1"] { animation: none; }
}
html[data-axion-search-scroll-lock="1"] {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    scroll-behavior: auto !important;
    overflow-anchor: none !important;
}
html[data-axion-search-scroll-lock="1"] body {
    overflow: clip !important;
    overscroll-behavior: none !important;
}
@supports not (overflow: clip) {
    html[data-axion-search-scroll-lock="1"] body { overflow: visible !important; }
}
html[data-axion-search-scroll-lock="1"] .axion-search-panel { touch-action: pan-y pinch-zoom; }
html[data-axion-search-scroll-lock="1"] .axion-search-backdrop {
    touch-action: pinch-zoom;
}
/* Avoid the full-screen 200vmax focus shadow on the managed search only. */
.axion-header .search-desktop.search-desktop:focus-within:has(form[data-axion-product-search]) {
    box-shadow: none !important;
}
.axion-search-panel[hidden],
.axion-search-panel [hidden] { display: none !important; }
.axion-search-panel .axion-search-heading {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 38px;
    margin: 0;
    padding: 0 14px;
    border-bottom: 1px solid #f1efeb;
    color: #514b43;
    font-size: 13px;
    font-weight: 500;
}
.axion-search-panel .axion-search-list { display: block; margin: 0; padding: 0; }
.axion-search-panel .axion-search-option {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 10px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #3d3934;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.axion-search-panel .axion-search-option:hover,
.axion-search-panel .axion-search-option:focus-visible,
.axion-search-panel .axion-search-option[aria-selected="true"] {
    outline: none;
    background: #f8f7f3;
    color: #401201;
}
.axion-search-panel .axion-search-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 50%;
    background: #f2efe9;
    color: #82796c;
    font-size: 10px;
    font-weight: 400;
}
.axion-search-panel .axion-search-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
.axion-search-panel[data-kind="products"] .axion-search-option {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 8px;
    height: 46px;
    padding: 6px 10px;
    border-bottom: 1px solid #f2f0ec;
    font-size: 13px;
    line-height: 18px;
}
.axion-search-panel[data-kind="products"] .axion-search-name {
    display: block;
    max-height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.axion-search-panel .axion-search-image {
    display: block;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    object-fit: contain;
    background: #fff;
}
.axion-search-panel .axion-search-price {
    display: block;
    max-width: none;
    max-height: 18px;
    overflow: hidden;
    margin-left: 0;
    color: #8e9e28;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    text-align: right;
    white-space: nowrap;
}
.axion-search-panel .axion-search-price bdi { white-space: nowrap; font-weight: inherit; }
.axion-search-panel .axion-search-price del { display: inline; margin-right: 5px; color: #928b80; font-size: 10px; font-weight: 400; }
.axion-search-panel .axion-search-price ins { display: inline; background: transparent; text-decoration: none; }
.axion-search-panel .axion-search-more {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 36px;
    padding: 0 12px;
    border-top: 1px solid #eeebe5;
    background: #fbfaf7;
    color: #686055;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
}
.axion-search-panel .axion-search-more:hover,
.axion-search-panel .axion-search-more:focus-visible { color: #401201; background: #f5f2eb; outline: none; }
.axion-search-panel .axion-search-status { box-sizing: border-box; min-height: 52px; padding: 16px 14px; color: #777065; font-size: 13px; }
.axion-search-panel .axion-search-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}
.axion-header .e-search[data-axion-search-managed="1"] > .e-search-results-container { display: none !important; }
/* Compact mobile rows: title and complete price share one horizontal line. */
.axion-header .search-mobile form[data-axion-product-search] input.e-search-input { font-size: 16px !important; }
.axion-search-panel[data-mobile="1"] {
    border-radius: 8px;
    -webkit-user-select: none;
    user-select: none;
}
.axion-search-panel[data-mobile="1"] .axion-search-heading { height: 38px; font-size: 13px; }
.axion-search-panel[data-mobile="1"] .axion-search-list {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    scrollbar-width: none;
    touch-action: pan-y pinch-zoom;
}
.axion-search-panel[data-mobile="1"] .axion-search-list::-webkit-scrollbar { display: none; }
.axion-search-panel[data-mobile="1"] .axion-search-option { height: 40px; font-size: 13px; line-height: 18px; }
.axion-search-panel[data-mobile="1"] .axion-search-option:hover:not([aria-selected="true"]):not(:focus-visible) {
    background: #fff;
    color: #3d3934;
}
.axion-search-panel[data-mobile="1"][data-kind="products"] .axion-search-option {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 7px;
    height: 44px;
    padding: 6px 9px;
    font-size: 13px;
    line-height: 18px;
}
.axion-search-panel[data-mobile="1"] .axion-search-image { width: 28px; height: 28px; }
.axion-search-panel[data-mobile="1"] .axion-search-price {
    font-size: 12px;
    line-height: 17px;
}
.axion-search-panel[data-mobile="1"] .axion-search-price del { margin-right: 4px; }
.axion-search-panel[data-mobile="1"] .axion-search-more { height: 40px; font-size: 12px; line-height: 18px; }
.axion-search-panel[data-mobile="1"] .axion-search-status { font-size: 13px; line-height: 18px; }
