/* POS Universal — hoja de estilos de la tienda pública.
   Dirección visual: comercio de barrio moderno. Blanco y azul claro (tipo Facebook), tipografía grande y amable,
   tarjetas redondeadas con sombra suave, íconos solo en SVG. Un solo tema claro. */
:root {
  --azul:#1877F2; --azul-osc:#0F5FD0; --azul-suave:#E7F0FF; --azul-linea:#CFE1FF; --azul-tinta:#0B2A59;
  --gris-claro:#F0F2F5; --blanco:#FFFFFF; --texto:#1C1E21; --texto-suave:#65676B; --borde:#DADDE1;
  --verde:#2E8B57; --rojo:#D93025; --ambar:#B7791F;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --sombra: 0 10px 28px -14px rgba(11,42,89,.28);
}
* { box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }
html { width:100%; min-height:100%; overflow-x:hidden; overflow-y:auto; scroll-behavior:smooth; }
body { width:100%; min-height:100vh; position:relative; overflow-x:hidden; background:var(--blanco); color:var(--texto); font-family:'Inter',system-ui,-apple-system,sans-serif; line-height:1.5; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
h1, h2, h3 { font-family:'Sora',sans-serif; font-weight:800; letter-spacing:-.01em; }
.container { width:100%; max-width:1200px; margin:0 auto; padding:0 24px; box-sizing:border-box; }
@media (max-width:640px) { .container { padding:0 16px; } }
.ico-i { width:1.15em; height:1.15em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; vertical-align:-.2em; flex-shrink:0; }
:focus-visible { outline:3px solid var(--azul); outline-offset:2px; }
@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }

