/* ===== HOME CLIENTE 2026 — COMPACTO Y MODERNO ===== */
#s-home .hdr { padding-top:11px; padding-bottom:13px; }
#s-home .client-hero { margin-top:8px; padding:9px 12px; border-radius:17px; }
#s-home .client-hello { font-size:10.5px; }
#s-home .client-title { font-size:17px; margin-top:1px; }
#s-home .search { margin-top:8px; padding:8px 13px; }
#s-home .content { padding-top:12px; }

.chamofavor-home-card {
  display:flex; align-items:center; gap:11px;
  background:linear-gradient(135deg,var(--verde2),var(--verde));
  color:white; border-radius:18px; padding:11px 12px;
  margin-bottom:15px; cursor:pointer;
  box-shadow:0 7px 20px rgba(27,107,58,.16);
  border:1px solid rgba(255,255,255,.12);
}
.chamofavor-home-icon {
  width:40px; height:40px; border-radius:13px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.16);
  font-size:20px;
}
.chamofavor-home-copy { flex:1; min-width:0; }
.chamofavor-home-kicker { font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.09em; opacity:.72; margin-bottom:2px; }
.chamofavor-home-title { font-size:12.5px; font-weight:900; line-height:1.28; }
.chamofavor-home-arrow {
  width:28px; height:28px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.13); font-size:18px; font-weight:800;
}

