/* Shopmart Smart+ — isolated optional enhancement, v1.0 */
body.smh-preview .smh-search .smh-smart-toggle,
body.smh-preview #masthead.header-v1 .smh-mobile-search-form .smh-smart-toggle {
  -webkit-appearance:none;appearance:none;position:relative;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  flex:0 0 auto;white-space:nowrap;width:auto;height:32px;min-height:32px;
  margin:0 7px 0 0;padding:0 11px;
  background:#fff!important;color:#89236e!important;border:1px solid #ead5e4!important;
  border-radius:999px!important;font-size:12px!important;font-weight:700!important;
  line-height:1!important;cursor:pointer;outline-offset:3px;
  box-shadow:0 1px 4px rgba(137,35,110,.04)!important;
  transition:background .2s,border-color .2s,box-shadow .22s,transform .22s;
}
body.smh-preview .smh-smart-toggle:hover,
body.smh-preview .smh-smart-toggle:focus-visible {
  background:#fcf7fc!important;border-color:#c782ad!important;
  box-shadow:0 0 0 2px rgba(137,35,110,.06),0 4px 13px rgba(137,35,110,.15),0 7px 21px rgba(198,0,81,.10)!important;
  transform:translateY(-1px);
}
body.smh-preview .smh-smart-toggle.smh-smart-on {
  background:#f8eef7!important;border-color:#ba76a0!important;
  box-shadow:0 0 0 1px rgba(137,35,110,.08),0 3px 12px rgba(198,0,81,.07)!important;
}
body.smh-preview .smh-smart-toggle .smh-smart-spark,
body.smh-preview #masthead.header-v1 .smh-mobile-search-form .smh-smart-toggle svg {
  display:block;width:16px!important;height:16px!important;flex:0 0 16px;
  stroke:currentColor;pointer-events:none;
}
body.smh-preview .smh-smart-summary[hidden] {display:none!important;}
body.smh-preview .smh-smart-summary {
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  margin:0 0 12px;padding:10px 12px;border:1px solid #f0dfe9;
  border-radius:12px;background:#fbf6fa;color:#89236e;
  font-size:12px;line-height:1.45;
}
body.smh-preview .smh-smart-summary-title {font-weight:750;margin-right:6px;}
body.smh-preview .smh-smart-summary-hint {color:#6e6570;font-size:11px;}
body.smh-preview .smh-smart-chip {background:#fff;border:1px solid #eadce7;border-radius:999px;padding:3px 8px;color:#89236e;font-size:11px;}
@media(max-width:991px){
 body.smh-preview #masthead.header-v1 .smh-mobile-search-form .smh-smart-toggle {
   flex:0 0 31px!important;width:31px!important;min-width:31px!important;
   height:30px!important;min-height:30px!important;margin:0 5px 0 0!important;padding:0!important;
   border-radius:10px!important;
 }
 body.smh-preview .smh-mobile-search-form .smh-smart-label {display:none!important;}
 body.smh-preview .smh-mobile-search-results .smh-smart-summary {margin:0 10px 10px;}
}
@media(prefers-reduced-motion:reduce){body.smh-preview .smh-smart-toggle {transition:none!important;transform:none!important;}}
/* Keep active and hover contrast on mobile where the existing header has strong selectors. */
@media(max-width:991px){
 body.smh-preview #masthead.header-v1 .smh-mobile-search-form .smh-smart-toggle:hover,
 body.smh-preview #masthead.header-v1 .smh-mobile-search-form .smh-smart-toggle:focus-visible {
   background:#fcf7fc!important;border-color:#c782ad!important;
   box-shadow:0 0 0 2px rgba(137,35,110,.06),0 4px 13px rgba(137,35,110,.15),0 7px 21px rgba(198,0,81,.10)!important;
 }
 body.smh-preview #masthead.header-v1 .smh-mobile-search-form .smh-smart-toggle.smh-smart-on {
   background:#f8eef7!important;border-color:#ba76a0!important;
   box-shadow:0 0 0 1px rgba(137,35,110,.08),0 3px 12px rgba(198,0,81,.07)!important;
 }
}
