/* Only Mercado's existing search surface; cards and carousel keep their current styles. */
.discover#negocios{position:relative;z-index:10;overflow:visible;background:transparent;padding:20px 0 0;border-radius:0;width:100%;max-width:780px;margin:0 auto 30px}
#market-search-title{font:800 clamp(1.35rem,3vw,1.9rem)/1.25 Manrope,sans-serif;letter-spacing:-.035em;text-align:center;margin:0 0 16px}
#portada{position:relative;z-index:0}
.discover#negocios .search-row{display:block;position:relative}
.discover#negocios .search-box{display:block}
.discover#negocios .search-box input{height:60px;border-radius:99px;font-size:1.0625rem;padding-left:52px;padding-right:54px;box-shadow:0 2px 12px rgba(0,0,0,.025)}
.discover#negocios .search-box input:focus{border-color:var(--yellow,#ffd400);box-shadow:0 0 0 2px rgba(255,212,0,.25)}
.discover#negocios .search-box svg{left:20px;pointer-events:none}
.discover#negocios .search-box input::-webkit-search-cancel-button{display:none}
#market-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit;font:400 1.5rem/1 'DM Sans',sans-serif;cursor:pointer}
#market-search-clear[hidden]{display:none}
#market-search-clear:hover{background:var(--soft,#f4f4f0)}
html[data-theme=dark] #market-search-clear:hover{background:#292925}
.discover#negocios .local-shortcuts{justify-content:center;gap:10px;margin:18px 0 6px}
.discover#negocios .local-shortcuts a{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid var(--line,#deded7);border-radius:99px;font-size:.9375rem;font-weight:700;text-decoration:none;color:var(--black,#171715);-webkit-text-fill-color:currentColor}
.discover#negocios .local-shortcuts svg{width:18px;height:18px}
.discover#negocios .local-shortcuts .state-dot{width:9px;height:9px}
.discover#negocios .local-shortcuts a:hover{background:var(--soft,#f4f4f0)}
.discover#negocios :focus-visible,.market-category-section :focus-visible{outline:3px solid var(--yellow,#ffd400);outline-offset:4px}
.market-category-section{margin:32px 0 24px}
.market-category-section h2{font:800 clamp(1.25rem,2vw,1.65rem)/1.25 Manrope,sans-serif;letter-spacing:-.025em;margin:0}
.market-category-section .chips{padding-top:14px}
.discover#negocios .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#market-suggestions{position:absolute;left:0;right:0;z-index:20;top:calc(100% + 6px);background:var(--surface,#fff);color:var(--black,#171715);border:1px solid var(--line,#deded7);border-radius:20px;padding:12px;box-shadow:0 8px 25px rgba(0,0,0,.09);max-height:min(480px,60dvh,var(--suggestion-space,480px));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding:10px}
#market-suggestions[hidden]{display:none}
.market-suggestion-heading{font:800 1.05rem/1.3 Manrope,sans-serif;padding:8px 8px 14px;overflow-wrap:anywhere}
.market-suggestion-label{text-transform:uppercase;letter-spacing:.12em;font-size:.67rem;font-weight:800;color:var(--muted,#65655e);padding:7px 8px}
.market-suggestion-group+.market-suggestion-group{border-top:1px solid var(--line,#deded7);margin-top:8px;padding-top:8px}
.market-suggestion{display:flex;align-items:center;gap:12px;width:100%;min-width:0;border:0;background:transparent;color:inherit;-webkit-text-fill-color:currentColor;border-radius:12px;padding:10px 8px;text-decoration:none;text-align:left;font:inherit;cursor:pointer;min-height:44px}
.market-suggestion:visited{color:inherit}
.market-suggestion:hover{background:var(--soft,#f4f4f0)}
.market-suggestion[aria-selected=true],.market-suggestion:focus-visible{background:rgba(255,212,0,.12);outline:2px solid var(--yellow,#ffd400);outline-offset:-2px}
.market-suggestion-copy{min-width:0;flex:1}
.market-suggestion strong{display:block;font-size:.95rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-suggestion small{display:block;color:var(--muted,#65655e);font-size:.8rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-suggestion-photo{position:relative;display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:12px;overflow:hidden;background:var(--soft,#f4f4f0);font:800 1.25rem Manrope,sans-serif;color:var(--muted,#65655e)}
.market-suggestion-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.market-suggestion-chevron{font-size:1.4rem;color:var(--muted,#65655e);flex:0 0 12px}
.market-suggestion small.market-suggestion-hours{font-size:.72rem}
.market-suggestion-hours::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#8b8b83;margin-right:6px}
.market-suggestion-hours.state-open::before{background:#27985c}.market-suggestion-hours.state-closing::before{background:var(--yellow,#ffd400)}
.group-category{display:flex;flex-wrap:wrap;gap:6px}.group-category .market-suggestion-label{width:100%}.suggestion-category{width:auto;max-width:100%;padding:8px 12px;border:1px solid var(--line,#deded7);border-radius:99px;min-height:40px}.suggestion-category strong{font-size:.8rem;font-weight:600}
.suggestion-catalog strong{font-size:.85rem}.suggestion-catalog{padding:10px 8px}
html[data-theme=dark] #market-suggestions{background:#1b1b18;color:#f5f5ef;border-color:#393933}
html[data-theme=dark] #market-suggestions .market-suggestion-label,html[data-theme=dark] #market-suggestions small,html[data-theme=dark] #market-suggestions .market-suggestion-chevron{color:#b9b9b1}
html[data-theme=dark] #market-suggestions .market-suggestion-photo{background:#292925;color:#b9b9b1}
html[data-theme=dark] #market-suggestions .market-suggestion-group,html[data-theme=dark] #market-suggestions .suggestion-category{border-color:#393933}
html[data-theme=dark] .discover#negocios .local-shortcuts a{color:#f5f5ef;border-color:#393933}
html[data-theme=dark] .market-suggestion:hover,html[data-theme=dark] .discover#negocios .local-shortcuts a:hover{background:#292925}
html[data-a11y-contrast] #market-suggestions{background:#000!important;color:#fff!important;border:2px solid #fff!important}
html[data-a11y-contrast] .market-suggestion[aria-selected=true]{outline:2px solid currentColor}
@media(max-width:560px){.discover#negocios{padding-top:16px;margin-bottom:24px}#market-search-title{margin-bottom:14px}.discover#negocios .search-box input{height:56px;font-size:1rem;padding-left:46px;padding-right:52px}.discover#negocios .search-box svg{left:17px}.market-category-section{margin-top:24px}}

.discover#negocios .local-shortcuts a[hidden]{display:none!important}

html[data-theme=dark] #market-suggestions .market-suggestion[aria-selected=true]{background:rgba(255,212,0,.12)}

/* The docked mobile field borrows the actual NAV surface, including theme changes. */
@media(max-width:680px){
 /* Internal card headers inherit the global header layer. Contain that layer below search. */
 #local-activity{isolation:isolate}
 .market-search-anchor{position:relative;min-width:0}
 .discover#negocios .search-row::before{content:'';position:absolute;z-index:-1;pointer-events:none;top:0;left:0;width:100%;height:calc(100% + 40px);opacity:0;background:linear-gradient(to bottom,var(--search-nav-surface) 0%,var(--search-nav-surface) calc(100% - 40px),color-mix(in srgb,var(--search-nav-surface) 65%,transparent) calc(100% - 26px),color-mix(in srgb,var(--search-nav-surface) 22%,transparent) calc(100% - 12px),transparent 100%);transition:opacity .18s ease}
 .discover#negocios .search-row.market-search-docked{position:fixed;top:var(--search-nav-bottom);left:var(--search-left);width:var(--search-width);padding-top:8px;z-index:19;isolation:isolate}
 .discover#negocios .search-row.market-search-docked::before{left:var(--search-bleed-left);width:var(--search-viewport-width);opacity:1}
 .discover#negocios .search-row.market-search-docked input{background:var(--white,#fff)}
 html[data-theme=dark] .discover#negocios .search-row.market-search-docked input{background:#1b1b18}
 body>header.market-search-nav-joined{border-bottom-color:transparent}
}
@media(prefers-reduced-motion:reduce){.discover#negocios .search-row::before{transition:none}}
html[data-a11y-motion=reduce] .discover#negocios .search-row::before{transition:none}
