:root {
    --text: #0f172a;
    --text-soft: #64748b;
    --border: #e2e8f0;
    --bg: #f1f5f9;
    --white: #ffffff;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #ea580c;
    --green: #059669;
    --green-bg: #ecfdf5;
    --star-rating: #f59e0b;
    --star-rating-soft: #fff7ed;
    --reviews-cta-bg: linear-gradient(165deg, #eff6ff 0%, #dbeafe 52%, #fff7ed 100%);
    --reviews-cta-border: #93c5fd;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(15,23,42,.06);
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --max: 1400px;
    --header-h: 68px;
    --header-offset: 68px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}
body.nav-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img,svg{display:block}
[hidden]{display:none!important}

/* Capas: header siempre encima del mapa Leaflet */
.site-header{position:sticky;top:0;z-index:5000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);box-shadow:0 1px 0 rgba(15,23,42,.04)}
.leaflet-container{z-index:1!important}
.leaflet-container .leaflet-marker-pane{z-index:600!important}
.leaflet-container .leaflet-popup-pane{z-index:900!important}
.leaflet-top,.leaflet-bottom{z-index:910!important}

.toast{position:fixed;bottom:1.25rem;left:50%;transform:translateX(-50%) translateY(120%);padding:.7rem 1.1rem;border-radius:999px;background:var(--text);color:#fff;font-size:.88rem;font-weight:600;box-shadow:var(--shadow);z-index:9999;transition:transform .3s ease,opacity .3s ease,visibility .3s ease;pointer-events:none;opacity:0;visibility:hidden;max-width:calc(100vw - 2rem)}
.toast:not(:empty).show{transform:translateX(-50%) translateY(0);opacity:1;visibility:visible}

.header-inner{max-width:var(--max);margin:0 auto;padding:.85rem 1.25rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap;min-height:var(--header-h)}
.brand{display:flex;align-items:center;gap:.55rem;font-weight:800;font-size:1.15rem;color:var(--text);flex-shrink:0}
.brand-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,var(--accent),#f97316);font-size:1.1rem;box-shadow:0 4px 14px rgba(234,88,12,.35)}
.header-search{flex:1;min-width:220px;position:relative}
.header-search-slot{flex:1;min-width:220px}
.search-form{display:flex;gap:.5rem}
.search-form input{flex:1;min-width:0;padding:.7rem 1rem;border:1px solid var(--border);border-radius:999px;background:var(--white);font-size:.95rem}
.search-form input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.search-submit{padding:.7rem 1.15rem;border:none;border-radius:999px;background:var(--accent);color:#fff;font-weight:700;font-size:.88rem;cursor:pointer}
.search-submit:hover{background:#c2410c}
.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;z-index:5100;max-height:320px;overflow-y:auto}
.search-item{display:block;padding:.8rem 1rem;border-bottom:1px solid var(--border);cursor:pointer;background:var(--white)}
.search-item:hover,.search-item.is-focused{background:#f8fafc}
.search-item--location{background:#fff7ed}
.search-item--location:hover,.search-item--location.is-focused{background:#ffedd5}
.search-item .search-type-badge,.search-card .search-type-badge{display:inline-block;padding:0;margin:0 0 .04rem;font-size:.65rem;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.15;color:#a8b4c4;background:transparent;border-radius:0}
.search-type-badge--station,.search-type-badge--location{color:#a8b4c4;background:transparent}
.search-item strong{display:block;font-size:.92rem}
.search-item span:not(.search-type-badge){font-size:.8rem;color:var(--text-soft)}
.search-item-id{margin-left:.35rem;font-size:.72rem;color:#64748b}
.search-item-meta{display:block;margin-top:.18rem;font-size:.76rem;color:#475569}
.search-empty{padding:1rem;text-align:center;color:var(--text-soft)}
.header-nav{display:flex;gap:.35rem;flex-shrink:0}
.header-nav a{padding:.55rem .9rem;border-radius:999px;font-size:.88rem;font-weight:600;color:var(--text-soft)}
.header-nav a:hover{color:var(--text);background:#f1f5f9}
.header-nav a.active{background:#eff6ff;color:var(--primary)}

.nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-left:auto;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--white);color:var(--text);cursor:pointer;flex-shrink:0}
.nav-toggle:hover{background:#f8fafc;border-color:#cbd5e1}
.nav-toggle-icon{position:relative;display:block;width:18px;height:16px}
.nav-toggle-bar{position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:currentColor;transition:top .25s ease,transform .25s ease,opacity .2s ease}
.nav-toggle-bar:nth-child(1){top:0}
.nav-toggle-bar:nth-child(2){top:7px}
.nav-toggle-bar:nth-child(3){top:14px}
.site-header.is-nav-open .nav-toggle-bar:nth-child(1){top:7px;transform:rotate(45deg)}
.site-header.is-nav-open .nav-toggle-bar:nth-child(2){opacity:0}
.site-header.is-nav-open .nav-toggle-bar:nth-child(3){top:7px;transform:rotate(-45deg)}

.mobile-nav{position:fixed;inset:0;z-index:4900;pointer-events:none}
.mobile-nav:not([hidden]){pointer-events:auto}
.mobile-nav-backdrop{position:absolute;inset:0;border:none;padding:0;background:rgba(15,23,42,.35);opacity:0;transition:opacity .25s ease;cursor:pointer;z-index:0}
.mobile-nav.is-open .mobile-nav-backdrop{opacity:1}
.mobile-nav-panel{position:absolute;top:var(--header-offset);left:0;right:0;z-index:1;padding:.65rem 1rem 1rem;background:rgba(255,255,255,.98);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);box-shadow:0 12px 32px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:.35rem;transform:translateY(-12px);opacity:0;transition:transform .25s ease,opacity .25s ease}
.mobile-nav.is-open .mobile-nav-panel{transform:translateY(0);opacity:1}
.mobile-nav-panel a{display:block;padding:.9rem 1rem;border-radius:12px;font-size:1rem;font-weight:700;color:var(--text-soft)}
.mobile-nav-panel a:hover{background:#f8fafc;color:var(--text)}
.mobile-nav-panel a.active{background:#eff6ff;color:var(--primary)}
.mobile-nav-search{position:relative;padding-bottom:.75rem;margin-bottom:.25rem;border-bottom:1px solid var(--border)}
.mobile-nav-search .header-search{min-width:0;width:100%}
.mobile-nav-search .search-form{flex-direction:column;gap:.55rem}
.mobile-nav-search .search-form input{border-radius:12px}
.mobile-nav-search .search-submit{width:100%;border-radius:12px;padding:.75rem 1rem}
.mobile-nav-search .search-dropdown{position:relative;top:auto;left:auto;right:auto;margin-top:.55rem;max-height:min(42vh,280px);box-shadow:none}

.site-main{max-width:var(--max);margin:0 auto;padding:1.25rem}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.65rem 1.1rem;border-radius:999px;font-weight:700;font-size:.9rem;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-secondary{background:var(--white);border-color:var(--border);color:var(--text)}
.btn-locate{display:inline-flex;align-items:center;gap:.65rem;background:#0043ff;border:1px solid #0043ff;color:#fff;padding:.72rem 1.05rem;box-shadow:0 8px 22px rgba(0,67,255,.22);font-size:.88rem;white-space:nowrap;transition:border-color .15s,background .15s,opacity .15s,transform .15s,box-shadow .15s}
.btn-locate:hover{border-color:#0037d1;color:#fff;background:#0037d1;box-shadow:0 12px 28px rgba(0,67,255,.28);transform:translateY(-1px)}
.btn-locate #locatePanelLabel{display:block;font-size:.92rem;font-weight:800;line-height:1.15}
.btn-locate .locate-spinner{display:none;width:16px;height:16px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:ff-spin .7s linear infinite;flex-shrink:0}
.btn-locate.is-loading{pointer-events:none;opacity:.92;border-color:#0043ff;color:#fff;background:#0043ff}
.btn-locate.is-loading .locate-icon{display:none}
.btn-locate.is-loading .locate-spinner{display:inline-block}
.has-geo .btn-locate{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 8px 22px rgba(5,150,105,.24)}
.has-geo .btn-locate.is-loading{border-color:var(--primary);color:var(--primary);background:#eff6ff}
@keyframes ff-spin{to{transform:rotate(360deg)}}
.btn-lg{padding:.85rem 1.35rem;font-size:1rem}

/* ===== HOME ===== */
.page-home .site-main{padding:1rem 1.25rem 2rem}
.page-home .home-top{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;
    gap:1.25rem 2rem;margin-bottom:1.25rem;
}
.page-home .home-top-text{
    display:flex;flex-direction:column;gap:.45rem;min-width:0;padding-top:.15rem;
}
.page-home .home-top h1{
    margin:0;font-size:clamp(1.45rem,2.8vw,1.9rem);font-weight:800;
    letter-spacing:-.03em;line-height:1.15;
}
.page-home .home-top p{margin:0;color:var(--text-soft)}
.page-home .home-official-lead{font-size:.92rem;line-height:1.55;color:var(--text-soft);max-width:42ch}
.page-home .home-top-actions{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;
    gap:.65rem;flex-shrink:0;align-self:start;
}
.page-home .home-top-actions .fuel-bar{min-width:360px}

.page-home .home-app{
    display:grid;grid-template-columns:minmax(340px,400px) 1fr;
    height:calc(100vh - var(--header-h) - 130px);min-height:520px;max-height:900px;
    background:var(--white);border:1px solid var(--border);border-radius:18px;
    overflow:visible;box-shadow:var(--shadow);position:relative;z-index:1;isolation:isolate
}
.page-home .home-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border);background:var(--white);overflow-x:hidden;position:relative;border-radius:18px 0 0 18px}
.home-list.is-busy .station-list{opacity:.45;pointer-events:none}
.home-empty{margin:1rem .65rem;padding:1rem;border-radius:10px;background:#f8fafc;border:1px dashed var(--border);color:var(--text-soft);font-size:.88rem;line-height:1.5;text-align:center}
.page-home .home-map{position:relative;min-height:0;height:100%;overflow:visible;background:#e2e8f0;z-index:2;border-radius:0 18px 18px 0}
.page-home .home-map #map{width:100%;height:100%;border-radius:0 18px 18px 0}

.page-home .station-list{flex:1;overflow-y:auto;scrollbar-gutter:stable;padding:.5rem .65rem 1rem;-webkit-overflow-scrolling:touch;max-height:none}
.page-home .home-more{margin:1.25rem 0 0;text-align:center}
.page-home .home-more a{font-weight:700;color:var(--primary);font-size:.95rem}
.page-home .home-more a:hover{text-decoration:underline}

/* Últimas reseñas en home */
.home-reviews-section{margin-top:1.5rem;padding:1.5rem 1.1rem;background:var(--white);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
.editorial-seo-box{margin-top:1.5rem;padding:1.35rem 1.25rem;background:var(--white);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
.editorial-seo-box-inner{font-size:.92rem;line-height:1.65;color:var(--text-soft)}
.editorial-seo-box-inner h2{margin:0 0 .65rem;font-size:1.05rem;font-weight:800;color:var(--text);letter-spacing:-.01em}
.editorial-seo-box-inner p{margin:0 0 .75rem}
.editorial-seo-box-inner p:last-child{margin-bottom:0}
.editorial-seo-box-inner strong{color:var(--text);font-weight:700}
.page-station .editorial-seo-box{margin-top:1.25rem}
.section-header{margin-bottom:1.15rem}
.section-title{margin:0;font-size:clamp(1.35rem,2.5vw,1.75rem);font-weight:800;letter-spacing:-.02em}
.section-desc{margin:.4rem 0 0;font-size:.92rem;color:var(--text-soft);max-width:48ch;line-height:1.5}
.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.home-reviews-section .review-card{grid-template-columns:88px 1fr}
.home-reviews-section .review-card-image{width:88px;height:88px;border-radius:14px}
.home-reviews-section .review-card-station-mark{width:3.25rem;height:3.25rem;font-size:1.15rem;border-radius:50%}
.home-reviews-section .review-card-station-mark.has-brand-logo{width:100%;height:100%;border-radius:inherit}
.review-card{display:grid;grid-template-columns:72px 1fr;gap:.85rem;padding:1rem;background:var(--white);border:1px solid var(--border);border-radius:16px;transition:box-shadow .2s,border-color .2s}
.review-card:hover{border-color:#cbd5e1;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.review-card-visual{display:flex;flex-direction:column;gap:.35rem;align-items:center;min-width:0}
.review-card-image{position:relative;display:grid;place-items:center;width:72px;height:72px;border-radius:12px;overflow:hidden;text-decoration:none;background:#f8fafc;border:1px solid var(--border);flex-shrink:0}
.review-card-image--station{background:linear-gradient(160deg,color-mix(in srgb,var(--station-color,#2563eb) 14%,#fff),#f8fafc)}
.review-card-station-mark{display:inline-flex;align-items:center;justify-content:center;width:2.15rem;height:2.15rem;border-radius:50%;background:var(--station-color,#2563eb);color:#fff;font-size:.95rem;font-weight:800;line-height:1;box-shadow:0 3px 10px color-mix(in srgb,var(--station-color,#2563eb) 24%,transparent)}
.review-card-content{display:flex;flex-direction:column;gap:.4rem;min-width:0}
.review-card-cat{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-soft)}
.review-card-title{margin:0;font-size:1.02rem;font-weight:800;line-height:1.3}
.review-card-title a{text-decoration:none;color:var(--text)}
.review-card-title a:hover{color:var(--primary)}
.review-card-rating{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.review-card-user{font-size:.78rem;color:var(--text-soft);font-weight:600}
.review-card-excerpt{margin:0;font-size:.88rem;color:var(--text-soft);line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.review-card-foot{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:.35rem}
.review-card-foot time{font-size:.75rem;color:var(--text-soft)}
.review-card-link{font-size:.82rem;font-weight:700;color:var(--primary);text-decoration:none}
.review-card-link:hover{text-decoration:underline}
.product-card-rating{display:inline-flex;align-items:center;gap:.18rem;background:var(--star-rating-soft);color:var(--text);border:1px solid rgba(234,88,12,.22);font-size:.68rem;font-weight:700;padding:.28rem .52rem;border-radius:999px;line-height:1}
.product-card-rating-value{color:var(--text)}
.product-card-rating-star{color:var(--star-rating);font-size:.72rem;line-height:1}
.review-card-visual .review-card-product-rating{justify-content:center;box-shadow:none}

/* Dashboard home — debajo del mapa */
.home-dashboard-wrap{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.home-dashboard{margin-bottom:0;display:flex;flex-direction:column;gap:1rem}
.market-board{padding:1.1rem 1.15rem;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
.market-board-head{margin-bottom:1rem}
.market-board-head h2{margin:0;font-size:1.05rem;font-weight:800;letter-spacing:-.02em}
.market-board-head p{margin:.28rem 0 0;font-size:.8rem;color:var(--text-soft)}
.market-board--fuels .market-board-head{margin-bottom:1.35rem}
.fuel-stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(272px,1fr));gap:1.15rem}
.fuel-stat-card{display:flex;flex-direction:column;gap:1.15rem;padding:1.35rem 1.4rem;background:var(--white);border:1px solid var(--border);border-radius:16px}
.fuel-stat-head h3{margin:0;font-size:1rem;font-weight:800;line-height:1.3;letter-spacing:-.02em;color:var(--text)}
.fuel-stat-head p{margin:.35rem 0 0;font-size:.78rem;font-weight:600;color:var(--text-soft)}
.fuel-stat-prices{display:flex;flex-direction:column;gap:.35rem;padding-bottom:1.15rem;border-bottom:1px solid var(--border)}
.fuel-stat-min{margin:0;font-size:1.55rem;font-weight:800;color:var(--green);font-variant-numeric:tabular-nums;letter-spacing:-.03em;line-height:1.1}
.fuel-stat-avg{margin:0;font-size:.82rem;font-weight:600;color:var(--text-soft);font-variant-numeric:tabular-nums}
.fuel-stat-provs{display:flex;flex-direction:column;gap:.65rem}
.fuel-stat-provs-label{margin:0;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft)}
.fuel-stat-provs ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.fuel-stat-provs li{margin:0}
.fuel-stat-provs a{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;text-decoration:none;color:var(--text);font-size:.86rem;font-weight:600;line-height:1.4}
.fuel-stat-provs a:hover span{color:var(--primary)}
.fuel-stat-provs a em{font-style:normal;font-weight:800;color:var(--green);font-variant-numeric:tabular-nums;white-space:nowrap}
.fuel-stat-provs--expensive{margin-top:.85rem;padding-top:.85rem;border-top:1px dashed var(--border)}
.fuel-stat-provs--expensive a em{color:#dc2626}
.market-brands-panel{padding:1.1rem 1.15rem;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
.market-brands-head{margin-bottom:1rem}
.market-brands-head h2{margin:0;font-size:1.05rem;font-weight:800;letter-spacing:-.02em}
.market-brands-head p{margin:.28rem 0 0;font-size:.8rem;color:var(--text-soft)}
.market-brands-layout{display:grid;grid-template-columns:minmax(120px,150px) minmax(0,1fr);gap:1.15rem;align-items:center}
.market-brands-ring{position:relative;display:grid;place-items:center;padding:.35rem}
.market-brands-ring svg{position:relative;z-index:0;width:100%;height:auto;transform:rotate(-90deg);filter:drop-shadow(0 8px 18px rgba(15,23,42,.08))}
.market-brands-ring-label{
    position:absolute;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;max-width:68%;pointer-events:none;
}
.market-brands-ring-label strong{font-size:1.45rem;font-weight:800;line-height:1;letter-spacing:-.03em}
.market-brands-ring-meta{display:flex;flex-direction:column;align-items:center;gap:.1rem;margin-top:.2rem}
.market-brands-ring-meta span{
    font-size:.58rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;
    color:var(--text-soft);line-height:1.15;
}
.market-brands-bars{display:flex;flex-direction:column;gap:.7rem;min-width:0}
.market-brand-item{display:flex;flex-direction:column;gap:.38rem}
.market-brand-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:.55rem;font-size:.82rem}
.market-brand-rank{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f1f5f9;font-size:.72rem;font-weight:800;color:var(--text-soft)}
.market-brand-name{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.market-brand-count{font-weight:700;color:var(--text-soft);font-variant-numeric:tabular-nums;font-size:.76rem}
.market-brand-pct{font-weight:800;color:var(--primary);font-variant-numeric:tabular-nums;min-width:2.2rem;text-align:right}
.market-brand-track{height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.market-brand-track i{display:block;height:100%;border-radius:999px;transition:width .5s ease}

.list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;padding:.7rem 1rem;border-bottom:1px solid var(--border);background:#f8fafc;flex-shrink:0;transition:background .2s,border-color .2s}
.has-geo .list-header{background:linear-gradient(180deg,#eff6ff 0%,#f8fafc 100%);border-bottom-color:#bfdbfe}
.list-header-main{flex:1;min-width:0}
.list-header h2{margin:0 0 .35rem;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--text-soft)}
.list-header-fuel{display:inline-block;margin:0 0 .55rem;padding:.38rem .65rem;border-radius:8px;background:var(--white);border:1px solid #fecaca;color:#dc2626;font-size:.78rem;font-weight:800;line-height:1.35;box-shadow:0 1px 3px rgba(220,38,38,.08)}
.has-geo .list-header-fuel{color:#dc2626;background:var(--white);border-color:#fecaca}
.home-sort{display:flex;flex-direction:column;gap:.4rem;margin-top:.1rem}
.home-sort-label{margin:0;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--text-soft)}
.home-sort-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.25rem;padding:.25rem;border-radius:12px;background:#e2e8f0;border:1px solid #cbd5e1;box-shadow:inset 0 1px 2px rgba(15,23,42,.06)}
.has-geo .home-sort-toggle{background:#dbeafe;border-color:#93c5fd}
.home-sort-btn{padding:.58rem .7rem;border:0;border-radius:10px;background:transparent;font-size:.84rem;font-weight:800;color:#64748b;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s,transform .15s;line-height:1.2;min-height:40px}
.home-sort-btn:hover{color:var(--primary)}
.home-sort-btn.is-active{background:var(--white);color:var(--primary);box-shadow:0 1px 4px rgba(37,99,235,.18),0 1px 2px rgba(15,23,42,.08)}
.home-sort-btn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.badge{min-width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:var(--white);border:1px solid var(--border);font-size:.78rem;font-weight:800}

.fuel-switcher-panel{margin-top:1rem}
.fuel-switcher-kicker{margin:0 0 1rem;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft)}
.fuel-switcher{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:.45rem}
.fuel-switcher--wrap{display:flex;flex-wrap:wrap;gap:.5rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.fuel-switcher--wrap .fuel-switch{flex:1 1 7.6rem;min-width:7.6rem;max-width:11.75rem}
.fuel-switch{
    --fuel-accent:#64748b;--fuel-bg:#f8fafc;--fuel-icon-bg:#eef2f7;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;
    min-height:4.1rem;padding:.6rem .5rem .55rem;
    border:1px solid var(--border);border-radius:12px;
    background:var(--white);color:var(--text-soft);
    font-size:.8rem;font-weight:700;cursor:pointer;text-align:center;line-height:1.2;
    box-shadow:0 1px 2px rgba(15,23,42,.05);
    transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease,color .18s ease
}
.fuel-switch:hover:not(.is-active){border-color:#cbd5e1;box-shadow:0 4px 14px rgba(15,23,42,.08);transform:translateY(-1px)}
.fuel-switch:focus-visible{outline:2px solid var(--fuel-accent,var(--primary));outline-offset:2px}
.fuel-switch-label{display:block;max-width:100%;font-size:.7rem;font-weight:600;line-height:1.25;color:var(--text-soft);letter-spacing:-.01em}
.fuel-switch-icon{
    display:flex;align-items:center;justify-content:center;
    width:2.15rem;height:2.15rem;border-radius:10px;
    background:var(--fuel-icon-bg);color:var(--fuel-accent);
    font-size:.82rem;line-height:1;font-weight:800;letter-spacing:.01em;
    box-shadow:inset 0 0 0 1px rgba(15,23,42,.04);
    transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease
}
.fuel-switch[data-slug="gasoleo-a"]{--fuel-accent:#1d4ed8;--fuel-bg:#eff6ff;--fuel-icon-bg:#dbeafe}
.fuel-switch[data-slug="gasolina-95"]{--fuel-accent:#c2410c;--fuel-bg:#fff7ed;--fuel-icon-bg:#ffedd5}
.fuel-switch[data-slug="gasolina-98"]{--fuel-accent:#b91c1c;--fuel-bg:#fef2f2;--fuel-icon-bg:#fee2e2}
.fuel-switch[data-slug="gasoleo-premium"]{--fuel-accent:#6d28d9;--fuel-bg:#f5f3ff;--fuel-icon-bg:#ede9fe}
.fuel-switch[data-slug="gasoleo-b"]{--fuel-accent:#475569;--fuel-bg:#f8fafc;--fuel-icon-bg:#e2e8f0}
.fuel-switch[data-slug="glp"]{--fuel-accent:#0e7490;--fuel-bg:#ecfeff;--fuel-icon-bg:#cffafe}
.fuel-switch[data-slug="adblue"]{--fuel-accent:#0369a1;--fuel-bg:#f0f9ff;--fuel-icon-bg:#e0f2fe}
.fuel-switch[data-slug="gnc"]{--fuel-accent:#047857;--fuel-bg:#ecfdf5;--fuel-icon-bg:#d1fae5}
.fuel-switch[data-slug="gnl"]{--fuel-accent:#15803d;--fuel-bg:#f0fdf4;--fuel-icon-bg:#dcfce7}
.fuel-switch[data-slug="gasoleo-a"] .fuel-switch-icon{font-size:1.05rem}
.fuel-switch.is-active{border-color:var(--fuel-accent);background:var(--fuel-bg);color:var(--fuel-accent);box-shadow:0 4px 16px rgba(15,23,42,.1),0 0 0 1px var(--fuel-accent)}
.fuel-switch.is-active .fuel-switch-label{color:var(--fuel-accent);font-weight:700}
.fuel-switch.is-active .fuel-switch-icon{background:var(--white);box-shadow:inset 0 0 0 1px rgba(15,23,42,.06),0 1px 3px rgba(15,23,42,.08)}
.fuel-switch.is-remote:not(.is-active){border-style:dashed;border-color:#cbd5e1;background:rgba(255,255,255,.72);opacity:.88}
.fuel-switch.is-remote:not(.is-active) .fuel-switch-icon{opacity:.72}
.fuel-switch.is-remote.is-active{border-style:solid;opacity:1}

.best-pick{margin:.65rem;padding:1rem;border-radius:var(--radius);background:linear-gradient(160deg,#ecfdf5,#f0fdf4);border:1px solid #86efac;flex-shrink:0;cursor:pointer}
.best-pick-actions{cursor:default}
.best-pick-label{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--green);margin-bottom:.45rem}
.best-pick-main{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.7rem}
.best-pick-brand{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:var(--brand-color,var(--primary));color:#fff;font-weight:800}
.best-pick-info{flex:1;min-width:0}
.best-pick-info strong{display:block;font-size:.92rem;font-weight:800;overflow-wrap:anywhere;word-break:break-word}
.best-pick-info span{display:block;margin-top:.12rem;font-size:.78rem;color:var(--text-soft);line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
.best-pick-save{display:block;margin-top:.2rem;font-size:.75rem;font-weight:600;font-style:normal;color:var(--green)}
.best-pick-price{text-align:right;line-height:1}
.best-pick-price span{font-size:1.4rem;font-weight:800;font-variant-numeric:tabular-nums}
.best-pick-price small{font-size:.68rem;color:var(--text-soft);font-weight:700}
.best-pick-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.best-pick-ficha{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:12px;background:var(--white);border:1px solid var(--border);color:var(--text);font-weight:800;font-size:.88rem}
.best-pick-ficha:hover{border-color:var(--primary);color:var(--primary)}
.best-pick-go{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:46px;border-radius:12px;background:var(--green);color:#fff;font-weight:800;font-size:.88rem}
.best-pick-go:hover{background:#047857}

.brand-logo{width:100%;height:100%;display:block;object-fit:contain;border-radius:inherit}
.has-brand-logo{background:transparent!important;color:inherit;padding:0;box-shadow:none!important}
.row-brand.has-brand-logo,.best-pick-brand.has-brand-logo,.favorite-brand.has-brand-logo,.rank-avatar.has-brand-logo,.spotlight-brand.has-brand-logo{overflow:hidden}
.review-card-station-mark.has-brand-logo{background:transparent!important;padding:0;box-shadow:none!important}
.ficha-brand.has-brand-logo{background:transparent!important;backdrop-filter:none;padding:0;box-shadow:none!important}
.ficha-brand.has-brand-logo .brand-logo{border-radius:inherit}

.station-row{
    cursor:pointer;
    display:grid;grid-template-columns:22px 34px minmax(0,1fr) auto 52px 40px;align-items:center;gap:.35rem;
    padding:.55rem .1rem;border-radius:10px;border-bottom:1px solid #e5e7eb;margin-bottom:.1rem;transition:background .12s,border-color .12s
}
.station-row:hover{background:#f8fafc;border-bottom-color:#cbd5e1}
.station-row--archived{background:#fffbeb}
.station-row--archived:hover{background:#fef3c7}
.station-row.is-active{background:#eff6ff;outline:1px solid #bfdbfe;border-bottom-color:#bfdbfe}
.row-rank{font-size:.72rem;font-weight:800;color:#94a3b8;text-align:center}
.row-rank--placeholder{visibility:hidden}
.station-list-archived-head{
    margin-top:.85rem;padding:.65rem .35rem .4rem;border-top:1px dashed #fcd34d;
    font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#b45309
}
.row-brand{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:var(--brand-color,var(--primary));color:#fff;font-weight:800;font-size:.82rem;overflow:hidden}
.row-info{display:flex;flex-direction:column;min-width:0;gap:.1rem}
.row-info-link{display:block;min-width:0;color:inherit;text-decoration:none}
.row-info-link:hover .row-name{color:var(--primary)}
.station-id-label{
    display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size:.64rem;font-weight:600;letter-spacing:.05em;line-height:1.2;color:var(--text-soft)
}
.row-name{display:block;font-size:.86rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
.row-sub{display:grid;gap:.12rem;font-size:.72rem;color:var(--text-soft);line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
.row-sub-distance{font-weight:700;color:var(--primary)}
.row-sub-place{color:var(--text-soft)}
.row-price-val{font-size:.95rem;font-weight:800;font-variant-numeric:tabular-nums}
.row-price-unit{font-size:.58rem;color:var(--text-soft);font-weight:700}
.row-actions{display:flex;align-items:center;gap:.35rem}
.row-ficha{display:grid;place-items:center;min-width:52px;height:40px;padding:0 .45rem;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe;color:var(--primary);font-size:.72rem;font-weight:800;text-decoration:none}
.row-ficha:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.row-nav{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--green-bg);color:var(--green);flex-shrink:0}
.row-nav:hover{background:var(--green);color:#fff}
.station-list.is-loading{opacity:.5;pointer-events:none}

/* Horario por días */
.horario-dias{list-style:none;margin:0;padding:0}
.horario-dias li{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px solid var(--border);font-size:.88rem}
.horario-dias li:last-child{border-bottom:none}
.horario-dia{font-weight:700;color:var(--text);min-width:5.5rem}
.horario-hora{color:var(--text-soft);text-align:right}
.info-horario dt{margin-bottom:.35rem}
.info-horario dd{margin:0}
.station-hours-block{margin-top:.5rem}

/* Inner pages */
.page-head{margin-bottom:1.25rem;padding:1.35rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.page-head h1{margin:0 0 .4rem;font-size:clamp(1.25rem,2.5vw,1.65rem);font-weight:800;letter-spacing:-.02em}
.page-head p{margin:0 0 .85rem;color:var(--text-soft)}
.page-head p:last-of-type{margin-bottom:0}
.page-head-updated{
    display:inline-flex;align-items:center;gap:.4rem;
    padding:.38rem .72rem;border-radius:999px;
    background:#f8fafc;border:1px solid var(--border);
    font-size:.8rem;font-weight:600;color:var(--text-soft)
}
.page-head .fuel-switcher-panel{margin-top:1.1rem}
.page-head .fuel-switcher-kicker{margin-bottom:0}
.page-head .fuel-switcher--wrap{margin-top:.8rem}
.breadcrumbs{margin-bottom:1rem;font-size:.85rem;color:var(--text-soft)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:0;padding:0}
.breadcrumbs li:not(:last-child)::after{content:"›";margin-left:.35rem;color:#94a3b8}
.breadcrumbs a:hover{color:var(--primary)}
.section{margin-bottom:1.5rem}
.section h2{margin:0 0 .75rem;font-size:1.05rem;font-weight:800}
.adsense-block{margin:1rem 0;padding:.75rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.adsense-block--listing,.adsense-block--station{margin-bottom:1rem}
.adsense-block ins{display:block;min-height:90px}
.page-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,40%);gap:1rem;align-items:start}
.page-list-panel{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);display:flex;flex-direction:column;max-height:70vh;overflow:hidden;min-width:0}
.page-list-panel .list-header{border-bottom:1px solid var(--border);border-radius:var(--radius) var(--radius) 0 0;flex-shrink:0}
.page-list-panel .page-list{border:none;border-radius:0;box-shadow:none;max-height:none;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
.page-list{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:.5rem;max-height:70vh;overflow-y:auto;overflow-x:hidden;box-shadow:var(--shadow)}
.page-map{border:1px solid var(--border);border-radius:var(--radius);overflow:visible;min-height:380px;position:relative;z-index:1;isolation:isolate;box-shadow:var(--shadow)}
.page-map #map{width:100%;height:100%;min-height:380px}
.link-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.6rem}
.municipio-empty{display:flex;flex-direction:column;gap:1rem;margin-top:.25rem}
.municipio-empty-hero{padding:1.25rem 1.25rem 1.1rem;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #bfdbfe;border-radius:18px;box-shadow:var(--shadow)}
.municipio-empty-kicker{display:inline-flex;align-items:center;gap:.35rem;margin-bottom:.45rem;font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--primary)}
.municipio-empty-hero h2{margin:0 0 .45rem;font-size:1.3rem;font-weight:800;line-height:1.15}
.municipio-empty-lead{margin:0;color:#334155;font-size:.95rem;line-height:1.5;max-width:68ch}
.municipio-empty-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.35fr);gap:1rem;align-items:start}
.municipio-empty-card{padding:1rem;background:var(--white);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
.municipio-empty-card-head{display:flex;align-items:flex-start;gap:.8rem;margin-bottom:.9rem}
.municipio-empty-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eff6ff;color:var(--primary);font-size:1.1rem;flex-shrink:0}
.municipio-empty-card-head p{margin:.2rem 0 0;font-size:.88rem;line-height:1.45;color:var(--text-soft)}
.municipio-empty-title{margin:0;font-size:1rem;font-weight:800}
.municipio-empty-links{grid-template-columns:1fr;gap:.7rem}
.municipio-nearby-list{margin-top:.1rem;max-height:none}
.link-card{display:block;padding:1rem 1.1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);font-weight:700;font-size:.9rem;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}
.link-card:hover{border-color:var(--primary);transform:translateY(-1px)}
.link-card span{display:block;margin-top:.25rem;font-size:.8rem;font-weight:500;color:var(--text-soft)}
.muted{color:var(--text-soft)}

.search-page h1{margin:0 0 .5rem;font-size:1.5rem;font-weight:800}
.search-page .lead{margin:0 0 1rem;color:var(--text-soft)}
.search-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.65rem}
.search-card{display:block;padding:1rem;border-radius:var(--radius);background:var(--white);border:1px solid var(--border);box-shadow:var(--shadow)}
.search-card:hover{border-color:var(--primary)}
.search-card--location{background:#fff7ed;border-color:#fdba74}
.search-card--location:hover{border-color:#f97316}
.search-card strong{display:block;font-size:1rem}
.search-card-id{margin-left:.35rem;font-size:.72rem;font-weight:700;color:var(--text-soft)}
.search-card span:not(.search-type-badge){display:block;font-size:.85rem;color:var(--text-soft)}
.search-card-meta{margin-top:.18rem;font-size:.78rem;color:#475569}
.search-card em{display:block;margin-top:.35rem;font-size:.78rem;font-weight:700;color:var(--primary);font-style:normal}

.favorites-section{margin-top:1rem;display:grid;gap:1rem}
.favorites-toolbar{display:grid;gap:1rem;margin-bottom:1.25rem}
@media (min-width:900px){.favorites-toolbar{grid-template-columns:1fr 1fr;align-items:start}}
.favorites-fuel-filter{padding:1rem 1.1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.favorites-price-alerts{padding:1rem 1.1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.favorites-alert-toggle{display:flex;align-items:flex-start;gap:.65rem;cursor:pointer;font-size:.92rem;line-height:1.45}
.favorites-alert-toggle input{margin-top:.2rem;flex-shrink:0;width:1rem;height:1rem;accent-color:var(--primary)}
.favorites-alert-hint{margin:.55rem 0 0;font-size:.82rem;line-height:1.45}
.favorites-fuel-filter-head{display:grid;gap:.2rem;margin-bottom:.75rem}
.favorites-fuel-filter-head strong{font-size:.95rem}
.favorites-fuel-filter-head p{margin:0;font-size:.82rem;line-height:1.45}
.favorites-fuel-filter-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.favorites-fuel-chip{padding:.5rem .75rem;border:1px solid var(--border);border-radius:999px;background:#f8fafc;color:var(--text-soft);font:inherit;font-size:.78rem;font-weight:700;line-height:1.25;cursor:pointer;transition:background .12s,border-color .12s,color .12s}
.favorites-fuel-chip:hover{color:var(--text);border-color:#cbd5e1}
.favorites-fuel-chip.is-active{color:var(--primary);border-color:#93c5fd;background:#eff6ff}
.favorites-loading,.favorites-empty{padding:2rem 1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);text-align:center}
.favorites-empty p{margin:0 0 1rem;color:var(--text-soft)}
.favorites-list{display:flex;flex-direction:column;gap:1.25rem}
.favorites-group{display:grid;gap:.75rem}
.favorites-group-head{padding:.15rem .1rem .35rem}
.favorites-group-title{margin:0;font-size:1.05rem}
.favorites-group-meta{margin:.2rem 0 0;font-size:.82rem;color:var(--text-soft)}
.favorites-group-list{display:flex;flex-direction:column;gap:.75rem}
.favorite-price-chip--best{border-color:#86efac;background:#f0fdf4}
.favorite-price-best{display:block;margin-top:.1rem;font-size:.68rem;font-style:normal;font-weight:800;color:#15803d;text-transform:uppercase;letter-spacing:.02em}
.favorite-card{padding:1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);--favorite-brand-size:44px;--favorite-brand-gap:.75rem}
.favorite-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem var(--favorite-brand-gap);margin-bottom:.85rem}
.favorite-brand{width:var(--favorite-brand-size);height:var(--favorite-brand-size);display:grid;place-items:center;border-radius:12px;background:var(--brand-color,#2563eb);color:#fff;font-weight:800;flex-shrink:0;overflow:hidden}
.favorite-info{flex:1;min-width:180px}
.favorite-info strong{display:block;font-size:.95rem}
.favorite-id,.station-id{margin-left:.35rem;font-size:.72rem;font-weight:700;color:var(--text-soft);white-space:nowrap}
.favorite-info > span{display:block;font-size:.8rem;color:var(--text-soft)}
.favorite-updated{display:block;margin-top:.18rem;font-size:.74rem;color:#64748b}
.favorite-prices{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.45rem;margin:0 0 .85rem calc(var(--favorite-brand-size) + var(--favorite-brand-gap))}
.favorite-note-wrap,.favorite-note-editor{margin-left:calc(var(--favorite-brand-size) + var(--favorite-brand-gap))}
.favorite-price-chip{display:flex;flex-direction:column;gap:.12rem;padding:.55rem .65rem;border-radius:10px;background:#f8fafc;border:1px solid var(--border)}
.favorite-price-chip span{font-size:.72rem;font-weight:600;color:var(--text-soft);line-height:1.25}
.favorite-price-values{display:flex;flex-direction:column;gap:.08rem}
.favorite-price-prev-row{display:flex;flex-wrap:nowrap;align-items:baseline;justify-content:space-between;gap:.35rem}
.favorite-price-chip .favorite-price-prev{font-size:.78rem;font-weight:600;color:#94a3b8;text-decoration:line-through;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}
.favorite-price-current{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .45rem}
.favorite-price-chip strong{font-size:1.4rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--text);line-height:1.05;margin-top:.32rem}
.favorite-price-chip .favorite-price-delta{display:inline-flex;align-items:center;padding:.06rem .3rem;border-radius:10px;font-size:.78rem;font-weight:600;line-height:1.15;letter-spacing:0;white-space:nowrap;flex-shrink:0}
.favorite-price-delta.is-down{background:#dcfce7;color:#166534}
.favorite-price-delta.is-up{background:#fee2e2;color:#991b1b}
.favorite-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.4rem;margin-left:auto}
.favorite-link,.favorite-note-toggle{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 .85rem;border-radius:10px;border:1px solid var(--border);background:#f8fafc;color:var(--text);font-size:.82rem;font-weight:700;cursor:pointer;font-family:inherit;text-decoration:none;white-space:nowrap}
.favorite-note-toggle{appearance:none}
.favorite-link:hover,.favorite-note-toggle:hover{color:var(--primary);border-color:#bfdbfe;background:#eff6ff}
.favorite-note-view{margin:.1rem 0 .15rem}
.favorite-note-display{display:flex;align-items:flex-start;gap:.35rem;margin:0;padding:0;color:#dc2626;font-size:.81rem;line-height:1.4}
.favorite-note-icon{flex-shrink:0;width:14px;height:14px;margin-top:.12rem;color:#ef4444}
.favorite-info .favorite-note-text{flex:1;min-width:0;font-style:italic;color:#dc2626;font-weight:400}
.favorite-note-wrap{margin:.15rem 0 .35rem}
.favorite-note-editor{display:grid;gap:.45rem;margin:.15rem 0 .35rem}
.favorite-note-input{width:100%;padding:.65rem .75rem;border:1px solid var(--border);border-radius:10px;background:#fff;font:inherit}
.favorite-note-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.favorite-note-actions{display:flex;flex-wrap:wrap;gap:.4rem}
.favorite-nav,.favorite-remove{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:4px;border-radius:10px;border:1px solid var(--border);background:#f8fafc;color:var(--text-soft);cursor:pointer;overflow:visible;text-decoration:none}
.favorite-nav svg,.favorite-remove svg{flex-shrink:0;display:block;width:20px;height:20px;overflow:visible}
.favorite-nav:hover{color:var(--primary);border-color:#bfdbfe;background:#eff6ff}
.favorite-remove{border-color:#fecaca;background:#fef2f2;color:#dc2626}
.favorite-remove svg path{fill:currentColor}
.favorite-remove:hover{color:#b91c1c;border-color:#fca5a5;background:#fee2e2}
@media (max-width:768px){
    .favorite-prices{margin-left:0;grid-template-columns:repeat(2,minmax(0,1fr))}
    .favorite-note-wrap,.favorite-note-editor{margin-left:0}
}
.account-favorite-info{flex:1;min-width:180px}
.account-favorite-address{margin:.2rem 0 0;font-size:.82rem;color:var(--text-soft)}
.account-favorite-actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}
.account-favorite-main{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.75rem}

.page-admin .site-main{max-width:960px}
.page-admin .site-footer{margin-top:2rem}
.admin-page{padding:1rem 0 2rem}
.admin-shell{display:flex;flex-direction:column;gap:1rem}
.admin-login{max-width:560px;margin:3rem auto;padding:2rem;background:var(--white);border:1px solid var(--border);border-radius:22px;box-shadow:0 16px 50px rgba(15,23,42,.08)}
.admin-kicker{margin:0 0 .65rem;font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--text-soft)}
.admin-login h1,.admin-hero h1{margin:0 0 .5rem;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;letter-spacing:-.03em}
.admin-login-lead{margin:0 0 1.2rem;color:var(--text-soft);font-size:.98rem}
.admin-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:1rem;align-items:start}
.admin-side{display:flex;flex-direction:column;gap:1rem}
.admin-card{padding:1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.admin-card-soft{background:#f8fafc}
.admin-card h2{margin:0 0 .4rem;font-size:1.05rem;font-weight:800}
.admin-form{display:flex;flex-direction:column;gap:.85rem;margin-top:1rem}
.admin-form-login{margin-top:1.35rem}
.admin-field{display:flex;flex-direction:column;gap:.35rem}
.admin-field span{font-size:.86rem;font-weight:700}
.admin-field input{width:100%;padding:.8rem .95rem;border:1px solid var(--border);border-radius:12px;background:var(--white)}
.admin-field input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.admin-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}
.admin-hero{display:flex;justify-content:space-between;gap:1rem;align-items:flex-end;padding:1.35rem 1.45rem;background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:20px;box-shadow:var(--shadow)}
.admin-hero p{margin:.15rem 0 0}
.admin-alert{padding:.9rem 1rem;border-radius:12px;font-size:.9rem;font-weight:600}
.admin-alert-list{margin:.55rem 0 0;padding-left:1.1rem;font-size:.88rem}
.admin-alert-list li+li{margin-top:.2rem}
.admin-alert-success{background:#ecfdf5;border:1px solid #86efac;color:#166534}
.admin-alert-error{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}
.admin-stat-card{padding:1rem 1.05rem;background:var(--white);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}
.admin-stat-card span{display:block;font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--text-soft)}
.admin-stat-card strong{display:block;margin:.25rem 0;font-size:1.5rem;font-weight:800;letter-spacing:-.03em}
.admin-stat-card small{display:block;color:var(--text-soft);font-size:.8rem;line-height:1.4}
.admin-tool-grid{display:grid;gap:.85rem;margin-top:1rem}
.admin-tool-card{padding:1rem;border:1px solid var(--border);border-radius:16px;background:#f8fafc}
.admin-tool-card h3{margin:0 0 .35rem;font-size:.98rem;font-weight:800}
.admin-tool-card p{margin:0 0 .9rem;color:var(--text-soft);font-size:.9rem;line-height:1.55}
.admin-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0 0}
.admin-stats div{padding:.85rem 1rem;border:1px solid var(--border);border-radius:12px;background:#f8fafc}
.admin-stats dt{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--text-soft);margin-bottom:.2rem}
.admin-stats dd{margin:0;font-size:.96rem;font-weight:700}
.admin-links{display:flex;flex-direction:column;gap:.55rem}
.admin-links a{display:block;padding:.75rem .9rem;border-radius:12px;background:var(--white);border:1px solid var(--border);font-weight:700}
.admin-links a:hover{border-color:var(--primary);color:var(--primary)}
.admin-table-wrap{overflow:auto;margin-top:.85rem}
.admin-table{width:100%;border-collapse:collapse;font-size:.9rem}
.admin-table th,.admin-table td{padding:.8rem .85rem;border-bottom:1px solid var(--border);text-align:left;white-space:nowrap}
.admin-table th{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--text-soft);background:#f8fafc}
.admin-table tbody tr:hover{background:#f8fafc}

.station-page-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;padding:1.35rem;margin-bottom:1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.station-page-head h1{margin:.2rem 0;font-size:1.5rem;font-weight:800}
.station-page-head .eyebrow{margin:0;font-size:.78rem;font-weight:700;text-transform:uppercase;color:var(--primary)}
.station-page-head .address{margin:0;color:var(--text-soft)}
.station-type-line{margin-top:.35rem;font-size:.88rem;color:var(--text-soft)}
.price-box{padding:1rem 1.15rem;border-radius:var(--radius);background:#eff6ff;border:1px solid #bfdbfe;text-align:right}
.price-box span{display:block;font-size:.75rem;font-weight:700;color:var(--text-soft);text-transform:uppercase}
.price-box strong{font-size:1.85rem;font-weight:800;color:var(--primary);font-variant-numeric:tabular-nums}
.price-box em{display:block;margin-top:.25rem;font-size:.8rem;font-weight:600;font-style:normal;color:var(--green)}
.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-bottom:1rem}
.detail-card{padding:1.1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.detail-card h2{margin:0 0 .65rem;font-size:.95rem;font-weight:800}
.price-grid{display:grid;gap:.35rem}
.price-cell{display:flex;justify-content:space-between;padding:.45rem 0;border-bottom:1px solid var(--border);font-size:.9rem}
.price-cell span{color:var(--text-soft)}
.price-cell strong{font-weight:800}
.info-list div{display:grid;grid-template-columns:100px 1fr;gap:.5rem;padding:.45rem 0;border-bottom:1px solid var(--border);font-size:.9rem}
.info-list dt{color:var(--text-soft);font-weight:600}
.info-list dd{margin:0}
.action-bar{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}
.seo-text-block{margin-top:1.25rem;padding:1.2rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.seo-text-block h2{margin:0 0 .65rem;font-size:1rem;font-weight:800}
.seo-text-block p{margin:.45rem 0;color:var(--text-soft);font-size:.92rem;line-height:1.65}

/* ===== Ficha gasolinera ===== */
.page-station .breadcrumbs{margin-bottom:1.25rem}
.ficha{display:flex;flex-direction:column;gap:1.25rem}
.ficha-deslisted-banner{
    margin:0;padding:1rem 1.1rem;border-radius:14px;border:1px solid #fcd34d;background:#fffbeb;color:#78350f;
}
.ficha-deslisted-banner strong{display:block;margin-bottom:.35rem;font-size:.95rem}
.ficha-deslisted-banner p{margin:0;font-size:.9rem;line-height:1.45}
.ficha-hero{
    padding:1.35rem 1.35rem 1.1rem;border-radius:20px;color:#fff;
    background:linear-gradient(135deg,var(--ficha-brand,#2563eb) 0%,color-mix(in srgb,var(--ficha-brand,#2563eb) 55%,#0f172a) 100%);
    box-shadow:0 12px 40px color-mix(in srgb,var(--ficha-brand,#2563eb) 35%,transparent)
}
.ficha-hero-grid{display:grid;grid-template-columns:auto 1fr auto;gap:1rem;align-items:start}
.ficha-brand{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.2);backdrop-filter:blur(8px);font-size:1.65rem;font-weight:800;flex-shrink:0;overflow:hidden}
.ficha-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0 0 .35rem;font-size:.82rem;font-weight:600;opacity:.92}
.ficha-eyebrow a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.ficha-eyebrow a:hover{border-color:#fff}
.ficha-hero-text h1{margin:0 0 .35rem;font-size:clamp(1.45rem,3vw,2rem);font-weight:800;letter-spacing:-.03em;line-height:1.15}
.ficha-hero-rating{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .65rem;margin:0 0 .55rem}
.ficha-hero-rating-text{font-size:.88rem;opacity:.95}
.ficha-hero-rating-text strong{font-weight:800}
.ficha-hero-rating-link{font-size:.86rem;font-weight:700;color:#fff;text-decoration:underline;text-underline-offset:2px}
.ficha-hero-rating-link:hover{opacity:.88}
.ficha-hero-rating .star-full{color:#fbbf24}
.ficha-hero-rating .star-empty,.ficha-hero-rating .star-half{color:rgba(255,255,255,.35)}
.ficha-hero-rating .star-half::after{color:#fbbf24}
.ficha-hero-rating--empty .star-empty{color:rgba(255,255,255,.42)}
.ficha-hero-rating-pill{
    display:inline-flex;align-items:center;padding:.38rem .82rem;border-radius:999px;
    background:var(--accent);border:1px solid rgba(255,255,255,.22);
    color:#fff;font-size:.82rem;font-weight:800;text-decoration:none;
    box-shadow:0 4px 14px rgba(234,88,12,.35);
    transition:background .12s,transform .12s,box-shadow .12s;
}
.ficha-hero-rating-pill:hover{background:#c2410c;transform:translateY(-1px);box-shadow:0 6px 18px rgba(194,65,12,.4)}
.ficha-address{margin:0 0 .65rem;font-size:.92rem;opacity:.9;line-height:1.45}
.ficha-tags{display:flex;flex-wrap:wrap;gap:.4rem}
.ficha-tags span{padding:.28rem .6rem;border-radius:999px;background:rgba(255,255,255,.16);font-size:.72rem;font-weight:700}
.ficha-tag-id{
    font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-weight:600;letter-spacing:.02em;
    background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.28);
}
.ficha-tags .ficha-tag-official{
    background:#fff;
    color:#0f172a;
    border:none;
    box-shadow:0 2px 10px rgba(15,23,42,.14);
    font-size:.76rem;
    font-weight:600;
}
.ficha-hero-price{text-align:right;line-height:1.2;min-width:140px}
.ficha-hero-price-label{display:block;font-size:.72rem;font-weight:800;text-transform:uppercase;opacity:.85;margin-bottom:.15rem}
.ficha-hero-price-values{display:flex;flex-direction:column;align-items:stretch;gap:.12rem}
.ficha-hero-price-prev-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:.2rem .45rem;width:100%}
.ficha-hero-price-prev-label{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em;opacity:.78}
.ficha-hero-price-current{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;width:100%}
.ficha-hero-price-prev{font-size:.92rem;font-weight:600;text-decoration:line-through;opacity:.72;font-variant-numeric:tabular-nums;line-height:1.2}
.ficha-hero-price strong{font-size:clamp(1.75rem,4vw,2.35rem);font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1}
.ficha-hero-price-delta{display:inline-flex;align-items:center;padding:.14rem .45rem;border-radius:999px;font-size:.62rem;font-weight:800;line-height:1.2;letter-spacing:.01em}
.ficha-hero-price-delta.is-down{background:#dcfce7;color:#166534}
.ficha-hero-price-delta.is-up{background:#fee2e2;color:#991b1b}
.ficha-hero-price strong small{font-size:.55em;font-weight:700;opacity:.85;margin-left:.1rem}
.ficha-hero-price em{display:block;margin-top:.35rem;font-size:.78rem;font-style:normal;font-weight:600;opacity:.95}
.ficha-hero-price .ficha-tank{opacity:.85;font-size:.72rem}
.ficha-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.2)}
.ficha-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.7rem 1.15rem;border-radius:12px;font-weight:800;font-size:.9rem;text-decoration:none;transition:transform .12s,background .12s}
.ficha-btn-go{background:#fff;color:var(--ficha-brand,#2563eb);flex:1;min-width:160px}
.ficha-btn-go:hover{transform:translateY(-1px);background:#f8fafc}
.ficha-btn-alt{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.28);flex:1;min-width:160px}
.ficha-btn-alt:hover{background:rgba(255,255,255,.22)}
.ficha-btn-share{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.28);flex:1;min-width:160px;cursor:pointer;font-family:inherit}
.ficha-btn-share:hover{background:rgba(255,255,255,.22)}
.ficha-btn-fav{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.28);flex:1;min-width:160px;cursor:pointer}
.ficha-btn-fav:hover{background:rgba(255,255,255,.22)}
.ficha-btn-fav.is-active{background:rgba(255,255,255,.95);color:#dc2626;border-color:#fff}
.ficha-fav-heart{flex-shrink:0;display:block;width:20px;height:20px;overflow:visible;fill:none}
.ficha-btn-fav.is-active .ficha-fav-heart{fill:currentColor}
.ficha-map-wrap{border-radius:18px;overflow:visible;border:1px solid var(--border);box-shadow:var(--shadow);min-height:320px;position:relative;z-index:1;isolation:isolate;height:100%}
.ficha-map,.ficha-map-wrap #map{width:100%;height:100%;min-height:320px}
.ficha-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:1rem;align-items:stretch}
.ficha-layout-side{display:flex;flex-direction:column;gap:1rem;min-width:0;min-height:0}
.ficha-layout-side .ficha-map-wrap{flex:1}
.ficha-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ficha-prices{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.65rem}
.ficha-block{padding:1.25rem;background:var(--white);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow)}
.ficha-block-head{margin-bottom:1rem}
.ficha-block-head h2{margin:0 0 .2rem;font-size:1.05rem;font-weight:800}
.ficha-block-head p{margin:0;font-size:.82rem;color:var(--text-soft)}
.ficha-price-card{position:relative;display:flex;flex-direction:column;gap:.25rem;padding:.85rem .9rem;border-radius:14px;background:#f8fafc;border:1px solid var(--border);transition:border-color .12s,box-shadow .12s}
.ficha-price-card.is-main{border-color:#bfdbfe;background:#eff6ff}
.ficha-price-card.is-best{border-color:#86efac;background:linear-gradient(160deg,#ecfdf5,#f0fdf4);box-shadow:0 0 0 1px rgba(5,150,105,.12)}
.ficha-price-badge{display:inline-flex;align-self:flex-start;padding:.15rem .45rem;border-radius:999px;background:var(--green);color:#fff;font-size:.58rem;font-weight:800;text-transform:uppercase;line-height:1.2}
.ficha-price-label{font-size:.78rem;font-weight:700;color:var(--text-soft);line-height:1.3}
.ficha-price-values{display:flex;flex-direction:column;align-items:flex-start;gap:.08rem}
.ficha-price-current{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .45rem}
.ficha-price-prev{font-size:.82rem;font-weight:600;color:#94a3b8;text-decoration:line-through;font-variant-numeric:tabular-nums;line-height:1.2}
.ficha-price-value{font-size:1.15rem;font-weight:800;color:var(--text);font-variant-numeric:tabular-nums;line-height:1.2}
.ficha-price-delta{display:inline-flex;align-items:center;padding:.12rem .42rem;border-radius:999px;font-size:.62rem;font-weight:800;line-height:1.2;letter-spacing:.01em}
.ficha-price-delta.is-down{background:#dcfce7;color:#166534}
.ficha-price-delta.is-up{background:#fee2e2;color:#991b1b}
.ficha-price-card.is-main .ficha-price-value{color:var(--primary)}
.ficha-price-card.is-best .ficha-price-value{color:var(--green)}
.ficha-price-card.is-down .ficha-price-value{color:var(--green)}
.ficha-price-card.is-up .ficha-price-value{color:#dc2626}
.ficha-locality-alert{display:flex;align-items:flex-start;gap:1rem;margin-top:1.65rem;padding:1.05rem 1.1rem;border-radius:16px;background:linear-gradient(180deg,#fffdf5 0%,#fffbeb 100%);border:1px solid #fde68a;box-shadow:0 4px 18px rgba(180,83,9,.06)}
.ficha-locality-alert--best{background:linear-gradient(180deg,#f7fef9 0%,#ecfdf5 100%);border-color:#86efac;box-shadow:0 4px 18px rgba(21,128,61,.06)}
.ficha-locality-badge{
    flex-shrink:0;align-self:flex-start;display:flex;align-items:center;gap:.6rem;
    min-width:6.75rem;padding:.62rem .72rem;border-radius:13px;
    background:rgba(255,255,255,.92);border:1px solid #fcd34d;
    box-shadow:0 2px 10px rgba(180,83,9,.08)
}
.ficha-locality-badge--best{border-color:#86efac;box-shadow:0 2px 10px rgba(21,128,61,.08)}
.ficha-locality-badge-icon{
    display:grid;place-items:center;flex-shrink:0;width:2.15rem;height:2.15rem;border-radius:999px;
    background:linear-gradient(160deg,#fef3c7,#fde68a);color:#d97706
}
.ficha-locality-badge--best .ficha-locality-badge-icon{background:linear-gradient(160deg,#dcfce7,#bbf7d0);color:#15803d}
.ficha-locality-badge-icon svg{display:block}
.ficha-locality-badge-text{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.ficha-locality-badge-kicker{
    display:block;font-size:.62rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
    color:#b45309;line-height:1.1;white-space:nowrap
}
.ficha-locality-badge-title{
    display:block;font-size:.8rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;
    color:#92400e;line-height:1.1
}
.ficha-locality-badge--best .ficha-locality-badge-kicker{color:#15803d}
.ficha-locality-badge--best .ficha-locality-badge-title{color:#166534;font-size:.76rem}
.ficha-locality-alert-body{flex:1;min-width:0}
.ficha-locality-alert-body>p{margin:0 0 .55rem;font-size:.88rem;line-height:1.45}
.ficha-locality-meta{margin:0;font-size:.82rem}
.ficha-locality-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}
.ficha-locality-list a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;column-gap:.5rem;padding:.65rem .75rem;border-radius:10px;background:#fff;border:1px solid #fde68a;text-decoration:none}
.ficha-locality-brand{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--brand-color,var(--primary));color:#fff;font-weight:800;font-size:.78rem;overflow:hidden}
.ficha-locality-brand.has-brand-logo{background:transparent!important;box-shadow:none!important;padding:0}
.ficha-locality-list a:hover{border-color:#f59e0b;background:#fffdf5}
.ficha-locality-item{display:grid;gap:.15rem;min-width:0}
.ficha-locality-item strong{font-size:.88rem;color:var(--text);line-height:1.3}
.ficha-locality-item small{font-size:.78rem;color:var(--text-soft);line-height:1.35}
.ficha-locality-price{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem;flex-shrink:0;text-align:right}
.ficha-locality-save{font-size:.72rem;font-weight:700;font-style:normal;color:#15803d;line-height:1.2}
.ficha-locality-price>span{font-size:.9rem;font-weight:800;color:var(--green);font-variant-numeric:tabular-nums;white-space:nowrap}
.ficha-locality-more{margin:.45rem 0 0;font-size:.8rem}
.ficha-locality-link{margin:1.15rem 0 0;padding-top:.85rem;border-top:1px solid #fde68a;font-size:.84rem;font-weight:700;line-height:1.45}
.ficha-locality-alert--best .ficha-locality-link{border-top-color:#86efac}
.ficha-locality-link a{color:var(--primary)}
.ficha-hours .horario-dias li{padding:.55rem 0;font-size:.9rem}
.ficha-hours .horario-dias li:nth-child(odd){background:transparent}
.ficha-facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.65rem}
.ficha-facts li{display:grid;grid-template-columns:110px 1fr;gap:.65rem;padding-bottom:.65rem;border-bottom:1px solid var(--border);font-size:.9rem}
.ficha-facts li:last-child{border-bottom:none;padding-bottom:0}
.ficha-fact-label{color:var(--text-soft);font-weight:600}
.ficha-fact-value{font-weight:600;line-height:1.45}
.ficha-seo{margin-top:.25rem;padding:1.15rem 1.25rem;border-radius:14px;background:#f8fafc;border:1px dashed var(--border)}
.ficha-seo h2{margin:0 0 .5rem;font-size:.95rem;font-weight:800;color:var(--text-soft)}
.ficha-seo p{margin:.35rem 0;font-size:.88rem;color:var(--text-soft);line-height:1.6}
.ficha-block-dynamic .ficha-dynamic-loading{margin-top:.85rem;padding:1rem;border:1px dashed var(--border);border-radius:14px;background:#f8fafc}
.ficha-block-dynamic .ficha-dynamic-loading p{margin:0}

/* —— Reseñas (estilo alineado con elblogdemarcos) —— */
.star-rating{display:inline-flex;align-items:center;gap:.08rem;line-height:1}
.star{font-size:.95rem}
.star-rating--sm .star{font-size:.88rem}
.star-rating--lg .star{font-size:1.1rem}
.star-full{color:var(--star-rating)}
.star-empty{color:#cbd5e1}
.star-half{position:relative;display:inline-block;color:#cbd5e1}
.star-half::after{content:'★';position:absolute;left:0;top:0;width:50%;overflow:hidden;color:var(--star-rating)}
.star-label{margin-left:.35rem;font-size:.78rem;font-weight:600;color:var(--text-soft)}
.review-stats-desc{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .45rem;margin:0;font-size:.88rem;color:var(--text-soft)}
.review-stats-desc .star-rating--average{transform:translateY(-1px)}
.user-reviews-section.ficha-reviews-section{
    padding:1.35rem 1.25rem;
    background:var(--reviews-cta-bg);
    border:1px solid var(--reviews-cta-border);
    border-radius:18px;
    box-shadow:0 10px 36px rgba(37,99,235,.12);
    scroll-margin-top:calc(var(--header-offset) + .75rem);
}
.user-reviews-head{margin-bottom:1.15rem}
.user-reviews-title{margin:0 0 .35rem;font-size:clamp(1.05rem,2.2vw,1.3rem);font-weight:800;line-height:1.35}
.reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:1.5rem;align-items:start}
.reviews-list-col{display:grid;gap:.85rem;min-width:0}
.reviews-list{display:grid;gap:.85rem}
.reviews-list-footer{display:grid;gap:.45rem}
.reviews-list-footer[hidden]{display:none!important}
.reviews-shown-meta{margin:0;font-size:.8rem;color:var(--text-soft);text-align:center}
.reviews-filter{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1.25rem}
.reviews-filter-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .85rem;border:1px solid var(--border);border-radius:999px;background:var(--white);color:var(--text-soft);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.reviews-filter-btn:hover{border-color:var(--accent);color:#c2410c;background:var(--star-rating-soft)}
.reviews-filter-btn.is-active{border-color:var(--accent);color:#c2410c;background:var(--star-rating-soft);box-shadow:inset 0 0 0 1px rgba(234,88,12,.18)}
.reviews-filter-count{font-size:.75rem;font-weight:700;color:var(--text-soft)}
.reviews-filter-btn.is-active .reviews-filter-count{color:#c2410c}
.reviews-filter-empty{margin:0;padding:1rem 1.15rem;border:1px dashed #cbd5e1;border-radius:14px;font-size:.9rem;color:var(--text-soft);background:var(--white)}
.reviews-empty{color:var(--text-soft);font-size:.92rem;margin:0}
.reviews-empty-state{
    display:grid;justify-items:center;gap:.65rem;padding:1.5rem 1.25rem;
    border:1px dashed #fdba74;border-radius:16px;background:rgba(255,255,255,.88);
    text-align:center;
}
.reviews-empty-icon{
    display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;
    background:var(--star-rating-soft);color:var(--accent);font-size:1.35rem;font-weight:800;line-height:1;
}
.reviews-empty-title{margin:0;font-size:1.05rem;font-weight:800;color:var(--text)}
.reviews-empty-desc{margin:0;max-width:34ch;font-size:.9rem;color:var(--text-soft);line-height:1.55}
.reviews-empty-cta{
    display:inline-flex;align-items:center;justify-content:center;margin-top:.25rem;
    padding:.62rem 1rem;border-radius:999px;background:var(--accent);color:#fff;
    font-size:.86rem;font-weight:700;text-decoration:none;transition:background .12s,transform .12s;
}
.reviews-empty-cta:hover{background:#c2410c;transform:translateY(-1px)}
.user-review{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:1.15rem 1.25rem}
.user-review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.65rem;flex-wrap:wrap}
.user-review-meta{display:flex;align-items:center;gap:.75rem;min-width:0}
.review-author-avatar{display:inline-flex;align-items:center;justify-content:center;width:2.35rem;height:2.35rem;border-radius:50%;font-size:.95rem;font-weight:700;line-height:1;flex-shrink:0}
.review-author-avatar--tone-0{background:#dbeafe;color:#1d4ed8}
.review-author-avatar--tone-1{background:#fef3c7;color:#b45309}
.review-author-avatar--tone-2{background:#dcfce7;color:#15803d}
.review-author-avatar--tone-3{background:var(--star-rating-soft);color:#c2410c}
.review-author-avatar--tone-4{background:#e8eef8;color:#355a9b}
.review-author-avatar--tone-5{background:#f0e8f5;color:#6b458f}
.review-author-avatar--tone-6{background:#fdecef;color:#a63d52}
.review-author-avatar--tone-7{background:#f1ebe3;color:#7a5c3e}
.user-review-author{font-size:.95rem;color:var(--text)}
.user-review-head time{display:block;font-size:.75rem;color:var(--text-soft);margin-top:.15rem}
.user-review-comment{margin:0;font-size:.92rem;color:var(--text);line-height:1.65}
.user-review--own{border-color:rgba(37,99,235,.35);box-shadow:inset 0 0 0 1px rgba(37,99,235,.08)}
.user-review-you{font-size:.78rem;font-weight:600;color:var(--primary)}
.review-form-box{
    background:var(--white);
    border:1px solid #fdba74;
    border-radius:16px;
    padding:1.35rem;
    box-shadow:0 6px 24px rgba(234,88,12,.1);
    min-width:0;
    overflow:hidden;
    scroll-margin-top:calc(var(--header-offset) + 5rem);
    transition:border-color .2s ease,box-shadow .2s ease;
}
.review-form-box.is-highlighted{
    animation:review-form-focus-glow 2.1s ease-in-out 3;
}
@keyframes review-form-focus-glow{
    0%,100%{
        border-color:#86efac;
        box-shadow:0 6px 24px rgba(5,150,105,.1);
        background:var(--white);
    }
    50%{
        border-color:var(--green);
        box-shadow:0 0 0 8px rgba(5,150,105,.12),0 8px 28px rgba(5,150,105,.18);
        background:#f0fdf4;
    }
}
@media (prefers-reduced-motion:reduce){
    .review-form-box.is-highlighted{
        animation:none;
        border-color:var(--green);
        background:#f0fdf4;
        box-shadow:0 0 0 3px rgba(5,150,105,.2),0 6px 24px rgba(5,150,105,.12);
    }
}
#review-rating-field{scroll-margin-top:calc(var(--header-offset) + 4.5rem)}
.review-own-summary{display:grid;gap:.85rem}
.review-own-summary[hidden],#review-form-panel[hidden]{display:none!important}
.review-own-preview{display:grid;gap:.65rem;padding:1rem;border:1px solid var(--border);border-radius:14px;background:#f8fafc}
.review-own-comment{margin:0;font-size:.9rem;color:var(--text);line-height:1.6;white-space:pre-wrap}
.review-form-actions{display:flex;flex-wrap:wrap;gap:.65rem}
.review-form-actions .btn-primary{flex:1 1 auto}
.review-form-box .review-form-heading{margin:0 0 .35rem;font-size:1.15rem;font-weight:800;color:var(--text)}
.review-form-note{margin:0 0 1rem;font-size:.8rem;color:var(--text-soft);line-height:1.5}
.review-form{display:grid;gap:.85rem;min-width:0}
.review-form .form-field{min-width:0}
.review-form textarea{
    display:block;width:100%;max-width:100%;min-width:0;resize:vertical;
    min-height:7.5rem;box-sizing:border-box;
}
.review-form .field-hint{margin:0;font-size:.75rem;color:var(--text-soft);line-height:1.45}
.review-author-inline{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem;margin:0;font-size:.9rem;line-height:1.45}
.review-author-inline .field-label{margin:0;font-weight:700;color:var(--text)}
.review-author-display{font-weight:600;color:var(--text)}
.field-counter{margin:0;font-size:.72rem;color:var(--text-soft);text-align:right;line-height:1.3}
.field-counter.is-below-min{color:#dc2626;font-weight:600}
.field-counter.is-near-limit{color:#c2410c}
.field-counter.is-at-limit{color:#dc2626;font-weight:600}
.review-form .form-error,.review-form .form-success{margin:0;padding:0;border:none;background:transparent;font-size:.82rem;font-weight:600}
.review-form .form-error{color:#dc2626}
.review-form .form-success{color:var(--green)}
.star-radio-group{display:flex;gap:.15rem;flex-wrap:wrap}
.star-radio{position:relative;display:inline-flex;align-items:center;justify-content:center}
.star-radio input{position:absolute;opacity:0;pointer-events:none}
.star-radio span{display:grid;place-items:center;width:auto;height:auto;padding:.1rem;border:none;background:none;font-size:1.65rem;color:#cbd5e1;cursor:pointer;transition:color .12s,transform .12s;line-height:1}
.star-radio span.is-on,.star-radio input:checked + span{color:var(--star-rating);transform:scale(1.08)}
.field-label{font-size:.9rem;font-weight:700}
.form-field{display:grid;gap:.35rem}
.form-field input,.form-field textarea,.form-field select{width:100%;padding:.8rem .9rem;border:1px solid var(--border);border-radius:12px;background:#fff;font:inherit}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.field-hint{margin:0;color:var(--text-soft);font-size:.82rem}
.form-error,.form-success{padding:.8rem .95rem;border-radius:12px;font-size:.88rem;font-weight:600}
.form-error{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}
.form-success{background:#ecfdf5;border:1px solid #86efac;color:#166534}
.btn-block{width:100%}
.hp-field{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.review-modal{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:1rem}
.review-modal[hidden]{display:none!important}
.review-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);border:0;padding:0;cursor:pointer}
.review-modal-dialog{position:relative;z-index:1;width:min(420px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 24px 80px rgba(15,23,42,.28);padding:1.35rem}
.review-modal-title{margin:0 0 .35rem;font-size:1.1rem;font-weight:800}
.review-modal-desc{margin:0 0 1rem;font-size:.88rem;color:var(--text-soft)}
.review-modal-question{margin:0 0 .75rem;font-size:1.65rem;font-weight:800;text-align:center;color:var(--text)}
.review-modal-dialog label{display:block;margin:0 0 .35rem;font-size:.82rem;font-weight:600;color:var(--text-soft)}
.review-modal-dialog input[type="number"]{width:100%;margin:.35rem 0 1rem;padding:.65rem .75rem;border:1px solid #cbd5e1;border-radius:12px;font:inherit;font-size:1.1rem;text-align:center}
.review-modal-dialog input:focus{outline:2px solid #dbeafe;border-color:var(--primary)}
.review-modal-actions{display:flex;gap:.55rem;justify-content:flex-end;margin-top:.9rem}

.price-marker-wrap{cursor:pointer}
.price-marker{font-size:.68rem;font-weight:800;color:#fff;border:2px solid #fff;border-radius:8px;padding:.2rem .35rem;box-shadow:var(--shadow);white-space:nowrap;cursor:pointer}
.price-marker.is-active{transform:scale(1.1)}
.user-dot-wrap{position:relative;width:24px;height:24px}
.user-dot-core{position:absolute;top:50%;left:50%;width:16px;height:16px;transform:translate(-50%,-50%);border-radius:50%;background:var(--primary);border:3px solid #fff;box-shadow:0 2px 10px rgba(37,99,235,.5);z-index:2}
.user-dot-ping{position:absolute;top:50%;left:50%;width:16px;height:16px;transform:translate(-50%,-50%);border-radius:50%;background:rgba(37,99,235,.35);z-index:1;pointer-events:none;animation:user-ping 2s ease-out infinite}
@keyframes user-ping{0%{transform:translate(-50%,-50%) scale(1);opacity:.75}100%{transform:translate(-50%,-50%) scale(3);opacity:0}}
.map-popup .popup-distance{font-weight:700;color:var(--primary)}
.ff-popup.leaflet-popup{z-index:1!important;margin-bottom:10px;max-width:calc(100vw - 2.5rem)}
.ff-popup .leaflet-popup-content-wrapper{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 10px 32px rgba(15,23,42,.16);padding:0;max-width:calc(100vw - 2.5rem)}
.ff-popup .leaflet-popup-content{margin:12px 14px 14px;line-height:1.45;max-width:100%;word-break:break-word}
.ff-popup .leaflet-popup-close-button{top:6px;right:8px;width:24px;height:24px;color:var(--text-soft);font-size:22px;font-weight:400;line-height:22px}
.ff-popup .leaflet-popup-close-button:hover{color:var(--text)}
.ff-popup .leaflet-popup-tip{background:#fff;box-shadow:0 3px 8px rgba(15,23,42,.08)}
.map-popup .popup-name{display:block;font-size:1rem;font-weight:800;margin:0 0 .35rem;color:var(--text)}
.map-popup .popup-line{font-size:.86rem;color:var(--text-soft);line-height:1.45}
.map-popup .popup-location{margin-bottom:.15rem}
.popup-price{font-size:1.05rem;font-weight:800;color:var(--primary);margin-top:.45rem}
.popup-link{font-weight:700;color:var(--primary);font-size:.88rem;padding:.35rem .65rem;border-radius:8px;background:#eff6ff;border:1px solid #bfdbfe}
.popup-link.accent{background:var(--green-bg);border-color:#86efac;color:var(--green)}
.popup-actions{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.45rem}

.map-station-card{
    position:absolute;z-index:1200;left:.65rem;right:.65rem;bottom:max(.65rem,env(safe-area-inset-bottom));
    background:#fff;border:1px solid var(--border);border-radius:14px;
    box-shadow:0 14px 40px rgba(15,23,42,.2);max-height:min(44vh,300px);overflow-y:auto;
    -webkit-overflow-scrolling:touch
}
.map-station-card[hidden]{display:none!important}
.map-station-card-close{
    position:absolute;top:4px;right:8px;z-index:2;width:34px;height:34px;border:none;background:transparent;
    font-size:26px;line-height:1;color:var(--text-soft);cursor:pointer
}
.map-station-card-body{padding:12px 14px 14px}

.site-footer{margin-top:2.5rem;padding:1.5rem 1.25rem;border-top:1px solid var(--border);background:var(--white);text-align:center;font-size:.84rem;color:var(--text-soft)}
.footer-inner{max-width:var(--max);margin:0 auto}
.footer-inner p{margin:.25rem 0}
.footer-inner a{color:var(--primary);font-weight:600}
.footer-legal-links{font-size:.82rem}

.legal-page{max-width:760px;margin:0 auto}
.legal-page-head{margin-bottom:1.25rem;padding:1.35rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.legal-page-kicker{margin:0 0 .35rem;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--primary)}
.legal-page-head h1{margin:0;font-size:clamp(1.35rem,2.5vw,1.85rem);font-weight:800;letter-spacing:-.02em}
.legal-page-updated{margin:.55rem 0 0;font-size:.84rem;color:var(--text-soft)}
.legal-page-body{padding:1.2rem 1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.legal-page-body section+section{margin-top:1.35rem;padding-top:1.2rem;border-top:1px solid var(--border)}
.legal-page-body h2{margin:0 0 .65rem;font-size:1.02rem;font-weight:800;color:var(--text)}
.legal-page-body p,.legal-page-body li{font-size:.92rem;line-height:1.65;color:var(--text-soft)}
.legal-page-body p{margin:0 0 .75rem}
.legal-page-body ul{margin:0 0 .75rem;padding-left:1.15rem}
.legal-page-body li+li{margin-top:.35rem}
.legal-page-body a{color:var(--primary);font-weight:600}
.legal-page-body strong{color:var(--text)}
.legal-table-wrap{overflow-x:auto;margin:.35rem 0 .75rem}
.legal-table{width:100%;border-collapse:collapse;font-size:.84rem}
.legal-table th,.legal-table td{padding:.65rem .7rem;border:1px solid var(--border);text-align:left;vertical-align:top}
.legal-table th{background:#f8fafc;color:var(--text);font-weight:800}
.legal-page-nav{display:flex;flex-wrap:wrap;gap:.55rem .75rem;margin-top:1rem}
.legal-page-nav a{display:inline-flex;align-items:center;padding:.5rem .75rem;border:1px solid var(--border);border-radius:999px;background:var(--white);font-size:.82rem;font-weight:700;color:var(--text-soft)}
.legal-page-nav a:hover{color:var(--primary);border-color:#bfdbfe;background:#eff6ff}

.cookie-consent{position:fixed;inset:auto 0 0 0;z-index:120;padding:0 1rem 1rem}
.cookie-consent-inner{max-width:var(--max);margin:0 auto;padding:1rem 1.1rem;background:rgba(15,23,42,.96);color:#e2e8f0;border:1px solid rgba(148,163,184,.35);border-radius:16px;box-shadow:0 18px 40px rgba(15,23,42,.28)}
.cookie-consent-inner p{margin:0 0 .85rem;font-size:.86rem;line-height:1.55}
.cookie-consent-inner a{color:#93c5fd;font-weight:700}
.cookie-consent-actions{display:flex;flex-wrap:wrap;gap:.55rem}
.cookie-consent .btn{min-height:40px}
@media (min-width: 768px){
    .cookie-consent-inner{display:flex;align-items:center;gap:1rem}
    .cookie-consent-inner p{flex:1;margin:0}
    .cookie-consent-actions{justify-content:flex-end;flex-shrink:0}
}

.discover-wrap{max-width:var(--max);margin:2.5rem auto 0;padding:0 1.25rem}
.discover{width:100%;margin:0;padding:1.5rem 1.25rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.discover-inner{margin:0}
.discover h2{margin:0 0 .35rem;font-size:1.05rem;font-weight:800}
.discover-lead{margin:0 0 1rem;color:var(--text-soft);font-size:.9rem}
.discover-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.5rem}
.discover-grid a{display:block;padding:.55rem .65rem;border-radius:8px;font-size:.84rem;font-weight:600;color:var(--text-soft);background:#f8fafc;border:1px solid var(--border)}
.discover-grid a:hover{color:var(--primary);border-color:#bfdbfe;background:#eff6ff}
.discover-more{margin:1rem 0 0;text-align:center}
.discover-more a{font-weight:700;color:var(--primary)}

@media(max-width:900px){
    .reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .page-home .home-app{grid-template-columns:1fr;height:auto;max-height:none}
    .page-home .home-map{order:-1;height:42vh;min-height:280px;border-right:none;border-bottom:1px solid var(--border);scroll-margin-top:calc(var(--header-offset, 68px) + 8px);transition:height .25s ease,min-height .25s ease}
    .page-home .home-map.is-map-focus{height:50vh;min-height:320px}
    .map-station-card{left:.5rem;right:.5rem;bottom:max(.5rem,env(safe-area-inset-bottom));max-height:min(48vh,320px)}
    .map-station-card-body{padding:10px 12px 12px}
    .map-station-card .popup-actions{flex-direction:column;gap:.35rem}
    .map-station-card .popup-link{display:block;width:100%;text-align:center;box-sizing:border-box}
    .page-home .home-list{border-right:none;max-height:none}
    .page-home .station-list{max-height:55vh}
    .fuel-stat-grid{grid-template-columns:1fr;gap:1rem}
    .fuel-stat-card{padding:1.15rem 1.2rem}
    .fuel-stat-min{font-size:1.35rem}
    .page-split{grid-template-columns:1fr}
    .municipio-empty-grid{grid-template-columns:1fr}
    .page-map{order:-1;min-height:280px}
    .ficha-hero-grid{grid-template-columns:auto 1fr;gap:.85rem}
    .ficha-hero-price{grid-column:1/-1;text-align:left;display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .75rem;padding-top:.5rem;border-top:1px solid rgba(255,255,255,.2)}
    .ficha-hero-price-values{align-items:flex-start}
    .ficha-hero-price-prev-row{justify-content:flex-start}
    .ficha-hero-price-current{justify-content:flex-start}
    .ficha-hero-price em{width:100%}
    .ficha-grid{grid-template-columns:1fr}
    .ficha-layout{grid-template-columns:1fr}
    .ficha-layout-side .ficha-map-wrap{flex:none}
    .ficha-map,.ficha-map-wrap #map{height:280px;min-height:280px}
    .ficha-locality-alert{flex-direction:column;gap:.75rem}
    .ficha-locality-badge{width:100%;min-width:0;padding:.7rem .8rem}
    .ficha-locality-badge-text{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:.3rem}
    .ficha-locality-badge-kicker,.ficha-locality-badge-title{font-size:.72rem;line-height:1.2}
    .ficha-locality-badge-title::before{content:none}
    .ficha-locality-list a{grid-template-columns:32px minmax(0,1fr) auto;column-gap:.5rem}
    .ficha-locality-price{align-items:flex-end;text-align:right}
    .header-search-slot{display:none}
    .header-nav--desktop{display:none}
    .nav-toggle{display:flex}
    .page-home .home-top{grid-template-columns:1fr}
    .page-home .home-top-actions{flex-direction:column;align-items:stretch;width:100%}
    .page-home .home-top-actions .fuel-bar{min-width:0;width:100%;flex:none}
    .page-home .home-top-actions .btn-locate{width:100%;justify-content:center}
    .ff-popup.leaflet-popup{max-width:min(292px,calc(100vw - 1.25rem));margin-bottom:6px}
    .ff-popup .leaflet-popup-content-wrapper{max-width:min(292px,calc(100vw - 1.25rem));border-radius:12px}
    .ff-popup .leaflet-popup-content{margin:10px 12px 12px;font-size:.88rem;line-height:1.4}
    .map-popup .popup-name{font-size:.92rem;margin-bottom:.25rem}
    .map-popup .popup-line{font-size:.8rem}
    .popup-price{font-size:.98rem;margin-top:.35rem}
    .popup-actions{flex-direction:column;gap:.35rem;margin-top:.4rem}
    .popup-link{display:block;width:100%;text-align:center;padding:.45rem .65rem;font-size:.84rem;box-sizing:border-box}
    .ff-popup .leaflet-popup-close-button{top:4px;right:6px;width:28px;height:28px;line-height:26px}
}

@media(max-width:600px){
    .header-inner{padding:.75rem 1rem}
    .site-main{padding:1rem}
    .discover-wrap{padding:0 1rem}
    .search-submit{padding:.7rem .85rem}
    .page-home .home-top-actions{flex-direction:column;align-items:stretch;width:100%;gap:.5rem}
    .page-home .home-top-actions .fuel-bar{min-width:0;width:100%;flex:none}
    .page-home .home-top-actions .btn-locate{width:100%;justify-content:center}
    .btn-locate{padding:.75rem .95rem}
    .btn-locate-text{align-items:center;text-align:center}
    .btn-locate-text strong{font-size:.9rem}
    .fuel-switch{min-height:3.85rem;padding:.5rem .4rem .45rem}
    .fuel-switch-icon{width:2rem;height:2rem;border-radius:9px;font-size:.78rem}
    .fuel-switch-label{font-size:.66rem}
    .fuel-switcher--wrap{gap:.35rem;padding:.4rem}
    .fuel-switcher--wrap .fuel-switch{flex:1 1 calc(50% - .35rem);min-width:0;max-width:none}
    .page-station .breadcrumbs{margin-bottom:.9rem}
    .ficha-hero{padding:1.15rem 1rem}
    .ficha-hero-grid{grid-template-columns:1fr;gap:.75rem}
    .ficha-brand{width:52px;height:52px;border-radius:14px;font-size:1.35rem}
    .ficha-hero-text h1{font-size:1.45rem}
    .ficha-address{font-size:.88rem}
    .ficha-tags span{font-size:.68rem}
    .ficha-hero-price{padding-top:.85rem;padding-bottom:.15rem;gap:.25rem .55rem}
    .ficha-hero-price-label{font-size:.66rem;line-height:1.3;max-width:100%;word-break:break-word}
    .ficha-hero-price-values{width:100%;gap:.3rem}
    .ficha-hero-price-prev-row{opacity:.9}
    .ficha-hero-price-prev{font-size:.88rem}
    .ficha-hero-price-current{width:100%}
    .ficha-hero-price-current strong{
        font-size:2.25rem;
        letter-spacing:-.02em;
        padding:1.28rem 1.6rem;
        margin:10px 0;
        border-radius:14px;
        background:rgba(255,255,255,.16);
        box-shadow:0 0 0 1px rgba(255,255,255,.18) inset;
    }
    .ficha-hero-price-delta{padding:.18rem .5rem}
    .ficha-actions{flex-direction:column;gap:.45rem}
    .ficha-btn,.ficha-btn-go,.ficha-btn-alt,.ficha-btn-share,.ficha-btn-fav{width:100%;min-width:0}
    .ficha-btn{padding:.78rem .95rem;font-size:.88rem}
    .ficha-block{padding:1rem}
    .ficha-prices{grid-template-columns:1fr}
    .ficha-price-card{padding:.8rem}
    .ficha-facts li{grid-template-columns:1fr;gap:.18rem}
    .ficha-fact-label{font-size:.76rem}
    .ficha-locality-list a{padding:.6rem .65rem}
    .ficha-map,.ficha-map-wrap #map{height:240px;min-height:240px}
    .reviews-layout{grid-template-columns:1fr}
    .user-reviews-section.ficha-reviews-section{padding:1rem}
    .municipio-empty-hero{padding:1rem}
    .municipio-empty-card{padding:.9rem}
    .municipio-empty-card-head{gap:.65rem}
    .municipio-empty-icon{width:38px;height:38px;border-radius:10px}
    .home-reviews-section .review-card{grid-template-columns:72px 1fr}
    .home-reviews-section .review-card-image{width:72px;height:72px;border-radius:12px}
    .home-reviews-section .review-card-station-mark{width:2.75rem;height:2.75rem;font-size:1rem}
    .review-card{grid-template-columns:60px 1fr;gap:.75rem;padding:.85rem}
    .review-card-image{width:60px;height:60px;border-radius:11px}
    .market-brands-layout{grid-template-columns:1fr}
    .market-brands-ring{max-width:160px;margin:0 auto}
    .market-brand-row{grid-template-columns:22px minmax(0,1fr) auto;gap:.4rem}
    .market-brand-count{display:none}
    .reviews-grid{grid-template-columns:1fr}
    .home-reviews-section{padding:1rem}
    .page-home .station-list{padding:.45rem .5rem .85rem}
    .station-row{
        grid-template-columns:22px 32px minmax(0,1fr) auto;
        align-items:start;
        gap:.35rem .45rem;
        padding:.6rem .1rem;
    }
    .row-rank{padding-top:.35rem}
    .row-brand{width:32px;height:32px;font-size:.78rem;border-radius:8px}
    .row-info{min-width:0}
    .row-name{font-size:.82rem;line-height:1.3}
    .row-sub{font-size:.69rem;line-height:1.3;margin-top:.12rem}
    .row-price{
        grid-column:4;
        grid-row:1;
        display:flex;
        flex-direction:column;
        align-items:flex-end;
        text-align:right;
        padding-top:.15rem;
    }
    .row-price-val{font-size:.9rem}
    .row-price-unit{font-size:.56rem}
    .row-actions{
        grid-column:4;
        grid-row:2;
        justify-self:end;
        margin-top:.18rem;
        gap:.3rem;
        min-width:max-content;
    }
    .row-ficha{
        min-width:46px;
        height:34px;
        padding:0 .55rem;
        font-size:.68rem;
    }
    .row-nav{
        width:34px;
        height:34px;
        border-radius:8px;
    }
}

.auth-card{
    max-width:640px;
    margin:1rem auto 0;
    padding:1.5rem;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}
.auth-kicker{margin:0 0 .35rem;color:var(--text-soft);font-size:.85rem;text-transform:uppercase;letter-spacing:.04em}
.auth-lead,.account-head p{margin:0;color:var(--text-soft)}
.auth-lead{margin-bottom:1.35rem}
.auth-form{display:grid;gap:1rem}
.auth-switch{margin:1rem 0 0;text-align:center;color:var(--text-soft)}
.account-shell{max-width:none;width:100%}
.account-head{margin-bottom:1.25rem}
.account-layout{display:grid;gap:1.25rem;align-items:start}
.account-sidebar{display:grid;gap:1rem;padding:1.15rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.account-profile-card{display:flex;align-items:center;gap:.85rem}
.account-avatar{flex-shrink:0;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#dbeafe,#eff6ff);color:var(--primary);font-size:1.15rem;font-weight:800;line-height:1}
.account-profile-text{display:grid;gap:.15rem;min-width:0}
.account-profile-text strong{font-size:1rem;line-height:1.3;word-break:break-word}
.account-profile-text span{font-size:.84rem;color:var(--text-soft);line-height:1.35;word-break:break-all}
.account-nav{display:grid;gap:.35rem}
.account-nav-link{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.62rem .75rem;border:0;border-radius:10px;background:transparent;color:var(--text-soft);font:inherit;font-size:.9rem;font-weight:700;text-align:left;cursor:pointer;transition:background .12s,color .12s}
.account-nav-link:hover,.account-nav-link.is-active{color:var(--text);background:#f8fafc}
.account-nav-link.is-active{color:var(--primary);background:#eff6ff}
.account-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;padding:0 .35rem;border-radius:999px;background:#e2e8f0;color:var(--text);font-size:.72rem;font-weight:800;line-height:1}
.account-nav-link.is-active .account-nav-count{background:#dbeafe;color:var(--primary)}
.account-sidebar-logout{margin-top:.15rem;padding-top:1rem;border-top:1px solid var(--border)}
.account-main{display:grid;gap:1rem;min-width:0}
.account-views{display:block;min-height:280px}
.account-flash{margin:0}
.account-section{padding:1.35rem;background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.account-view{display:none}
.account-view.is-active{display:block}
.password-field{position:relative;display:flex;align-items:stretch}
.password-field input{flex:1;min-width:0;padding-right:3.4rem}
.password-toggle{position:absolute;top:50%;right:.45rem;transform:translateY(-50%);padding:.35rem .55rem;border:0;border-radius:8px;background:transparent;color:var(--text-soft);font:inherit;font-size:.78rem;font-weight:700;cursor:pointer}
.password-toggle:hover{color:var(--text);background:#f1f5f9}
.account-section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}
.account-section-head h2{margin:0;font-size:1.15rem}
.account-section-meta{font-size:.85rem;font-weight:700;color:var(--text-soft)}
.account-section-lead{margin:-.35rem 0 1rem}
.account-section-actions{margin-top:1rem}
.account-section-actions-top{margin-top:0;margin-bottom:1rem}
.account-favorite-address{margin:.25rem 0 0;font-size:.84rem;color:var(--text-soft);line-height:1.4}
.account-favorite-note{margin:.35rem 0 0;font-size:.88rem;color:#dc2626;line-height:1.45}
.account-form-narrow{max-width:520px}
.account-meta{display:grid;gap:0;margin:0 0 1.1rem;padding:0;border-bottom:1px solid var(--border)}
.account-meta > div{display:grid;grid-template-columns:minmax(6.5rem,8.5rem) minmax(0,1fr);gap:.35rem 1rem;align-items:start;padding:.7rem 0;border-top:1px solid var(--border)}
.account-meta > div:first-child{border-top:0;padding-top:0}
.account-meta dt{margin:0;font-size:.78rem;font-weight:700;color:var(--text-soft)}
.account-meta dd{margin:0;font-size:.92rem;color:var(--text);line-height:1.45;word-break:break-word}
.account-form{display:grid;gap:1rem}
.account-empty,.account-favorites-list,.account-reviews-list{display:grid;gap:.75rem}
.account-favorite-card,.account-review-card{padding:1rem;border:1px solid var(--border);border-radius:14px;background:#fff}
.account-favorite-brand{width:48px;height:48px;border-radius:12px}
.account-review-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.65rem}
.account-review-comment{margin:0 0 .85rem;color:var(--text)}
.account-review-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.account-inline-form{display:inline}
.btn-sm{padding:.45rem .8rem;font-size:.85rem}
.btn-danger{background:#dc2626;color:#fff;border:1px solid #dc2626}
.btn-danger:hover{background:#b91c1c;border-color:#b91c1c}
.form-error,.form-success{margin:0 0 1rem;padding:.75rem .9rem;border-radius:12px}
.form-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}
.form-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}
@media (min-width:900px){
    .account-layout{grid-template-columns:minmax(240px,260px) minmax(0,1fr);gap:1.5rem}
    .account-sidebar{position:sticky;top:calc(var(--header-offset) + 1rem)}
}
@media (max-width:899px){
    .account-nav{display:flex;flex-wrap:wrap;gap:.4rem}
    .account-nav-link{flex:1 1 auto;justify-content:center;border:1px solid var(--border);background:#f8fafc;text-align:center}
}
