/* TurnoYa — tokens + componentes */
:root{--navy:#003049;--navy-soft:#5a7285;--navy-tint:#e6eef2;--yellow:#ffeb00;--gold:#f5c400;--amber:#ec8a03;--orange:#e25a06;--orange-deep:#b84607;--orange-soft:#fff0e5;--white:#ffffff;--surface-soft:#f5f7f8;--border:#e3e9ec;--text:#5a6b75;--success:#16a34a;--success-vivid:#22c55e;--success-soft:#e8f6ee;--admin-accent:#ff6a00;--admin-accent-hover:#f26200;--admin-accent-soft:#fff0e5;--admin-accent-v2:#c94f05;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-pill:999px;--shadow-card:0 1px 2px rgba(0,48,73,0.06), 0 4px 16px rgba(0,48,73,0.06);--shadow-raised:0 8px 32px rgba(0,48,73,0.14);--font-sans:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;}



/* TurnoYa — componentes del marketplace. Todo lee los tokens de tokens.css. */
.ty, .ty * { box-sizing: border-box; }
.ty { font-family: var(--font-sans); color: var(--text); background: var(--white); font-size: 15px; line-height: 22px; margin: 0; -webkit-font-smoothing: antialiased; }
.ty h1, .ty h2, .ty h3, .ty h4, .ty p { margin: 0; }
:where(.ty) a { color: inherit; text-decoration: none; }
.ty svg { flex: none; }
.ty-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-8); }
.ty-m .ty-wrap { padding: 0 var(--space-4); }
.ty-title { color: var(--navy); font-weight: 800; letter-spacing: -1px; font-size: 40px; line-height: 46px; }
.ty-h2 { color: var(--navy); font-weight: 700; font-size: 28px; line-height: 34px; letter-spacing: -0.5px; }
.ty-h3 { color: var(--navy); font-weight: 700; font-size: 20px; line-height: 26px; }
.ty-m .ty-title { font-size: 30px; line-height: 36px; }
.ty-m .ty-h2 { font-size: 22px; line-height: 28px; }
.ty-m .ty-h3 { font-size: 17px; line-height: 22px; }
.ty-muted { color: var(--navy-soft); }
.ty-small { font-size: 13px; line-height: 18px; font-weight: 500; }
.ty-label { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.ty-link { color: var(--orange-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.ty-row { display: flex; align-items: center; gap: var(--space-2); }
.ty-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.ty-section { padding: var(--space-16) 0; }
.ty-m .ty-section { padding: var(--space-12) 0; }
.ty-soft { background: var(--surface-soft); }
.ty-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: var(--space-6); }
.ty-sechead p { margin-top: 4px; }
.ty-grad { background: linear-gradient(135deg, var(--yellow) 0%, var(--gold) 22%, var(--amber) 55%, var(--orange) 100%); }
.ty-hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 2px; }

/* Wordmark (texto plano: no hay archivo de logo oficial) */
.ty-wordmark { font-weight: 800; font-size: 24px; letter-spacing: -0.8px; color: var(--navy); line-height: 1; }
.ty-on-navy .ty-wordmark { color: var(--white); }

/* Botones */
.ty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--radius-md); font: 700 16px/1 var(--font-sans); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.ty-btn--primary { background: var(--orange); color: var(--white); }
.ty-btn--primary:hover, .ty-btn--primary.is-hover { background: var(--orange-deep); }
.ty-btn--navy { background: var(--navy); color: var(--white); }
.ty-btn--yellow { background: var(--yellow); color: var(--navy); }
.ty-btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.ty-btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.ty-btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: var(--radius-sm); }
.ty-btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.ty-btn--block { width: 100%; }
.ty-btn[disabled], .ty-btn.is-disabled { background: var(--navy-tint); color: var(--navy-soft); border-color: transparent; cursor: not-allowed; }
.ty-btn:focus-visible, .ty-btn.is-focus { outline: 3px solid var(--navy); outline-offset: 2px; }

/* Chips */
.ty-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ty-chips--scroll { flex-wrap: nowrap; overflow: hidden; }
.ty-chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--border); color: var(--navy); font-weight: 600; font-size: 14px; white-space: nowrap; }
.ty-chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ty-chip--soft { background: var(--navy-tint); border-color: var(--navy-tint); }
.ty-on-navy .ty-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--white); }

