.advanced-before-search{grid-column:1/-1;width:100%;box-sizing:border-box;margin:8px 0 12px}.results-sort-bar{display:flex;justify-content:flex-end;align-items:center;margin:16px 0 12px;position:relative;z-index:8}.results-sort-menu{position:relative;max-width:100%;font-size:13px}.results-sort-menu>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:11px 15px;border:1px solid #8b8e9444;border-radius:12px;background:#25292f;color:#fff;font-weight:600}.results-sort-menu>summary::-webkit-details-marker{display:none}.results-sort-menu>summary:after{content:'⌄';color:#ee9655}.results-sort-menu[open]>summary{border-color:#ed8d43}.results-sort-options{position:absolute;right:0;top:calc(100% + 7px);min-width:250px;max-width:calc(100vw - 32px);padding:6px;border:1px solid #484d55;border-radius:13px;background:#25292f;box-shadow:0 12px 35px #0004;z-index:20}.results-sort-options button{display:block;text-align:left;width:100%;border:0;border-radius:8px;background:none;padding:11px 12px;color:#f5f5f5;font:inherit;cursor:pointer}.results-sort-options button:hover,.results-sort-options button[aria-pressed=true]{background:#433328;color:#ffad73}.results-sort-menu>summary:focus-visible{outline:2px solid #ef8b3b;outline-offset:3px}@media(max-width:600px){.results-sort-bar{margin:12px 0}.results-sort-menu>summary{font-size:12px;padding:10px 12px}}

/* Keep search, view controls and offers together after removing the signup promotion. */
.results-sort-bar{margin-top:12px;margin-bottom:8px}
.layout-controls{margin-top:8px;margin-bottom:12px}
@media(max-width:680px){.results-sort-bar{margin-top:10px;margin-bottom:8px}.layout-controls{margin-top:8px;margin-bottom:12px}}

/* The action buttons keep their position when the advanced panel expands. */
html body .search-action-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;grid-column:1/-1;width:100%;margin:12px 0 8px;box-sizing:border-box}
html body .search-action-row>button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;width:100%;margin:0;padding:9px 6px;border:1px solid #b96d35;border-radius:9px;background:transparent;color:#ffad73;font:600 13px/1.35 Inter,system-ui;white-space:normal;text-align:center;cursor:pointer;box-shadow:none}
html body .search-action-row>.search-advanced-toggle{position:relative;justify-content:flex-start;text-align:start;padding-inline:12px 22px}
.search-advanced-toggle::after{content:'';position:absolute;inset-inline-end:9px;top:50%;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.search-advanced-toggle[aria-expanded=true]::after{transform:translateY(-25%) rotate(225deg)}
html body .search-action-row>button:hover{background:#ed7b2b14}
html body .search-action-row>button:focus-visible{outline:2px solid #f58220;outline-offset:3px}
html body .search-action-panel>.search-action-summary{display:none!important}
html body .search-action-panel{grid-column:1/-1;width:100%;margin:0 0 8px}
html body .search-action-panel:not([open]){display:none!important}
html body.mobile-web :is(#quickSearch,.mobile-market-search)>.search-submit{display:block;grid-column:1/-1;width:100%;min-height:44px;margin:8px 0 0;padding:10px;background:#f58220;color:#17191c;font:700 14px/1.3 Inter,system-ui;border-radius:9px}
html body.mobile-web :is(#quickSearch,.mobile-market-search)>.search-submit .mobile-label{display:none}
html body.mobile-web :is(#quickSearch,.mobile-market-search)>.search-submit .desktop-label{display:inline}
