﻿/* Marketplace público (docs/Marketplace.md): portal y sitio de cada tienda. Línea visual de Default.aspx y de la MasterPage (paleta.css).
   La tienda cambia --mk-p (color primario) y --mk-s (secundario) con los colores de su empresa. */
:root {
    --mk-p: #00A2E8;
    --mk-pt: #ffffff;
    --mk-s: #800080;
    --mk-st: #ffffff;
    --mk-fondo: #f4f6fb;
    --mk-tarjeta: #ffffff;
    --mk-texto: #1b2433;
    --mk-suave: #6b7686;
    --mk-borde: #dfe4ee;
    --mk-ok: #1e8e3e;
    --mk-mal: #d93025;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --mk-fondo: #0f1622;
        --mk-tarjeta: #19222f;
        --mk-texto: #e8edf5;
        --mk-suave: #9aa8bb;
        --mk-borde: #2a3646;
    }
}
.mk-body { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--mk-fondo); color: var(--mk-texto); margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.mk-body > * { flex-shrink: 0; }
.mk-body a { color: inherit; }
.mk-contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* Portal: encabezado con los logos y, desde la mitad hacia abajo, los filtros */
.mk-hero { min-height: 52vh; background: linear-gradient(135deg, #00A2E8 0%, #5b3fa8 55%, #800080 100%); color: #fff; display: flex; flex-direction: column; }
.mk-hero-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; }
.mk-hero-top img { height: 64px; width: auto; background: #fff; border-radius: 12px; padding: 5px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.mk-hero-centro { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 20px 60px; }
.mk-hero-centro h1 { font-size: clamp(26px, 4.5vw, 44px); font-weight: 700; margin: 0 0 10px; color: #fff; }
.mk-hero-centro p { font-size: clamp(14px, 2vw, 18px); color: #fff; opacity: .92; margin: 0; max-width: 640px; }

.mk-filtros { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.12); padding: 18px 18px 8px; margin-top: -40px; position: relative; z-index: 2; }
.mk-fila { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-campo { flex: 1 1 180px; min-width: 150px; margin-bottom: 10px; }
.mk-campo.grande { flex: 2 1 280px; }
.mk-campo label { display: block; font-size: 12px; font-weight: 600; color: var(--mk-suave); margin: 0 0 4px; }
.mk-campo input, .mk-campo select { width: 100%; height: 42px; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 0 12px; background: var(--mk-fondo); color: var(--mk-texto); font-size: 14px; box-sizing: border-box; }
.mk-campo input:focus, .mk-campo select:focus { outline: 2px solid var(--mk-p); outline-offset: 0; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.mk-tag { border: 1px solid var(--mk-borde); background: var(--mk-fondo); color: var(--mk-texto); border-radius: 18px; padding: 4px 12px; font-size: 13px; cursor: pointer; line-height: 1.4; }
.mk-tag small { color: var(--mk-suave); }
.mk-tag.activa { background: #800080; border-color: #800080; color: #fff; }
.mk-tag.activa small { color: rgba(255,255,255,.8); }
.mk-acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.mk-btn { display: inline-block; border: 0; border-radius: 8px; padding: 10px 20px; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; background: #800080; color: #fff !important; }
.mk-btn:hover { filter: brightness(1.12); text-decoration: none; }
.mk-btn.suave { background: transparent; color: var(--mk-texto) !important; border: 1px solid var(--mk-borde); }
.mk-btn.tienda { background: var(--mk-s); color: var(--mk-st) !important; }

.mk-resultados { padding: 28px 0 40px; }
.mk-resumen { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--mk-suave); font-size: 14px; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.mk-card { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.mk-card { --cp: #00A2E8; --cpt: #fff; --cs: #800080; --cst: #fff; }
.mk-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.14); border-color: var(--cp); }
.mk-card-top { display: flex; gap: 12px; align-items: center; }
.mk-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #00A2E8, #800080); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.mk-logo img { width: 100%; height: 100%; object-fit: cover; }
.mk-card h3 { font-size: 17px; margin: 0; font-weight: 600; word-break: break-word; }
.mk-card .mk-giro { color: var(--mk-suave); font-size: 13px; }
.mk-card p { margin: 0; font-size: 14px; color: var(--mk-texto); }
.mk-card .mk-ubic { font-size: 13px; color: var(--mk-suave); }
.mk-etiquetas { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-etiqueta { background: rgba(128,0,128,.12); color: #800080; border-radius: 12px; padding: 2px 9px; font-size: 12px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mk-etiqueta { color: #d9a4d9; background: rgba(217,164,217,.14); } }
.mk-card .mk-btn { margin-top: auto; text-align: center; transition: background .15s, color .15s; }
.mk-card:hover .mk-btn { background: var(--cs); color: var(--cst) !important; border-color: transparent; }
.mk-logo.ini { background: var(--mk-p); color: var(--mk-pt); font-size: 24px; transition: background .15s, color .15s; }
.mk-card:hover .mk-logo.ini { background: var(--cp); color: var(--cpt); }
.mk-card .mk-local { font-size: 13px; color: var(--mk-suave); }
.mk-vacio { text-align: center; padding: 60px 20px; color: var(--mk-suave); }
.mk-vacio i { font-size: 40px; display: block; margin-bottom: 10px; opacity: .6; }
.mk-pag { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.mk-pag button, .mk-pag a { min-width: 38px; height: 38px; border: 1px solid var(--mk-borde); border-radius: 8px; background: var(--mk-tarjeta); color: var(--mk-texto); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 10px; font-size: 14px; }
.mk-pag .activa { background: #800080; color: #fff; border-color: #800080; }
.mk-pag [disabled] { opacity: .45; cursor: default; }

.mk-credito { text-align: center; padding: 18px 12px; font-size: 13px; color: var(--mk-suave); margin-top: auto; }
.mk-credito a { color: var(--mk-suave); text-decoration: none; }
.mk-credito a:hover { color: #f57c00; }
.mk-credito img { height: 18px; vertical-align: middle; margin-left: 4px; }

/* Sitio de la tienda */
.tn-cabecera { background: var(--mk-p); color: var(--mk-pt); }
.tn-cabecera .mk-contenedor { max-width: none; padding: 14px 28px; display: grid; grid-template-columns: 1fr minmax(240px, 560px) 1fr; align-items: center; gap: 16px; }
.tn-cabecera .tn-marca { justify-self: start; }
.tn-cabecera .tn-iconos { justify-self: end; }
@media (max-width: 800px) { .tn-cabecera .mk-contenedor { grid-template-columns: 1fr auto; padding: 10px 16px; } .tn-cabecera .tn-buscar { grid-column: 1 / -1; order: 3; } }
.tn-marca { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--mk-pt) !important; font-weight: 600; font-size: 15px; }
.tn-marca img { height: 64px; max-width: 220px; width: auto; border-radius: 8px; object-fit: contain; background: #fff; padding: 2px; }
.tn-buscar { display: flex; width: 100%; }
.tn-buscar input { flex: 1; height: 40px; border: 0; border-radius: 8px 0 0 8px; padding: 0 12px; font-size: 14px; min-width: 0; }
.tn-buscar button { height: 40px; border: 0; border-radius: 0 8px 8px 0; background: var(--mk-s); color: var(--mk-st); padding: 0 16px; cursor: pointer; }
.tn-iconos { display: flex; gap: 14px; align-items: center; }
.tn-iconos a, .tn-iconos button { color: var(--mk-pt); background: transparent; border: 0; font-size: 20px; cursor: pointer; position: relative; text-decoration: none; }
.tn-banner { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 5; max-height: 420px; }
.tn-banner a, .tn-banner div.tn-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; display: block; }
.tn-banner .tn-slide.activa { opacity: 1; z-index: 1; }
.tn-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-puntos { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.tn-puntos button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.tn-puntos button.activa { background: #fff; }
.tn-desc { margin: 28px 0 22px; padding: 30px 24px; border-radius: 18px; text-align: center; color: var(--mk-pt); background: linear-gradient(135deg, var(--mk-p), var(--mk-s)); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.tn-desc i { font-size: 26px; opacity: .85; display: block; margin-bottom: 8px; }
.tn-desc h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.3; color: inherit; }
.tn-layout { display: block; padding: 0 0 24px; }
.tn-menu { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 14px; padding: 0 0 8px; align-self: start; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.tn-menu h4 { font-size: 14px; margin: 0 0 8px; padding: 12px 16px; background: var(--mk-p); color: var(--mk-pt); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.tn-menu h4 i { margin-right: 6px; }
.tn-menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; margin: 2px 8px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--mk-texto); transition: background .15s, transform .15s; }
.tn-menu a:hover { background: var(--mk-fondo); transform: translateX(2px); }
.tn-menu a.activa { background: var(--mk-s); color: var(--mk-st); font-weight: 600; }
.tn-menu small { background: rgba(128,128,128,.18); border-radius: 10px; padding: 1px 8px; font-size: 12px; opacity: 1; }
.tn-menu a.activa small { background: rgba(255,255,255,.25); }
.tn-panel { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 14px; padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.tn-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tn-prod { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; position: relative; }
.tn-prod:hover { box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.tn-prod .tn-img { aspect-ratio: 1 / 1; background: var(--mk-fondo); display: flex; align-items: center; justify-content: center; color: var(--mk-suave); font-size: 40px; overflow: hidden; }
.tn-prod .tn-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-prod .tn-cuerpo { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tn-prod .tn-nombre { font-weight: 600; font-size: 14px; line-height: 1.3; word-break: break-word; }
.tn-prod .tn-cat { font-size: 12px; color: var(--mk-suave); }
.tn-precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.tn-precio b { font-size: 17px; color: var(--mk-texto); }
.tn-precio .tn-iva { font-size: 13px; color: var(--mk-suave); }
.tn-ficha .tn-precio .tn-iva { font-size: 14px; }
.tn-precio s { font-size: 13px; color: var(--mk-suave); }
.tn-badge { position: absolute; top: 8px; left: 8px; background: var(--mk-s); color: var(--mk-st); border-radius: 12px; padding: 2px 10px; font-size: 12px; font-weight: 600; z-index: 1; }
.tn-badge.dest { left: auto; right: 8px; background: #f5a623; color: #1b1b1b; }
.tn-stock { font-size: 12px; color: var(--mk-ok); }
.tn-stock.mal { color: var(--mk-mal); }
.tn-ficha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 24px 0 40px; }
@media (max-width: 800px) { .tn-ficha { grid-template-columns: 1fr; } }
.tn-ficha .tn-imagen { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 14px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 70px; color: var(--mk-suave); }
.tn-ficha .tn-imagen img { width: 100%; height: 100%; object-fit: cover; }
.tn-imagen-caja { position: relative; }
/* Columna de datos: «Volver» arriba a la derecha y «Entrega y retiro» pegada a la base de la imagen (misma altura que la imagen cuadrada) */
.tn-info { display: flex; flex-direction: column; align-self: start; aspect-ratio: 1 / 1; }
@media (max-width: 800px) { .tn-info { aspect-ratio: auto; } }
.tn-volver { align-self: flex-end; margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tn-cat-ficha { color: var(--mk-suave); font-size: 14px; margin-bottom: 4px; }
/* Especificaciones: ocupan el espacio libre de la columna y, si son muchas, se desplazan */
.tn-specs { flex: 1 1 0; min-height: 180px; max-height: 340px; overflow-y: auto; margin-top: 14px; border: 1px solid var(--mk-borde); border-radius: 12px; background: var(--mk-tarjeta); }
@media (max-width: 800px) { .tn-specs { flex: none; max-height: 320px; } }
.tn-specs h3 { margin: 0; padding: 12px 16px; font-size: 15px; }
.tn-spec { display: flex; gap: 12px; padding: 10px 16px; font-size: 14px; }
.tn-spec:nth-child(odd) { background: rgba(128,128,128,.09); }
.tn-spec span:first-child { flex: 0 0 38%; font-weight: 600; }
.tn-spec span:last-child { flex: 1 1 auto; overflow-wrap: anywhere; }
.tn-specs-vacio { margin-top: 14px; font-size: 14px; color: var(--mk-suave); }
.tn-ficha .tn-compra { margin-top: 30px; }
.tn-info .tn-envio { margin-top: auto; }
.tn-ficha h1 { font-size: 26px; margin: 0 0 6px; }
.tn-ficha .tn-precio b { font-size: 28px; }
.tn-texto { white-space: pre-wrap; margin: 16px 0; line-height: 1.6; }
.tn-descripcion { margin: -12px 0 36px; }
/* Panel de la descripción: hasta 550 px de alto y, si el texto o las imágenes lo superan, barra para desplazarse */
.tn-descripcion .tn-texto { margin: 0; max-height: 550px; overflow-y: auto; padding: 16px 20px; background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; }
/* Entrega y retiro de la ficha */
.tn-envio { margin-top: 18px; padding: 14px 16px; background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; font-size: 14px; }
.tn-envio h3 { margin: 0 0 8px; font-size: 15px; }
.tn-ent-fila { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--mk-borde); }
.tn-envio h3 + .tn-ent-fila { border-top: 0; }
.tn-ent-fila > i { width: 22px; text-align: center; margin-top: 3px; color: var(--mk-suave); }
.tn-ent-fila div div { color: var(--mk-suave); font-size: 13px; }
.tn-ent-costo { margin-left: 6px; font-weight: 600; color: var(--mk-p); }
/* Ficha con texto enriquecido (Editar ficha): títulos, listas, enlaces e imágenes dentro del texto */
.tn-rico { white-space: normal; overflow-wrap: anywhere; }
.tn-rico p { margin: 0 0 .8em; }
.tn-rico h2, .tn-rico h3, .tn-rico h4 { margin: 1.1em 0 .4em; line-height: 1.25; }
.tn-rico h2 { font-size: 1.45em; } .tn-rico h3 { font-size: 1.25em; } .tn-rico h4 { font-size: 1.08em; }
.tn-rico ul, .tn-rico ol { margin: 0 0 .8em; padding-left: 1.4em; }
.tn-rico blockquote { margin: 0 0 .8em; padding: 4px 14px; border-left: 3px solid rgba(128,128,128,.5); color: var(--mk-suave); }
.tn-rico img { max-width: 100%; height: auto; display: block; margin: .8em auto; border-radius: 6px; }
.tn-rico a { text-decoration: underline; }
.tn-rico hr { border: 0; border-top: 1px solid rgba(128,128,128,.35); margin: 1em 0; }
.tn-migas { font-size: 13px; color: var(--mk-suave); padding-top: 14px; }
.tn-migas a { text-decoration: none; }
.tn-pie { background: var(--mk-s); color: var(--mk-st); border-top: 1px solid var(--mk-borde); padding: 56px 0 0; margin-top: auto; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
.tn-pie > .mk-contenedor { flex: 1; width: 100%; box-sizing: border-box; padding-bottom: 36px; }
.tn-pie .tn-credito { text-align: center; padding: 16px 12px; font-size: 13px; border-top: 1px solid rgba(255,255,255,.25); }
.tn-pie .tn-credito a { color: var(--mk-st); text-decoration: none; opacity: .9; }
.tn-pie .tn-credito a:hover { opacity: 1; text-decoration: underline; }
.tn-pie .tn-credito img { height: 18px; vertical-align: middle; margin-left: 4px; background: #fff; border-radius: 4px; padding: 1px 3px; }
.tn-pie ~ .mk-credito { display: none; }
.tn-pie .mk-contenedor { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.tn-pie h4 { font-size: 15px; margin: 0 0 10px; }
.tn-pie table { font-size: 13px; border-collapse: collapse; }
.tn-pie td { padding: 2px 14px 2px 0; }
.tn-pie .tn-redes a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--mk-p); color: var(--mk-pt); font-size: 18px; margin-right: 8px; text-decoration: none; }
.tn-aviso { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; padding: 40px 20px; text-align: center; color: var(--mk-suave); margin: 60px auto; max-width: 560px; }

/* Botón flotante de WhatsApp (el de Default.aspx) */
.mk-float { position: fixed; width: 60px; height: 60px; bottom: 60px; right: 30px; background-color: #25d366; color: #fff !important; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 100; transform: scale(1); animation: mk-pulse 2s infinite; line-height: 60px; text-decoration: none; }
.mk-float:hover { animation: none; text-decoration: none; color: #25d366 !important; background-color: #fff; }
@keyframes mk-pulse { 0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(51,217,178,.7); } 70% { transform: scale(1); box-shadow: 0 0 0 30px rgba(51,217,178,0); } 100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(51,217,178,0); } }

/* Cuenta del cliente: botón de cabecera, modal de ingreso, código, splash */
.mk-cuenta-btn { background: rgba(255,255,255,.16); color: inherit; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; padding: 7px 16px; font-size: 14px; font-weight: 600; cursor: pointer; }
.mk-cuenta-btn:hover { background: rgba(255,255,255,.28); }
.mk-cuenta-btn { white-space: nowrap; }
.tn-cabecera .mk-cuenta-btn { color: var(--mk-pt); border-color: currentColor; background: transparent; }
.mk-cuenta-menu { position: relative; display: inline-block; }
.mk-cuenta-lista { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; background: var(--mk-tarjeta); color: var(--mk-texto); border: 1px solid var(--mk-borde); border-radius: 10px; box-shadow: 0 10px 28px rgba(0,0,0,.2); padding: 6px; z-index: 50; text-align: left; }
.mk-cuenta-lista a { display: block; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-size: 14px; color: var(--mk-texto); }
.mk-cuenta-lista a:hover { background: var(--mk-fondo); }
.mk-hero-top .mk-hero-der { display: flex; gap: 12px; align-items: center; color: #fff; }

.mk-modal { position: fixed; inset: 0; background: rgba(10,14,25,.6); display: none; align-items: center; justify-content: center; z-index: 9000; padding: 16px; }
.mk-modal.abierto { display: flex; }
.mk-modal-caja { position: relative; background: var(--mk-tarjeta); color: var(--mk-texto); border-radius: 16px; width: 100%; max-width: 420px; padding: 28px 26px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.4); max-height: 94vh; overflow-y: auto; }
.mk-modal-x { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--mk-suave); cursor: pointer; }
.mk-modal h3 { font-size: 22px; margin: 0 0 4px; font-weight: 700; }
.mk-m-sub { color: var(--mk-suave); font-size: 14px; margin: 0 0 16px; }
.mk-m-correo { font-weight: 600; text-align: center; margin: 0 0 12px; word-break: break-all; }
.mk-m-campo { margin-bottom: 12px; }
.mk-m-campo label { display: block; font-size: 12px; font-weight: 600; color: var(--mk-suave); margin-bottom: 4px; }
.mk-m-campo input { width: 100%; height: 44px; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 0 12px; background: var(--mk-fondo); color: var(--mk-texto); font-size: 15px; box-sizing: border-box; }
.mk-m-campo input:focus { outline: 2px solid #800080; }
.mk-m-canal { display: flex; flex-direction: column; gap: 4px; font-size: 14px; margin: 4px 0 10px; }
.mk-m-canal label, .mk-m-rec { font-weight: normal; margin: 0; font-size: 14px; display: block; }
.mk-m-off { color: var(--mk-suave); }
.mk-m-rec { margin: 0 0 12px; }
.mk-m-aviso { color: var(--mk-mal); font-size: 14px; min-height: 20px; margin-bottom: 8px; }
.mk-m-pie { text-align: center; font-size: 14px; margin-top: 14px; color: var(--mk-suave); }
.mk-m-pie a { color: #800080; font-weight: 600; text-decoration: none; }
.mk-m-pie a.off { color: var(--mk-suave); pointer-events: none; }
.mk-m-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mk-m-ok { text-align: center; font-size: 46px; color: #800080; margin-bottom: 6px; }
.mk-otp { display: flex; justify-content: center; gap: 8px; margin: 6px 0 12px; }
.mk-otp input { width: 46px; height: 56px; text-align: center; font-size: 26px; font-weight: 700; border: 2px solid var(--mk-borde); border-radius: 10px; background: var(--mk-fondo); color: var(--mk-texto); padding: 0; }
.mk-otp input:focus { border-color: #800080; outline: none; }
.mk-otp.mal { animation: mk-tiembla .4s; }
.mk-otp.mal input { border-color: var(--mk-mal); }
@keyframes mk-tiembla { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-7px); } 40%,80% { transform: translateX(7px); } }
@media (max-width: 380px) { .mk-otp input { width: 40px; height: 50px; } }

.mk-splash { position: fixed; inset: 0; z-index: 9500; background: linear-gradient(135deg, #00A2E8, #800080); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; pointer-events: none; }
.mk-splash.visible { opacity: 1; pointer-events: auto; }
.mk-splash-aro { width: 64px; height: 64px; border-radius: 50%; border: 5px solid rgba(255,255,255,.3); border-top-color: #fff; animation: mk-gira 0.9s linear infinite; }
.mk-splash-texto { margin-top: 18px; font-size: 20px; font-weight: 600; }
@keyframes mk-gira { to { transform: rotate(360deg); } }

/* Favoritos */
.mk-card { position: relative; }
.mk-fav { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--mk-borde); background: var(--mk-tarjeta); color: var(--mk-suave); cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: center; padding: 0; }
.mk-fav:hover { color: #e0245e; }
.mk-fav.on { color: #e0245e; border-color: #e0245e; }

/* Mi cuenta */
.mk-cuenta-pag { max-width: 900px; margin: 22px auto 40px; }
/* Pestañas de Mi cuenta */
.mk-cuenta-nav { display: flex; gap: 4px; overflow-y: hidden; border-bottom: 1px solid var(--mk-borde); margin-bottom: 18px; overflow-x: auto; }
.mk-cuenta-tab { flex: 0 0 auto; background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--mk-suave); cursor: pointer; white-space: nowrap; }
.mk-cuenta-tab:hover { color: var(--mk-texto); }
.mk-cuenta-tab.on { color: #800080; border-bottom-color: #800080; }
.mk-tag { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; border: 1px solid currentColor; white-space: nowrap; }
.mk-tag-alerta { color: #b45f00; } .mk-tag-info { color: #1d6fd6; } .mk-tag-prep { color: #7c3aed; } .mk-tag-envio { color: #0d9488; } .mk-tag-ok { color: #1a9d5b; } .mk-tag-rojo { color: #d33; }
.mk-tab-n { display: inline-block; min-width: 18px; padding: 1px 6px; margin-left: 6px; border-radius: 999px; background: #e0245e; color: #fff; font-size: 11px; line-height: 16px; text-align: center; }
.mk-actualizado { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #e0245e; color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; }
.mk-cuenta-punto { display: inline-block; width: 9px; height: 9px; margin-left: 4px; border-radius: 50%; background: #ffd400; box-shadow: 0 0 0 2px rgba(0,0,0,.18); vertical-align: top; }
.mk-cpanel { display: none; }
.mk-cpanel.on { display: block; }
.mk-panel { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 14px; padding: 22px; margin-bottom: 18px; }
.mk-panel h2 { font-size: 20px; margin: 0 0 14px; }
.mk-panel .mk-m-campo input[disabled] { opacity: .65; }

/* Carrito y pedido */
.tn-carrito { position: relative; font-size: 22px; }
.tn-n { position: absolute; top: -8px; right: -10px; background: var(--mk-s); color: var(--mk-st); border-radius: 10px; font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; font-weight: 700; padding: 0 4px; font-family: inherit; }
.tn-prod .tn-prod-enlace { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.tn-prod .tn-add { margin: 0 12px 12px; border: 0; border-radius: 8px; padding: 8px 10px; background: var(--mk-s); color: var(--mk-st); font-weight: 600; font-size: 13px; cursor: pointer; }
.tn-prod .tn-add:hover { filter: brightness(1.1); }
.tn-compra { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.tn-compra input { width: 84px; height: 44px; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 0 10px; background: var(--mk-fondo); color: var(--mk-texto); font-size: 16px; }
.tn-compra .tn-add { background: var(--mk-s); color: var(--mk-st) !important; }
.tn-carro { padding: 18px 0 40px; }
.tn-carro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .tn-carro-grid { grid-template-columns: 1fr; } }
.tn-linea { display: flex; gap: 14px; align-items: flex-start; background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.tn-linea.mal { border-color: var(--mk-mal); }
.tn-linea-img { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: var(--mk-fondo); display: flex; align-items: center; justify-content: center; color: var(--mk-suave); font-size: 26px; flex-shrink: 0; }
.tn-linea-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-linea-datos { flex: 1; min-width: 0; }
.tn-linea-nombre { font-weight: 600; word-break: break-word; }
.tn-linea-unit { color: var(--mk-suave); font-size: 13px; }
.tn-linea-motivo { color: var(--mk-mal); font-size: 13px; margin-top: 2px; }
.tn-linea-total { font-weight: 700; white-space: nowrap; }
.tn-cant { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.tn-cant button { width: 32px; height: 32px; border: 1px solid var(--mk-borde); background: var(--mk-fondo); color: var(--mk-texto); border-radius: 8px; cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.tn-cant input { width: 56px; height: 32px; text-align: center; border: 1px solid var(--mk-borde); border-radius: 8px; background: var(--mk-fondo); color: var(--mk-texto); }
.tn-cant .tn-quita { width: auto; padding: 0 10px; font-size: 13px; color: var(--mk-mal); border-color: transparent; background: none; }
.tn-carro-resumen { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; padding: 16px; position: sticky; top: 12px; }
.tn-carro-resumen h3 { font-size: 18px; margin: 0 0 10px; }
.tn-resumen-total { display: flex; justify-content: space-between; font-size: 20px; margin-bottom: 12px; }
.tn-notas { width: 100%; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 8px 10px; background: var(--mk-fondo); color: var(--mk-texto); font-size: 14px; box-sizing: border-box; margin-bottom: 10px; resize: vertical; }
.tn-bancos { background: var(--mk-fondo); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: 13px; }
.tn-banco { margin-top: 8px; }
.tn-banco-num { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.tn-banco-et { font-weight: 600; font-size: 13px; letter-spacing: 0; color: var(--mk-suave); }
.tn-pago-paso { margin: 8px 0 4px; font-size: 13px; }
.tn-file { display: block; font-size: 13px; margin-bottom: 8px; }
.tn-file span { display: block; margin-bottom: 4px; color: var(--mk-suave); font-weight: 600; }
.tn-seguir { display: block; text-align: center; margin-top: 12px; font-size: 14px; }
.tn-ok { max-width: 620px; }
.mk-pedido { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--mk-borde); }
.mk-pedido:first-child { border-top: 0; }
.mk-ubic-nota { max-width: 1200px; margin: 0 auto 10px; padding: 8px 16px; font-size: 14px; color: var(--mk-suave); }
.mk-ubic-nota i { color: #e0245e; }
.mk-ubic-nota button { background: transparent; border: 0; color: #800080; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0 4px; }
.tn-iconos .tn-compartir { font-size: 18px; }
.tn-share-menu { position: absolute; z-index: 10001; min-width: 210px; padding: 6px; background: var(--mk-tarjeta, #fff); color: var(--mk-texto, #222); border: 1px solid var(--mk-borde, #ddd); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.tn-share-menu a, .tn-share-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: transparent; color: inherit; font-size: 14px; text-align: left; text-decoration: none; border-radius: 6px; cursor: pointer; }
.tn-share-menu a:hover, .tn-share-menu button:hover { background: var(--mk-fondo, #f4f5fa); }
.tn-share-menu i { width: 18px; text-align: center; }
.mk-pedido-acc { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.mk-wa i { color: #25d366; font-size: 16px; }
.mk-pedido label.mk-btn { cursor: pointer; margin: 0; font-size: 13px; padding: 7px 14px; }

/* Favoritos, estrellas y opiniones */
.tn-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; z-index: 1; }
.tn-badges .tn-badge { position: static; }
.tn-fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--mk-borde); background: var(--mk-tarjeta); color: var(--mk-suave); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; padding: 0; }
.tn-fav:hover, .tn-fav.on { color: #e0245e; }
.tn-fav.on { border-color: #e0245e; }
.tn-fav.ficha { top: 12px; right: 12px; width: 42px; height: 42px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.tn-favs { font-size: 22px; }
.tn-estrellas { color: #f5a623; letter-spacing: 1px; white-space: nowrap; }
.tn-estrellas small { color: var(--mk-suave); letter-spacing: 0; font-size: 12px; }
.tn-estrellas.sin { color: var(--mk-suave); letter-spacing: 0; font-size: 13px; }
.tn-opiniones { padding: 8px 0 34px; }
.tn-opiniones h3 { font-size: 20px; margin: 0 0 8px; }
.tn-opi-res { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.tn-opi { background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.tn-opi-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.tn-opi p { margin: 6px 0 0; white-space: pre-wrap; word-break: break-word; }
.tn-verif { background: rgba(30,142,62,.14); color: var(--mk-ok); border-radius: 10px; padding: 1px 8px; font-size: 12px; }
.tn-opi-vacio { color: var(--mk-suave); }
.tn-opi-estado { background: var(--mk-fondo); border-radius: 8px; padding: 8px 10px; font-size: 13px; margin-bottom: 10px; }
.tn-opi-estrellas { display: flex; gap: 4px; margin-bottom: 10px; }
.tn-opi-estrellas button { background: none; border: 0; font-size: 34px; line-height: 1; color: #f5a623; cursor: pointer; padding: 0 2px; }

/* Reservas web */
.tn-reserva { padding: 18px 0 40px; max-width: 760px; margin: 0 auto; }
.tn-res-cab { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.tn-res-cab h1 { font-size: 24px; margin: 0 0 4px; }
.tn-pros { display: flex; flex-wrap: wrap; gap: 10px; }
.tn-pro { display: flex; align-items: center; gap: 10px; border: 2px solid var(--mk-borde); background: var(--mk-tarjeta); color: var(--mk-texto); border-radius: 12px; padding: 8px 14px 8px 8px; cursor: pointer; font-size: 14px; }
.tn-pro.activa { border-color: var(--mk-s); box-shadow: 0 0 0 2px var(--mk-s); }
.tn-pro-foto { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--mk-fondo); display: flex; align-items: center; justify-content: center; color: var(--mk-suave); }
.tn-pro-foto img { width: 100%; height: 100%; object-fit: cover; }
.tn-res-fecha { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.tn-res-fecha input, .tn-fecha { height: 42px; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 0 12px; background: var(--mk-fondo); color: var(--mk-texto); font-size: 15px; }
.tn-fecha { margin-bottom: 10px; }
.tn-res-fecha .mk-btn { padding: 8px 16px; }
.tn-slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.tn-slot { border: 1px solid var(--mk-borde); background: var(--mk-tarjeta); color: var(--mk-texto); border-radius: 8px; padding: 7px 14px; cursor: pointer; font-size: 14px; }
.tn-slot.activa { background: var(--mk-s); border-color: var(--mk-s); color: var(--mk-st); }
/* Horario con descuento (por día u hora): destacado como las tarifas baratas de los vuelos */
.tn-slot.desc { border-color: var(--mk-ok); background: color-mix(in srgb, var(--mk-ok) 12%, var(--mk-tarjeta)); font-weight: 600; }
.tn-slot.desc small { display: block; font-size: 11px; font-weight: 700; color: var(--mk-ok); line-height: 1.1; }
.tn-slot.desc.activa { background: var(--mk-s); border-color: var(--mk-s); color: var(--mk-st); }
.tn-slot.desc.activa small { color: var(--mk-st); }
.tn-dcto-cond { font-size: 12px; color: #b45309; margin: 2px 0 4px; line-height: 1.3; }
.tn-dcto-cond .fa-clock { font-size: 11px; }
.tn-leyenda { font-size: 13px; color: var(--mk-ok); margin: 2px 0 6px; }
.tn-res-resumen { font-weight: 600; margin-bottom: 10px; }
.mk-tabs { display: flex; gap: 8px; margin: 6px 0 10px; }
.mk-tab { border: 1px solid var(--mk-borde); background: var(--mk-fondo); color: var(--mk-texto); border-radius: 18px; padding: 5px 14px; cursor: pointer; font-size: 14px; }
.mk-tab.activa { background: #800080; border-color: #800080; color: #fff; }
.mk-agenda .mk-pedido.anulada { opacity: .65; }
.mk-acciones-ag { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-acciones-ag .mk-btn { padding: 6px 14px; font-size: 13px; }
.mk-estado { display: inline-block; border-radius: 10px; padding: 1px 10px; font-size: 12px; font-weight: 600; margin-top: 2px; }
.mk-estado.eok { background: rgba(30,142,62,.15); color: var(--mk-ok); }
.mk-estado.emal { background: rgba(217,48,37,.14); color: var(--mk-mal); }
.mk-estado.eesp { background: rgba(245,166,35,.2); color: #b07400; }
.tn-reservar { margin: 0 12px 12px; display: block; text-align: center; text-decoration: none; border-radius: 8px; padding: 8px 10px; background: var(--mk-s); color: var(--mk-st) !important; font-weight: 600; font-size: 13px; }
.tn-entregas { margin-bottom: 10px; font-size: 14px; }
.tn-entrega { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 8px 10px; margin-top: 6px; cursor: pointer; }
.tn-entrega.activa { border-color: var(--mk-primario, currentColor); }
.tn-entrega input { margin-top: 4px; }
.tn-entrega-n { display: block; font-weight: 600; }
.tn-entrega-c, .tn-entrega-i { display: block; color: var(--mk-suave); font-size: 12px; }
.tn-entregas-ficha { margin-top: 12px; font-size: 13px; color: var(--mk-suave); }
.tn-entregas-ficha b { color: var(--mk-texto); }
.tn-relacionados { margin: 28px 0 30px; }
.tn-relacionados h2 { font-size: 18px; margin: 0 0 12px; }
.tn-pie, .tn-pie h4, .tn-pie td, .tn-pie div { color: var(--mk-st); }
.tn-pie a { color: var(--mk-st); }
.tn-pie .tn-redes a { background: var(--mk-st); color: var(--mk-s); }
.tn-campanas { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; flex-direction: column; gap: 1px; pointer-events: none; }
.tn-campana { background: rgba(0, 0, 0, .68); color: #fff; padding: 18px 20px; font-size: 16px; line-height: 1.4; text-align: center; }
/* Con más de una oferta rotan solas (una a la vez, todas en la misma celda para que no salte el alto); los puntos indican cuál se ve */
.tn-campanas.rota { display: grid; }
.tn-campanas.rota .tn-campana { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; padding-bottom: 26px; }
.tn-campanas.rota .tn-campana.act { opacity: 1; visibility: visible; }
.tn-cpuntos { grid-area: 1 / 1; align-self: end; justify-self: center; display: flex; gap: 6px; padding-bottom: 8px; z-index: 1; }
.tn-cpuntos span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.tn-cpuntos span.act { background: #fff; }
.tn-campana.excl { background: color-mix(in srgb, var(--mk-s) 78%, #000); }
.tn-campana.pronto { background: rgba(0, 0, 0, .55); }
.tn-campana i { color: #ffd54f; }
.tn-banner-solo .tn-campanas { position: static; pointer-events: auto; }
.tn-banner-solo .tn-campana { background: var(--mk-p); color: var(--mk-pt); }
.tn-banner-solo .tn-campana i { color: inherit; }
.mk-acciones.centro { justify-content: center; margin: 14px 0 0; }
.mk-btn.grande { padding: 14px 56px; font-size: 17px; min-width: 240px; }
.mk-limpiar-fila { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
/* Interruptor (estilo iPhone) */
.mk-switch { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 13px; color: var(--mk-suave); user-select: none; }
.mk-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.mk-switch-pista { position: relative; flex: 0 0 auto; width: 44px; height: 26px; border-radius: 999px; background: #cbd5e1; transition: background .2s; }
.mk-switch-pista::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .2s; }
.mk-switch input:checked + .mk-switch-pista { background: #800080; }
.mk-switch input:checked + .mk-switch-pista::after { transform: translateX(18px); }
.mk-switch input:focus-visible + .mk-switch-pista { outline: 3px solid rgba(128,0,128,.35); outline-offset: 2px; }
.mk-switch:hover .mk-switch-txt { color: var(--mk-texto); }
.mk-switch-txt i { color: #e0245e; margin-right: 2px; }
@media (prefers-reduced-motion: reduce) { .mk-switch-pista, .mk-switch-pista::after { transition: none; } }
.mk-limpiar-fila .mk-btn { padding: 6px 14px; font-size: 13px; }
.mk-resumen.centro { justify-content: center; text-align: center; padding: 10px 0; }
main.mk-contenedor + .tn-pie, .tn-pie { margin-top: auto; }
.mk-body > main.mk-contenedor { margin-bottom: 30px; }
.tn-marca-txt { display: flex; flex-direction: column; line-height: 1.15; }
.tn-marca-txt small { font-size: 13px; font-weight: 500; opacity: .9; }
.tn-marca-txt b { font-size: 24px; font-weight: 700; letter-spacing: .2px; }
.tn-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 22px; }
.tn-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 24px; background: var(--mk-tarjeta); border: 1px solid var(--mk-borde); color: var(--mk-texto); text-decoration: none; font-size: 14px; font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.04); transition: transform .15s, box-shadow .15s, background .15s; }
.tn-cats a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.1); border-color: var(--mk-p); }
.tn-cats a.activa { background: var(--mk-s); border-color: var(--mk-s); color: var(--mk-st); }
.tn-cats a small { background: rgba(128,128,128,.18); border-radius: 10px; padding: 0 8px; font-size: 12px; font-weight: 600; }
.tn-cats a.activa small { background: rgba(255,255,255,.28); }
.tn-panel { padding: 22px 24px 26px; }
.tn-panel + .tn-panel { margin-top: 26px; }
.tn-panel-cab { text-align: center; margin: 0 -24px 18px; padding: 0 24px 14px; border-bottom: 1px solid var(--mk-borde); }
.tn-panel-cab h3 { margin: 0; font-size: 22px; font-weight: 700; display: inline-block; }
.tn-panel-cab h3 i { color: inherit; margin-right: 8px; }
.tn-panel .tn-prods { grid-template-columns: repeat(auto-fill, minmax(220px, 270px)); justify-content: center; gap: 22px; }
.tn-panel-opi .tn-opiniones { padding: 0; }
.tn-panel-opi .tn-opiniones h3 { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.tn-panel-opi .tn-opi-res { justify-content: center; }
.tn-hero { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 70px 24px 100px; color: var(--mk-pt); background: linear-gradient(135deg, var(--mk-p) 0%, var(--mk-s) 100%); }
.tn-hero h1 { margin: 0; max-width: 820px; font-size: clamp(26px, 4.5vw, 44px); font-weight: 700; line-height: 1.2; color: inherit; }
.tn-filtros { margin-bottom: 26px; padding-bottom: 14px; }
.tn-filtros .mk-limpiar-fila { margin-bottom: 8px; }
.tn-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 0 6px; cursor: pointer; }
.tn-check input { width: 18px; height: 18px; }
.tn-frase { text-align: center; font-size: 22px; font-weight: 700; line-height: 1.3; margin: 6px 0 4px; padding: 0 90px; color: var(--mk-texto); }
@media (max-width: 700px) { .tn-frase { padding: 0; font-size: 18px; } }
.mk-empresa { font-size: 14px; font-weight: 600; color: var(--mk-texto); margin: 2px 0 2px; }
.mk-empresa i { color: var(--mk-p); margin-right: 4px; }
.mk-ir { padding: 8px 12px; }
.tn-filtros .mk-btn.grande { background: var(--mk-s); color: var(--mk-st) !important; }
.tn-filtros .mk-btn.grande:hover { filter: brightness(1.1); }
.tn-panel .mk-resumen { justify-content: flex-end; gap: 18px; }
.tn-panel .mk-resumen a { order: -1; }
.tn-condiciones { border: 2px solid var(--mk-s); border-radius: 12px; padding: 12px 14px; margin: 12px 0; background: var(--mk-fondo); }
.tn-cond-titulo { font-size: 15px; margin-bottom: 6px; }
.tn-cond-titulo i { color: var(--mk-s); }
.tn-condiciones ul { margin: 6px 0 10px; padding-left: 20px; font-size: 14px; }
.tn-condiciones li { margin-bottom: 4px; }
.tn-condiciones .tn-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 14px; cursor: pointer; margin: 0; }
.mk-cond { margin-top: 4px; font-size: 13px; }
.mk-cond summary { cursor: pointer; color: var(--mk-suave); }
.tn-condiciones.alerta { border-color: var(--mk-mal); box-shadow: 0 0 0 3px rgba(217, 48, 37, .25); animation: tnSacude .35s; }
@keyframes tnSacude { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Celular: nada debe ensanchar la página (la cabecera con el logo, el nombre y los íconos pasa a dos filas) */
@media (max-width: 560px) {
    .tn-cabecera .mk-contenedor { grid-template-columns: minmax(0, 1fr); padding: 10px 14px; gap: 10px; }
    .tn-cabecera .tn-marca, .tn-cabecera .tn-iconos { min-width: 0; }
    .tn-cabecera .tn-iconos { justify-self: end; }
    .tn-marca { gap: 10px; }
    .tn-marca img { height: 48px; max-width: 120px; }
    .tn-hero h1 { overflow-wrap: anywhere; }
}
.mk-filtros, .tn-panel, .tn-pie .mk-contenedor > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.mk-m-campo select { width: 100%; height: 44px; border: 1px solid var(--mk-borde); border-radius: 8px; padding: 0 10px; background: var(--mk-fondo); color: var(--mk-texto); font-size: 15px; box-sizing: border-box; font-family: inherit; }
.mk-m-campo select:focus { outline: 2px solid #800080; }
.mk-m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .mk-m-grid { grid-template-columns: 1fr; } }
.mk-panel .mk-btn-guarda { margin-top: 4px; }
.mk-rango { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.mk-rango .mk-m-campo { margin-bottom: 0; }
.mk-rango .mk-btn { height: 44px; padding: 0 18px; }
.mk-mas { display: block; margin: 16px auto 4px; }
.mk-fin { text-align: center; margin: 14px 0 0; }
/* Ficha: miniaturas de las fotos extra del producto */
.tn-minis { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; margin-top: 12px; padding-bottom: 6px; scroll-behavior: smooth; }
.tn-mini { flex: 0 0 auto; width: 84px; height: 84px; padding: 0; border: 2px solid var(--mk-borde); border-radius: 8px; overflow: hidden; background: var(--mk-tarjeta); cursor: pointer; }
.tn-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-mini.on, .tn-mini:hover { border-color: var(--mk-p); }
/* Galería de la ficha: flechas sobre la imagen, contador y ampliación */
.tn-imagen-caja.tn-zoom .tn-imagen { cursor: zoom-in; }
.tn-flecha { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--mk-borde); background: var(--mk-tarjeta); color: var(--mk-texto); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.tn-flecha.ant { left: 12px; } .tn-flecha.sig { right: 12px; }
.tn-contador { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; }
.tn-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.tn-lb img { max-width: 94vw; max-height: 90vh; object-fit: contain; user-select: none; }
.tn-lb-x { position: absolute; top: 14px; right: 18px; background: transparent; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }
.tn-lb-f { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; cursor: pointer; }
.tn-lb-f.ant { left: 16px; } .tn-lb-f.sig { right: 16px; }
.tn-lb-f:hover, .tn-lb-x:hover { background-color: rgba(255,255,255,.32); }
.tn-lb-c { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; }
/* Beneficios de la tienda y video de YouTube dentro del texto de la ficha */
.tn-confianza { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.tn-confianza li { padding: 3px 0; }
.tn-confianza i { color: #1a9d5b; margin-right: 6px; }
.tn-video { display: block; position: relative; aspect-ratio: 16 / 9; margin: .8em 0; border-radius: 10px; overflow: hidden; background: #000; }
.tn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Tarjeta: opciones del producto con variantes (primer atributo: Color, Talla…) */
.tn-opc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12px; color: var(--mk-suave); margin: 4px 0 2px; }
.tn-opc b { font-weight: 600; margin-right: 2px; }
.tn-opc i { font-style: normal; border: 1px solid var(--mk-borde); border-radius: 12px; padding: 1px 8px; color: var(--mk-texto); background: var(--mk-tarjeta); }
.tn-opc i.mas { color: var(--mk-suave); }

/* Botones principales de la tienda: al pasar el mouse toman el otro color de la tienda (el principal; el normal es el secundario). «suave» (Volver a la tienda, Ver carrito): fondo blanco */
.tn-add, .mk-btn.tienda, .tn-filtros .mk-btn.grande { transition: background .15s, color .15s; }
.tn-compra .tn-add:hover, .tn-prod .tn-add:hover, .mk-btn.tienda:hover, .tn-filtros .mk-btn.grande:hover { background: var(--mk-p); color: var(--mk-pt) !important; filter: none; }
.mk-btn.suave { transition: background .15s, box-shadow .15s; }
.mk-btn.suave:hover { background: var(--mk-tarjeta, #fff); filter: none; box-shadow: 0 2px 8px rgba(0,0,0,.14); }
