/* Busca Menú · catálogo público. Diseño basado en "Busca Menu v3" de Claude Design. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url(assets/plus-jakarta-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url(assets/plus-jakarta-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--coral:#FF5436;--action:#C8361F;--action-hover:#A92B17;--ink:#111C35;--ink-2:#3A4560;--muted:#5A657D;--bg:#DCE1E9;--card-line:#BAC4D2;--card-shadow:0 1px 3px rgba(17,28,53,.12),0 8px 22px rgba(17,28,53,.12);--white:#FFFFFF;--line:#E6EAF0;--line-2:#EEF1F5;--field:#CBD5E1;--chip-line:#D5DCE6;--soft:#FFF3EF;--soft-line:#F3C9BE;--soft-ink:#8E2A17;--tint:#EEF2F8;--ok-bg:#E7F5EC;--ok:#1F5F3F;--wa:#1F7A47;--sticky-h:150px;color-scheme:light}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;line-height:1.4}
body.modal-open{overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--action)}
svg{flex:none}
:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
.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}
.shell{max-width:1160px;margin:0 auto;padding-left:18px;padding-right:18px}
[hidden]{display:none!important}

/* Encabezado */
.topbar{background:var(--white);border-bottom:1px solid var(--line)}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px;transition:padding .15s}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand-logo{width:38px;height:38px;transition:width .15s,height .15s}
.brand-name{font-size:22px;font-weight:800;letter-spacing:-.5px;white-space:nowrap;line-height:1}
.brand-name span{color:var(--coral)}
.city-pill{display:flex;align-items:center;gap:7px;background:var(--ink);color:var(--white);border-radius:999px;padding:6px 12px 6px 10px;font-size:11px;font-weight:800;letter-spacing:1.4px;white-space:nowrap}
.city-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--coral)}
.hero{background:var(--white)}
.hero .shell{display:flex;flex-direction:column;gap:8px;padding-top:22px;padding-bottom:6px}
.hero h1{margin:0;font-size:clamp(28px,7.4vw,52px);line-height:1.05;font-weight:800;letter-spacing:-.03em;text-wrap:balance}
.hero p{margin:0;font-size:clamp(15px,2.2vw,18px);line-height:1.5;color:var(--muted);max-width:560px;text-wrap:pretty}
body.is-active .hero,body.is-active .ideas{display:none}

