[data-direction-wheel] select[data-global-support],
[data-direction-wheel] .mol-select,
[data-direction-wheel] .mol-select-menu,
[data-direction-wheel] .mol-select-button:not(.direction-wheel-trigger) { display: none !important; }

html.search-experience-open, html.direction-wheel-open {
  overflow: hidden;
  overscroll-behavior: none;
}

dialog.search-experience,
dialog.direction-wheel--momentum {
  --search-edge: max(12px, env(safe-area-inset-top));
  position: fixed !important;
  inset: calc(var(--search-visible-top, 0px) + var(--search-edge)) 0 auto !important;
  box-sizing: border-box;
  width: min(590px, calc(var(--search-visible-width, 100vw) - 24px));
  max-width: none;
  max-height: calc(var(--search-visible-height, 100dvh) - var(--search-edge) - 14px);
  height: auto;
  margin: 0 auto !important;
  padding: 18px;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid rgb(160 178 149 / 42%);
  border-radius: 24px;
  background: linear-gradient(150deg, #fffffc 0%, #fbfcf6 70%, #f2f5eb 100%);
  color: #183f32;
  box-shadow: 0 24px 70px -24px rgb(8 34 23 / 50%), 0 5px 15px rgb(8 34 23 / 10%), inset 0 1px 0 #fff;
  font: 400 16px/1.4 system-ui, sans-serif;
  text-align: left;
}

dialog.search-experience[open] { display: flex !important; flex-direction: column; }
dialog.direction-wheel--momentum[open] { display: block; }
dialog.search-experience::backdrop,
dialog.direction-wheel--momentum::backdrop {
  background: rgb(13 39 28 / 35%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
dialog.search-experience.is-suspended {
  visibility: hidden;
  pointer-events: none;
}
dialog.search-experience.is-suspended::backdrop { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
dialog.search-experience.is-closing { pointer-events: none; }

.search-experience__bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px;
}
dialog.search-experience .search-experience__bar h2 {
  position: static !important;
  margin: 0 !important;
  padding: 0;
  color: inherit;
  font: 600 23px/1.2 system-ui, sans-serif;
  letter-spacing: -.025em;
}
.search-experience__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #dbe3d4;
  border-radius: 50%;
  color: #385746;
  background: #f3f6ec;
  cursor: pointer;
}
.search-experience__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.search-experience__body,
.site-header details[data-search-enhanced] dialog.search-experience .home-search[data-home-search] {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  inset: auto !important;
  width: 100% !important;
  min-height: 0;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
dialog.search-experience > .search-experience__bar { order: 0; }
dialog.search-experience > .search-experience__body { order: 1; }
dialog.search-experience :is(.eyebrow, .search-hint, .home-search-form > label, .search-experience__picker > label) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%);
}
dialog.search-experience :is(form, .home-search-form) {
  position: static !important;
  order: 10;
  flex: none;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
}
dialog.search-experience :is(.global-search-field, .home-search-controls, .home-search-input-wrap) {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
dialog.search-experience .global-search-field > svg { position: absolute; top: 15px; left: 15px; width: 21px; height: 21px; color: #7d9270; }
dialog.search-experience .global-search-field > button[type=submit] { display: none; }
dialog.search-experience input[type=search] {
  position: static !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 54px;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 12px 72px 12px 15px !important;
  border: 1px solid #c8d5bd !important;
  border-radius: 13px !important;
  background: #f4f7ef !important;
  color: #183f32;
  font: 400 16px/1.4 system-ui, sans-serif !important;
  box-shadow: inset 0 1px 2px rgb(49 76 32 / 3%) !important;
  -webkit-appearance: none;
}
dialog.search-experience .global-search-field input[type=search] { padding-left: 45px !important; }
dialog.search-experience input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
.search-experience .home-search-clear { position: absolute !important; right: 10px; top: 12px; width: auto; min-height: 28px; margin: 0; padding: 2px 3px; font-size: 12px; }
.search-experience .home-search-clear[hidden] { display: none !important; }
dialog.search-experience .search-experience__picker {
  display: block !important;
  order: 20;
  flex: none;
  min-width: 0;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.search-experience .direction-wheel-trigger {
  position: relative;
  box-sizing: border-box;
  display: block !important;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 12px 43px 12px 15px;
  border: 1px solid #c8d5bd;
  border-radius: 13px;
  background: #fbfcf7;
  color: #244c39;
  font: 500 16px/1.4 system-ui, sans-serif;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}
.search-experience .direction-wheel-trigger::after {
  position: absolute;
  top: calc(50% - 5px);
  right: 19px;
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
  content: '';
}
.search-experience :is(.live-search-panel, .home-search-output) {
  order: 30;
  flex: 1 1 auto;
  min-height: 0;
  margin: 12px 0 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.search-experience :is(.live-search-panel, .home-search-output)[hidden] { display: none !important; }
.search-experience :is(.live-search-results, .home-search-results) { margin: 0; padding: 0; list-style: none; }
.search-experience :is(.live-search-heading, .home-search-status) { margin: 0 0 8px; font-size: 13px; }
.search-experience :is(.live-search-results a, .home-search-result) {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e0e7d9;
  color: inherit;
  text-decoration: none;
}
.search-experience :is(.live-search-results img, .home-search-result-image) {
  box-sizing: border-box;
  width: 62px;
  height: 80px;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 8px;
  background: #f1f4eb;
  object-fit: contain;
}
.search-experience :is(.live-search-copy, .home-search-result-body) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-experience :is(.live-search-copy strong, .home-search-result-title) { font: 600 16px/1.35 system-ui, sans-serif; overflow-wrap: anywhere; }
.search-experience :is(.live-search-category, .home-search-result-price) { font: 400 13px/1.4 system-ui, sans-serif; color: #687b5e; }
.search-experience :is(input[type=search], .direction-wheel-trigger):focus { outline: none !important; box-shadow: 0 0 0 2px rgb(105 146 89 / 12%) !important; }
.search-experience .direction-wheel-trigger:focus:not(:focus-visible) { box-shadow: none !important; }
.search-experience button:focus-visible { outline: 2px solid #78996d !important; outline-offset: 2px; }

dialog.direction-wheel--momentum {
  --direction-wheel-row: 60px;
  --direction-wheel-rail: min(300px, max(60px, calc(var(--search-visible-height, 100dvh) - 115px)));
  width: min(460px, calc(var(--search-visible-width, 100vw) - 24px));
  padding: 12px 16px 16px;
  border-radius: 24px;
}
.direction-wheel__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; min-height: 44px; padding-bottom: 10px; }
dialog.direction-wheel .direction-wheel__bar h2 { margin: 0; padding: 0; color: inherit; font: 600 16px/1.25 system-ui, sans-serif; text-align: center; }
.direction-wheel__bar button { min-height: 42px; padding: 8px 11px; border: 1px solid transparent; border-radius: 12px; color: #365f49; background: transparent; font: 500 14px/1.3 system-ui, sans-serif; cursor: pointer; }
.direction-wheel__cancel { justify-self: start; }
.direction-wheel__bar .direction-wheel__done { justify-self: end; border-color: #2c6147; color: #fff; background: linear-gradient(#3e7759, #285a40); box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 2px 5px rgb(20 70 42 / 12%); }
.direction-wheel__drum {
  position: relative;
  isolation: isolate;
  height: var(--direction-wheel-rail);
  overflow: hidden;
  border-radius: 22px / 38px;
  background: linear-gradient(90deg, #e7eddf, #f6f9f0 18%, #fefff9 50%, #f5f9ef 83%, #e5ecdc);
  box-shadow: inset 0 1px 3px rgb(52 89 32 / 10%);
}
.direction-wheel__drum::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 5px;
  left: 5px;
  height: var(--direction-wheel-row);
  box-sizing: border-box;
  border: solid #d1dec4;
  border-width: 1px 0;
  border-radius: 11px;
  background: linear-gradient(#f3f8eb, #e5efda 70%, #e9f2de);
  box-shadow: inset 0 1px 0 #fff;
  transform: translateY(-50%);
  content: '';
}
.direction-wheel__drum::after { position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(#eaf0e1, rgb(245 249 236 / 65%) 12%, transparent 32%, transparent 68%, rgb(242 247 231 / 65%) 88%, #e9f0df); pointer-events: none; content: ''; }
.direction-wheel__rail { position: relative; z-index: 1; height: 100%; overflow: hidden; scroll-behavior: auto !important; scroll-snap-type: none !important; overscroll-behavior: none; touch-action: none; user-select: none; -webkit-user-select: none; scrollbar-width: none; cursor: grab; }
.direction-wheel__rail:active { cursor: grabbing; }
.direction-wheel__rail::-webkit-scrollbar { display: none; }
.direction-wheel__track { padding-block: calc((var(--direction-wheel-rail) - var(--direction-wheel-row)) / 2); will-change: transform; }
.direction-wheel__row { display: grid; box-sizing: border-box; place-items: center; height: var(--direction-wheel-row); min-width: 0; padding: 4px 12px; text-align: center; }
.direction-wheel__row span { display: block; max-width: 100%; color: #52715b; font: 400 16px/1.3 system-ui, sans-serif; backface-visibility: hidden; overflow-wrap: anywhere; pointer-events: none; will-change: transform, opacity; }
.direction-wheel__row[aria-selected=true] span { color: #1d4831; font-weight: 650; }
.direction-wheel__rail:focus { outline: none !important; }
.direction-wheel--momentum button:focus-visible { outline: 2px solid #78996d !important; outline-offset: 2px; }
@media (min-width:700px) {
  dialog.search-experience, dialog.direction-wheel--momentum { --search-edge: 28px; }
  dialog.search-experience { padding: 22px; }
}
@media (max-height:440px) {
  dialog.search-experience, dialog.direction-wheel--momentum { padding: 10px 14px; border-radius: 18px; }
  .search-experience__bar { padding-bottom: 7px; }
  dialog.search-experience input[type=search], .search-experience .direction-wheel-trigger { min-height: 44px !important; height: 44px; padding-block: 8px !important; }
  dialog.search-experience .search-experience__picker { margin-top: 7px !important; }
}
@media (forced-colors:active) {
  dialog.search-experience, dialog.direction-wheel--momentum { border: 1px solid CanvasText; color: CanvasText; background: Canvas; }
  .direction-wheel__drum { background: Canvas; }
  .direction-wheel__drum::before { border: 1px solid Highlight; background: Canvas; }
  .direction-wheel__drum::after { display: none; }
}

/* Approved quiet picker appearance. Motion and selection geometry stay shared. */
dialog#site-search-dialog.search-experience,
dialog#direction-wheel.direction-wheel--momentum {
  border: 1px solid #dce4df;
  border-radius: 18px;
  background: #fff;
  color: #233d33;
  box-shadow: 0 16px 48px rgb(20 42 33 / 18%);
}
dialog#site-search-dialog.search-experience::backdrop,
dialog#direction-wheel.direction-wheel--momentum::backdrop {
  background: rgb(20 37 30 / 30%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
dialog#site-search-dialog.search-experience .search-experience__bar h2 { font-size: 18px; line-height: 1.3; letter-spacing: normal; }
#site-search-dialog .search-experience__close {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #f3f5f4;
  color: #53655c;
  box-shadow: none;
}
dialog#direction-wheel.direction-wheel--momentum {
  --direction-wheel-rail: min(300px, max(60px, calc(var(--search-visible-height, 100dvh) - var(--search-edge) - 184px)));
  width: min(480px, calc(var(--search-visible-width, 100vw) - 32px));
  padding: 18px 20px 20px;
}
#direction-wheel .direction-wheel__bar {
  grid-template-columns: minmax(0, 1fr) 44px;
  min-height: 44px;
  gap: 12px;
  padding: 0;
}
dialog#direction-wheel.direction-wheel--momentum .direction-wheel__bar h2 { font-size: 18px; line-height: 1.3; text-align: left; }
#direction-wheel .direction-wheel__bar .direction-wheel__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f3f5f4;
  color: #53655c;
  font: 26px/1 system-ui, sans-serif;
  box-shadow: none;
}
#direction-wheel .direction-wheel__drum {
  margin-top: 12px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
#direction-wheel .direction-wheel__drum::before {
  right: 0;
  left: 0;
  border: 0;
  border-radius: 6px;
  background: #edf3ef;
  box-shadow: none;
}
#direction-wheel .direction-wheel__drum::after {
  border-radius: 0;
  background: linear-gradient(#fff, rgb(255 255 255 / 65%) 12%, transparent 32%, transparent 68%, rgb(255 255 255 / 65%) 88%, #fff);
}
#direction-wheel .direction-wheel__row span { color: #68776f; }
#direction-wheel .direction-wheel__row[aria-selected=true] span { color: #244f3f; font-weight: 600; }
#direction-wheel .direction-wheel__actions { display: flex; margin-top: 16px; }
#direction-wheel .direction-wheel__actions .direction-wheel__done {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #315f50;
  color: #fff;
  font: 600 16px/1.5 system-ui, sans-serif;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
#direction-wheel .direction-wheel__actions .direction-wheel__done:hover { background: #284f42; }
#direction-wheel .direction-wheel__actions .direction-wheel__done:active { transform: none; background: #234639; box-shadow: none; }
@media (max-height: 440px) {
  dialog#site-search-dialog.search-experience, dialog#direction-wheel.direction-wheel--momentum { padding: 10px 14px; }
  .direction-wheel__actions { margin-top: 12px; }
}
@media (forced-colors: active) {
  dialog#site-search-dialog.search-experience, dialog#direction-wheel.direction-wheel--momentum,
  .search-experience__close, .direction-wheel__cancel, .direction-wheel__actions .direction-wheel__done {
    border: 1px solid ButtonText;
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
  .direction-wheel__drum { background: Canvas; }
  .direction-wheel__drum::before { border: 1px solid Highlight; background: Canvas; box-shadow: none; }
  .direction-wheel__drum::after { display: none; }
  .direction-wheel__row span, .direction-wheel__row[aria-selected=true] span { color: CanvasText; }
}
