:root {
  --ink: #102033;
  --ink-2: #263247;
  --muted: #667085;
  --line: #e5e9f0;
  --paper: #ffffff;
  --soft: #FFF8ED;
  --accent: #B8F05A;
  --accent-2: #6A9A28;
  --blue: #335cff;
  --danger: #c43f4f;
  --shadow: 0 18px 50px rgba(16, 24, 39, .08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 74px; padding: 0 max(18px, calc((100vw - 1180px)/2)); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(229,233,240,.85); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; width: max-content; }
.brand-icon { width:44px; height:44px; flex:0 0 auto; border-radius:13px; box-shadow:0 8px 20px rgba(16,32,51,.16); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .95rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .7rem; }
.topnav { display: flex; gap: 28px; font-size: .9rem; }
.topnav a { text-decoration: none; color: var(--ink-2); font-weight: 650; }
.topbar > .button { justify-self: end; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--ink); color: white; font-size: .7rem; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 54px; align-items: center; min-height: 660px; padding-top: 72px; padding-bottom: 80px; }
.eyebrow { display: block; margin-bottom: 14px; font-size: .74rem; font-weight: 850; letter-spacing: .13em; color: #54720b; }
h1 { margin: 0 0 24px; max-width: 800px; font-size: clamp(2.7rem, 6vw, 5.3rem); line-height: .98; letter-spacing: -.065em; }
h1 span { color: #6e9410; }
.hero-copy > p { max-width: 720px; font-size: 1.12rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-weight: 780; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(16,24,39,.18); }
.button.secondary { background: var(--accent); color: var(--ink); }
.button.ghost { border-color: var(--line); background: white; color: var(--ink); }
.button.compact { min-height: 38px; padding: 0 13px; font-size: .82rem; }
.button.light-button { background: white; color: var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: .85rem; }
.hero-panel { background: var(--ink); color: white; border-radius: 30px; padding: 30px; box-shadow: 0 30px 70px rgba(16,24,39,.22); transform: rotate(1deg); }
.panel-label { font-size: .7rem; letter-spacing: .12em; color: var(--accent); font-weight: 850; }
.recommendation-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin: 28px 0; }
.recommendation-head small { color: #adb5c3; }
.recommendation-head h2 { margin: 4px 0 0; font-size: 1.8rem; }
.status-dot { padding: 7px 10px; border: 1px solid #3d4b62; border-radius: 999px; font-size: .72rem; color: #d6dce6; }
.mini-comparison { display: grid; gap: 8px; }
.mini-comparison div { display: flex; justify-content: space-between; padding: 15px; border-radius: 14px; background: #1b2638; }
.mini-comparison div:last-child { background: var(--accent); color: var(--ink); }
.insight-box { margin-top: 20px; padding: 17px; border: 1px solid #334057; border-radius: 16px; }
.insight-box p { margin: 6px 0 0; color: #b8c0cc; font-size: .88rem; }
.section { padding: 96px 0; }
.section-alt { background: var(--soft); }
.section-dark { background: var(--ink); color: white; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; max-width: 780px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.045em; }
.section-heading p { margin: 12px 0 0; max-width: 760px; color: var(--muted); }
.section-heading.light p { color: #b8c0cc; }
.search-shell { display: grid; gap: 14px; }
.search-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 0 18px; min-height: 68px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.search-box span { font-size: 1.6rem; }
.search-box input { width: 100%; border: 0; outline: 0; font-size: 1.1rem; }
.search-box button { border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 12px; font-size: .82rem; color: var(--ink-2); }
.search-summary { min-height: 28px; margin: 20px 0 10px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; transition: transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-top { display: flex; justify-content: space-between; gap: 12px; padding: 20px 20px 15px; }
.product-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); font-size: 1.7rem; }
.match-badge { align-self: start; padding: 6px 9px; border-radius: 999px; background: #eefbd2; color: #526f0b; font-size: .68rem; font-weight: 800; }
.product-card h3 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.product-card-body { padding: 0 20px 18px; }
.product-card-body > p { min-height: 42px; margin: 6px 0 14px; color: var(--muted); font-size: .86rem; }
.offer-list { display: grid; gap: 7px; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px; border-radius: 12px; background: var(--soft); }
.offer strong { font-size: .92rem; }
.offer-price { font-weight: 900; }
.offer small { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; }
.offer-source { text-decoration: none; color: var(--blue); }
.product-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); }
.cheapest { font-size: .78rem; color: #567414; font-weight: 800; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(16,24,39,.04); }
.basket-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; align-items: start; }
.basket-card { padding: 22px; min-height: 520px; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.card-header h3 { margin: 0; font-size: 1.1rem; }
.muted { color: var(--muted); font-size: .8rem; }
.basket-items { display: grid; gap: 10px; }
.basket-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; }
.basket-item h4 { margin: 0; font-size: .92rem; }
.basket-item p { margin: 2px 0 0; color: var(--muted); font-size: .72rem; }
.qty-control { display: flex; align-items: center; gap: 6px; }
.qty-control button, .remove-item { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.remove-item { color: var(--danger); }
.empty-state { display: grid; place-items: center; text-align: center; min-height: 360px; color: var(--muted); }
.empty-state span { font-size: 3rem; }
.empty-state h3 { margin: 8px 0 0; color: var(--ink); }
.empty-state p { margin: 4px 0; }
.comparison-column { display: grid; gap: 15px; }
.controls-card { padding: 18px; }
.control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.control-grid label { display: grid; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 750; }
.control-grid label span { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.control-grid input { min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.inline-status { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: .74rem; }
.text-button { border: 0; background: transparent; color: var(--blue); font-weight: 750; }
.comparison-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.store-total { position: relative; padding: 20px; overflow: hidden; }
.store-total.best { border: 2px solid var(--accent-2); }
.store-total.best::before { content: "RECOMENDADA"; position: absolute; top: 13px; right: -31px; transform: rotate(38deg); padding: 3px 35px; background: var(--accent); font-size: .55rem; font-weight: 900; }
.store-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.store-name { display: flex; align-items: center; gap: 8px; }
.store-bullet { width: 10px; height: 10px; border-radius: 50%; }
.total-price { margin: 18px 0 5px; font-size: 2rem; letter-spacing: -.04em; }
.cost-breakdown { display: grid; gap: 7px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.cost-breakdown div { display: flex; justify-content: space-between; }
.coverage-warning { margin-top: 12px; color: var(--danger); font-size: .72rem; }
.optimized-card { grid-column: 1 / -1; padding: 20px; background: var(--ink); color: white; }
.optimized-card .cost-breakdown { border-color: #344057; color: #c0c7d1; }
.optimized-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.optimized-lines div { padding: 12px; background: #1b2638; border-radius: 12px; font-size: .76rem; }
.map-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: start; }
.map { min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.route-panel { padding: 20px; }
.route-results { display: grid; gap: 10px; }
.route-row { padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.route-row-top { display: flex; justify-content: space-between; gap: 12px; }
.route-row h4 { margin: 0; }
.route-row p { margin: 5px 0 0; color: var(--muted); font-size: .76rem; }
.route-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 10px; }
.route-metrics span { padding: 8px; border-radius: 9px; background: var(--soft); text-align: center; font-size: .68rem; }
.methodology { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.methodology summary { color: var(--ink); font-weight: 800; cursor: pointer; }
.ticket-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; }
.upload-card { display: grid; gap: 12px; }
.drop-zone { min-height: 380px; display: grid; place-items: center; align-content: center; text-align: center; border: 1.5px dashed #647086; border-radius: var(--radius); background: #162135; cursor: pointer; }
.drop-zone input, .file-button input { display: none; }
.upload-icon { font-size: 3rem; color: var(--accent); }
.drop-zone small { color: #aeb8c8; }
.ticket-preview-wrap { max-height: 380px; overflow: auto; border-radius: 16px; background: white; text-align: center; }
.ticket-preview { max-width: 100%; }
.ticket-analysis { padding: 22px; color: var(--ink); }
.ticket-analysis label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .78rem; font-weight: 780; }
.ticket-analysis textarea { width: 100%; resize: vertical; padding: 14px; border: 1px solid var(--line); border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ticket-actions { display: flex; gap: 10px; margin-top: 12px; }
.ticket-results { margin-top: 18px; }
.ticket-match { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.ticket-totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ticket-totals div { padding: 12px; background: var(--soft); border-radius: 12px; }
.ticket-totals small, .ticket-totals strong { display: block; }
.ticket-totals strong { margin-top: 3px; }
.progress-wrap { padding: 12px; background: #162135; border-radius: 12px; }
.progress { height: 7px; background: #303c51; border-radius: 99px; overflow: hidden; }
.progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .2s; }
.progress-wrap small { color: #bec6d1; }
.scanner-dialog { width: min(620px, calc(100% - 24px)); border: 0; border-radius: 22px; padding: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.scanner-dialog::backdrop { background: rgba(10,15,25,.65); }
.dialog-head { display: flex; justify-content: space-between; }
.dialog-head button { border: 0; background: transparent; font-size: 1.4rem; }
.scanner-dialog video { width: 100%; min-height: 250px; max-height: 380px; border-radius: 14px; background: #111; object-fit: cover; }
.scanner-actions { display: flex; gap: 10px; margin-top: 12px; }
.scanner-result { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--soft); min-height: 46px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.principle-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.principle-grid span { color: #789f16; font-weight: 900; }
.principle-grid h3 { margin: 22px 0 8px; }
.principle-grid p { margin: 0; color: var(--muted); font-size: .83rem; }
footer { padding: 45px 0; border-top: 1px solid var(--line); background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer-grid p { margin: 6px 0 0; color: var(--muted); font-size: .76rem; }
.error-box { padding: 14px; border: 1px solid #f3c2c8; background: #fff1f3; color: #8e2f3a; border-radius: 13px; }
.data-note { padding: 11px; border-radius: 12px; background: #fff9df; color: #6f5c15; font-size: .73rem; }
@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topnav { display: none; }
  .hero, .basket-layout, .map-layout, .ticket-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 55px; }
  .hero-panel { transform: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .section { padding: 68px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  h1 { font-size: 3rem; }
  .product-grid, .comparison-results, .control-grid, .optimized-lines, .ticket-totals, .footer-grid { grid-template-columns: 1fr; }
  .basket-item { grid-template-columns: 1fr auto; }
  .basket-item .remove-item { grid-column: 2; }
  .optimized-card { grid-column: auto; }
  .trust-row { display: grid; gap: 8px; }
  .topbar { min-height: 66px; }
  .brand small { display: none; }
}

.search-tools { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:12px; }
.category-select { min-width:210px; padding:10px 12px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); font-weight:700; }
.product-media { width:76px; height:76px; display:grid; place-items:center; border-radius:16px; background:var(--soft); overflow:hidden; }
.product-photo { width:100%; height:100%; object-fit:contain; background:#fff; }
.product-card-top .product-icon { width:100%; height:100%; border-radius:0; }
.live-results { margin-top:24px; }
.live-status, .live-heading { padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:#fff; color:var(--muted); }
.live-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.live-heading small { max-width:520px; }
.live-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:10px; }
.live-product { display:grid; grid-template-columns:64px 1fr auto; gap:12px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:15px; background:#fff; }
.live-product img, .live-placeholder { width:64px; height:64px; object-fit:contain; display:grid; place-items:center; background:var(--soft); border-radius:12px; }
.live-product strong, .live-product small, .live-product span { display:block; }
.live-product small { color:var(--muted); margin-top:3px; }
.live-product span { color:#567414; font-size:.72rem; margin-top:5px; font-weight:750; }
.warning-text { color:var(--danger)!important; }
.location-detail { margin:-4px 0 14px; padding:12px 14px; border:1px solid var(--line); border-radius:14px; background:var(--soft); color:var(--muted); font-size:.8rem; }
.location-detail strong { color:var(--ink); }
.route-row.nearest { border:2px solid var(--accent-2); }
.route-row.nearest::after { content:"MÁS CERCANO"; float:right; margin-top:8px; color:#567414; font-size:.62rem; font-weight:900; }
@media (max-width:760px) {
  .live-grid { grid-template-columns:1fr; }
  .live-product { grid-template-columns:54px 1fr; }
  .live-product .button { grid-column:2; justify-self:start; }
  .category-select { width:100%; }
  .map { min-height:280px; }
}

/* v0.4 */
#productResults:empty { display:none; }
.location-tools { display:grid; grid-template-columns:minmax(260px,1fr) auto auto; gap:10px; align-items:end; margin-bottom:12px; padding:14px; }
.manual-location span { display:block; font-size:.72rem; font-weight:850; margin-bottom:6px; }
.manual-location input { width:100%; border:1px solid var(--line); border-radius:12px; padding:12px 14px; font:inherit; }
.map { height:310px; min-height:310px; overflow:hidden; }
.ticket-preview-wrap { grid-template-columns:1fr 1fr; gap:10px; align-items:start; }
.ticket-preview-wrap > div { min-width:0; }
.ticket-preview-wrap small { display:block; margin-bottom:6px; color:var(--muted); }
#ticketPreview, #ticketProcessed { width:100%; max-height:430px; object-fit:contain; background:#fff; border-radius:12px; }
#ticketProcessed { image-rendering:auto; }
.offer { display:grid; grid-template-columns:42px 1fr auto; column-gap:9px; align-items:center; }
.offer > strong { grid-column:2; }
.offer > .offer-price { grid-column:3; grid-row:1; }
.offer > small { grid-column:2 / 4; }
.offer-thumb, .offer-thumb-fallback { grid-column:1; grid-row:1 / 3; width:42px; height:42px; object-fit:contain; border-radius:9px; background:#fff; border:1px solid var(--line); }
.offer-thumb-fallback { display:grid; place-items:center; font-size:.66rem; font-weight:900; color:var(--muted); }
.product-media { width:92px; height:92px; }
.location-error-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:9px; }
.ocr-quality { margin-top:8px; padding:9px 11px; border-radius:10px; background:var(--soft); font-size:.75rem; }
@media (max-width:900px){.location-tools{grid-template-columns:1fr 1fr}.manual-location{grid-column:1/-1}.ticket-preview-wrap{grid-template-columns:1fr}.map{height:280px;min-height:280px}}
@media (max-width:560px){.location-tools{grid-template-columns:1fr}.manual-location{grid-column:auto}.map{height:250px;min-height:250px}.offer{grid-template-columns:36px 1fr auto}.offer-thumb,.offer-thumb-fallback{width:36px;height:36px}}

/* v0.5 — mapa propio sin dependencia de Leaflet */
.map {
  position: relative;
  width: 100%;
  height: 340px;
  min-height: 340px;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #dfe8dc;
}
.simple-map-canvas,
.map-marker-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  background: #e6ecdf;
}
.map-tile-error { opacity: 0; }
.map-marker-layer { pointer-events: none; z-index: 4; }
.map-marker {
  --marker-color: #111827;
  position: absolute;
  transform: translate(-50%, -100%);
  border: 0;
  background: transparent;
  padding: 0;
  pointer-events: auto;
  cursor: default;
  z-index: 5;
}
.map-marker > span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--marker-color);
  border: 3px solid white;
  box-shadow: 0 3px 12px rgba(15,23,42,.35);
}
.map-marker > span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  left: 5px;
  top: 5px;
}
.map-marker.user-marker { --marker-color: #111827; }
.map-marker.user-marker > span { width: 26px; height: 26px; }
.map-marker.user-marker > span::after { width: 8px; height: 8px; left: 6px; top: 6px; }
.map-marker small {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: max-content;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-size: .64rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(15,23,42,.18);
}
.map-controls {
  position: absolute;
  z-index: 8;
  top: 12px;
  right: 12px;
  display: grid;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15,23,42,.18);
}
.map-controls button {
  width: 36px;
  height: 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}
.map-controls button:last-child { border-bottom: 0; }
.map-attribution {
  position: absolute;
  z-index: 8;
  right: 5px;
  bottom: 4px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255,255,255,.88);
  color: #4b5563;
  font-size: .58rem;
}
.map-loading {
  min-height: inherit;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.location-candidates {
  display: grid;
  gap: 7px;
  margin: -2px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.location-candidates[hidden] { display: none; }
.location-candidates > strong { font-size: .78rem; }
.location-candidates button {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--soft);
  text-align: left;
  cursor: pointer;
}
.location-candidates button:hover { border-color: var(--accent-2); }
.location-candidates span { font-weight: 750; }
.location-candidates small { color: var(--muted); text-align: right; }
.location-warning {
  margin-top: 8px;
  color: #8e2f3a;
  font-size: .75rem;
}
.empty-route {
  padding: 18px;
  border-radius: 14px;
  background: var(--soft);
}
.empty-route p { margin: 6px 0 0; color: var(--muted); font-size: .76rem; }
@media (max-width: 900px) {
  .map { height: 300px; min-height: 300px; }
}
@media (max-width: 560px) {
  .map { height: 260px; min-height: 260px; }
  .map-marker small { display: none; }
  .location-candidates button { display: grid; }
  .location-candidates small { text-align: left; }
}

.brand > span { display:grid; line-height:1.05; }
.brand strong { font-size:1.05rem; letter-spacing:-.025em; }
.brand small { margin-top:5px; color:var(--muted); font-size:.68rem; font-weight:750; letter-spacing:.035em; text-transform:uppercase; }
