.am-search-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 40px));max-width:none;max-height:90svh;height:auto;margin:auto;padding:40px;border:0;background:#f4f1ea;color:var(--ink,#302f2a);overflow:auto;overscroll-behavior:contain;box-shadow:0 18px 70px #211d1820}
.am-search-dialog:not([open]){display:none}
.am-search-dialog *{box-sizing:border-box}
.am-search-dialog::backdrop{background:#211d187a;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.am-search-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}
.am-search-heading h2{font-family:var(--serif,Georgia,serif);font-size:40px;font-weight:400;line-height:1.15;letter-spacing:-.02em;margin:0;color:inherit}
.am-search-close{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:5px;border:0;background:none;color:inherit;cursor:pointer}
.am-search-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3}
.am-search-form{margin:0}
.am-search-form label{display:block;font-size:14px;line-height:1.5;margin-bottom:8px}
.am-search-form input[type=search]{display:block;width:100%;height:60px;min-height:0;margin:0;padding:14px 17px;border:1px solid #bdb7ac;border-radius:0;background:#fffefa;color:inherit;font:16px/1.5 var(--sans,Arial,sans-serif);appearance:none;-webkit-appearance:none}
.am-search-form input::placeholder{color:#8b867d;opacity:1}
.am-search-dialog :focus-visible{outline:1px solid #4a463f;outline-offset:3px}
.am-search-status{font-size:13px;line-height:1.5;color:var(--muted,#81796e);margin:14px 0 0}
.am-search-status:empty{display:none}
.am-search-results{margin-top:24px;min-width:0}
.am-search-caption{font-size:13px;line-height:1.6;color:var(--muted,#81796e);margin:0 0 12px}
.am-search-list{list-style:none;margin:0;padding:0;max-height:55svh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:auto}
.am-search-item{padding:0;margin:0;border-bottom:1px solid var(--line,#d9d3c8)}
.am-search-link{display:grid;grid-template-columns:84px minmax(0,1fr) 24px;align-items:center;gap:22px;padding:20px 8px 20px 0;color:inherit;text-decoration:none}
.am-search-link:hover .am-search-title{text-decoration:underline;text-underline-offset:4px}
.am-search-dialog .am-search-image{display:block;width:84px;height:104px;min-height:0;max-height:none;object-fit:cover;background:#e5e1da}
.am-search-copy{display:flex;min-width:0;flex-direction:column;gap:7px}
.am-search-title{font-family:var(--serif,Georgia,serif);font-size:27px;line-height:1.2;font-weight:400;overflow-wrap:anywhere}
.am-search-subtitle,.am-search-price{font-size:13px;line-height:1.5;color:var(--muted,#81796e)}
.am-search-link>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2;color:var(--muted,#81796e)}
.am-search-empty{font-size:14px;line-height:1.7;padding:28px 0;color:var(--muted,#81796e)}
.am-search-more{display:block;font-size:13px;margin-top:18px;text-decoration:underline;text-underline-offset:4px}
.am-search-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
@media(max-width:600px){.am-search-dialog{width:calc(100vw - 24px);padding:24px 20px;max-height:92svh}.am-search-heading{margin-bottom:24px;gap:12px}.am-search-heading h2{font-size:31px}.am-search-form input[type=search]{height:54px;padding:12px;font-size:16px}.am-search-list{max-height:58svh}.am-search-link{grid-template-columns:66px minmax(0,1fr) 18px;gap:14px;padding:17px 4px 17px 0}.am-search-dialog .am-search-image{width:66px;height:82px}.am-search-title{font-size:22px}.am-search-subtitle,.am-search-price{font-size:12px}.am-search-link>svg{width:17px;height:17px}}
.am-search-dialog[open]{height:fit-content}