/* ===== CHAMOFAVOR — EXPERIENCIA MÓVIL ===== */
#s-favor-form { background:#f4f7f5; }
#s-favor-form .bhdr { background:linear-gradient(135deg,#0d3d23 0%,var(--verde) 100%); }
#s-favor-form .content { padding:0 13px 26px; }
.favor-hero {
  position:relative; overflow:hidden; color:white;
  background:linear-gradient(145deg,#0b2f1c 0%,#17633a 58%,#239557 100%);
  margin:0 -13px 14px; padding:17px 16px 20px;
  border-radius:0 0 25px 25px; box-shadow:0 10px 24px rgba(15,74,41,.16);
}
.favor-hero::after { content:''; position:absolute; width:150px; height:150px; border-radius:50%; right:-58px; top:-68px; background:rgba(255,209,102,.13); }
.favor-hero-top { position:relative; z-index:1; display:flex; align-items:center; gap:12px; }
.favor-hero-icon { width:49px; height:49px; border-radius:16px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.18); display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0; }
.favor-hero h2 { font-size:19px; line-height:1.1; font-weight:950; margin:0; }
.favor-hero p { font-size:11px; line-height:1.45; font-weight:650; opacity:.82; margin:4px 0 0; max-width:270px; }
.favor-steps { position:relative; z-index:1; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:15px; }
.favor-step { background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:8px 6px; text-align:center; }
.favor-step b { display:block; font-size:10px; font-weight:900; }
.favor-step span { display:block; font-size:8px; font-weight:700; opacity:.72; margin-top:2px; }
.favor-section { background:white; border:1px solid rgba(15,25,35,.06); border-radius:19px; padding:14px; margin-bottom:11px; box-shadow:0 4px 15px rgba(15,35,25,.055); }
.favor-section-head { display:flex; align-items:center; gap:9px; margin-bottom:12px; }
.favor-number { width:27px; height:27px; border-radius:9px; background:var(--verde3); color:var(--verde); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:950; flex-shrink:0; }
.favor-section-title { font-size:13px; font-weight:950; color:var(--texto); line-height:1.2; }
.favor-section-sub { font-size:9.5px; color:var(--texto3); font-weight:650; margin-top:2px; }
.favor-section .fgroup { margin-bottom:11px; }
.favor-section .fgroup:last-child { margin-bottom:0; }
.favor-section .flabel { font-size:10px; margin-bottom:6px; }
.favor-section .finput { background:#f8faf9; border-color:#e3e9e5; border-radius:13px; }
.favor-quick { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; margin-top:8px; padding-bottom:2px; }
.favor-quick::-webkit-scrollbar { display:none; }
.favor-chip { border:1px solid #dce8e0; background:#f6faf7; color:var(--verde2); border-radius:999px; padding:6px 10px; font-size:9px; font-weight:850; white-space:nowrap; cursor:pointer; }
.chamofavor-mode-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:-4px 0 12px; }
.chamofavor-mode-card { border:1.5px solid #dfe8e2; background:white; border-radius:17px; padding:13px 12px; text-align:left; cursor:pointer; box-shadow:0 3px 12px rgba(15,35,25,.05); font-family:'Plus Jakarta Sans',sans-serif; }
.chamofavor-mode-card.on { border-color:var(--verde); background:var(--verde3); box-shadow:0 5px 16px rgba(6,75,43,.13); }
.chamofavor-mode-card .ico { font-size:24px; display:block; margin-bottom:7px; }
.chamofavor-mode-card .ico i, .favor-hero-icon i, .chamofavor-home-icon i { font-size:inherit; line-height:1; }
.favor-chip i, .favor-map-btn i { margin-right:4px; }
.favor-note > span:first-child i { width:16px; text-align:center; }
.chamofavor-mode-card b { display:block; font-size:12px; font-weight:950; color:var(--texto); }
.chamofavor-mode-card span { display:block; font-size:9px; color:var(--texto2); font-weight:650; line-height:1.4; margin-top:3px; }
.moto-price-card { background:linear-gradient(135deg,var(--verde2),var(--verde)); color:white; border-radius:18px; padding:15px; margin-bottom:11px; display:flex; justify-content:space-between; align-items:center; gap:12px; box-shadow:0 7px 18px rgba(6,75,43,.18); }
.moto-price-card small { display:block; font-size:9px; font-weight:800; opacity:.72; text-transform:uppercase; letter-spacing:.07em; }
.moto-price-card strong { display:block; font-size:24px; font-weight:950; color:var(--amarillo); margin-top:2px; }

.favor-route { position:relative; }
.favor-route::before { content:''; position:absolute; left:13px; top:38px; bottom:39px; width:2px; background:repeating-linear-gradient(to bottom,#abd3b8 0 5px,transparent 5px 9px); }
.favor-point { position:relative; padding-left:34px; margin-bottom:13px; }
.favor-point:last-child { margin-bottom:0; }
.favor-dot { position:absolute; left:3px; top:2px; width:21px; height:21px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:white; font-size:9px; font-weight:950; box-shadow:0 2px 7px rgba(0,0,0,.12); }
.favor-dot.pickup { background:var(--naranja); }
.favor-dot.dropoff { background:var(--verde); }
.favor-map-btn { width:100%; margin-top:7px; padding:9px 11px; box-shadow:none; border-radius:12px; font-size:10px; }
.favor-gps { font-size:9px; color:var(--texto3); font-weight:700; margin-top:5px; line-height:1.35; }
.favor-person-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.favor-note { display:flex; gap:9px; align-items:flex-start; background:#fff8e7; border:1px solid #f5dfa3; color:#765716; border-radius:14px; padding:10px 11px; font-size:9.5px; font-weight:700; line-height:1.45; margin:1px 0 12px; }
.favor-submit { min-height:47px; border-radius:15px; font-size:13px; box-shadow:0 8px 18px rgba(27,107,58,.19); }
@media (max-width:370px) { .favor-person-grid { grid-template-columns:1fr; } .favor-steps { gap:4px; } .favor-step { padding:7px 3px; } }

#s-home .client-section-title { margin:0 0 8px; }
#s-home .client-section-title h3 { font-size:12px; font-weight:800; letter-spacing:.02em; color:var(--texto2); text-transform:uppercase; }
#s-home .client-section-title small { font-size:9.5px; }
#s-home .cats { margin-bottom:15px; gap:7px; padding-bottom:3px; }
#s-home .cat { padding:7px 12px; font-size:10.5px; border-width:1px; box-shadow:none; }
#s-home .cat.on { box-shadow:0 4px 10px rgba(27,107,58,.16); }

#cliente-promos-section { margin:1px 0 14px; }
#cliente-promos-list {
  display:grid; grid-template-columns:1fr; gap:7px; overflow:visible; padding:0;
}
#cliente-promos-list::-webkit-scrollbar { display:none; }
#cliente-promos-list .promo-user-card {
  min-width:0; max-width:none; width:100%;
  border-radius:14px; padding:8px 10px; margin:0;
  box-shadow:0 3px 10px rgba(15,25,35,.05);
  border:1px solid rgba(15,25,35,.06);
}
#cliente-promos-list .promo-user-head { margin-bottom:3px; gap:7px; align-items:center; }
#cliente-promos-list .promo-type { padding:3px 7px; font-size:8px; margin-bottom:3px; }
#cliente-promos-list .promo-user-title { font-size:11.5px; line-height:1.15; }
#cliente-promos-list .promo-user-desc {
  font-size:9.5px; line-height:1.25;
  display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
}
#cliente-promos-list .trust-badge { font-size:8px; padding:3px 6px; white-space:nowrap; }
#cliente-promos-list .promo-progress { height:4px; margin-top:5px; }
#cliente-promos-list .promo-mini-note { font-size:8px; margin-top:3px; }
#cliente-promos-list .promo-reward { border-radius:8px; padding:4px 6px; font-size:8.5px; margin-top:4px; }

#s-home #rest-list-titulo { letter-spacing:-.01em; }
#s-home .rest-open-pill { padding:4px 8px; font-size:9px; }


/* ===== CLIENTE V3: CATEGORÍAS CIRCULARES ===== */
#s-home .client-cat-grid {
  display:flex; flex-wrap:nowrap; overflow-x:auto; gap:16px;
  padding:1px 2px 8px; margin-bottom:14px; scrollbar-width:none;
  touch-action:pan-x; overscroll-behavior-x:contain;
}
#s-home .client-cat-grid::-webkit-scrollbar { display:none; }
#s-home .client-cat-grid .cat {
  width:auto; flex:0 0 auto; min-width:52px; padding:0; border:0; background:transparent; box-shadow:none;
  border-radius:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  gap:5px; color:var(--texto2); font-size:8.5px; font-weight:850; white-space:normal;
  text-align:center; cursor:pointer; font-family:inherit; touch-action:manipulation;
  -webkit-tap-highlight-color:transparent; user-select:none; -webkit-user-select:none;
}
#s-home .client-cat-grid .cat-circle {
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid rgba(15,25,35,.07); box-shadow:0 5px 16px rgba(15,25,35,.07);
  font-size:21px; line-height:1; transition:transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
