:root {
  --bg: #0A0E1A; --bg2: #111627; --bg3: #181f34; --card: #141929;
  --border: rgba(255,255,255,0.07); --border2: rgba(255,255,255,0.13);
  --accent: #3B82F6; --accent2: #6366F1;
  --green: #10B981; --yellow: #F59E0B; --red: #EF4444; --purple: #A78BFA;
  --text: #F1F5F9; --muted: #64748B; --muted2: #94A3B8;
  --radius: 14px; --radius-sm: 8px; --shadow: 0 4px 24px rgba(0,0,0,.4);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* 🛠️ FIX MÓVIL: Clip para no tener scroll horizontal, pero permitiendo cabecero fijo */
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; max-width: 100%; overflow-x: clip; position: relative; }

button { font-family: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 5px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ── NAV ── */
.topbar { background: linear-gradient(90deg,#1d4ed8,#4338ca); color: #fff; text-align: center; padding: 7px; font-size: 11px; letter-spacing: .04em; }
nav { position: sticky; top: 0; z-index: 200; background: rgba(10,14,26,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 0 16px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-logo { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 800; background: linear-gradient(135deg,#3B82F6,#818CF8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-logo small { font-size: 10px; -webkit-text-fill-color: #64748B; display: block; margin-top: -3px; font-weight: 400; font-family: 'Plus Jakarta Sans', sans-serif; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 1; }
.nav-btn { background: none; border: 1px solid var(--border2); color: var(--muted2); padding: 6px 11px; border-radius: 100px; font-size: 12px; font-weight: 500; transition: all .2s; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-pill { position: relative; }
.cart-bubble { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0); transition: all .25s cubic-bezier(.34,1.56,.64,1); }
.cart-bubble.show { opacity: 1; transform: scale(1); }
.user-chip { display: flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--border2); padding: 4px 10px 4px 4px; border-radius: 100px; cursor: pointer; transition: all .2s; }
.user-chip:hover { border-color: var(--accent); }
.ava { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.ava-name { font-size: 12px; font-weight: 500; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── HERO ── */
.hero { padding: 52px 16px 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; background: radial-gradient(circle,rgba(59,130,246,.09) 0%,transparent 70%); pointer-events: none; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 100px; font-size: 11px; font-weight: 600; padding: 4px 12px; letter-spacing: .04em; }
.badge-blue { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.3); color: #60a5fa; }
.badge-green { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #34d399; }
.badge-yellow { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #fbbf24; }
.badge-pulse::before { content: '●'; font-size: 7px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
h1 { font-family: 'Syne', sans-serif; font-size: clamp(28px,5.5vw,58px); font-weight: 800; line-height: 1.06; margin-bottom: 14px; }
h1 em { font-style: normal; background: linear-gradient(135deg,#60a5fa,#818CF8,#c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: clamp(13px,2vw,16px); color: var(--muted2); max-width: 500px; margin: 0 auto 28px; }
.hero-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 32px; }
.stat { text-align: center; }
.stat-n { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: var(--accent); }
.stat-l { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.btn-hero { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: 100px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; box-shadow: 0 4px 20px rgba(59,130,246,.3); transition: all .2s; }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,.4); }

/* ── TRUST ── */
.trust-bar { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 16px; overflow-x: auto; }
.trust-inner { display: flex; gap: 24px; min-width: max-content; margin: 0 auto; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-icon { font-size: 18px; }
.trust-text h4 { font-size: 12px; font-weight: 600; }
.trust-text p { font-size: 10px; color: var(--muted); }

/* ── SECCIÓN PRINCIPAL ── */
.main { max-width: 1100px; margin: 0 auto; padding: 28px 16px; }

/* ── BARRA FILTROS NUEVA ── */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap input { width: 100%; padding: 14px 20px 14px 48px; background: var(--bg3); border: 1px solid var(--border2); border-radius: 14px; color: var(--text); font-family: inherit; font-size: 15px; outline: none; transition: all .2s; box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.search-wrap input:focus { border-color: var(--accent); background: var(--bg2); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.search-wrap input::placeholder { color: var(--muted); font-size:14px; }
.search-wrap .si { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
.sort-sel { padding: 14px 20px; background: var(--bg3); border: 1px solid var(--border2); border-radius: 14px; color: var(--text); font-family: inherit; font-size: 14px; outline: none; cursor: pointer; min-width: 160px; transition: all .2s; box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.sort-sel:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }

/* ── GRID MODELOS ── */
.result-info { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.result-count { font-size: 14px; font-weight: 500; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }

/* ── MODEL CARD ── */
.model-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .22s; cursor: pointer; position: relative; display: flex; flex-direction: column; }
.model-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow); }
.model-card.hot { border-color: rgba(59,130,246,.25); box-shadow: 0 0 0 1px rgba(59,130,246,.1); }
.model-card .pop-tag { position: absolute; top: 9px; right: 9px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 100px; z-index: 1; }
.model-card .new-tag { position: absolute; top: 9px; right: 9px; background: linear-gradient(135deg,#10B981,#059669); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 100px; z-index: 1; }
.card-img { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 60px; background: var(--bg2); flex-shrink: 0; position: relative; overflow: hidden; }
.card-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30px; background: linear-gradient(transparent,var(--card)); }
.card-body { padding: 13px; flex: 1; display: flex; flex-direction: column; }
.card-brand { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.card-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 2px; line-height: 1.2; }
.card-year { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.card-repairs-count { font-size: 11px; color: var(--muted2); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.rc-tag { background: var(--bg3); border: 1px solid var(--border); border-radius: 100px; font-size: 10px; padding: 1px 7px; color: var(--muted2); }
.card-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 11px; }
.cp-box { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 5px 7px; }
.cp-box.orig { border-color: rgba(16,185,129,.2); }
.cp-label { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1px; }
.cp-from { font-size: 11px; font-weight: 700; }
.cp-from.g { color: var(--green); }
.cp-from.y { color: var(--yellow); }
.card-btn { width: 100%; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; border: none; padding: 9px; border-radius: var(--radius-sm); font-weight: 600; font-size: 12px; transition: all .2s; margin-top: auto; }
.card-btn:hover { opacity: .9; }

/* ── EMPTY ── */
.empty { text-align: center; padding: 48px 16px; color: var(--muted); grid-column: 1/-1; }
.empty .eicon { font-size: 48px; margin-bottom: 12px; }
.empty h3 { font-size: 16px; color: var(--muted2); margin-bottom: 6px; }

/* ── OVERLAYS Y MODALES ── */
.overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.82); opacity: 0; pointer-events: none; transition: opacity .25s; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.overlay.on { opacity: 1; pointer-events: all; }
@media (min-width: 600px) { .overlay { align-items: center; padding: 16px; } }
.sheet { background: var(--bg2); width: 100%; max-width: 620px; max-height: 93vh; overflow-y: auto; border-radius: 20px 20px 0 0; transform: translateY(30px); transition: transform .3s ease; border: 1px solid var(--border); position: relative; }
@media (min-width: 600px) { .sheet { border-radius: var(--radius); max-height: 90vh; } }
.sheet-inner { padding: 20px 18px 28px; }
@media (min-width: 600px) { .sheet-inner { padding: 26px 24px 32px; } }
.sh-handle { width: 34px; height: 3px; background: var(--border2); border-radius: 2px; margin: 0 auto 18px; }
.x-btn { position: absolute; top: 14px; right: 14px; background: var(--bg3); border: 1px solid var(--border); color: var(--muted2); width: 30px; height: 30px; border-radius: 50%; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; }
.x-btn:hover { color: var(--text); border-color: var(--border2); }

/* DETAIL SHEET */
.det-emoji { font-size: 68px; text-align: center; margin-bottom: 14px; }
.det-brand { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.det-name { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.det-year { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.tt-opt { padding: 12px 10px; border-radius: var(--radius-sm); border: 2px solid var(--border); background: var(--card); text-align: center; cursor: pointer; transition: all .2s; }
.tt-opt.on { border-color: var(--accent); background: rgba(59,130,246,.07); }
.tt-icon { font-size: 18px; margin-bottom: 5px; }
.tt-name { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.tt-price { font-size: 16px; font-weight: 700; }
.tt-price.g { color: var(--green); }
.tt-price.y { color: var(--yellow); }
.tt-tag { font-size: 10px; color: var(--muted); margin-top: 1px; }

.rep-cat-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 16px 0 8px; display: flex; align-items: center; gap: 6px; }
.rep-cat-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.rep-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.rep-item { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: all .2s; }
.rep-item:hover { border-color: var(--border2); }
.rep-item-left { display: flex; align-items: center; gap: 10px; padding: 11px 12px; flex: 1; min-width: 0; }
.rep-emoji { font-size: 20px; flex-shrink: 0; }
.rep-info { flex: 1; min-width: 0; }
.rep-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.rep-meta { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rep-time { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 3px; }
.rep-price-area { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 10px 12px; background: var(--bg2); border-left: 1px solid var(--border); min-width: 100px; }
.rp-comp { font-size: 11px; color: var(--muted); text-decoration: line-through; margin-bottom: 1px; }
.rp-total { font-size: 16px; font-weight: 700; }
.rp-total.g { color: var(--green); }
.rp-total.y { color: var(--yellow); }
.rp-breakdown { font-size: 10px; color: var(--muted); margin-top: 2px; text-align: right; }
.rep-add-btn { background: rgba(59,130,246,.12); border: none; border-left: 1px solid rgba(59,130,246,.2); color: #60a5fa; padding: 0 12px; font-size: 18px; font-weight: 600; cursor: pointer; transition: all .2s; flex-shrink: 0; display: flex; align-items: center; }
.rep-add-btn:hover { background: rgba(59,130,246,.22); }
.rep-add-btn:active { transform: scale(.9); }
.weight-note { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.25); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted2); }
.weight-note strong { color: var(--yellow); display: block; margin-bottom: 2px; }

/* CARRITO */
.cart-bg { position: fixed; inset: 0; z-index: 399; background: rgba(0,0,0,.65); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-bg.on { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 390px; background: var(--bg2); border-left: 1px solid var(--border); z-index: 400; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.cart-drawer.on { transform: translateX(0); }
.cart-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 9px; color: var(--muted); text-align: center; }
.cart-empty .cie { font-size: 42px; }
.ci { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.ci-icon { width: 46px; height: 46px; background: var(--bg3); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-model { font-weight: 600; font-size: 13px; }
.ci-repair { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.ci-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
.ci-badge { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 100px; }
.ci-badge-type { background: rgba(59,130,246,.1); color: #60a5fa; border: 1px solid rgba(59,130,246,.2); }
.ci-price { font-size: 15px; font-weight: 700; color: var(--accent); }
.ci-price small { font-size: 10px; color: var(--muted); font-weight: 400; margin-left: 3px; }
.ci-rm { background: none; border: none; color: var(--muted); font-size: 14px; cursor: pointer; padding: 2px; align-self: flex-start; transition: color .2s; flex-shrink: 0; }
.ci-rm:hover { color: var(--red); }
.ins-box { margin: 12px 0; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 12px; }
.ins-row { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; user-select: none; }
.ins-chk { width: 18px; height: 18px; min-width: 18px; border-radius: 4px; border: 2px solid var(--border2); background: var(--card); display: flex; align-items: center; justify-content: center; transition: all .2s; font-size: 11px; margin-top: 2px; }
.ins-chk.on { background: var(--accent); border-color: var(--accent); }
.ins-txt { flex: 1; }
.ins-title { font-size: 13px; font-weight: 600; }
.ins-sub { font-size: 11px; color: var(--muted); }
.ins-p { font-size: 14px; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.ins-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 8px; font-size: 11px; color: var(--muted2); }
.cart-foot { padding: 12px 16px 20px; border-top: 1px solid var(--border); }
.tot-rows { margin-bottom: 10px; }
.tot-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; color: var(--muted2); }
.tot-row .val { font-weight: 500; }
.tot-final-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0 0; border-top: 1px solid var(--border); }
.tot-lbl { font-size: 14px; font-weight: 600; color: var(--text); }
.tot-val { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--accent); }
.ck-btn { width: 100%; padding: 13px; background: linear-gradient(135deg,#10B981,#059669); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ck-btn:hover { opacity: .9; transform: translateY(-1px); }
.ck-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.sec-note { text-align: center; font-size: 10px; color: var(--muted); margin-top: 7px; }

/* FORMS & AUTH */
.fg { margin-bottom: 13px; }
.fl { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted2); margin-bottom: 5px; }
.fl .req { color: var(--red); margin-left: 2px; }
.fi { width: 100%; padding: 10px 12px; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 13px; outline: none; transition: border-color .2s; }
.fi:focus { border-color: var(--accent); }
.fi::placeholder { color: var(--muted); }
.fsel { width: 100%; padding: 10px 12px; background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-sm); color: var(--text); font-family: inherit; font-size: 13px; outline: none; cursor: pointer; }
.fsel:focus { border-color: var(--accent); }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
@media (max-width: 440px) { .fr { grid-template-columns: 1fr; } }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg3); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 20px; }
.at { padding: 8px; text-align: center; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted2); cursor: pointer; border: none; background: none; transition: all .2s; }
.at.on { background: var(--bg2); color: var(--text); }
.sbtn { width: 100%; padding: 12px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; margin-top: 4px; }
.sbtn:hover { opacity: .9; }

/* CHECKOUT */
.ck-steps { display: flex; gap: 3px; margin-bottom: 20px; background: var(--bg3); border-radius: var(--radius-sm); padding: 4px; }
.ck-s { flex: 1; text-align: center; padding: 7px 4px; border-radius: 6px; font-size: 11px; font-weight: 500; color: var(--muted); transition: all .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-s.on { background: var(--bg2); color: var(--text); }
.ck-s.done { color: var(--green); }
.ck-title { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 800; margin-bottom: 3px; }
.ck-sub { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.os { background: var(--bg3); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 14px; }
.os-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; color: var(--muted2); }
.os-row.sep { border-top: 1px solid var(--border); margin-top: 7px; padding-top: 8px; font-weight: 700; font-size: 13px; color: var(--text); }
.os-row.big { font-weight: 800; font-size: 15px; color: var(--accent); }
.weight-warn { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.25); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 14px; font-size: 12px; color: var(--muted2); }
.weight-warn strong { color: var(--yellow); display: block; margin-bottom: 2px; }
.shipping-box { background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px; }
.sh-title { font-size: 13px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.sh-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.sh-row:last-child { border-bottom: none; }
.sh-lbl { color: var(--muted2); }
.sh-val { font-weight: 600; }
.sh-val.cost { color: var(--yellow); }
.sh-val.free { color: var(--green); }
.del-opts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.del-opt { padding: 11px 13px; background: var(--card); border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; }
.del-opt.on { border-color: var(--accent); background: rgba(59,130,246,.06); }
.del-opt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.del-opt-icon { font-size: 18px; }
.del-opt-name { font-size: 13px; font-weight: 600; flex: 1; }
.del-opt-price { font-size: 14px; font-weight: 700; color: var(--yellow); }
.del-opt-desc { font-size: 11px; color: var(--muted); padding-left: 26px; }
.pickup-pts { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
.pp { padding: 9px 11px; background: var(--bg); border: 1px solid var(--border2); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; font-size: 12px; }
.pp.on { border-color: var(--green); background: rgba(16,185,129,.06); }
.pp-name { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.pp-addr { color: var(--muted); }
.pp-hours { color: var(--green); font-size: 11px; margin-top: 2px; }
.pay-btn { width: 100%; padding: 13px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; margin-top: 7px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.pay-btn:hover { opacity: .9; }
.pay-btn:disabled { opacity: .45; cursor: not-allowed; }
.card-mock { background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted2); }
.back-btn { width: 100%; padding: 10px; background: transparent; color: var(--muted2); border: 1px solid var(--border2); border-radius: var(--radius-sm); font-size: 12px; cursor: pointer; transition: all .2s; margin-top: 7px; }
.back-btn:hover { border-color: var(--accent); color: var(--accent); }
.stripe-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 8px; font-size: 10px; color: var(--muted); }
.success-box { text-align: center; padding: 8px 0 4px; }
.success-box .sico { font-size: 58px; margin-bottom: 14px; }
.success-box h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.success-box p { font-size: 13px; color: var(--muted2); margin-bottom: 14px; line-height: 1.7; }
.success-steps { display: flex; flex-direction: column; gap: 8px; text-align: left; background: var(--bg3); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 18px; }
.ss { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; }
.ss-n { width: 19px; height: 19px; min-width: 19px; border-radius: 50%; background: rgba(59,130,246,.15); color: #60a5fa; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; margin-top: 1px; }

/* ADMIN */
.admin-sheet { background: var(--bg2); width: 100%; max-width: 700px; max-height: 93vh; overflow-y: auto; border-radius: 20px 20px 0 0; transform: translateY(30px); transition: transform .3s; border: 1px solid var(--border); position: relative; }
@media (min-width: 600px) { .admin-sheet { border-radius: var(--radius); } }
.adm-tabs { display: flex; gap: 3px; background: var(--bg3); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 18px; overflow-x: auto; }
.adm-tab { flex-shrink: 0; padding: 7px 13px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--muted2); cursor: pointer; border: none; background: none; transition: all .2s; white-space: nowrap; }
.adm-tab.on { background: var(--bg2); color: var(--text); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 9px; margin-bottom: 18px; }
.sc { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.sc-n { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; color: var(--accent); }
.sc-l { font-size: 10px; color: var(--muted); margin-top: 2px; }
.dbt { width: 100%; border-collapse: collapse; font-size: 11px; }
.dbt th { text-align: left; padding: 7px 9px; background: var(--bg3); color: var(--muted2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 10px; border-bottom: 1px solid var(--border2); }
.dbt td { padding: 8px 9px; border-bottom: 1px solid var(--border); vertical-align: top; }
.dbt tr:hover td { background: rgba(255,255,255,.02); }
.db-empty { text-align: center; padding: 32px; color: var(--muted); font-size: 13px; }
.exp-btn { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); color: #60a5fa; padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 5px; }
.exp-btn:hover { background: rgba(59,130,246,.2); }
.danger-box { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2); border-radius: var(--radius-sm); padding: 12px; margin-top: 12px; }

/* TOAST */
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(60px); background: var(--bg3); border: 1px solid var(--border2); color: var(--text); padding: 9px 18px; border-radius: 100px; font-size: 12px; font-weight: 500; z-index: 999; transition: all .3s; opacity: 0; white-space: nowrap; box-shadow: var(--shadow); max-width: 88vw; overflow: hidden; text-overflow: ellipsis; }
.toast.on { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.ok { border-color: rgba(16,185,129,.4); color: #34d399; }
.toast.warn { border-color: rgba(245,158,11,.4); color: #fbbf24; }

/* FOOTER */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 24px 16px; text-align: center; }
.fl-logo { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; background: linear-gradient(135deg,#3B82F6,#818CF8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 5px; }
footer p { font-size: 11px; color: var(--muted); line-height: 2; }

/* REGLAS PARA DISPOSITIVOS MÓVILES */
@media (max-width: 500px) {
  .hero-stats { gap: 18px; } .stat-n { font-size: 20px; }
  nav { height: 52px; padding: 0 10px; gap: 5px; } 
  .nav-logo { font-size: 15px; }
  .nav-actions { gap: 4px; }
  .nav-btn { padding: 5px 8px; font-size: 11px; letter-spacing: -0.02em; }
  .models-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .card-img { height: 110px; font-size: 50px; }
  .rep-price-area { min-width: 85px; }
  .search-wrap input { font-size: 14px; padding: 12px 14px 12px 40px; }
  .search-wrap .si { left: 14px; font-size: 16px; }
  .sort-sel { width: 100%; }
}