/* Cabecera */
header.site-header { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.97); backdrop-filter:blur(10px); border-bottom:1px solid var(--borde); width:100%; }
.nav-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:10px 28px; max-width:1440px; margin:0 auto; width:100%; }
.nav-brand { display:flex; align-items:center; gap:10px; flex-shrink:0; min-width:0; }
.nav-brand img { height:44px; width:44px; border-radius:12px; object-fit:cover; display:block; }
.nav-brand-name { font-family:'Sora',sans-serif; font-weight:800; font-size:17px; color:var(--azul-tinta); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:220px; }
.nav-links { display:flex; gap:4px; align-items:center; flex-wrap:nowrap; }
.nav-links a { font-size:13.5px; font-weight:600; color:var(--texto-suave); padding:8px 13px; border-radius:999px; transition:background .15s,color .15s; white-space:nowrap; }
.nav-links a:hover, .nav-links a.active { background:var(--azul-suave); color:var(--azul-osc); }
.nav-cta { background:var(--azul) !important; color:#fff !important; padding:9px 18px !important; font-weight:700 !important; box-shadow:0 3px 0 var(--azul-osc); white-space:nowrap; }
.nav-cta:hover { filter:brightness(1.05); }
.nav-cta:active { transform:translateY(2px); box-shadow:0 1px 0 var(--azul-osc); }
.nav-toggle { display:none; background:none; border:1px solid var(--borde); border-radius:999px; padding:8px 10px; cursor:pointer; color:var(--texto); }
@media (min-width:761px) and (max-width:1160px) {
  .nav-row { padding:8px 16px; gap:8px; }
  .nav-links { gap:2px; }
  .nav-links a { font-size:12px; padding:6px 8px; }
  .nav-cta { padding:6px 12px !important; }
  .nav-brand-name { max-width:140px; font-size:15px; }
}
@media (max-width:760px) {
  .nav-row { padding:8px 14px; }
  .nav-links { display:flex !important; margin:0; }
  .nav-links a:not(.nav-cta) { display:none !important; }
  .nav-cta { padding:8px 14px !important; font-size:12.5px !important; }
  .nav-brand-name { max-width:150px; font-size:15px; }
  body { padding-bottom:calc(68px + var(--safe-b)); padding-top:64px; }
  header.site-header { position:fixed; top:0; left:0; right:0; width:100%; height:64px; }
}
.bottom-nav-mobile { display:none; }
@media (max-width:760px) {
  .bottom-nav-mobile { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:55; background:rgba(255,255,255,.97); backdrop-filter:blur(10px); border-top:1px solid var(--borde); padding:6px 4px calc(6px + var(--safe-b)); }
  .bottom-nav-mobile a { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; padding:7px 2px; min-height:48px; font-size:10.5px; font-weight:700; color:var(--texto-suave); }
  .bottom-nav-mobile a.active { color:var(--azul-osc); }
  .bottom-nav-mobile svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
}

/* Portada */
.hero { position:relative; overflow:hidden; background:linear-gradient(180deg,var(--azul-suave) 0%, var(--blanco) 70%); padding:64px 0 44px; }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; }
@media (max-width:860px) { .hero-grid { grid-template-columns:1fr; gap:32px; } .hero { padding:36px 0 28px; } }
.eyebrow { display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--azul-osc); background:#fff; border:1px solid var(--azul-linea); padding:6px 14px; border-radius:999px; margin-bottom:16px; }
.eyebrow svg { width:16px; height:16px; flex:none; fill:none; stroke:var(--azul); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.hero h1 { font-size:clamp(2.1rem,4.6vw,3.5rem); line-height:1.05; margin-bottom:16px; color:var(--azul-tinta); }
.hero h1 em { font-style:normal; color:var(--azul); }
.hero p.lead { font-size:16.5px; color:var(--texto-suave); max-width:500px; margin-bottom:26px; }
.btn-row { display:flex; gap:12px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:700; font-size:14px; padding:13px 24px; min-height:46px; border-radius:999px; border:none; cursor:pointer; font-family:inherit; transition:transform .08s, box-shadow .08s, filter .15s; }
.btn-primary { background:var(--azul); color:#fff; box-shadow:0 4px 0 var(--azul-osc); }
.btn-primary:hover { filter:brightness(1.06); }
.btn-primary:active { transform:translateY(3px); box-shadow:0 1px 0 var(--azul-osc); }
.btn-primary:disabled { background:#B8C4D6; box-shadow:0 4px 0 #9AA7BB; cursor:not-allowed; }
.btn-outline { background:#fff; color:var(--azul-osc); border:1.5px solid var(--azul-linea); box-shadow:0 3px 0 var(--azul-linea); }
.btn-outline:hover { background:var(--azul-suave); }
.btn-outline:active { transform:translateY(2px); box-shadow:0 1px 0 var(--azul-linea); }
.btn-block { width:100%; justify-content:center; }
.hero-stats { display:flex; gap:26px; margin-top:28px; flex-wrap:wrap; }
.hero-stats .stat b { display:block; font-family:'Sora',sans-serif; font-size:22px; font-weight:800; color:var(--azul-tinta); }
.hero-stats .stat span { font-size:11.5px; color:var(--texto-suave); text-transform:uppercase; letter-spacing:.05em; }

/* Mosaico de rubros de la portada (SVG, sin fotos) */
.hero-tiles { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; position:relative; }
.tile { aspect-ratio:1/1; border-radius:22px; background:#fff; border:1px solid var(--azul-linea); box-shadow:var(--sombra); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:var(--azul-osc); font-weight:800; font-size:12.5px; text-align:center; padding:8px; transition:transform .2s; }
.tile:nth-child(2), .tile:nth-child(5) { transform:translateY(18px); background:var(--azul-suave); }
.tile:nth-child(4) { background:var(--azul); color:#fff; border-color:var(--azul); }
.tile:hover { transform:translateY(-4px); }
.tile svg { width:38%; height:auto; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hero-ticket { grid-column:1/-1; justify-self:end; margin-top:24px; background:#fff; border:1px dashed var(--azul); border-radius:14px; padding:10px 14px; font:700 11px 'IBM Plex Mono',monospace; color:var(--azul-tinta); box-shadow:var(--sombra); display:flex; align-items:center; gap:10px; }
.hero-ticket svg { width:34px; height:20px; stroke:var(--azul-tinta); fill:none; stroke-width:1.6; }
@media (max-width:860px) { .hero-ticket { justify-self:center; } }

/* Secciones */
section { padding:56px 0; }
@media (max-width:640px) { section { padding:40px 0; } }
.section-head { text-align:center; max-width:600px; margin:0 auto 36px; }
.section-head h1, .section-head h2 { font-size:clamp(1.6rem,3vw,2.2rem); margin-bottom:10px; color:var(--azul-tinta); }
.section-head p { color:var(--texto-suave); font-size:14.5px; }
.bg-soft { background:var(--gris-claro); }
.split-2 { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
@media (max-width:800px) { .split-2 { grid-template-columns:1fr; gap:28px; } }
.split-2 h2 { font-size:1.8rem; margin-bottom:14px; color:var(--azul-tinta); }
.split-2 p { color:#3E4044; font-size:15px; line-height:1.65; margin-bottom:12px; }

/* Tarjetas de servicios y valores */
.servicio-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.servicio-card { background:#fff; border:1px solid var(--borde); border-radius:20px; padding:26px 22px; box-shadow:var(--sombra); display:flex; flex-direction:column; gap:8px; transition:transform .2s, border-color .2s; }
.servicio-card:hover { transform:translateY(-3px); border-color:var(--azul-linea); }
.servicio-card h3 { font-size:17px; color:var(--azul-tinta); }
.servicio-card p { font-size:14px; color:var(--texto-suave); line-height:1.6; }
.servicio-card .btn { margin-top:auto; }
.pasos { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; counter-reset:paso; }
.paso-box { text-align:center; padding:26px 20px; background:#fff; border:1px solid var(--borde); border-radius:20px; }
.paso-num { width:46px; height:46px; border-radius:50%; background:var(--azul-suave); color:var(--azul-osc); display:inline-flex; align-items:center; justify-content:center; font-family:'Sora',sans-serif; font-weight:800; font-size:18px; margin-bottom:14px; }
.paso-box h3 { font-size:17px; margin-bottom:8px; }
.paso-box p { color:var(--texto-suave); font-size:13.5px; line-height:1.6; }
.feature-icon-box { width:48px; height:48px; border-radius:14px; background:var(--azul-suave); color:var(--azul-osc); display:flex; align-items:center; justify-content:center; margin-bottom:12px; flex-shrink:0; border:1px solid var(--azul-linea); }
.feature-icon-box svg { width:24px; height:24px; stroke:var(--azul-osc); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.dato-fila { display:flex; align-items:flex-start; gap:12px; }
.dato-fila .feature-icon-box { width:40px; height:40px; margin:0; }
.dato-fila b { font-size:14px; display:block; }
.dato-fila span { color:var(--texto-suave); font-size:13.5px; }

/* Catálogo: buscador y categorías */
.menu-search { margin-bottom:14px; }
.menu-search input { width:100%; padding:14px 16px; border-radius:14px; border:1.5px solid var(--borde); background:#fff; font-size:14.5px; font-family:inherit; color:var(--texto); }
.menu-search input::placeholder { color:var(--texto-suave); }
.menu-search input:focus { outline:none; border-color:var(--azul); box-shadow:0 0 0 3px var(--azul-suave); }
.cat-scroll-box { position:relative; margin-bottom:26px; width:100%; max-width:100%; min-width:0; overflow:hidden; }
.cat-carousel { display:flex; gap:12px; width:100%; max-width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; padding:8px 2px 14px; scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; }
.cat-carousel::-webkit-scrollbar { display:none; width:0; height:0; }
.cat-card-btn { flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:8px; background:none; border:none; padding:6px 4px; cursor:pointer; text-align:center; color:var(--texto); font-family:inherit; width:92px; min-width:0; }
.cat-card-img { width:72px; height:72px; border-radius:22px; overflow:hidden; background:var(--azul-suave); color:var(--azul-osc); border:2px solid var(--azul-linea); display:flex; align-items:center; justify-content:center; transition:border-color .18s, box-shadow .18s, transform .18s; }
.cat-card-img img { width:100%; height:100%; object-fit:cover; }
.cat-card-img svg { width:34px; height:34px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cat-card-btn:hover .cat-card-img { transform:translateY(-3px); }
.cat-card-name { font-size:12.5px; font-weight:700; line-height:1.25; color:var(--texto); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; word-break:break-word; max-width:88px; }
.cat-card-btn.active .cat-card-img { background:var(--azul); color:#fff; border-color:var(--azul); box-shadow:0 8px 18px -8px rgba(24,119,242,.7); }
.cat-card-btn.active .cat-card-name { color:var(--azul-osc); font-weight:800; }

/* Productos */
.prod-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px; width:100%; max-width:100%; }
.prod-card { background:#fff; border:1px solid var(--borde); border-radius:18px; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .2s,transform .2s; min-width:0; }
.prod-card:hover { box-shadow:var(--sombra); transform:translateY(-2px); }
.prod-card.agotado { opacity:.7; }
.prod-img { position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:4/3; overflow:hidden; background:var(--azul-suave); color:var(--azul-linea); cursor:pointer; }
.prod-img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.prod-img:hover img { transform:scale(1.05); }
.prod-ph { width:42%; height:auto; fill:none; stroke:var(--azul); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; opacity:.55; }
.prod-etq-row { position:absolute; top:9px; left:9px; display:flex; flex-wrap:wrap; gap:5px; max-width:calc(100% - 18px); }
.prod-etq-badge { font-size:11.5px; font-weight:800; letter-spacing:.02em; text-transform:uppercase; color:#fff; padding:4px 10px; border-radius:999px; white-space:nowrap; box-shadow:0 3px 10px rgba(0,0,0,.25); }
.prod-agotado-badge { position:absolute; right:9px; bottom:9px; background:#fff; color:var(--rojo); font-size:11.5px; font-weight:800; padding:4px 10px; border-radius:999px; border:1px solid var(--rojo); }
.prod-body { padding:14px 16px 16px; display:flex; flex-direction:column; gap:5px; flex:1; }
.prod-marca { font-size:11.5px; font-weight:700; color:var(--azul-osc); text-transform:uppercase; letter-spacing:.05em; }
.prod-body h3 { font-size:15px; font-weight:700; color:var(--texto); cursor:pointer; line-height:1.3; }
.prod-body p { font-size:13px; color:var(--texto-suave); line-height:1.45; flex:1; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.prod-foot { display:flex; align-items:center; justify-content:space-between; margin-top:6px; gap:6px; }
.prod-price { font-family:'Sora',sans-serif; font-weight:800; color:var(--azul-osc); font-size:15px; }
.prod-price small { font:600 11px 'Inter',sans-serif; color:var(--texto-suave); }
.prod-add { background:var(--azul); color:#fff; border:none; width:38px; height:38px; border-radius:50%; font-size:20px; cursor:pointer; display:flex; align-items:center; justify-content:center; font-weight:700; box-shadow:0 3px 0 var(--azul-osc); }
.prod-add:active { transform:translateY(2px); box-shadow:0 1px 0 var(--azul-osc); }
.prod-add:disabled { background:#B8C4D6; box-shadow:0 3px 0 #9AA7BB; cursor:not-allowed; }
.prod-opciones { border:1.5px solid var(--azul-linea); background:#fff; color:var(--azul-osc); border-radius:999px; padding:0 14px; min-height:38px; font:700 12.5px 'Inter',sans-serif; cursor:pointer; }
.prod-opciones:hover { background:var(--azul-suave); }
.prod-qty { display:flex; align-items:center; gap:8px; }
.prod-qty button { width:32px; height:32px; border-radius:50%; border:1.5px solid var(--azul-linea); background:#fff; color:var(--azul-osc); font-weight:700; cursor:pointer; }
.prod-qty button:hover { background:var(--azul-suave); }
.prod-qty span { font-weight:700; min-width:18px; text-align:center; }
@media (max-width:640px) {
  .prod-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .prod-body { padding:10px 10px 12px; gap:4px; }
  .prod-body h3 { font-size:13.5px; }
  .prod-body p { display:none; }
  .prod-price { font-size:13.5px; white-space:nowrap; }
  .prod-foot { flex-wrap:wrap; }
}

/* Modal de producto: variantes y peso */
.prod-modal-overlay { display:none; position:fixed; inset:0; z-index:110; background:rgba(11,42,89,.5); align-items:center; justify-content:center; padding:16px; }
.prod-modal-overlay.open { display:flex; }
.prod-modal { background:#fff; border-radius:22px; overflow:hidden; max-width:440px; width:100%; max-height:92vh; overflow-y:auto; position:relative; box-shadow:0 30px 60px -20px rgba(11,42,89,.45); }
.prod-modal-close { position:absolute; top:12px; right:12px; width:38px; height:38px; border-radius:50%; border:none; background:#fff; color:var(--texto); cursor:pointer; z-index:2; box-shadow:0 4px 12px rgba(11,42,89,.25); display:flex; align-items:center; justify-content:center; }
.prod-modal-img { aspect-ratio:16/10; background:var(--azul-suave); display:flex; align-items:center; justify-content:center; }
.prod-modal-img img { width:100%; height:100%; object-fit:cover; }
.prod-modal-body { padding:20px 22px 24px; }
.prod-modal-body h3 { font-size:19px; margin-bottom:6px; }
.prod-modal-etq-row { display:flex; flex-wrap:wrap; gap:5px; margin:0 0 10px; }
.prod-modal-etq-row:empty { margin:0; }
.prod-modal-etq-row .prod-etq-badge { box-shadow:none; }
.prod-modal-body p { font-size:14.5px; color:#3E4044; line-height:1.6; margin-bottom:14px; }
.prod-modal-subtitle { font:700 11.5px 'Sora',sans-serif; text-transform:uppercase; letter-spacing:.05em; color:var(--azul-osc); margin-bottom:8px; }
.var-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.var-chip { min-height:42px; padding:0 16px; border-radius:12px; border:1.5px solid var(--borde); background:#fff; color:var(--texto); font:700 13px 'Inter',sans-serif; cursor:pointer; box-shadow:0 3px 0 var(--borde); }
.var-chip:hover { border-color:var(--azul); }
.var-chip[aria-checked="true"] { border-color:var(--azul); background:var(--azul-suave); color:var(--azul-osc); box-shadow:0 3px 0 var(--azul-linea); }
.var-chip:disabled { opacity:.45; text-decoration:line-through; cursor:not-allowed; }
.peso-box { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.peso-box label { font:700 11.5px 'Inter',sans-serif; color:var(--texto-suave); text-transform:uppercase; letter-spacing:.04em; display:block; margin-bottom:4px; }
.peso-box input { width:100%; padding:11px 12px; border:1.5px solid var(--borde); border-radius:11px; font:600 15px 'Inter',sans-serif; }
.peso-rapido { display:flex; gap:6px; flex-wrap:wrap; margin:-6px 0 14px; }
.peso-rapido button { min-height:34px; padding:0 12px; border-radius:999px; border:1.5px solid var(--azul-linea); background:#fff; color:var(--azul-osc); font:700 12px 'Inter',sans-serif; cursor:pointer; }
.prod-modal-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:6px; }
.prod-modal-foot .prod-price { font-size:19px; }

/* Carrito */
#cartFab { position:fixed; right:20px; bottom:calc(20px + var(--safe-b)); z-index:70; background:var(--azul); color:#fff; border:none; border-radius:999px; padding:14px 22px; font-weight:800; font-size:14px; display:flex; align-items:center; gap:10px; box-shadow:0 4px 0 var(--azul-osc), 0 16px 30px -12px rgba(24,119,242,.6); cursor:pointer; }
@media (max-width:760px) { #cartFab { bottom:calc(76px + var(--safe-b)); } }
#cartFab .badge { background:#fff; color:var(--azul-osc); border-radius:50%; width:22px; height:22px; display:flex; align-items:center; justify-content:center; font-size:12px; }
#cartFab[hidden] { display:none; }
.cart-overlay { display:none; position:fixed; inset:0; z-index:90; background:rgba(11,42,89,.45); }
.cart-overlay.open { display:block; }
.cart-drawer { position:fixed; top:0; right:0; height:100%; width:100%; max-width:420px; background:#fff; z-index:95; transform:translateX(100%); transition:transform .3s ease; display:flex; flex-direction:column; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:calc(20px + var(--safe-t)) 20px calc(20px + var(--safe-b)); }
@media (max-width:760px) { .cart-drawer { padding-bottom:calc(84px + var(--safe-b)); } }
.cart-overlay.open .cart-drawer { transform:translateX(0); }
.cart-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.cart-close { background:none; border:1px solid var(--borde); border-radius:10px; width:38px; height:38px; cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--texto); }
.cart-items { flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:12px; }
.cart-item { display:flex; gap:10px; align-items:center; }
.cart-item img, .cart-item .ci-ph { width:52px; height:52px; border-radius:12px; object-fit:cover; flex-shrink:0; background:var(--azul-suave); }
.cart-item .ci-info { flex:1; min-width:0; }
.cart-item .ci-name { font-size:13px; font-weight:700; }
.cart-item .ci-price { font-size:12px; color:var(--texto-suave); }
.cart-item .ci-nota { font-size:11.5px; color:var(--azul-osc); margin-top:3px; cursor:pointer; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:180px; }
.cart-item .ci-nota-add { font-size:11.5px; color:var(--texto-suave); background:none; border:none; padding:0; margin-top:3px; cursor:pointer; text-decoration:underline; }
.ci-peso { width:84px; padding:7px 8px; border:1.5px solid var(--borde); border-radius:10px; font:600 13px 'Inter',sans-serif; text-align:right; }
.cart-empty { text-align:center; color:var(--texto-suave); font-size:13.5px; padding:40px 0; }
.cart-total-row { display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid var(--borde); margin-top:12px; font-size:13.5px; }
.cart-total-row.grand { font-weight:800; font-size:16px; }

/* Formularios */
.form-card { background:#fff; border:1px solid var(--borde); border-radius:20px; padding:26px; max-width:480px; margin:0 auto; }
.form-field { margin-bottom:14px; }
.form-field label { font-size:12px; font-weight:700; color:var(--texto-suave); display:block; margin-bottom:6px; text-transform:uppercase; letter-spacing:.03em; }
.form-field input, .form-field select, .form-field textarea { width:100%; padding:13px 14px; border:1.5px solid var(--borde); border-radius:12px; font-size:15px; font-family:inherit; color:var(--texto); background:var(--gris-claro); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline:none; border-color:var(--azul); background:#fff; box-shadow:0 0 0 3px var(--azul-suave); }
.form-field textarea { min-height:72px; resize:vertical; }
.form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:480px) { .form-row-2 { grid-template-columns:1fr; } }
.recognized-badge { display:flex; align-items:center; gap:8px; background:var(--azul-suave); color:var(--azul-osc); font-size:12.5px; font-weight:700; padding:9px 14px; border-radius:12px; margin-bottom:14px; }
.saved-address { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 13px; border:1.5px solid var(--borde); border-radius:12px; margin-bottom:8px; cursor:pointer; font-size:12.5px; }
.saved-address:hover, .saved-address.selected { border-color:var(--azul); background:var(--azul-suave); }
.confirm-box { text-align:center; padding:40px 20px; }
.confirm-box .ok-mark { width:60px; height:60px; border-radius:50%; background:var(--azul-suave); color:var(--azul-osc); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:28px; }

/* Pie */
footer.site-footer { background:var(--azul-tinta); color:#E6EEFB; padding:48px 0 30px; margin-top:20px; }
.footer-grid { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:32px; margin-bottom:30px; }
@media (max-width:900px) { .footer-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:560px) { .footer-grid { grid-template-columns:1fr; } }
.footer-grid h4 { font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:#9DB7E3; margin-bottom:12px; }
.footer-grid p, .footer-grid a { font-size:13.5px; color:#E6EEFB; display:block; margin-bottom:8px; }
.footer-grid a:hover { text-decoration:underline; }
.footer-blurb { line-height:1.55; color:#C5D5F0 !important; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.14); padding-top:18px; font-size:12px; color:#9DB7E3; text-align:center; }
.footer-bottom a { color:inherit; text-decoration:underline; }

/* Instalar app */
.smart-banner { display:none; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px; background:var(--azul); color:#fff; }
.smart-banner.show { display:flex; }
.install-modal-overlay { display:none; position:fixed; inset:0; background:rgba(11,42,89,.55); z-index:150; align-items:flex-end; justify-content:center; padding:16px; }
.install-modal-overlay.active { display:flex; }
.install-sheet { background:#fff; border-radius:22px; padding:24px; max-width:440px; width:100%; position:relative; animation:fcSlideUp .3s cubic-bezier(0.16,1,0.3,1); max-height:85vh; overflow-y:auto; }
@keyframes fcSlideUp { from{ transform:translateY(60px); opacity:0; } to{ transform:translateY(0); opacity:1; } }
.sheet-close { position:absolute; top:14px; right:14px; background:none; border:none; color:var(--texto-suave); cursor:pointer; padding:6px; line-height:1; }
.sheet-head { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.sheet-icon { width:52px; height:52px; border-radius:14px; background:var(--azul-suave); border:1.5px solid var(--azul-linea); display:flex; align-items:center; justify-content:center; font:800 24px 'Sora',sans-serif; color:var(--azul-osc); flex-shrink:0; overflow:hidden; }
.sheet-head h3 { font-size:18px; margin-bottom:2px; }
.sheet-head p { font-size:12.5px; color:var(--texto-suave); }
.ios-step { display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--gris-claro); padding:10px 14px; border-radius:12px; font-size:13px; margin-bottom:8px; }

/* Aviso emergente */
.toast { position:fixed; bottom:calc(20px + var(--safe-b)); left:50%; transform:translateX(-50%); background:var(--azul-tinta); color:#fff; padding:12px 20px; border-radius:12px; font-size:13.5px; z-index:200; opacity:0; pointer-events:none; transition:opacity .3s; max-width:90vw; text-align:center; }
.toast.show { opacity:1; }
@media (max-width:760px) { .toast { bottom:calc(84px + var(--safe-b)); } }

/* Páginas de texto (términos, privacidad, preguntas) */
.doc { max-width:780px; margin:0 auto; }
.doc h1 { font-size:clamp(1.6rem,3vw,2.2rem); color:var(--azul-tinta); margin-bottom:6px; }
.doc h2 { font-size:1.15rem; margin:26px 0 8px; color:var(--azul-tinta); }
.doc p, .doc li { font-size:14.5px; color:#3E4044; line-height:1.7; margin-bottom:10px; }
.doc ul { padding-left:20px; }
.doc .meta { color:var(--texto-suave); font-size:13px; margin-bottom:20px; }
.faq-lista { max-width:780px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.faq-lista details { background:#fff; border:1px solid var(--borde); border-radius:16px; padding:0 18px; }
.faq-lista details[open] { border-color:var(--azul-linea); box-shadow:var(--sombra); }
.faq-lista summary { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; font:700 15px 'Sora',sans-serif; list-style:none; }
.faq-lista summary::-webkit-details-marker { display:none; }
.faq-lista summary::after { content:'+'; font:700 22px 'Sora',sans-serif; color:var(--azul); }
.faq-lista details[open] summary::after { content:'−'; }
.faq-lista details p { padding:0 0 16px; color:#3E4044; font-size:14.5px; line-height:1.65; }

/* Portada con fotos del negocio (uploads/portadas): reemplaza el mosaico, las fotos se alternan con un fundido suave */
.hero-portada { position:relative; aspect-ratio:16/9; border-radius:22px; overflow:hidden; box-shadow:var(--sombra); background:var(--azul-suave); }
.hero-portada img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .9s ease; }
.hero-portada img.on { opacity:1; }
@media (max-width:860px) { .hero-portada { aspect-ratio:16/10; border-radius:16px; } }
