.wm-advanced-search {
  --wm-as-ink: #20211f;
  --wm-as-muted: #777a74;
  --wm-as-line: #e9eae6;
  --wm-as-accent: #bd3c35;
  --wm-as-soft: #f7f5f1;
  color: var(--wm-as-ink);
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3.3vw, 48px) 64px;
  font-family: inherit;
}
.wm-advanced-search [hidden] { display: none !important; }
.wm-as-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(28px, 5vw, 64px);
  background: radial-gradient(ellipse at 82% 12%, rgba(220, 174, 128, .34), transparent 34%), linear-gradient(120deg, #f6f1e8 0%, #f9f6f0 54%, #eee9df 100%);
}
.wm-as-brand-line { display:flex; align-items:center; gap:10px; font-size:11px; font-weight:800; letter-spacing:.14em; color:#52534e; }
.wm-as-brand-mark { width:27px; height:27px; display:grid; place-items:center; border-radius:9px; color:#fff; background:#262722; font-size:15px; letter-spacing:0; }
.wm-as-hero-copy { max-width:690px; margin:clamp(36px, 5vw, 62px) 0 27px; }
.wm-as-eyebrow { margin:0 0 9px; color:var(--wm-as-accent); font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.wm-as-hero h1 { margin:0; max-width:690px; color:#23241f; font-size:clamp(38px, 6.1vw, 70px); line-height:.98; letter-spacing:-.055em; font-weight:780; }
.wm-as-hero-copy > p:last-child { margin:17px 0 0; max-width:520px; color:#62645f; font-size:16px; line-height:1.55; }
.wm-as-search-form { min-height:64px; display:flex; align-items:center; gap:14px; max-width:780px; padding:7px 8px 7px 20px; border:1px solid rgba(25,26,23,.08); border-radius:17px; background:#fff; box-shadow:0 13px 34px rgba(43,37,29,.09); }
.wm-as-search-icon { display:inline-flex; color:#555851; }
.wm-as-search-input { flex:1; min-width:0; padding:12px 0; border:0!important; outline:0!important; box-shadow:none!important; color:#242520; background:transparent!important; font-size:16px; }
.wm-as-search-input::placeholder { color:#92948d; }
.wm-as-submit,.wm-as-overlay-submit { min-height:48px; padding:0 25px; border:0; border-radius:12px; color:white; background:#262722; font:inherit; font-size:14px; font-weight:750; cursor:pointer; transition:transform .18s ease, background .18s ease; }
.wm-as-submit:hover,.wm-as-overlay-submit:hover { background:#41433c; transform:translateY(-1px); }
.wm-as-quick-hints { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:14px; color:#73756f; font-size:12px; }
.wm-as-quick-hints button { border:1px solid rgba(53,54,47,.12); border-radius:999px; padding:7px 11px; color:#4c4e48; background:rgba(255,255,255,.58); font:inherit; cursor:pointer; }
.wm-as-quick-hints button:hover { color:#1e201c; background:#fff; }
.wm-as-section-intro { display:flex; justify-content:space-between; align-items:end; gap:22px; margin:42px 0 16px; }
.wm-as-section-intro h2,.wm-as-results-head h2 { margin:0; color:#242520; font-size:clamp(25px, 3vw, 36px); line-height:1.1; letter-spacing:-.035em; }
.wm-as-section-intro > span { max-width:330px; color:var(--wm-as-muted); font-size:13px; text-align:right; }
.wm-as-home .wm-adv-cat-layout { margin-top:0; }
.wm-as-home .wm-adv-cat-nav { top:20px; }
.wm-as-home .wm-adv-cat-circles { gap:17px; }
.wm-as-home .wm-adv-cat-preview-scroll { scroll-snap-type:x mandatory; }
.wm-as-home .wm-adv-cat-preview-scroll > .wm-card-product { scroll-snap-align:start; }
.wm-as-results { margin-top:42px; min-height:360px; }
.wm-as-results-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; }
.wm-as-results-head h2 { font-size:clamp(27px, 3.5vw, 42px); }
.wm-as-results-head p { margin:9px 0 0; color:var(--wm-as-muted); font-size:13px; }
.wm-as-edit-search { padding:11px 16px; border:1px solid var(--wm-as-line); border-radius:999px; color:#343631; background:#fff; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.wm-as-toolbar { display:flex; align-items:center; gap:12px; min-height:52px; margin-bottom:18px; padding:10px 0; border-top:1px solid var(--wm-as-line); border-bottom:1px solid var(--wm-as-line); }
.wm-as-filter-button { display:inline-flex; align-items:center; gap:8px; border:1px solid #dfe0dc; border-radius:999px; padding:9px 15px; color:#30312c; background:#fff; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.wm-as-filter-count { display:grid; place-items:center; min-width:19px; height:19px; padding:0 4px; border-radius:50%; color:#fff; background:#282923; font-size:10px; }
.wm-as-active-filters { display:flex; flex:1; align-items:center; gap:7px; flex-wrap:wrap; }
.wm-as-active-chip { padding:7px 10px; border:0; border-radius:999px; color:#4d4f49; background:#f1f1ee; font:inherit; font-size:11px; cursor:pointer; }
.wm-as-sort-control { display:flex; align-items:center; gap:9px; margin-left:auto; color:#72746e; white-space:nowrap; font-size:12px; }
.wm-as-sort-control select { max-width:180px; min-height:40px; border:1px solid #e0e1dd; border-radius:11px; padding:0 31px 0 11px; color:#2e302b; background:white; font:inherit; font-size:12px; }
.wm-as-status { min-height:22px; margin:12px 0; color:#696b65; font-size:13px; }
.wm-as-retry { margin:0 0 18px; padding:8px 12px; border:1px solid #dedfdb; border-radius:9px; color:#30312c; background:#fff; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.wm-as-product-grid { margin-top:0; }
.wm-as-empty { max-width:520px; margin:55px auto; padding:38px 24px; border:1px solid #efefeb; border-radius:20px; background:#fbfbf9; text-align:center; }
.wm-as-empty-icon { color:#c4c6bf; font-size:46px; line-height:1; }
.wm-as-empty h3 { margin:16px 0 8px; color:#2a2b26; font-size:23px; }
.wm-as-empty p { margin:0 auto 20px; max-width:390px; color:#777972; font-size:14px; line-height:1.55; }
.wm-as-load-more { display:block; min-height:46px; margin:30px auto 0; padding:0 24px; border:1px solid #dedfdb; border-radius:999px; color:#33342f; background:white; font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.wm-as-load-more:disabled { opacity:.55; cursor:wait; }
.wm-as-search-overlay { position:fixed; inset:0; z-index:100450; overflow:auto; padding:0 clamp(18px, 5vw, 76px) 50px; color:#242520; background:#fff; }
/* Portal layers live directly under <body>; keep hidden state and typography intact. */
.wm-as-search-overlay[hidden] { display:none !important; }
.wm-as-search-overlay { isolation:isolate; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.wm-as-sticky-shell.is-fixed { position:fixed !important; top:var(--wm-as-sticky-top, 0px) !important; left:0 !important; right:0 !important; width:100vw !important; margin:0 !important; z-index:90 !important; }
.wm-as-sticky-shell.is-fixed .wm-as-search-form { width:100%; }
.wm-advanced-search.wm-as-has-query .wm-as-hero { display:none !important; }
.wm-as-overlay-header { position:sticky; top:0; z-index:1; display:grid; grid-template-columns:auto minmax(180px, 760px) auto; align-items:center; justify-content:space-between; gap:clamp(14px, 3vw, 34px); min-height:90px; margin:0 calc(-1 * clamp(18px, 5vw, 76px)); padding:13px clamp(18px, 5vw, 76px); border-bottom:1px solid #f0f0ed; background:#fff; }
.wm-as-cancel { padding:9px 0; border:0; color:#51534d; background:transparent; font:inherit; font-size:14px; cursor:pointer; }
.wm-as-cancel:hover { color:#141510; }
.wm-as-overlay-form { display:flex; align-items:center; gap:11px; min-height:51px; padding:0 15px; border:1px solid #e7e8e3; border-radius:14px; color:#777971; background:#fafaf8; }
.wm-as-overlay-form:focus-within { border-color:#bcbeb7; background:#fff; box-shadow:0 0 0 3px rgba(37,39,31,.04); }
.wm-as-overlay-input { flex:1; min-width:0; padding:11px 0; border:0!important; outline:0!important; box-shadow:none!important; background:transparent!important; font:inherit; font-size:15px; }
.wm-as-clear-input { width:25px; height:25px; border:0; border-radius:50%; color:#686a64; background:#ecece8; font-size:19px; line-height:1; cursor:pointer; }
.wm-as-overlay-submit { min-height:45px; }
.wm-as-recent-wrap { width:min(760px, 100%); margin:clamp(38px, 7vh, 74px) auto 0; }
.wm-as-recent-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:13px; border-bottom:1px solid #eeefeb; }
.wm-as-recent-heading h2 { margin:0; color:#292a25; font-size:18px; letter-spacing:-.02em; }
.wm-as-recent-heading > button { padding:6px 0; border:0; color:#777971; background:transparent; font:inherit; font-size:12px; cursor:pointer; }
.wm-as-recent-heading > button:hover { color:#242520; }
.wm-as-recent-list { display:flex; flex-direction:column; }
.wm-as-recent-item { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:58px; border-bottom:1px solid #f1f1ee; }
.wm-as-history-query { display:flex; flex:1; align-items:center; gap:13px; min-width:0; padding:13px 0; border:0; color:#393a35; background:transparent; text-align:left; font:inherit; font-size:14px; cursor:pointer; }
.wm-as-history-clock { display:inline-grid; place-items:center; width:29px; height:29px; border-radius:50%; color:#777970; background:#f3f3f0; font-size:17px; }
.wm-as-remove-history { width:34px; height:34px; border:0; border-radius:50%; color:#777970; background:transparent; font-size:21px; cursor:pointer; }
.wm-as-remove-history:hover { color:#2c2d28; background:#f4f4f1; }
.wm-as-recent-empty { margin:20px 0; color:#84867e; font-size:13px; }
.wm-as-filter-overlay { position:fixed; inset:0; z-index:100000; display:flex; justify-content:flex-end; }
.wm-as-filter-backdrop { position:absolute; inset:0; border:0; background:rgba(22,23,20,.42); cursor:pointer; }
.wm-as-filter-panel { position:relative; z-index:1; display:flex; flex-direction:column; width:min(470px, 100%); height:100%; background:white; box-shadow:-18px 0 55px rgba(0,0,0,.12); animation:wmAsSlideIn .22s ease-out; }
.wm-as-filter-panel > header { display:grid; grid-template-columns:40px 1fr 40px; align-items:center; min-height:68px; padding:0 20px; border-bottom:1px solid #eeeeea; }
.wm-as-filter-panel h2 { margin:0; color:#272823; font-size:19px; text-align:center; }
.wm-as-filter-back,.wm-as-filter-close { display:grid; place-items:center; width:37px; height:37px; border:0; border-radius:50%; color:#42443e; background:#f4f4f1; font-size:26px; cursor:pointer; }
.wm-as-filter-back { font-size:29px; }
.wm-as-filter-fields { flex:1; overflow-y:auto; padding:8px 22px 26px; }
.wm-as-filter-fields > label { display:block; margin:17px 0; color:#353630; font-size:13px; font-weight:700; }
.wm-as-filter-fields select,.wm-as-filter-fields > label > input { display:block; width:100%; height:46px; margin-top:8px; border:1px solid #e4e5e0; border-radius:11px; padding:0 12px; color:#33342f; background:#fff; font:inherit; font-size:13px; }
.wm-as-filter-fields fieldset { margin:18px 0; padding:0; border:0; }
.wm-as-filter-fields legend { margin-bottom:10px; color:#353630; font-size:13px; font-weight:700; }
.wm-as-price-fields { display:grid; grid-template-columns:1fr 20px 1fr; align-items:end; gap:9px; }
.wm-as-price-fields label span { display:block; margin-bottom:6px; color:#85877f; font-size:11px; }
.wm-as-price-fields input { width:100%; height:44px; box-sizing:border-box; border:1px solid #e4e5e0; border-radius:10px; padding:0 10px; color:#33342f; font:inherit; font-size:13px; }
.wm-as-price-separator { padding-bottom:12px; color:#85877f; text-align:center; }
.wm-as-price-note { display:block; margin-top:8px; color:#85877f; font-size:11px; }
.wm-as-filter-panel > footer { display:flex; align-items:center; gap:12px; padding:15px 20px calc(15px + env(safe-area-inset-bottom)); border-top:1px solid #eeeeea; background:#fff; }
.wm-as-reset-filters,.wm-as-apply-filters { min-height:47px; border-radius:12px; font:inherit; font-size:13px; font-weight:750; cursor:pointer; }
.wm-as-reset-filters { min-width:100px; border:1px solid #e1e2dd; color:#393a35; background:#fff; }
.wm-as-apply-filters { flex:1; border:1px solid #242520; color:#fff; background:#262722; }
.wm-as-filter-error { color:#a52d26; font-size:12px; }
body.wm-advanced-search-open { overflow-x:clip; }
@keyframes wmAsSlideIn { from { transform:translateX(22px); opacity:.7; } to { transform:translateX(0); opacity:1; } }
@media (max-width: 760px) {
  .wm-advanced-search { padding:12px 14px 45px; }
  .wm-as-hero { padding:25px 19px 24px; border-radius:19px; }
  .wm-as-hero-copy { margin:38px 0 22px; }
  .wm-as-hero h1 { font-size:42px; }
  .wm-as-hero-copy > p:last-child { font-size:14px; }
  .wm-as-search-form { min-height:57px; gap:9px; padding-left:13px; border-radius:14px; }
  .wm-as-search-input { font-size:14px; }
  .wm-as-submit { min-height:43px; padding:0 15px; font-size:13px; }
  .wm-as-quick-hints { gap:6px; }
  .wm-as-quick-hints > span { width:100%; }
  .wm-as-quick-hints button { padding:6px 9px; font-size:11px; }
  .wm-as-section-intro { display:block; margin-top:32px; }
  .wm-as-section-intro > span { display:block; margin-top:8px; text-align:left; }
  .wm-as-results { margin-top:31px; }
  .wm-as-results-head { align-items:center; }
  .wm-as-results-head h2 { font-size:28px; }
  .wm-as-toolbar { flex-wrap:wrap; }
  .wm-as-active-filters { order:3; flex-basis:100%; }
  .wm-as-sort-control { gap:6px; font-size:11px; }
  .wm-as-sort-control select { max-width:145px; }
  .wm-as-overlay-header { grid-template-columns:auto minmax(0,1fr) auto; gap:10px; min-height:72px; }
  .wm-as-cancel { font-size:13px; }
  .wm-as-overlay-submit { min-height:40px; padding:0 12px; font-size:12px; }
  .wm-as-overlay-form { min-height:43px; gap:7px; padding:0 9px; }
  .wm-as-overlay-input { font-size:13px; }
  .wm-as-recent-wrap { margin-top:35px; }
}
@media (prefers-reduced-motion: reduce) {
  .wm-as-filter-panel { animation:none; }
  .wm-as-submit,.wm-as-overlay-submit { transition:none; }
}

/* Discovery refresh: edge-to-edge hero, compact persistent search and entity tabs. */
.wm-advanced-search {
  --wm-as-hero-background: #302f2a;
  padding-top: 0;
}
.wm-as-hero {
  box-sizing:border-box;
  width:100vw;
  min-height: clamp(350px, 48vw, 560px);
  margin: 0 0 0 calc(50% - 50vw);
  padding: 0;
  border-radius: 0;
  background: #302f2a;
}
.wm-as-hero-track { position:relative; min-height:inherit; overflow:hidden; }
.wm-as-hero-slide {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:inherit;
   padding: clamp(82px, 10vw, 132px) clamp(20px, 7vw, 100px) 62px;
  color:#fff;
  background: linear-gradient(100deg,rgba(16,17,15,.72),rgba(16,17,15,.08)), var(--wm-as-hero-image, linear-gradient(130deg,#33352f,#77715f));
  background-position:center;
  background-size:cover;
  opacity:0;
  visibility:hidden;
  transform:scale(1.015);
  transition:opacity .55s ease,transform .8s ease,visibility .55s;
}
.wm-as-hero-slide:nth-child(3n+2) { background-image:linear-gradient(105deg,rgba(32,27,23,.68),rgba(32,27,23,.12)),var(--wm-as-hero-image,linear-gradient(130deg,#875d42,#d0a878)); }
.wm-as-hero-slide:nth-child(3n) { background-image:linear-gradient(105deg,rgba(20,27,29,.7),rgba(20,27,29,.12)),var(--wm-as-hero-image,linear-gradient(130deg,#394c52,#9caa9b)); }
.wm-as-hero-slide.is-active { position:relative; opacity:1; visibility:visible; transform:scale(1); }
.wm-as-hero .wm-as-brand-line { color:rgba(255,255,255,.88); font-size:10px; }
.wm-as-hero .wm-as-brand-mark { width:25px;height:25px;border-radius:8px;color:#242520;background:#fff;font-size:14px; }
.wm-as-hero-copy { max-width:700px;margin:auto 0 0; }
.wm-as-hero .wm-as-eyebrow { color:#f3d4b6; }
.wm-as-hero h1 { color:#fff; font-size:clamp(36px,6vw,68px); }
.wm-as-hero-copy > p:last-child { color:rgba(255,255,255,.84); }
.wm-as-hero-dots { position:absolute;z-index:2;left:clamp(20px,7vw,100px);bottom:22px;display:flex;gap:8px; }
.wm-as-hero-dot { width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer; }
.wm-as-hero-dot.is-active { width:25px;border-radius:99px;background:#fff; }
.wm-as-sticky-shell {
  position:sticky;
  top:0;
  z-index:900;
  box-sizing:border-box;
  width:100vw;
  margin:0 0 -68px calc(50% - 50vw);
  padding:12px clamp(16px, 3.3vw, 48px) 0;
  border:0;
  background:transparent;
  box-shadow:none;
  transition:background .2s ease,box-shadow .2s ease,padding .2s ease;
}
.wm-as-sticky-placeholder { display:none; height:0; margin:0; padding:0; pointer-events:none; }
.wm-as-sticky-shell.is-fixed {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  margin:0;
  padding:12px clamp(16px, 3.3vw, 48px) 0;
  z-index:9999;
}
.wm-as-sticky-shell.is-fixed.is-scrolled { padding-bottom:10px; }
.wm-as-sticky-shell.is-scrolled {
  padding-bottom:10px;
  border-bottom:1px solid rgba(30,31,27,.08);
  background:rgba(255,255,255,.97);
  box-shadow:0 5px 18px rgba(22,23,20,.09);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
body.admin-bar .wm-as-sticky-shell { top:32px; }
.wm-as-search-form {
  max-width:900px;
  margin:0 auto;
  min-height:50px;
  gap:10px;
  padding:4px 5px 4px 14px;
  border-color:#e8e9e5;
  border-radius:999px;
  box-shadow:none;
}
.wm-as-search-icon { color:#65675f; }
.wm-as-search-input { padding:8px 0; font-size:14px; }
.wm-as-submit {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:39px;
  padding:0 14px;
  border-radius:999px;
  font-size:12px;
}
.wm-as-ai-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex:0 0 auto;
  min-width:39px;
  height:36px;
  padding:0 9px;
  border:1px solid #e7e8e3;
  border-radius:999px;
  color:#5a5c55;
  background:#fff;
  font:inherit;
  font-size:11px;
  font-weight:750;
  cursor:pointer;
}
.wm-as-ai-toggle > span:first-child { color:#8b6040;font-size:14px; }
.wm-as-ai-toggle.is-on { border-color:#252620;color:#fff;background:#252620; }
.wm-as-ai-toggle.is-on > span:first-child { color:#f2d3a9; }
.wm-as-sticky-filter { position:relative;width:37px;height:37px;padding:0;justify-content:center; }
.wm-as-sticky-filter .wm-as-filter-count { position:absolute;top:-4px;right:-3px;min-width:16px;height:16px;font-size:9px; }
.wm-as-browse-shell {
  box-sizing:border-box;
  width:100vw;
  margin:0 0 0 calc(50% - 50vw);
  padding:0 clamp(16px, 3.3vw, 48px);
  border-bottom:1px solid #ecece8;
  background:#fff;
}
.wm-as-tabs { display:flex;gap:24px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;max-width:1440px;margin:0 auto; }
.wm-as-tabs::-webkit-scrollbar { display:none; }
.wm-as-tabs > button {
  position:relative;
  flex:0 0 auto;
  min-height:43px;
  padding:0 1px;
  border:0;
  color:#777971;
  background:transparent;
  font:inherit;
  font-size:13px;
  font-weight:650;
  cursor:pointer;
}
.wm-as-tabs > button.is-active { color:#252620; }
.wm-as-tabs > button.is-active:after { position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:3px 3px 0 0;background:#252620;content:""; }
.wm-as-panel-stage { min-height:55vh; }
.wm-as-panel[hidden] { display:none!important; }
.wm-as-home .wm-as-section-intro { margin-top:32px; }
.wm-as-products-panel .wm-as-results { margin-top:30px; }
.wm-as-entity-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0 40px; }
.wm-as-entity-card {
  position:relative;
  display:flex;
  flex-direction:column;
  gap:6px;
  overflow:hidden;
  min-width:0;
  border:1px solid #ededeb;
  border-radius:17px;
  color:#242520;
  background:#fff;
  text-decoration:none;
}
.wm-as-entity-cover { height:155px;background:#efeee9 center/cover no-repeat; }
.wm-as-entity-cover-empty { background:linear-gradient(140deg,#f4eee5,#e3e8e5); }
.wm-as-entity-logo { position:absolute;top:128px;left:13px;width:50px;height:50px;object-fit:cover;border:3px solid #fff;border-radius:50%;background:#fff;aspect-ratio:1/1;overflow:hidden; }
.wm-as-entity-card strong { margin:10px 14px 0;font-size:14px; }
.wm-as-entity-card small { margin:0 14px;color:#7a7c75;font-size:11px; }
.wm-as-entity-card > span { display:-webkit-box;overflow:hidden;margin:0 14px 14px;color:#6e7069;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2; }
.wm-as-recent-list { display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:13px; }
.wm-as-recent-item { position:relative;display:block;overflow:hidden;min-height:0;border:1px solid #eeefeb;border-radius:13px;background:#fff; }
.wm-as-history-query { display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;padding:0;text-align:left;font-size:13px; }
.wm-as-history-thumb,.wm-as-history-clock { width:100%;height:112px;object-fit:cover;border-radius:0;color:#777970;background:#f3f3f0; }
.wm-as-history-clock { display:grid;place-items:center;font-size:28px; }
.wm-as-history-label { overflow:hidden;padding:10px 36px 10px 11px;text-overflow:ellipsis;white-space:nowrap; }
.wm-as-remove-history { position:absolute;right:6px;bottom:5px;width:27px;height:27px;background:#f5f5f2;font-size:18px; }
.wm-as-overlay-header { grid-template-columns:auto minmax(180px,760px) auto auto; }
.wm-as-overlay-ai { min-width:43px;height:43px; }
.wm-as-overlay-submit { min-height:43px;padding:0 17px; }
.wm-as-clear-input { display:grid;flex:0 0 28px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;border-radius:50%!important;line-height:1; }
.wm-as-results-head h2,.wm-as-section-intro h2 { letter-spacing:-.025em; }
body.wm-advanced-search-open { overflow-x:clip; }
@media (max-width:760px) {
  .wm-advanced-search { padding:0 14px 45px; }
  .wm-as-hero { min-height:390px;margin:0 0 0 calc(50% - 50vw); }
  .wm-as-hero-slide { min-height:390px;padding:85px 20px 55px; }
  .wm-as-hero-copy { margin-bottom:5px; }
  .wm-as-hero h1 { font-size:clamp(35px,10vw,46px); }
  .wm-as-hero-copy > p:last-child { max-width:300px;font-size:13px; }
  .wm-as-hero-dots { left:20px;bottom:19px; }
  .wm-as-sticky-shell { margin:0 0 -57px calc(50% - 50vw);padding:9px 11px 0; }
  .wm-as-sticky-shell.is-scrolled { padding-bottom:8px; }
  .wm-as-search-form { min-height:43px;gap:6px;padding:3px 4px 3px 11px; }
  .wm-as-search-icon svg { width:15px;height:15px; }
  .wm-as-search-input { font-size:12px; }
  .wm-as-ai-toggle { min-width:32px;height:32px;padding:0 6px;font-size:10px; }
  .wm-as-ai-toggle > span:first-child { font-size:12px; }
  .wm-as-sticky-filter { width:32px;height:32px; }
  .wm-as-submit { min-height:33px;gap:0;padding:0 10px;font-size:0; }
  .wm-as-submit svg { width:15px;height:15px; }
  .wm-as-browse-shell { padding:0 14px; }
  .wm-as-tabs { gap:21px; }
  .wm-as-tabs > button { min-height:39px;font-size:12px; }
  .wm-as-section-intro { display:block;margin-top:25px; }
  .wm-as-section-intro > span { display:block;margin-top:7px;text-align:left; }
  .wm-as-entity-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:17px; }
  .wm-as-entity-cover { height:118px; }
  .wm-as-entity-logo { top:91px;width:43px;height:43px; }
  .wm-as-entity-card strong { margin:10px 11px 0;font-size:13px; }
  .wm-as-entity-card small,.wm-as-entity-card > span { margin-right:11px;margin-left:11px; }
  .wm-as-results-head h2 { font-size:25px; }
  .wm-as-overlay-header { grid-template-columns:auto minmax(0,1fr) auto auto;gap:6px;min-height:63px;padding-right:10px;padding-left:10px; }
  .wm-as-cancel { font-size:12px; }
  .wm-as-overlay-form { min-height:39px;gap:5px;padding:0 8px; }
  .wm-as-overlay-form > span svg { width:15px;height:15px; }
  .wm-as-overlay-input { font-size:12px; }
  .wm-as-overlay-ai { min-width:34px;height:35px;padding:0 6px; }
  .wm-as-overlay-submit { min-height:35px;padding:0 10px;font-size:11px; }
  .wm-as-recent-wrap { margin-top:26px; }
  .wm-as-recent-list { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
  .wm-as-history-thumb,.wm-as-history-clock { height:90px; }
}
@media (max-width:782px) {
  body.admin-bar .wm-as-sticky-shell { top:46px; }
}
@media (max-width:380px) {
  .wm-as-tabs { gap:17px; }
  .wm-as-overlay-header { grid-template-columns:auto minmax(80px,1fr) auto auto; }
  .wm-as-overlay-ai { display:inline-flex; }
}
@media (prefers-reduced-motion:reduce) {
  .wm-as-hero-slide { transition:none; }
  .wm-as-hero-dot,.wm-as-tabs > button { scroll-behavior:auto; }
}

/* v3.12.39 — consistent circular history controls and shared-search suggestions */
html body .wm-advanced-search .wm-as-remove-history,
html body .wm-as-search-overlay .wm-as-remove-history {
  box-sizing:border-box !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 28px !important;
  width:28px !important;
  min-width:28px !important;
  max-width:28px !important;
  height:28px !important;
  min-height:28px !important;
  max-height:28px !important;
  padding:0 !important;
  aspect-ratio:1 / 1 !important;
  border:1px solid #e2e2dd !important;
  border-radius:50% !important;
  background:#f5f5f2 !important;
  color:#161616 !important;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:500 !important;
  text-align:center !important;
  box-shadow:none !important;
  -webkit-appearance:none !important;
  appearance:none !important;
}
html body .wm-advanced-search .wm-as-remove-history:hover,
html body .wm-advanced-search .wm-as-remove-history:focus,
html body .wm-advanced-search .wm-as-remove-history:active,
html body .wm-as-search-overlay .wm-as-remove-history:hover,
html body .wm-as-search-overlay .wm-as-remove-history:focus,
html body .wm-as-search-overlay .wm-as-remove-history:active {
  border-color:#111 !important;
  border-radius:50% !important;
  background:#111 !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:none !important;
}
html body .wm-as-search-overlay .wm-as-cancel,
html body .wm-as-search-overlay button.wm-as-cancel {
  min-height:40px !important;
  padding:0 14px !important;
  border:1px solid #111 !important;
  border-radius:999px !important;
  background:#111 !important;
  color:#fff !important;
  box-shadow:none !important;
  font-weight:700 !important;
  -webkit-appearance:none !important;
  appearance:none !important;
  -webkit-tap-highlight-color:transparent !important;
}
html body .wm-as-search-overlay .wm-as-cancel:hover,
html body .wm-as-search-overlay .wm-as-cancel:focus,
html body .wm-as-search-overlay .wm-as-cancel:active {
  border-color:#222 !important;
  border-radius:999px !important;
  background:#222 !important;
  color:#fff !important;
  outline:none !important;
  box-shadow:none !important;
}
html body .wm-as-global-suggest-wrap[hidden] { display:none !important; }
html body .wm-as-global-suggest-wrap { margin-top:24px; }
html body .wm-as-global-suggestions { display:flex;flex-direction:column;gap:3px; }
html body .wm-as-global-suggestion {
  display:flex !important;align-items:center;gap:12px;width:100%;min-height:44px;padding:9px 12px;
  border:0 !important;border-radius:10px !important;background:#fff !important;color:#171717 !important;
  text-align:left;box-shadow:none !important;font-size:14px;cursor:pointer;
}
html body .wm-as-global-suggestion:hover,
html body .wm-as-global-suggestion:focus,
html body .wm-as-global-suggestion:active { background:#f4f4f1 !important;color:#111 !important;outline:none !important; }
html body .wm-as-global-suggestion-icon { display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#f2f2ef;color:#444;font-size:20px; }
html body .wm-as-global-suggestion-query { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600; }
html body .wm-as-global-suggestion-count { color:#86867e;font-size:11px;white-space:nowrap; }

/* v3.12.43 — transparent advanced sticky backdrop; the search pill keeps its own surface. */
html body .wm-as-sticky-shell[data-as-transparent-sticky="1"].is-scrolled,
html body .wm-as-sticky-shell[data-as-transparent-sticky="1"].is-fixed {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* v3.12.43 — default opaque surface remains active when transparency is off. */
html body .wm-as-sticky-shell[data-as-transparent-sticky="0"].is-fixed,
html body .wm-as-sticky-shell[data-as-transparent-sticky="0"].is-scrolled {
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid rgba(30,31,27,.08) !important;
  box-shadow: 0 5px 18px rgba(22,23,20,.09) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* === WM FIX: location filter modal === */
.wm-as-location-fieldset {
  border: 1px solid #e9eae6;
  border-radius: 14px;
  padding: 12px;
  margin: 10px 0 0;
}
.wm-as-location-fieldset legend {
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}
.wm-as-location-summary {
  margin: 0 0 10px;
  font-size: 13px;
  color: #555;
}
.wm-as-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wm-as-location-actions button {
  border: 1px solid #d0d5dd;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.wm-as-location-overlay {
  position: fixed;
  inset: 0;
  z-index: 100460;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.wm-as-location-overlay[hidden] { display: none !important; }
.wm-as-location-panel {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 40px rgba(0,0,0,.18);
  padding: 0 0 16px;
}
.wm-as-location-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0ed;
}
.wm-as-location-panel header h2 {
  margin: 0;
  font-size: 18px;
}
.wm-as-location-fields {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
}
.wm-as-location-fields label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #444;
}
.wm-as-location-fields input,
.wm-as-location-fields select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}
.wm-as-location-help,
.wm-as-location-status {
  margin: 0;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}
.wm-as-location-panel footer {
  display: flex;
  gap: 10px;
  padding: 0 18px 8px;
}
.wm-as-location-panel footer button {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
.wm-as-location-near-btn {
  background: #f2f4f7;
  color: #111;
}
.wm-as-location-panel footer .wm-as-apply-filters {
  background: #111;
  color: #fff;
}
@media (min-width: 700px) {
  .wm-as-location-overlay { align-items: center; }
  .wm-as-location-panel { border-radius: 18px; }
}

/* Location filter buttons — must remain visible inside filter panel */
html body .wm-as-location-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
html body .wm-as-location-actions .wm-as-loc-btn,
html body .wm-as-location-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 8px 14px !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}
html body .wm-as-location-actions .wm-as-loc-btn span {
  display: inline !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
html body .wm-as-location-summary {
  display: block !important;
  margin: 0 0 8px !important;
  color: #555 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}


/* Places tab — location chip + product grid (not a form) */
.wm-as-places-bar {
  padding: 8px 0 14px;
}
.wm-as-places-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16,24,40,.05);
}
.wm-as-places-pin {
  font-size: 18px;
  line-height: 1;
}
.wm-as-places-chip-copy {
  flex: 1;
  min-width: 0;
}
.wm-as-places-chip-copy small {
  display: block;
  font-size: 11px;
  color: #667085;
  font-weight: 600;
}
.wm-as-places-chip-copy strong {
  display: block;
  font-size: 15px;
  color: #101828;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wm-as-places-change {
  border: 1px solid #d0d5dd;
  background: #f9fafb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  flex-shrink: 0;
}
.wm-as-places-change-sheet {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  background: #fafafa;
}
.wm-as-places-change-sheet[hidden] { display: none !important; }
.wm-as-places-change-inner {
  display: grid;
  gap: 10px;
}
.wm-as-places-use-gps {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.wm-as-places-quick {
  display: flex;
  gap: 8px;
}
.wm-as-places-quick input {
  flex: 1;
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}
.wm-as-places-quick button {
  min-width: 64px;
  border: 0;
  border-radius: 12px;
  background: #344054;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.wm-as-places-cancel {
  border: 0;
  background: transparent;
  color: #667085;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
}
.wm-as-places-panel [data-as-places-products] {
  min-height: 120px;
}

/* Location change form: clear responsive inputs with a single action row. */
.wm-as-places-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
.wm-as-places-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--wm-text,#242424);font-size:13px;font-weight:600}
.wm-as-places-fields input{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--wm-border,#d8d8d8);border-radius:10px;padding:11px 12px;background:var(--wm-surface,#fff);color:inherit;font:inherit}
.wm-as-places-fields>[data-as-places-apply-city]{grid-column:1/-1;min-height:42px;border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}
@media(max-width:560px){.wm-as-places-fields{grid-template-columns:minmax(0,1fr)}}