/* Barra fija: buscador, pestañas y filtros */
.sticky-bar{position:sticky;top:0;z-index:5;background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 4px 12px rgba(17,28,53,.05)}
.sticky-bar>.shell{padding-top:10px}
.search-box{display:flex;align-items:center;gap:8px;background:var(--white);border:2px solid var(--ink);border-radius:16px;padding:6px 6px 6px 14px;box-shadow:0 6px 18px rgba(17,28,53,.08)}
.search-box>svg{width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2.4;stroke-linecap:round}
.search-box input{flex:1;min-width:0;border:0;outline:none;font-size:17px;font-weight:500;background:transparent;padding:10px 0}
.search-box input::-webkit-search-cancel-button{display:none}
.search-box:focus-within{box-shadow:0 0 0 4px rgba(255,84,54,.18),0 6px 18px rgba(17,28,53,.08)}
.clear-search{flex:none;width:36px;height:36px;border-radius:10px;border:0;background:var(--tint);color:var(--muted);font-size:18px;line-height:1}
.search-submit{flex:none;background:var(--action);color:var(--white);border:0;border-radius:11px;padding:12px 18px;font-size:16px;font-weight:700}
.search-submit:hover{background:var(--action-hover)}
.ideas{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.ideas span{font-size:14px;color:var(--muted)}
.ideas button,.empty-ideas button{border:1px solid var(--soft-line);background:var(--soft);color:var(--soft-ink);white-space:nowrap;border-radius:999px;padding:7px 13px;font-size:14px;font-weight:600}
.ideas button:hover,.empty-ideas button:hover{background:#FFE6DE}
.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line-2);margin-top:4px}
.tabs button{display:flex;align-items:center;gap:8px;background:none;border:0;border-bottom:3px solid transparent;padding:13px 0 10px;font-size:16px;font-weight:600;color:var(--muted)}
.tabs button[aria-selected=true]{border-bottom-color:var(--coral);font-weight:800;color:var(--ink)}
.badge{font-size:12px;font-weight:700;background:var(--tint);color:var(--muted);border-radius:999px;padding:2px 8px}
.badge:empty{display:none}
.tabs button[aria-selected=true] .badge{background:var(--ink);color:var(--white)}
.chip-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:10px 0}
.chip-row::-webkit-scrollbar{display:none}
.quick-chips{display:contents}
.filters-toggle,.chip{flex:none;display:flex;align-items:center;gap:6px;border-radius:999px;font-size:14px;white-space:nowrap}
.filters-toggle{border:1.5px solid var(--ink);background:var(--white);padding:7px 13px;font-weight:700}
.filters-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.filter-count{background:var(--action);color:var(--white);border-radius:999px;font-size:11px;padding:1px 7px}
.chip{border:1.5px solid var(--chip-line);background:var(--white);padding:6px 14px 6px 10px;font-weight:600}
.chip svg{width:18px;height:18px;fill:none;stroke:var(--action);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--white)}
.chip[aria-pressed=true] svg{stroke:var(--white)}
.filter-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px;padding:4px 0 14px;align-items:end}
.filter-panel label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;color:var(--muted)}
select{height:44px;border:1px solid var(--field);border-radius:10px;padding:0 10px;font-size:15px;color:var(--ink);background:var(--white)}
.soft-button{height:44px;border:0;background:var(--tint);color:var(--ink);border-radius:10px;font-size:15px;font-weight:700}
.link-button{border:0;background:none;color:var(--action);font-size:13px;font-weight:700;text-decoration:underline;padding:0}
.outline-button{height:46px;border:1.5px solid var(--ink);background:var(--white);color:var(--ink);border-radius:12px;padding:0 20px;font-size:15px;font-weight:700}
.outline-button:hover{background:var(--ink);color:var(--white)}
.dark-button{height:44px;border:0;background:var(--ink);color:var(--white);border-radius:11px;padding:0 16px;font-size:15px;font-weight:700}
.dark-button:hover{background:#24304D}

/* Diseño general */
.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start;padding-top:18px;padding-bottom:8px}
.side-filters{display:none}
.results-col{min-width:0}
.results-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.results-heading h2{margin:0;font-size:clamp(20px,3.6vw,26px);font-weight:800;letter-spacing:-.02em}
#count{font-size:14px;color:var(--muted)}
.active-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.active-chips button:not(.link-button){display:flex;align-items:center;gap:6px;border:0;background:var(--ink);color:var(--white);border-radius:999px;padding:5px 10px 5px 12px;font-size:13px;font-weight:600}
.active-chips b{opacity:.7;font-size:15px;font-weight:400}
.price-note{display:flex;gap:7px;align-items:flex-start;margin:10px 0 16px;font-size:13px;line-height:1.45;color:var(--muted);text-wrap:pretty}
.price-note svg,.small-note svg{width:15px;height:15px;margin-top:1px;fill:none;stroke:var(--action);stroke-width:2.2;stroke-linecap:round}
.results{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,262px),1fr));gap:16px}
.results.business-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.results.is-empty{display:block}
.more-wrap{display:flex;justify-content:center;margin-top:16px}
.preview-note{background:#FFF7E6;border:1px solid #F0D9A8;color:#6B4A0E;border-radius:12px;padding:10px 14px;font-size:14px;margin:12px auto 0;max-width:1124px}

/* Íconos de categoría */
.cat-icon{flex:none;width:42px;height:42px;border-radius:13px;background:var(--soft);display:flex;align-items:center;justify-content:center}
.cat-icon svg{width:24px;height:24px;fill:none;stroke:var(--action);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.business-card .cat-icon{width:46px;height:46px;border-radius:14px}
.business-card .cat-icon svg{width:26px;height:26px}
.mono{flex:none;width:32px;height:32px;border-radius:10px;background:var(--soft);color:var(--action);font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}

/* Tarjeta de platillo */
.dish-card{position:relative;background:var(--white);border:1px solid var(--card-line);box-shadow:var(--card-shadow);border-radius:18px;padding:16px 16px 0;display:flex;flex-direction:column;gap:10px;transition:box-shadow .15s,border-color .15s}
.dish-card:hover{border-color:var(--soft-line);box-shadow:0 10px 24px rgba(17,28,53,.08)}
.dish-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.dish-id{display:flex;gap:11px;align-items:flex-start;min-width:0}
.dish-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.dish-cat{font-size:12px;font-weight:700;color:var(--muted)}
.dish-card h3{margin:0;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.01em;text-wrap:pretty}
.card-open{all:unset;cursor:pointer}
.card-open::after{content:"";position:absolute;inset:0;border-radius:18px;z-index:1}
.card-open:focus-visible::after{outline:3px solid var(--coral);outline-offset:2px}
.portion{font-size:13px;color:var(--muted)}
.price-box{flex:none;text-align:right;display:flex;flex-direction:column;align-items:flex-end}
.price-lead{font-size:12px;font-weight:600;color:var(--muted);min-height:15px}
.price-big{font-size:24px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.ask-price{background:var(--tint);border-radius:8px;padding:6px 9px;font-size:13px;font-weight:700;white-space:nowrap}
.vars{display:flex;flex-direction:column;gap:4px}
.var{display:flex;align-items:baseline;gap:8px;font-size:14px}
.var span:first-child{color:var(--ink-2)}
.var i{flex:1;border-bottom:1px dotted var(--field);transform:translateY(-3px)}
.var b{font-weight:700}
.var.hit{background:var(--soft);box-shadow:inset 3px 0 0 var(--coral);margin:0 -8px;padding:3px 8px;border-radius:6px}
.var.hit span:first-child{color:var(--ink);font-weight:700}
.menu-item.selected .var.hit{background:var(--white)}
.var b.unknown,.menu-price.unknown{color:var(--muted)}
.more-vars{font-size:13px;font-weight:600;color:var(--action)}
.dish-foot{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line-2);margin-left:-16px;margin-right:-16px;padding:11px 16px;background:#FBFCFD;border-radius:0 0 18px 18px}
.biz-line{flex:1;min-width:0;display:flex;flex-direction:column}
.biz-line strong{font-size:14px;font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:pretty}
.biz-sub{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:2px;font-size:12px;color:var(--muted)}
.ok-tag{flex:none;display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;color:var(--ok);background:var(--ok-bg);border-radius:6px;padding:2px 6px}
.ok-tag svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.business-card .ok-tag{font-size:12px;border-radius:7px;padding:4px 8px;gap:4px}
.business-card .ok-tag svg{width:12px;height:12px}
.icon-button{position:relative;z-index:2;flex:none;width:36px;height:36px;border-radius:10px;border:1px solid #E1E6EE;background:var(--white);color:var(--ink);display:flex;align-items:center;justify-content:center}
.icon-button:hover{border-color:var(--action);color:var(--action)}
.icon-button svg,.contact-icon svg,.share-pill svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}

/* Tarjeta de negocio */
.business-card{background:var(--white);border:1px solid var(--card-line);box-shadow:var(--card-shadow);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}
.business-head{display:flex;gap:12px;align-items:flex-start}
.business-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.business-card h3{margin:0;font-size:18px;font-weight:800;line-height:1.2}
.business-meta{font-size:13px;color:var(--muted)}
.business-address{font-size:13px;color:var(--ink-2);line-height:1.4}
.tag-row{display:flex;flex-wrap:wrap;gap:6px}
.business-actions{display:flex;gap:8px}
.business-actions .dark-button{flex:1}
.contact-icon{flex:none;width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;text-decoration:none}
.contact-icon.call{background:var(--soft);color:var(--action)}
.contact-icon.wa{background:var(--ok-bg);color:var(--wa)}
.business-actions .icon-button{width:44px;height:44px;border-radius:11px}

/* Sin resultados */
.empty{background:var(--white);border:1px solid var(--card-line);border-radius:20px;padding:28px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.empty-icon{width:60px;height:60px;border-radius:18px;background:var(--soft);display:flex;align-items:center;justify-content:center}
.empty-icon svg{width:28px;height:28px;fill:none;stroke:var(--action);stroke-width:2.4;stroke-linecap:round}
.empty h3{margin:0;font-size:21px;font-weight:800;text-wrap:balance}
.empty p{margin:0;font-size:15px;line-height:1.5;color:var(--muted);max-width:420px;text-wrap:pretty}
.empty-ideas,.empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}
.empty-actions .outline-button{height:44px;border-radius:11px;padding:0 16px}

.site-footer{margin-top:24px;padding-top:20px;padding-bottom:40px;border-top:1px solid #E1E6EE;display:flex;flex-direction:column;gap:8px}
.site-footer p{margin:0;font-size:13px;line-height:1.55;color:var(--muted);max-width:720px;text-wrap:pretty}
.site-footer span{font-size:13px;font-weight:700}

/* Ventanas (ficha y compartir) */
.sheet{padding:0;border:0;margin:0;inset:auto 0 0 0;width:100%;max-width:none;max-height:none;background:transparent;color:var(--ink);overflow:visible}
.sheet::backdrop{background:rgba(17,28,53,.55)}
.sheet-inner{display:flex;flex-direction:column;overflow:hidden}
.business-sheet .sheet-inner{height:calc(100dvh - 24px);background:var(--bg);border-radius:24px 24px 0 0;max-width:760px;margin:0 auto}
.sheet-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;position:relative}
.ficha-head{background:var(--ink);color:var(--white);padding:16px 20px 20px;display:flex;flex-direction:column;gap:12px}
.ficha-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ficha-kind{font-size:12px;font-weight:800;letter-spacing:1.4px;color:#FFB4A5;text-transform:uppercase}
.ficha-top>div{display:flex;gap:8px;align-items:center}
.share-pill{height:40px;display:flex;align-items:center;gap:7px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:var(--white);padding:0 14px;font-size:14px;font-weight:700}
.share-pill:hover,.round-close.dark:hover{background:rgba(255,255,255,.14)}
.round-close{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:var(--white);font-size:22px;line-height:1}
.ficha-head h2{margin:0;font-size:clamp(26px,6vw,36px);line-height:1.1;font-weight:800;letter-spacing:-.02em}
.ficha-address{margin:0;display:flex;gap:7px;font-size:15px;line-height:1.45;color:#C9D1E0}
.ficha-address svg{width:16px;height:16px;margin-top:2px;fill:none;stroke:#FF8A73;stroke-width:2.2}
.ficha-phone{margin:0;font-size:13px;line-height:1.45;color:#AEB8CB;text-wrap:pretty}
.ficha-body{padding:16px 20px 0}
.info-box{background:var(--white);border:1px solid var(--card-line);box-shadow:var(--card-shadow);border-radius:16px;overflow:hidden}
.info-box summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;font-size:16px;font-weight:700;cursor:pointer}
.info-box summary::-webkit-details-marker{display:none}
.info-box summary>span{display:flex;flex-direction:column;gap:2px}
.info-box summary small{font-size:13px;font-weight:500;color:var(--muted)}
.info-box summary::after{content:"▾";flex:none;font-size:18px;color:var(--muted)}
.info-box[open] summary::after{content:"▴"}
.info-grid{border-top:1px solid var(--line-2);padding:14px 16px 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px}
.info-grid>div{display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.4}
.info-label{font-size:12px;font-weight:800;letter-spacing:1px;color:var(--muted);text-transform:uppercase}
.yes-line{display:flex;align-items:center;gap:6px;font-weight:600;color:var(--ok)}
.yes-line svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.yes-note{font-size:12px;color:var(--muted);line-height:1.35;padding-left:20px;margin-top:-4px}
.pending-line{font-size:13px;color:var(--muted);line-height:1.45;text-wrap:pretty}
.pending-line strong{color:var(--ink-2)}
.ficha-note{margin:12px 0 0;background:#FFF7E6;border:1px solid #F0D9A8;color:#6B4A0E;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.45}
.menu-head{position:sticky;top:0;z-index:2;background:var(--bg);padding:18px 20px 8px;display:flex;flex-direction:column;gap:10px}
.menu-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.menu-title h3{margin:0;font-size:22px;font-weight:800}
.menu-title span,.menu-ref{font-size:13px;color:var(--muted)}
.menu-ref{font-size:12px}
.menu-search{display:flex;align-items:center;gap:8px;background:var(--white);border:1.5px solid var(--field);border-radius:12px;padding:0 6px 0 12px}
.menu-search:focus-within{border-color:var(--ink)}
.menu-search svg{width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:2.4;stroke-linecap:round}
.menu-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:16px;padding:12px 0}
.menu-search input::-webkit-search-cancel-button{display:none}
.menu-search button{width:32px;height:32px;border:0;border-radius:8px;background:var(--tint);color:var(--muted);font-size:17px}
.section-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.section-chips::-webkit-scrollbar{display:none}
.section-chips button{flex:none;border:1px solid var(--chip-line);background:var(--white);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;white-space:nowrap}
.menu-list{padding:4px 20px 32px;display:flex;flex-direction:column;gap:18px}
.menu-groups{display:flex;flex-direction:column;gap:18px}
.menu-group{display:flex;flex-direction:column;gap:8px;scroll-margin-top:190px}
.menu-group h4{margin:0;font-size:13px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--action)}
.menu-card{background:var(--white);border:1px solid var(--card-line);box-shadow:var(--card-shadow);border-radius:16px;overflow:hidden}
.menu-item{padding:12px 16px;display:flex;flex-direction:column;gap:5px}
.menu-item+.menu-item{border-top:1px solid var(--line-2)}
.menu-item.selected{background:var(--soft)}
.menu-item-top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.menu-item-top>span{font-size:16px;font-weight:700}
.menu-price{flex:none;font-size:15px;font-weight:700}
.menu-empty{background:var(--white);border:1px solid var(--card-line);border-radius:16px;padding:20px;text-align:center;display:flex;flex-direction:column;gap:8px;align-items:center}
.menu-empty strong{font-size:16px}
.menu-empty span{font-size:14px;color:var(--muted)}
.menu-disclaimer{margin:0;font-size:12px;line-height:1.45;color:var(--muted)}
.contact-bar{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 16px calc(14px + env(safe-area-inset-bottom));background:var(--white);border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(17,28,53,.07)}
.contact-bar>div{display:flex;gap:10px}
.contact-bar a{flex:1;min-width:0;white-space:nowrap;height:52px;border-radius:14px;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:700}
.contact-bar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}
.call-button{background:var(--action);color:var(--white)}
@media (max-width:440px){.contact-bar a{font-size:15px;gap:6px}.contact-bar .call-button{flex:.6}}
@media (max-width:360px){.contact-bar a{font-size:14px}.contact-bar svg{display:none}}
.contact-bar .call-button:only-child{flex:1}
.call-button:hover{background:var(--action-hover)}
.wa-button{background:var(--white);border:1.5px solid var(--field);color:var(--ink)}
.wa-button svg{stroke:var(--wa)}
.contact-bar small{font-size:12px;color:var(--muted);line-height:1.4;text-align:center;text-wrap:pretty}
.contact-missing{font-size:14px;color:var(--muted);text-align:center;margin:0}

/* Compartir */
.share-sheet .sheet-inner{max-height:calc(100dvh - 28px);background:var(--white);border-radius:22px 22px 0 0;max-width:580px;margin:0 auto;box-shadow:0 20px 50px rgba(17,28,53,.3)}
.share-head{flex:none;padding:8px 18px 12px;border-bottom:1px solid var(--line-2);display:flex;flex-direction:column;gap:6px}
.grabber{align-self:center;width:40px;height:4px;border-radius:4px;background:var(--field)}
.share-head>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:4px}
.share-head h3{margin:0;font-size:20px;font-weight:800}
.plain-close{width:36px;height:36px;border-radius:50%;border:0;background:var(--tint);font-size:20px;line-height:1}
.share-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 18px 18px;display:flex;flex-direction:column;gap:18px}
.share-preview{display:flex;align-items:center;gap:12px;background:var(--bg);border-radius:14px;padding:12px}
.share-preview .cat-icon{width:44px;height:44px}
.share-preview>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.share-preview strong{font-size:16px;font-weight:800;line-height:1.2}
.share-preview small{font-size:13px;color:var(--muted);line-height:1.3}
.share-preview .price-box .price-big{font-size:18px}
.share-preview .ask-price{background:var(--white);font-size:12px}
.share-section{display:flex;flex-direction:column;gap:8px}
.share-section>span,.share-label{font-size:14px;font-weight:700}
.share-label small{font-weight:500;color:var(--muted);font-size:14px}
.sit-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -18px;padding:0 18px 2px}
.sit-row::-webkit-scrollbar{display:none}
.sit{flex:none;width:82px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px 9px;border-radius:14px;border:1.5px solid #E1E6EE;background:var(--white)}
.sit svg{width:22px;height:22px;fill:none;stroke:var(--action);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sit span{font-size:12px;font-weight:700;line-height:1.15;text-align:center}
.sit[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--white)}
.sit[aria-pressed=true] svg{stroke:var(--white)}
.sugg-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sugg-head>span{font-size:14px;font-weight:700}
.dice{height:34px;border:1.5px solid var(--ink);background:var(--white);border-radius:999px;padding:0 12px;font-size:13px;font-weight:700;white-space:nowrap}
.sugg{display:flex;gap:10px;align-items:flex-start;text-align:left;border:1.5px solid #E1E6EE;background:var(--white);border-radius:12px;padding:11px 12px;font-size:14px;line-height:1.45}
.sugg i{flex:none;margin-top:3px;width:16px;height:16px;border-radius:50%;border:2px solid var(--field);display:flex;align-items:center;justify-content:center}
.sugg[aria-pressed=true]{background:var(--soft);border-color:var(--action)}
.sugg[aria-pressed=true] i{border-color:var(--action)}
.sugg[aria-pressed=true] i::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--action)}
.sugg-hint{font-size:13px;color:var(--muted);margin-top:-8px}
.share-body textarea{font-size:15px;font-weight:500;line-height:1.45;border:1.5px solid var(--field);border-radius:12px;padding:10px 12px;resize:vertical;outline:none}
.share-body textarea:focus{border-color:var(--ink)}
.when{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bubble{background:var(--tint);border-radius:4px 14px 14px 14px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.bubble>span{font-size:14px;line-height:1.5;white-space:pre-wrap}
.bubble small{font-size:12px;color:var(--muted);line-height:1.45}
.bubble small b{color:var(--action);font-weight:600;word-break:break-all}
.small-note{margin:0;display:flex;gap:7px;align-items:flex-start;font-size:12px;line-height:1.45;color:var(--muted)}
.small-note svg{width:14px;height:14px}
.share-actions{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 18px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line-2);background:var(--white)}
.share-actions a{grid-column:1/-1;height:50px;border-radius:13px;background:var(--action);color:var(--white);text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;font-weight:700}
.share-actions a:hover{background:var(--action-hover)}
.share-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}
.share-actions button{height:50px;border-radius:13px;border:1.5px solid var(--field);background:var(--white);font-size:15px;font-weight:700}

/* Celular con búsqueda activa: encabezado compacto */
@media (max-width:959px){
 body.is-active .topbar-inner{padding-top:7px;padding-bottom:7px}
 body.is-active .brand-logo{width:28px;height:28px}
 body.is-active .brand-name{font-size:18px}
}
@media (max-width:380px){.city-pill{font-size:10px;letter-spacing:1px;padding:5px 10px 5px 8px}.search-submit{padding:12px 14px}}

/* Computadora */
@media (min-width:960px){
 .hero .shell{padding-top:44px;padding-bottom:10px}
 .hero h1{font-size:52px}
 .chip-row,.filter-panel{display:none!important}
 .tabs{border-bottom:0}
 .layout{grid-template-columns:250px minmax(0,1fr)}
 .side-filters{position:sticky;top:calc(var(--sticky-h) + 16px);display:flex;flex-direction:column;gap:18px;background:var(--white);border:1px solid var(--card-line);box-shadow:var(--card-shadow);border-radius:18px;padding:18px 14px;max-height:calc(100vh - var(--sticky-h) - 32px);overflow-y:auto}
 .side-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 4px}
 .side-head>span{font-size:17px;font-weight:800}
 .side-group{display:flex;flex-direction:column;gap:6px}
 .side-label{font-size:12px;font-weight:800;letter-spacing:1px;color:var(--muted);text-transform:uppercase;padding:0 4px}
 .side-label select{height:42px;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none}
 .side-cats{display:flex;flex-direction:column;gap:2px;max-height:300px;overflow-y:auto}
 .side-cat{display:flex;align-items:center;gap:9px;border:0;background:transparent;border-radius:10px;padding:7px 8px;font-size:14px;font-weight:500;text-align:left}
 .side-cat:hover{background:var(--bg)}
 .side-cat svg{width:18px;height:18px;fill:none;stroke:var(--action);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .side-cat[aria-pressed=true]{background:var(--ink);color:var(--white);font-weight:700}
 .side-cat[aria-pressed=true] svg{stroke:var(--white)}
 .side-radio{display:flex;align-items:center;gap:9px;border:0;background:none;padding:5px 4px;font-size:14px;font-weight:500;text-align:left;width:100%}
 .side-radio i{flex:none;width:16px;height:16px;border-radius:50%;border:2px solid var(--field);display:flex;align-items:center;justify-content:center}
 .side-radio[aria-checked=true]{font-weight:700}
 .side-radio[aria-checked=true] i{border-color:var(--action)}
 .side-radio[aria-checked=true] i::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--action)}
 .side-filters .soft-button{height:42px;font-size:14px}
 .business-sheet{inset:0;margin:auto;width:min(760px,calc(100% - 48px));height:calc(100dvh - 48px)}
 .business-sheet .sheet-inner{height:100%;border-radius:24px}
 .share-sheet{inset:0;margin:auto;width:min(580px,calc(100% - 64px));height:fit-content}
 .share-sheet .sheet-inner{max-height:calc(100dvh - 64px);border-radius:20px}
 .grabber{display:none}
 .sit-row{flex-wrap:wrap;overflow:visible}
 .share-actions{grid-template-columns:1.3fr 1fr 1fr}
 .share-actions a{grid-column:auto}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