/* Badges */
.ty-badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 800; letter-spacing: .3px; white-space: nowrap; }
.ty-badge--deal { background: var(--yellow); color: var(--navy); }
.ty-badge--navy { background: var(--navy); color: var(--white); }
.ty-badge--ok { background: var(--success-soft); color: #11743a; }
.ty-badge--soft { background: var(--orange-soft); color: var(--orange-deep); }
.ty-badge--line { background: var(--white); color: var(--navy); border: 1px solid var(--border); }

/* Valoración */
.ty-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 700; font-size: 14px; }
.ty-rating svg { color: var(--orange); }
.ty-rating span { color: var(--navy-soft); font-weight: 500; }

/* Nav desktop */
.ty-nav { height: 72px; border-bottom: 1px solid var(--border); background: var(--white); }
.ty-nav .ty-wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.ty-nav__links { display: flex; gap: 24px; color: var(--navy); font-weight: 600; font-size: 15px; }
.ty-nav__right { margin-left: 0; margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.ty-on-navy.ty-nav { background: var(--navy); border-color: rgba(255,255,255,.12); }
.ty-on-navy .ty-nav__links { color: var(--white); }

/* Header mobile */
.ty-mhead { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--space-4); background: var(--white); border-bottom: 1px solid var(--border); }
.ty-mhead.ty-on-navy { background: var(--navy); border-color: rgba(255,255,255,.12); color: var(--white); }
.ty-iconbtn { width: 40px; height: 40px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); border: 1px solid var(--border); background: var(--white); }
.ty-on-navy .ty-iconbtn { color: var(--white); border-color: rgba(255,255,255,.22); background: transparent; }
.ty-tabbar { position: sticky; bottom: 0; height: 68px; display: grid; grid-template-columns: repeat(4,1fr); background: var(--white); border-top: 1px solid var(--border); }
.ty-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--navy-soft); }
.ty-tabbar a.is-active { color: var(--orange-deep); }

/* Buscador */
.ty-search { display: flex; align-items: stretch; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-raised); padding: 8px; gap: 0; }
.ty-search__f { flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px 18px; min-width: 0; }
.ty-search__f + .ty-search__f { border-left: 1px solid var(--border); }
.ty-search__f svg { color: var(--navy); }
.ty-search__f b { display: block; font-size: 12px; line-height: 16px; color: var(--navy); font-weight: 800; letter-spacing: .3px; }
.ty-search__f em { display: block; font-style: normal; font-size: 15px; color: var(--navy-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ty-search .ty-btn { height: 60px; border-radius: 18px; padding: 0 28px; }
.ty-search--compact { box-shadow: none; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px; }
.ty-search--compact .ty-search__f { padding: 4px 16px; }
.ty-search--compact .ty-btn { height: 44px; width: 44px; padding: 0; border-radius: 999px; }
.ty-msearch { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); overflow: hidden; }
.ty-msearch .ty-search__f { padding: 14px 16px; }
.ty-msearch .ty-search__f + .ty-search__f { border-left: 0; border-top: 1px solid var(--border); }
.ty-msearch .ty-btn { margin: 4px 12px 12px; }

/* Input */
.ty-field { display: flex; flex-direction: column; gap: 6px; }
.ty-field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.ty-input { height: 48px; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 0 14px; display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 15px; background: var(--white); }
.ty-input.is-placeholder { color: var(--navy-soft); }
.ty-input.is-focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint); }
.ty-input--area { height: 88px; align-items: flex-start; padding-top: 12px; }
.ty-field small { color: var(--navy-soft); font-size: 12px; }

/* Media placeholder (fotos del negocio) */
.ty-ph { position: relative; overflow: hidden; background: var(--navy-tint); }
.ty-ph::before, .ty-ph::after { content: ""; position: absolute; border-radius: 999px; }
.ty-ph--1 { background: var(--navy); } .ty-ph--1::before { width: 70%; aspect-ratio: 1; right: -18%; top: -30%; background: var(--orange); } .ty-ph--1::after { width: 34%; aspect-ratio: 1; left: 10%; bottom: -12%; background: var(--yellow); }
.ty-ph--2 { background: var(--orange-soft); } .ty-ph--2::before { width: 60%; aspect-ratio: 1; left: -10%; top: 20%; background: var(--orange); } .ty-ph--2::after { width: 40%; aspect-ratio: 1; right: 6%; top: -14%; background: var(--navy); }
.ty-ph--3 { background: var(--yellow); } .ty-ph--3::before { width: 80%; aspect-ratio: 1; right: -30%; bottom: -50%; background: var(--navy); } .ty-ph--3::after { width: 22%; aspect-ratio: 1; left: 14%; top: 18%; background: var(--orange); }
.ty-ph--4 { background: var(--navy-tint); } .ty-ph--4::before { width: 56%; aspect-ratio: 1; left: 30%; top: 30%; background: var(--navy-soft); } .ty-ph--4::after { width: 26%; aspect-ratio: 1; left: 8%; top: 8%; background: var(--yellow); }
.ty-ph--5 { background: var(--orange); } .ty-ph--5::before { width: 64%; aspect-ratio: 1; left: -16%; bottom: -36%; background: var(--yellow); } .ty-ph--5::after { width: 30%; aspect-ratio: 1; right: 10%; top: 12%; background: var(--navy); }
.ty-ph--6 { background: var(--surface-soft); } .ty-ph--6::before { width: 90%; aspect-ratio: 1; right: -40%; top: -20%; background: var(--navy); } .ty-ph--6::after { width: 30%; aspect-ratio: 1; left: 12%; bottom: 10%; background: var(--orange); }

