/* =========================================================
   QueBuscasRD — El diseño del negocio en sus demás páginas
   (19 oct. 2026, v104)
   ---------------------------------------------------------
   Lo carga includes/tema_negocio.php, que pone en <html> la
   clase tp tp-t-<plantilla> y el color del negocio en --tp-marca.
   Viste la tienda, el carrito, finalizar pedido, comprobante,
   reservar, reprogramar, seguimientos, cotización y solicitud
   con los colores y letras de la plantilla del negocio, sin
   cambiar cómo funcionan.
   ========================================================= */

@font-face { font-family: 'Plus Jakarta Sans'; src: url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url('../fonts/temas/cinzel-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Outfit Tema'; src: url('../fonts/temas/outfit-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/temas/cormorant-garamond-latin-700-normal.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('../fonts/temas/montserrat-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/temas/poppins-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/temas/poppins-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/temas/poppins-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/temas/poppins-latin-700-normal.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('../fonts/temas/rubik-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

/* ---------- Colores y letras de cada plantilla ---------- */
html.tp-t-pro {
    --tp-p: color-mix(in srgb, var(--tp-marca) 74%, #0F172A); --tp-ph: #0F172A; --tp-ps: color-mix(in srgb, var(--tp-marca) 9%, #fff);
    --tp-acento: var(--tp-marca); --tp-fondo: #F8FAFC;
    --tp-fuente: 'Plus Jakarta Sans', system-ui, sans-serif; --tp-titulos: 'Plus Jakarta Sans', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.02em;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--tp-marca) 40%, transparent), transparent 70%), #0F172A;
}
html.tp-t-restaurante {
    --tp-p: #881337; --tp-ph: #4C0519; --tp-ps: #FFF1F2; --tp-acento: #D97706; --tp-fondo: #FAFAF9;
    --tp-fuente: 'Outfit Tema', system-ui, sans-serif; --tp-titulos: 'Cinzel', Georgia, serif; --tp-tit-peso: 700; --tp-tit-esp: .03em;
    --tp-barra: #4C0519; --tp-barra-borde: #881337; --tp-barra-acento: #FBBF24;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(217, 119, 6, .35), transparent 70%), #4C0519;
}
html.tp-t-medico {
    --tp-p: #0284C7; --tp-ph: #0369A1; --tp-ps: #F0F9FF; --tp-acento: #14B8A6; --tp-fondo: #F8FAFC;
    --tp-fuente: 'Plus Jakarta Sans', system-ui, sans-serif; --tp-titulos: 'Plus Jakarta Sans', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.02em;
    --tp-barra: linear-gradient(90deg, #0C4A6E, #075985 50%, #115E59); --tp-barra-borde: #075985; --tp-barra-acento: #5EEAD4;
    --tp-hero: linear-gradient(120deg, #0C4A6E, #075985 50%, #115E59);
}
html.tp-t-belleza {
    --tp-p: #171717; --tp-ph: #000; --tp-ps: #F5F5F4; --tp-acento: #D97706; --tp-fondo: #FAFAF9;
    --tp-fuente: 'Montserrat', system-ui, sans-serif; --tp-titulos: 'Cormorant Garamond', Georgia, serif; --tp-tit-peso: 700; --tp-tit-esp: .03em;
    --tp-barra: #0A0A0A; --tp-barra-borde: #262626; --tp-barra-acento: #FBBF24;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(217, 119, 6, .35), transparent 70%), #171717;
}
html.tp-t-farmacia {
    --tp-p: #059669; --tp-ph: #047857; --tp-ps: #ECFDF5; --tp-acento: #059669; --tp-fondo: #F6FBF8;
    --tp-fuente: 'Poppins', system-ui, sans-serif; --tp-titulos: 'Poppins', system-ui, sans-serif; --tp-tit-peso: 700; --tp-tit-esp: -.01em;
    --tp-barra: linear-gradient(90deg, #065F46, #0F766E 50%, #155E75); --tp-barra-borde: #0F766E; --tp-barra-acento: #6EE7B7;
    --tp-hero: linear-gradient(120deg, #065F46, #0F766E 50%, #155E75);
}
html.tp-t-colmado {
    --tp-p: #DC2626; --tp-ph: #B91C1C; --tp-ps: #FEF2F2; --tp-acento: #F59E0B; --tp-fondo: #FAFAF9;
    --tp-fuente: 'Rubik', system-ui, sans-serif; --tp-titulos: 'Rubik', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.02em;
    --tp-barra: linear-gradient(90deg, #DC2626, #F59E0B 60%, #D97706); --tp-barra-borde: #F59E0B; --tp-barra-acento: #FDE047;
    --tp-hero: linear-gradient(120deg, #DC2626, #EA580C 55%, #D97706);
}

@font-face { font-family: 'Space Grotesk'; src: url('../fonts/temas/space-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('../fonts/temas/public-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Chivo'; src: url('../fonts/temas/chivo-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/temas/source-sans-3-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/temas/newsreader-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter Tema'; src: url('../fonts/temas/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

/* Segunda tanda (v105) */
html.tp-t-tecnologia {
    --tp-p: #1C1B1A; --tp-ph: #2C2B29; --tp-ps: #F4F3EF; --tp-acento: #D9381E; --tp-fondo: #FAF9F6;
    --tp-fuente: 'Public Sans', system-ui, sans-serif; --tp-titulos: 'Space Grotesk', system-ui, sans-serif; --tp-tit-peso: 700; --tp-tit-esp: -.02em;
    --tp-barra: #1C1B1A; --tp-barra-borde: #44403C; --tp-barra-acento: #34D399;
    --tp-hero: radial-gradient(#3F3F46 1px, transparent 1px) 0 0 / 16px 16px, #1C1B1A;
}
html.tp-t-celulares {
    --tp-p: #2557A7; --tp-ph: #1D4690; --tp-ps: #EFF6FF; --tp-acento: #2557A7; --tp-fondo: #F7F5F0;
    --tp-fuente: 'Plus Jakarta Sans', system-ui, sans-serif; --tp-titulos: 'Plus Jakarta Sans', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.03em;
    --tp-barra: #121316; --tp-barra-borde: #2C2B29; --tp-barra-acento: #93C5FD;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(37, 87, 167, .5), transparent 70%), #121316;
}
html.tp-t-ferreteria {
    --tp-p: #333A42; --tp-ph: #1C1B1A; --tp-ps: #F4F3EF; --tp-acento: #D97706; --tp-fondo: #F9F8F6;
    --tp-fuente: 'Source Sans 3', system-ui, sans-serif; --tp-titulos: 'Chivo', system-ui, sans-serif; --tp-tit-peso: 900; --tp-tit-esp: .02em;
    --tp-barra: #333A42; --tp-barra-borde: #D97706; --tp-barra-acento: #FBBF24;
    --tp-hero: linear-gradient(135deg, #1C1B1A, #333A42);
}
html.tp-t-taller {
    --tp-p: #111111; --tp-ph: #6B1111; --tp-ps: #FAF7F2; --tp-acento: #6B1111; --tp-fondo: #FAF7F2;
    --tp-fuente: 'Inter Tema', system-ui, sans-serif; --tp-titulos: 'Newsreader', Georgia, serif; --tp-tit-peso: 500; --tp-tit-esp: -.01em;
    --tp-barra: #111111; --tp-barra-borde: #292524; --tp-barra-acento: #E7C9A9;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(107, 17, 17, .6), transparent 70%), #111111;
}
html.tp-t-gimnasio {
    --tp-p: #0055FF; --tp-ph: #0044CC; --tp-ps: #EEF3FF; --tp-acento: #0055FF; --tp-fondo: #F2F2F2;
    --tp-fuente: 'Inter Tema', system-ui, sans-serif; --tp-titulos: 'Inter Tema', system-ui, sans-serif; --tp-tit-peso: 900; --tp-tit-esp: -.03em;
    --tp-barra: #0A0A0A; --tp-barra-borde: #262626; --tp-barra-acento: #3B82F6;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(0, 85, 255, .45), transparent 70%), #0A0A0A;
}
/* Tercera tanda (24-oct-2026) */
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/temas/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/temas/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/temas/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Nunito Tema'; src: url('../fonts/temas/nunito-latin-wght-normal.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/temas/bodoni-moda-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/temas/jost-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Lexend'; src: url('../fonts/temas/lexend-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/temas/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
html.tp-t-taxi {
    --tp-p: #111111; --tp-ph: #000; --tp-ps: #FFF8DB; --tp-acento: #FFC400; --tp-fondo: #F5F5F2;
    --tp-fuente: 'Barlow', system-ui, sans-serif; --tp-titulos: 'Barlow Condensed', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: 0;
    --tp-barra: #111111; --tp-barra-borde: #FFC400; --tp-barra-acento: #FFC400;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(255, 196, 0, .35), transparent 70%), #111111;
}
html.tp-t-reposteria {
    --tp-p: #C2416B; --tp-ph: #4A2C2A; --tp-ps: #FDECF1; --tp-acento: #D9577F; --tp-fondo: #FFF6EE;
    --tp-fuente: 'Nunito Tema', system-ui, sans-serif; --tp-titulos: 'Fraunces', Georgia, serif; --tp-tit-peso: 700; --tp-tit-esp: -.02em;
    --tp-barra: #4A2C2A; --tp-barra-borde: #6B4441; --tp-barra-acento: #F7B6C8;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(217, 87, 127, .45), transparent 70%), #4A2C2A;
}
html.tp-t-boutique {
    --tp-p: #141414; --tp-ph: #000; --tp-ps: #F1E7DE; --tp-acento: #B07A68; --tp-fondo: #F6F1EA;
    --tp-fuente: 'Jost', system-ui, sans-serif; --tp-titulos: 'Bodoni Moda', Georgia, serif; --tp-tit-peso: 500; --tp-tit-esp: -.01em;
    --tp-barra: #141414; --tp-barra-borde: #2A2A2A; --tp-barra-acento: #E8C4B8;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(232, 196, 184, .35), transparent 70%), #141414;
}
html.tp-t-carwash {
    --tp-p: #0B2545; --tp-ph: #051528; --tp-ps: #E3F7FC; --tp-acento: #13C4E8; --tp-fondo: #F2F8FB;
    --tp-fuente: 'Lexend', system-ui, sans-serif; --tp-titulos: 'Lexend', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.03em;
    --tp-barra: #0B2545; --tp-barra-borde: #13C4E8; --tp-barra-acento: #7FE3F5;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(19, 196, 232, .4), transparent 70%), #0B2545;
}
html.tp-t-tecnico {
    --tp-p: #EA580C; --tp-ph: #1E293B; --tp-ps: #FFEDD5; --tp-acento: #F97316; --tp-fondo: #F8FAFC;
    --tp-fuente: 'Manrope', system-ui, sans-serif; --tp-titulos: 'Manrope', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.03em;
    --tp-barra: #1E293B; --tp-barra-borde: #F97316; --tp-barra-acento: #FDBA74;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(249, 115, 22, .4), transparent 70%), #1E293B;
}
@font-face { font-family: 'Newsreader'; src: url('../fonts/temas/newsreader-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/temas/source-sans-3-latin-wght-normal.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/temas/outfit-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
html.tp-t-campus {
    --tp-p: #1B365D; --tp-ph: #0F2440; --tp-ps: #F4ECD6; --tp-acento: #B8862B; --tp-fondo: #FAF7F0;
    --tp-fuente: 'Source Sans 3', system-ui, sans-serif; --tp-titulos: 'Newsreader', Georgia, serif; --tp-tit-peso: 600; --tp-tit-esp: -.015em;
    --tp-barra: #1B365D; --tp-barra-borde: #B8862B; --tp-barra-acento: #E8CF8A;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(184, 134, 43, .35), transparent 70%), #1B365D;
}
html.tp-t-idiomas {
    --tp-p: #E11D48; --tp-ph: #1E1B4B; --tp-ps: #FFE4E6; --tp-acento: #F43F5E; --tp-fondo: #FFFAF3;
    --tp-fuente: 'Nunito Tema', system-ui, sans-serif; --tp-titulos: 'Outfit', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: -.035em;
    --tp-barra: #1E1B4B; --tp-barra-borde: #F43F5E; --tp-barra-acento: #FDA4AF;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(244, 63, 94, .45), transparent 70%), #1E1B4B;
}
html.tp-t-oficios {
    --tp-p: #14213D; --tp-ph: #0A1222; --tp-ps: #FFF3D6; --tp-acento: #FCA311; --tp-fondo: #F4F4F1;
    --tp-fuente: 'Barlow', system-ui, sans-serif; --tp-titulos: 'Barlow Condensed', system-ui, sans-serif; --tp-tit-peso: 800; --tp-tit-esp: 0;
    --tp-barra: #14213D; --tp-barra-borde: #FCA311; --tp-barra-acento: #FCA311;
    --tp-hero: radial-gradient(60% 90% at 100% 0%, rgba(252, 163, 17, .35), transparent 70%), #14213D;
}
html.tp-t-oficios body :is(h1, h2) { text-transform: uppercase; }
html.tp-t-taxi body :is(h1, h2) { text-transform: uppercase; }
html.tp-t-taxi body .seg-barra { border-bottom-width: 3px !important; }
html.tp-t-ferreteria body .seg-barra { border-bottom-width: 3px !important; }
html.tp:is(.tp-t-ferreteria, .tp-t-gimnasio) body :is(h1, h2) { text-transform: uppercase; }
html.tp:is(.tp-t-tecnologia, .tp-t-ferreteria, .tp-t-taller, .tp-t-gimnasio) body :is(.ped-pie-btn, .car-pie-btn, .cp-pie button, .seg-barra-avatar) { border-radius: 4px !important; }

/* Las variables que ya usan estas páginas toman el color de la plantilla */
html.tp {
    --primario: var(--tp-p); --primario-hover: var(--tp-ph); --primario-suave: var(--tp-ps);
    --p: var(--tp-p); --ph: var(--tp-ph); --ps: var(--tp-ps);
    --marca: var(--tp-p);
    --boton: var(--tp-p);
    --fondo: var(--tp-fondo); --bg: var(--tp-fondo);
}
html.tp body { font-family: var(--tp-fuente) !important; }
html.tp body :is(button, input, select, textarea) { font-family: inherit; }
html.tp body :is(h1, h2) { font-family: var(--tp-titulos); letter-spacing: var(--tp-tit-esp); }
html.tp:is(.tp-t-restaurante, .tp-t-belleza) body :is(h1, h2) { font-weight: var(--tp-tit-peso); }
html.tp-t-belleza body :is(h1, h2) { font-size: 1.12em; }

/* ---------- Barra de arriba (atrás · negocio · inicio) ---------- */
html.tp body .seg-barra { font-family: var(--tp-fuente); }
html.tp:not(.tp-t-pro) body .seg-barra { background: var(--tp-barra); border-bottom-color: var(--tp-barra-borde); }
html.tp:not(.tp-t-pro) body .seg-barra-titulo strong { color: #fff; font-family: var(--tp-titulos); letter-spacing: var(--tp-tit-esp); }
html.tp:not(.tp-t-pro) body .seg-barra-titulo span { color: rgba(255, 255, 255, .78) !important; }
html.tp:not(.tp-t-pro) body .seg-barra-btn { background: rgba(255, 255, 255, .14); color: #fff; }
html.tp:not(.tp-t-pro) body .seg-barra-btn:hover { background: rgba(255, 255, 255, .24); }
html.tp:not(.tp-t-pro) body .seg-barra-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
/* Tienda y reprogramar tienen su propia barra */
html.tp:not(.tp-t-pro) body :is(header.cab, header.barra) { background: var(--tp-barra) !important; border-bottom-color: var(--tp-barra-borde) !important; color: #fff; }
html.tp:not(.tp-t-pro) body :is(header.cab, header.barra) :is(strong, .cab-nombre) { color: #fff !important; font-family: var(--tp-titulos); letter-spacing: var(--tp-tit-esp); }
html.tp:not(.tp-t-pro) body :is(header.cab, header.barra) :is(small, span) { color: rgba(255, 255, 255, .78) !important; }
html.tp:not(.tp-t-pro) body :is(header.cab, header.barra) .volver { background: rgba(255, 255, 255, .14) !important; color: #fff !important; border-color: transparent !important; }
html.tp:not(.tp-t-pro) body header.cab .btn:not(.btn-marca) { background: rgba(255, 255, 255, .12) !important; border-color: rgba(255, 255, 255, .3) !important; color: #fff !important; }
html.tp:not(.tp-t-pro) body header.cab .btn-marca { background: var(--tp-acento) !important; border-color: var(--tp-acento) !important; color: #fff !important; }
html.tp:not(.tp-t-pro) body header.mp-cab { border-bottom: 3px solid var(--tp-p); }

/* ---------- Botones y detalles que estaban con el azul de siempre ---------- */
html.tp body :is(.ped-pie-btn, .car-pie-btn, .cp-pie button, .btn-revision-aceptar, .buscar-cli .bc-fila button, .pc-siguiente) { background: var(--tp-p) !important; color: #fff !important; }
html.tp body :is(.ped-pie-btn, .car-pie-btn, .cp-pie button, .btn-revision-aceptar, .buscar-cli .bc-fila button, .pc-siguiente):hover { background: var(--tp-ph) !important; }
html.tp body .resena-pedido-btn:hover { background: var(--tp-ph) !important; }
html.tp body .ep-op:has(input:checked) { border-color: var(--tp-p) !important; background: var(--tp-ps) !important; box-shadow: 0 0 0 1px var(--tp-p) !important; }
html.tp body .ep-pago input:checked + span { background: var(--tp-p) !important; border-color: var(--tp-p) !important; }
html.tp body .ep-minimo a { color: var(--tp-p) !important; }
html.tp body .recoger-local svg { color: var(--tp-p) !important; }
html.tp body .revision-sustituto input { accent-color: var(--tp-p); }
html.tp body .buscar-cli .bc-fila input:focus { border-color: var(--tp-p) !important; }
html.tp body .seg-motor-foto { color: var(--tp-p) !important; }
html.tp body .seg-paso.actual .seg-paso-ico { color: var(--tp-p) !important; }
html.tp body :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--tp-p); }
/* Tarjeta grande de estado (seguimiento de pedido, de cotización…) */
html.tp body :is(.hero.seg-estado, .seg-estado) { background: var(--tp-hero) !important; }
/* Título grande de la tienda */
html.tp:not(.tp-t-pro) body .mini-hero { background: var(--tp-hero) !important; color: #fff; border-color: transparent !important; }
html.tp:not(.tp-t-pro) body .mini-hero :is(h1, p, span) { color: #fff !important; }
html.tp:not(.tp-t-pro) body .mini-hero .mh-etq { background: rgba(255, 255, 255, .14) !important; color: var(--tp-barra-acento) !important; }