#s-home .client-cat-grid .cat-circle i { color:#6f7f8f; font-size:16px; line-height:1; pointer-events:none; }
#s-home .client-cat-grid .cat-circle img { width:100%; height:100%; object-fit:cover; border-radius:50%; pointer-events:none; }
#s-home .client-cat-grid .cat.on .cat-circle img { box-shadow:0 0 0 2px var(--verde); }
#s-home .client-cat-grid .cat.on .cat-circle i { color:var(--verde2); }
#s-home .client-cat-grid .cat-label {
  width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; line-height:1.15;
}
#s-home .client-cat-grid .cat.on { background:transparent; color:var(--verde2); box-shadow:none; }
#s-home .client-cat-grid .cat.on .cat-circle {
  background:var(--verde3); border:2px solid var(--verde); box-shadow:0 6px 16px rgba(27,107,58,.16);
  transform:translateY(-1px);
}
#s-home .client-cat-grid .cat:active .cat-circle { transform:scale(.94); }
/* Antes esto se ocultaba y requería tocar "Más" para verlas en una segunda
   fila; ahora todas las categorías van en la misma fila horizontal, así
   que simplemente se deslizan con el dedo y el botón "Más" ya no hace falta. */
#s-home .client-cat-grid .cat-extra { display:flex; }
#s-home .client-cat-grid .cat-more { display:none; }
@media (max-width:380px){
  #s-home .client-cat-grid .cat-circle { width:48px; height:48px; font-size:20px; }
  #s-home .client-cat-grid .cat { font-size:8px; min-width:48px; }
}

/* ===== CLIENTE MODERNO V2: DESTACADOS, TARJETAS, NAV Y CARRITO ===== */
#cliente-destacados-section { margin:3px 0 16px; }
.client-section-link { color:var(--verde); font-weight:900; cursor:pointer; }
.destacados-strip {
  display:flex; gap:10px; overflow-x:auto; padding:2px 1px 6px;
  scrollbar-width:none; scroll-snap-type:x proximity;
}
.destacados-strip::-webkit-scrollbar { display:none; }
.ofertas-strip {
  display:flex; gap:10px; overflow-x:auto; padding:2px 1px 6px;
  scrollbar-width:none; scroll-snap-type:x proximity;
}
.ofertas-strip::-webkit-scrollbar { display:none; }
.oferta-card {
  width:150px; flex:0 0 150px; background:#fff; border:1px solid rgba(15,25,35,.06);
  border-radius:18px; overflow:hidden; box-shadow:0 7px 22px rgba(15,25,35,.07);
  scroll-snap-align:start; cursor:pointer; transition:transform .18s ease;
}
.oferta-card:active { transform:scale(.98); }
.oferta-img { height:96px; position:relative; background:linear-gradient(135deg,#fff7ed,#ffedd5); overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:30px; }
.oferta-img img { width:100%; height:100%; object-fit:cover; display:block; }
.oferta-badge {
  position:absolute; top:7px; left:7px; border-radius:999px; padding:4px 8px;
  font-size:10px; font-weight:950; background:var(--rojo); color:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.15);
}
.oferta-body { padding:9px 10px 10px; }
.oferta-name { font-size:12px; font-weight:950; color:var(--texto); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.oferta-resto { font-size:10px; font-weight:700; color:var(--texto3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:1px; }
.oferta-precios { display:flex; align-items:baseline; gap:6px; margin-top:6px; }
.oferta-precio-promo { font-size:14px; font-weight:950; color:var(--verde2); }
.oferta-precio-antes { font-size:10.5px; font-weight:700; color:var(--texto3); text-decoration:line-through; }