/* Tarjeta de negocio (diseño unificado del marketplace) */
.ty-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); transition: box-shadow .15s ease, transform .15s ease; }
.ty-card:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.ty-card__media { aspect-ratio: 16/10; position: relative; background: var(--navy-tint); overflow: hidden; }
.ty-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-card__media .ty-badge { position: absolute; inset-inline-start: 12px; top: 12px; z-index: 1; }
.ty-card__fav { position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 999px; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; border: 0; box-shadow: var(--shadow-card); }
.ty-card__fav.is-fav { color: var(--orange); }
.ty-card__fav.is-fav svg { fill: currentColor; }
.ty-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ty-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ty-card__name { color: var(--navy); font-weight: 800; font-size: 18px; line-height: 23px; letter-spacing: -.3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ty-card__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 800; color: var(--navy); flex: none; }
.ty-card__rating svg { color: var(--gold); }
.ty-card__rating small { color: var(--navy-soft); font-weight: 600; }
.ty-card__off { flex: none; background: var(--orange-soft); color: var(--orange-deep); font-size: 12.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; }
.ty-card__meta { font-size: 13px; color: var(--navy-soft); line-height: 18px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ty-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ty-card__chip { background: var(--surface-soft); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* Placeholder profesional cuando el negocio no tiene foto: icono centrado
   sobre tinta suave (antes eran círculos de colores que rompían el diseño). */
.ty-card__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--navy-soft); background: linear-gradient(135deg, var(--navy-tint) 0%, var(--surface-soft) 100%); }
.ty-card__div { border: 0; border-top: 1px solid var(--border); margin: 4px 0 0; }
.ty-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.ty-card__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ty-card__info small { font-size: 11.5px; font-weight: 600; color: var(--navy-soft); }
.ty-card__info b { font-size: 16px; font-weight: 800; color: var(--navy); }
.ty-card__info s { font-size: 12px; color: var(--navy-soft); font-weight: 500; margin-inline-start: 5px; }
.ty-card__avail { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--success); }
.ty-card__cta { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--orange); color: var(--white); font-weight: 800; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.ty-card--row { flex-direction: row; }
.ty-card--row .ty-card__media { width: 240px; flex: none; aspect-ratio: auto; align-self: stretch; }
.ty-card--row .ty-card__body { flex: 1; justify-content: center; }
@media (max-width: 640px) {
  .ty-card--row { flex-direction: column; }
  .ty-card--row .ty-card__media { width: 100%; aspect-ratio: 16/10; }
}
.ty-grid { display: grid; gap: var(--space-6); }
.ty-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ty-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ty-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ty-hscroll { display: flex; gap: var(--space-4); overflow: hidden; }
.ty-hscroll > * { flex: none; width: 240px; }

