/* WordPress also assigns `search` to body; search-form rules must not affect it. */
body.search{display:block;margin:0;padding:0;border:0;width:100%;min-width:0}
body.search .store-content,body.search .page-content{min-height:48vh}
body.search .woocommerce-products-header__title,body.search .page-title{font-size:clamp(32px,4vw,58px);line-height:1.2;overflow-wrap:anywhere;margin-bottom:30px}
.ej-search-empty{max-width:760px;margin:36px auto 64px;padding:clamp(24px,5vw,56px);text-align:center;background:#f2ece7;border:1px solid var(--line)}
.ej-search-empty h2{font:400 clamp(30px,4vw,46px)/1.2 Editorial,Georgia,serif;margin:16px 0}
.ej-search-empty>p{line-height:1.7;margin-bottom:22px}
.ej-search-empty .woocommerce-product-search{margin:24px auto;max-width:520px;width:100%}
.ej-search-empty .button{display:inline-block;padding:14px 22px}
/* Lift the parent stacking contexts, not just the dropdown itself. */
.catalog-toolbar{position:relative;z-index:20;overflow:visible}
.woocommerce-product-search.ej-live-search{position:relative;z-index:20;isolation:isolate;gap:8px;flex-wrap:nowrap;overflow:visible}
.ej-live-search input[type=search]{flex:1;width:100%;min-width:0;font-size:16px}
.ej-live-search input:focus-visible{outline:2px solid var(--plum);outline-offset:2px}
.ej-search-panel{position:absolute;top:calc(100% + 8px);right:0;width:max(100%,340px);max-width:85vw;z-index:100;background:#fffdfa;border:1px solid #d6c7cd;box-shadow:0 16px 40px #30152526;text-align:left;max-height:440px;overflow:auto}
.ej-search-panel[hidden]{display:none}
.ej-search-status{display:block;padding:16px;font-size:14px;line-height:1.5}
.ej-search-status[hidden]{display:none}
.ej-search-list{list-style:none;margin:0!important;padding:0!important}
.ej-search-result{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid #eee5e9;color:var(--ink);text-decoration:none;min-height:76px}
.ej-search-result:hover,.ej-search-result[aria-selected=true]{background:#f0e5eb;outline:2px solid var(--plum);outline-offset:-2px}
.ej-search-result img{width:48px;height:60px;object-fit:contain;background:#f5f1ed;flex-shrink:0}
.ej-search-result strong{display:block;font-size:15px;line-height:1.4;font-weight:500}
.ej-search-result small{display:block;font-size:13px;line-height:1.5;margin-top:4px}
@media(max-width:700px){.ej-search-panel{width:100%;max-width:100%;left:0;right:auto}.ej-search-empty{padding:24px 16px}.ej-search-empty .woocommerce-product-search{margin:20px 0}}