/* Resultado (lista) */
.ty-result { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ty-result .ty-ph { border-radius: var(--radius-md); height: 100%; min-height: 150px; }
.ty-result.is-selected { border-color: var(--navy); box-shadow: var(--shadow-raised); }
.ty-m .ty-result { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; }
.ty-m .ty-result .ty-ph { border-radius: 0; min-height: 0; aspect-ratio: 16/8; }
.ty-m .ty-result__body { padding: 14px 16px 16px; }
.ty-slots { display: flex; gap: 8px; flex-wrap: wrap; }
.ty-slot { height: 36px; min-width: 64px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1.5px solid var(--border); color: var(--navy); font-weight: 700; font-size: 14px; background: var(--white); }
.ty-slot.is-selected { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ty-slot.is-off { color: #a9b6bd; text-decoration: line-through; background: var(--surface-soft); border-color: var(--surface-soft); }
.ty-slot--lg { height: 44px; }

/* Reseña */
.ty-review { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ty-review p { color: var(--navy); font-size: 15px; line-height: 23px; }
.ty-avatar { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: var(--navy); background: var(--navy-tint); flex: none; }
.ty-avatar--o { background: var(--orange-soft); color: var(--orange-deep); }
.ty-avatar--y { background: var(--yellow); }
.ty-avatar--n { background: var(--navy); color: var(--white); }
.ty-avatar--lg { width: 64px; height: 64px; font-size: 20px; }

/* Categoría (tile) */
.ty-cat { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); color: var(--navy); font-weight: 700; font-size: 15px; }
.ty-cat__ico { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--orange-soft); color: var(--orange-deep); display: flex; align-items: center; justify-content: center; }
.ty-cat:nth-child(3n+2) .ty-cat__ico { background: var(--navy-tint); color: var(--navy); }
.ty-cat:nth-child(3n) .ty-cat__ico { background: #fffbcc; color: var(--navy); }
.ty-cat small { color: var(--navy-soft); font-weight: 500; font-size: 12px; margin-top: -8px; }

/* Stats */
.ty-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ty-stat b { display: block; font-size: 44px; line-height: 48px; font-weight: 800; color: var(--yellow); letter-spacing: -1px; }
.ty-stat span { color: rgba(255,255,255,.82); font-weight: 600; }
.ty-m .ty-stat b { font-size: 26px; line-height: 30px; white-space: nowrap; }

/* Paso a paso (cómo funciona) */
.ty-step { display: flex; flex-direction: column; gap: 10px; }
.ty-step__n { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--yellow); font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Stepper de reserva */
.ty-stepper { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--navy-soft); }
.ty-stepper i { font-style: normal; width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.ty-stepper .is-done { color: var(--navy); } .ty-stepper .is-done i { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.ty-stepper .is-current { color: var(--navy); } .ty-stepper .is-current i { border-color: var(--orange); color: var(--orange-deep); background: var(--orange-soft); }
.ty-stepper > span { display: inline-flex; align-items: center; gap: 8px; }
.ty-stepper hr { flex: 1; border: 0; height: 1.5px; background: var(--border); margin: 0; min-width: 16px; }
.ty-progress { height: 4px; background: var(--navy-tint); border-radius: 4px; overflow: hidden; }
.ty-progress > div { height: 100%; background: var(--orange); border-radius: 4px; }

/* Paneles */
.ty-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.ty-m .ty-panel { padding: 16px; }
.ty-divider { height: 1px; background: var(--border); border: 0; margin: 16px 0; }
.ty-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--navy); }
.ty-kv span:first-child { color: var(--navy-soft); }
.ty-kv--total { font-weight: 800; font-size: 18px; }

/* Servicio (fila) */
.ty-svc { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ty-svc__main { flex: 1; min-width: 0; }
.ty-svc__name { color: var(--navy); font-weight: 700; font-size: 16px; }
.ty-svc__price { color: var(--navy); font-weight: 800; font-size: 16px; text-align: right; white-space: nowrap; }
.ty-svc__price s { color: var(--navy-soft); font-weight: 500; font-size: 13px; display: block; }
.ty-svc.is-selected { background: var(--orange-soft); margin: 0 -16px; padding: 16px; border-radius: var(--radius-md); border-bottom-color: transparent; }

/* Tabs */
.ty-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--border); }
.ty-tabs a { padding: 14px 0; font-weight: 700; color: var(--navy-soft); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ty-tabs a.is-active { color: var(--navy); border-color: var(--orange); }
.ty-m .ty-tabs { gap: 22px; padding: 0 16px; overflow: hidden; }

/* Fecha */
.ty-dates { display: flex; gap: 8px; }
.ty-date { flex: 1; min-width: 56px; height: 72px; border-radius: var(--radius-md); border: 1.5px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy); background: var(--white); }
.ty-date small { font-size: 12px; font-weight: 700; color: var(--navy-soft); text-transform: uppercase; }
.ty-date b { font-size: 20px; font-weight: 800; }
.ty-date.is-selected { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ty-date.is-selected small { color: var(--yellow); }
.ty-date.is-off { opacity: .45; }

/* Profesional */
.ty-pro { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: var(--radius-lg); border: 1.5px solid var(--border); text-align: center; color: var(--navy); font-weight: 700; font-size: 14px; background: var(--white); }
.ty-pro small { font-weight: 500; color: var(--navy-soft); font-size: 12px; margin-top: -6px; }
.ty-pro.is-selected { border-color: var(--orange); background: var(--orange-soft); }

/* Opción (radio card) */
.ty-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--border); border-radius: var(--radius-md); color: var(--navy); }
.ty-opt.is-selected { border-color: var(--navy); background: var(--surface-soft); }
.ty-radio { width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--navy-soft); flex: none; margin-top: 1px; }
.ty-opt.is-selected .ty-radio { border: 6px solid var(--navy); }
.ty-check { width: 20px; height: 20px; border-radius: 6px; background: var(--navy); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* Mapa */
.ty-map { position: relative; background: var(--navy-tint); overflow: hidden; }
.ty-map svg.ty-map__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.ty-pin { position: absolute; transform: translate(-50%, -100%); background: var(--white); color: var(--navy); font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 999px; box-shadow: var(--shadow-card); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.ty-pin.is-active { background: var(--navy); color: var(--white); }
.ty-pin--deal { background: var(--yellow); }

/* Bandas */
.ty-band { border-radius: var(--radius-xl); padding: 48px; position: relative; overflow: hidden; }
.ty-m .ty-band { padding: 28px 20px; border-radius: var(--radius-lg); }
.ty-navy { background: var(--navy); color: var(--white); }
.ty-navy .ty-title, .ty-navy .ty-h2, .ty-navy .ty-h3 { color: var(--white); }
.ty-navy .ty-muted { color: rgba(255,255,255,.78); }
.ty-store { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 12px; background: var(--white); color: var(--navy); font-weight: 700; font-size: 14px; }
.ty-store small { display: block; font-size: 10px; font-weight: 600; color: var(--navy-soft); line-height: 1; }
.ty-qr { width: 112px; height: 112px; border-radius: 12px; background: var(--white); padding: 10px; }

/* Barra fija inferior */
.ty-stickybar { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,48,73,.08); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }

/* Aviso */
.ty-note { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--orange-soft); color: var(--navy); font-size: 14px; line-height: 20px; }
.ty-note svg { color: var(--orange-deep); margin-top: 1px; }
.ty-note--ok { background: var(--success-soft); } .ty-note--ok svg { color: #11743a; }

/* Footer */
.ty-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 56px 0 28px; font-size: 14px; }
.ty-footer h4 { color: var(--white); font-size: 14px; margin-bottom: 14px; }
.ty-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ty-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ty-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.ty-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.ty-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: flex; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.ty-footer__social a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px -6px rgba(0,0,0,.4); }
.ty-footer__social img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ty-social { display: flex; gap: 10px; margin-top: 18px; }
.ty-social span { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 12px; font-weight: 800; }

/* Directorio SEO */
.ty-dir { columns: 4; column-gap: 32px; }
.ty-dir div { break-inside: avoid; margin-bottom: 24px; }
.ty-dir h4 { color: var(--navy); font-size: 15px; margin: 0 0 8px; }
.ty-dir a { display: block; color: var(--navy-soft); font-size: 14px; line-height: 26px; }
.ty-m .ty-dir { columns: 2; column-gap: 16px; }

/* Lienzo de componente en previews */
.ty-demo { padding: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--white); }
.ty-demo--soft { background: var(--surface-soft); }

/* Grilla de 2 columnas en mobile: nombre y valoración apilados */
.ty-m .ty-grid--2 .ty-card__body { padding: 12px; }
.ty-m .ty-grid--2 .ty-card__body > .ty-between { flex-direction: column; align-items: flex-start; gap: 2px; }
.ty-m .ty-grid--2 .ty-card__name { font-size: 15px; line-height: 20px; }
.ty-m .ty-grid--2 .ty-card__meta { display: block; }

/* Footer idéntico en todas las páginas y pantallas del marketplace (no depende de .ty-m ni de estilos de cada página). */
.ty-footer .ty-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-8); box-sizing: border-box; }
@media (max-width: 860px) {
  .ty-footer { padding: 40px 0 24px; }
  .ty-footer .ty-wrap { padding: 0 var(--space-4); }
  .ty-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .ty-footer__grid > :first-child { grid-column: 1 / -1; }
  .ty-footer__bottom { flex-direction: column; }
}
@media (max-width: 600px) {
  .ty-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ty-footer__grid > :last-child { grid-column: 1 / -1; }
}

.ty-footer { line-height: 22px; font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
.ty-footer h4, .ty-footer p, .ty-footer ul { line-height: 22px; }
footer.ty-footer a { color: inherit; text-decoration: none; }
footer.ty-footer a:hover { color: #ffffff; text-decoration: underline; }
.ty-footer li, .ty-footer a, .ty-footer span { line-height: 22px; }

.ty-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
footer.ty-footer a.ty-footer__cta { color: #FFEB00; font-weight: 600; }
.ty-footer__bottom { flex-wrap: wrap; }
