/* ====================================================================
 * The Best Prom — theme.css
 * Tokens medidos sobre un marketplace de boletos de referencia:
 * tinta #181818, texto secundario #525252, líneas #dedddb, fondo alterno
 * #f5f5f4, acento #ff5b49; cuerpo 16/24; H1 48/56 (-0.32px); títulos de
 * tarjeta 17/24 (+0.2px); botón primario negro radio 8 y 48px; chips 999px
 * de 32px; tarjetas con radio 12 y sin sombra. Todo en px (sin rem).
 * ================================================================== */

:root {
    --tbpt-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --tbpt-ink: #181818;
    --tbpt-ink-2: #525252;
    --tbpt-ink-3: #767676;
    --tbpt-line: #dedddb;
    --tbpt-bg: #ffffff;
    --tbpt-bg-2: #f5f5f4;
    --tbpt-bg-3: #ebeae8;
    --tbpt-accent: #ff5b49;
    --tbpt-accent-ink: #c73a2b;
    --tbpt-ok: #0f7a3d;
    --tbpt-ok-bg: #e4f5ea;
    --tbpt-r-sm: 8px;
    --tbpt-r: 12px;
    --tbpt-r-lg: 16px;
    --tbpt-pill: 999px;
    --tbpt-shadow: 0 10px 30px rgba(24, 24, 24, .12);
    --tbpt-ease: cubic-bezier(.2, .8, .2, 1);
    --tbpt-header-h: 64px;
    --tbpt-top: 0px; /* barra de admin de WP */
    --tbpt-container: 1280px;
    --tbpt-gutter: 16px;
}
@media (min-width: 768px) { :root { --tbpt-header-h: 72px; --tbpt-gutter: 32px; } }
body.admin-bar { --tbpt-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --tbpt-top: 46px; } }
@media (max-width: 600px) { body.admin-bar { --tbpt-top: 0px; } } /* ahí la barra de WP es absolute y se va con el scroll */

/* ── Base ─────────────────────────────────────────────────────────── */
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.tbpt { margin: 0; background: var(--tbpt-bg); color: var(--tbpt-ink); font: 400 16px/24px var(--tbpt-font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(body.tbpt) *, :where(body.tbpt) *::before, :where(body.tbpt) *::after { box-sizing: border-box; }
:where(body.tbpt) img { max-width: 100%; height: auto; }
:where(body.tbpt) a { color: inherit; text-decoration: none; }
:where(body.tbpt) h1, :where(body.tbpt) h2, :where(body.tbpt) h3, :where(body.tbpt) h4 { margin: 0; color: var(--tbpt-ink); font-weight: 700; }
:where(body.tbpt) h1 { font-size: 32px; line-height: 40px; letter-spacing: -.3px; }
:where(body.tbpt) h2 { font-size: 24px; line-height: 32px; letter-spacing: -.2px; }
:where(body.tbpt) h3 { font-size: 17px; line-height: 24px; letter-spacing: .2px; }
:where(body.tbpt) h4 { font-size: 15px; line-height: 20px; }
@media (min-width: 768px) { :where(body.tbpt) h1 { font-size: 40px; line-height: 48px; } :where(body.tbpt) h2 { font-size: 26px; line-height: 32px; } }
.tbpt-muted { color: var(--tbpt-ink-2); margin: 0; }
.tbpt-container { width: 100%; max-width: var(--tbpt-container); margin: 0 auto; padding: 0 var(--tbpt-gutter); }
.tbpt-narrow { max-width: 820px; }
.tbpt-main { min-height: 60vh; }
.tbpt-skip { position: absolute; left: -999px; top: 8px; background: var(--tbpt-ink); color: #fff; padding: 8px 12px; border-radius: var(--tbpt-r-sm); z-index: 10001; }
.tbpt-skip:focus { left: 8px; }
.tbpt a:focus-visible, .tbpt button:focus-visible, .tbpt input:focus-visible, .tbpt [tabindex]:focus-visible { outline: 2px solid var(--tbpt-ink); outline-offset: 3px; }
.tbpt-ico { width: 20px; height: 20px; flex: 0 0 auto; }
.tbpt-ico--sm { width: 18px; height: 18px; }
.tbpt-ico--xs { width: 16px; height: 16px; }
@media (max-width: 899px) { .tbpt-only-desk { display: none !important; } .tbpt-chip { min-height: 40px; } .tbpt-btn--sm { min-height: 40px; } }
@media (min-width: 900px) { .tbpt-only-mobile { display: none !important; } }

/* ── Botones, chips, insignias ───────────────────────────────────── */
.tbpt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--tbpt-r-sm); border: 1px solid var(--tbpt-ink); background: var(--tbpt-ink); color: #fff; font: 650 16px/1 var(--tbpt-font); cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s var(--tbpt-ease), box-shadow .15s; }
.tbpt-btn:hover { background: #000; }
.tbpt-btn:active { transform: scale(.98); }
.tbpt-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.tbpt-btn--ghost { background: #fff; color: var(--tbpt-ink); border-color: var(--tbpt-line); }
.tbpt-btn--ghost:hover { background: var(--tbpt-bg-2); }
.tbpt-btn--light { background: #fff; color: var(--tbpt-ink); border-color: #fff; }
.tbpt-btn--light:hover { background: var(--tbpt-bg-2); }
.tbpt-btn--block { width: 100%; }
.tbpt-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border-radius: var(--tbpt-pill); border: 1px solid var(--tbpt-line); background: #fff; color: var(--tbpt-ink); font: 400 15px/1 var(--tbpt-font); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.tbpt-chip:hover { background: var(--tbpt-bg-2); }
.tbpt-chip.is-on { background: var(--tbpt-ink); color: #fff; border-color: var(--tbpt-ink); font-weight: 650; }
.tbpt-chip--dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); color: #fff; min-height: 40px; padding: 0 16px; backdrop-filter: blur(6px); }
.tbpt-chip--dark:hover { background: rgba(255,255,255,.18); }
.tbpt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tbpt-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.tbpt-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: var(--tbpt-bg-2); color: var(--tbpt-ink-2); font-size: 13px; font-weight: 650; line-height: 16px; }
.tbpt-badge--ok { background: var(--tbpt-ok-bg); color: var(--tbpt-ok); }
.tbpt-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; transition: background .15s; }
.tbpt-iconbtn:hover { background: var(--tbpt-bg-2); }
.tbpt-iconbtn--ring { border: 1px solid var(--tbpt-line); width: 36px; height: 36px; }
.tbpt-link { color: var(--tbpt-ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* ── Buscador pill ────────────────────────────────────────────────── */
.tbpt-search { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px 0 14px; border-radius: var(--tbpt-pill); background: var(--tbpt-bg-2); color: var(--tbpt-ink-2); }
.tbpt-search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 15px/20px var(--tbpt-font); color: var(--tbpt-ink); outline: none; padding: 8px 0; -webkit-appearance: none; }
.tbpt-search input::placeholder { color: #6b6b6b; }
.tbpt-search input::-webkit-search-decoration, .tbpt-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tbpt-search:focus-within { box-shadow: 0 0 0 2px var(--tbpt-ink); }
.tbpt-search--hero { min-height: 56px; background: #fff; color: var(--tbpt-ink-2); padding-left: 18px; box-shadow: var(--tbpt-shadow); }
.tbpt-search--hero input[type="search"] { font-size: 16px; }
.tbpt-search--hero .tbpt-btn { border-radius: var(--tbpt-pill); }
@media (max-width: 480px) { .tbpt-search--hero .tbpt-btn { display: none; } }

/* ── Header ──────────────────────────────────────────────────────── */
.tbpt-header { position: sticky; top: var(--tbpt-top); z-index: 9999; background: var(--tbpt-bg); border-bottom: 1px solid var(--tbpt-line); color: var(--tbpt-ink); }
.tbpt-header-in { display: flex; align-items: center; gap: 12px; height: var(--tbpt-header-h); }
.tbpt-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tbpt-logo-img { height: 32px; width: auto; display: block; }
.tbpt-logo-text { font-weight: 800; font-size: 20px; letter-spacing: -.3px; }
.tbpt-header-search { flex: 1 1 320px; max-width: 420px; display: none; }
@media (min-width: 900px) { .tbpt-header-search { display: flex; } }
.tbpt-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 900px) { .tbpt-nav { display: flex; } }
.tbpt-nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--tbpt-r-sm); border: 0; background: transparent; color: inherit; font: 400 16px/20px var(--tbpt-font); cursor: pointer; }
.tbpt-nav-link:hover { background: var(--tbpt-bg-2); }
.tbpt-header-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tbpt-cart-n { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tbpt-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.tbpt-burger { display: inline-flex; }
@media (min-width: 900px) { .tbpt-burger { display: none; } }
.tbpt-header.is-scrolled { box-shadow: 0 1px 10px rgba(24,24,24,.06); }

/* Header oscuro sobre el hero de la portada */
.tbpt-header--dark { background: #121212; border-bottom-color: rgba(255,255,255,.08); color: #fff; }
.tbpt-header--dark .tbpt-logo-img { background: #fff; padding: 5px 8px; border-radius: var(--tbpt-r-sm); height: 36px; }
.tbpt-header--dark .tbpt-nav-link:hover, .tbpt-header--dark .tbpt-iconbtn:hover { background: rgba(255,255,255,.12); }
.tbpt-header--dark .tbpt-btn--sm { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
.tbpt-header--dark .tbpt-btn--sm:hover { background: rgba(255,255,255,.2); }
.tbpt-header--dark .tbpt-btn--ghost { background: transparent; }
.tbpt-header--dark .tbpt-dd-menu { color: var(--tbpt-ink); }

/* Header de evento: barra de color con la píldora del evento (marketplace) */
.tbpt-header--evento { background: var(--tbpt-event, #b5552b); border-bottom: 0; color: var(--tbpt-event-ink, #fff); }
.tbpt-header--claro .tbpt-iconbtn, .tbpt-header--claro .tbpt-btn--sm, .tbpt-header--claro .tbpt-evpill { background: rgba(24,24,24,.08); color: var(--tbpt-event-ink); }
.tbpt-header--claro .tbpt-iconbtn:hover, .tbpt-header--claro .tbpt-btn--sm:hover, .tbpt-header--claro .tbpt-evpill:hover { background: rgba(24,24,24,.14); }
.tbpt-header--tienda .tbpt-header-search { background: rgba(255,255,255,.14); color: var(--tbpt-event-ink); display: flex; flex: 1 1 320px; max-width: 420px; }
.tbpt-header--tienda .tbpt-header-search input { color: var(--tbpt-event-ink); }
.tbpt-header--tienda .tbpt-header-search input::placeholder { color: var(--tbpt-event-soft); }
.tbpt-header--tienda .tbpt-header-search:focus-within { box-shadow: 0 0 0 2px var(--tbpt-event-ink); }
.tbpt-header--tienda .tbpt-burger { display: inline-flex; }
@media (max-width: 899px) { .tbpt-header--tienda .tbpt-header-search { display: none; } .tbpt-header--tienda [data-tbpt-search] { display: inline-flex; } }
.tbpt-header--evento .tbpt-logo-img { background: #fff; padding: 5px 8px; border-radius: var(--tbpt-r-sm); height: 36px; }
.tbpt-header--evento .tbpt-iconbtn { background: rgba(255,255,255,.14); }
.tbpt-header--evento .tbpt-iconbtn:hover { background: rgba(255,255,255,.24); }
.tbpt-header--evento .tbpt-btn--sm { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; }
.tbpt-header--evento .tbpt-btn--sm:hover { background: rgba(255,255,255,.24); }
.tbpt-header--evento .tbpt-burger { display: inline-flex; }
.tbpt-header--evento .tbpt-nav-link:hover { background: rgba(255,255,255,.14); }
.tbpt-header--claro .tbpt-nav-link:hover { background: rgba(24,24,24,.08); }
.tbpt-header--evento .tbpt-dd-menu { color: var(--tbpt-ink); }
.tbpt-header--evento .tbpt-cart-n { background: #181818; }
.tbpt-evpill { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; max-width: 800px; padding: 8px 12px 8px 8px; border-radius: var(--tbpt-r); background: rgba(255,255,255,.14); color: #fff; transition: background .15s; }
.tbpt-evpill:hover { background: rgba(255,255,255,.22); }
.tbpt-evpill-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--tbpt-event, #b5552b); overflow: hidden; flex: 0 0 auto; }
.tbpt-evpill-ico img { width: 100%; height: 100%; object-fit: cover; }
.tbpt-evpill-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tbpt-evpill-txt strong { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbpt-evpill-txt span { font-size: 15px; color: var(--tbpt-event-soft, rgba(255,255,255,.88)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbpt-evpill-chev { flex: 0 0 auto; opacity: .85; }
@media (max-width: 899px) {
    /* En móvil la píldora del evento manda: logo compacto y sin lupa (el menú trae buscador). */
    .tbpt-header--evento .tbpt-logo-img { max-width: 96px; object-fit: contain; }
    .tbpt-header--evento .tbpt-logo-text { font-size: 15px; }
    .tbpt-header--evento [data-tbpt-search] { display: none; }
    .tbpt-evpill { padding: 6px 10px 6px 6px; gap: 8px; }
    .tbpt-evpill-ico { width: 36px; height: 36px; }
    .tbpt-evpill-txt strong { font-size: 14px; }
    .tbpt-evpill-txt span { font-size: 12px; }
    .tbpt-evpill-chev { display: none; }
}
@media (min-width: 900px) { .tbpt-header--evento .tbpt-header-in { height: 80px; } }

/* Desplegables */
.tbpt-dd { position: relative; }
.tbpt-dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; max-height: 60vh; overflow: auto; padding: 8px; border-radius: var(--tbpt-r); background: #fff; border: 1px solid var(--tbpt-line); box-shadow: var(--tbpt-shadow); z-index: 50; display: none; }
.tbpt-dd.is-open .tbpt-dd-menu { display: block; animation: tbpt-pop .18s var(--tbpt-ease) backwards; }
.tbpt-dd-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--tbpt-r-sm); font-size: 15px; color: var(--tbpt-ink); }
.tbpt-dd-menu a:hover { background: var(--tbpt-bg-2); }
.tbpt-dd-menu a.is-on { font-weight: 700; background: var(--tbpt-bg-2); }
@keyframes tbpt-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Drawer móvil */
.tbpt-drawer-bg { position: fixed; inset: 0; background: rgba(24,24,24,.45); z-index: 10000; }
.tbpt-drawer { position: fixed; top: var(--tbpt-top); right: 0; bottom: 0; width: min(380px, 92vw); background: #fff; z-index: 10001; display: flex; flex-direction: column; box-shadow: var(--tbpt-shadow); animation: tbpt-slide .28s var(--tbpt-ease) backwards; overflow: auto; padding-bottom: env(safe-area-inset-bottom); }
.tbpt-drawer[hidden], .tbpt-drawer-bg[hidden] { display: none; }
@keyframes tbpt-slide { from { transform: translateX(100%); } to { transform: none; } }
.tbpt-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--tbpt-line); }
.tbpt-drawer-title { font-weight: 700; font-size: 17px; }
.tbpt-drawer-search { margin: 16px 20px 8px; }
.tbpt-drawer-nav { display: flex; flex-direction: column; padding: 8px 12px; }
.tbpt-drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: var(--tbpt-r-sm); font-size: 16px; min-height: 48px; }
.tbpt-drawer-nav a:hover { background: var(--tbpt-bg-2); }
.tbpt-drawer-foot { margin-top: auto; padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--tbpt-line); }
html.tbpt-lock { overflow: hidden; }

/* Modal de login */
.tbpt-modal-bg { position: fixed; inset: 0; background: rgba(24,24,24,.5); z-index: 10000; }
.tbpt-modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px)); background: #fff; border-radius: var(--tbpt-r-lg); padding: 28px 24px 24px; z-index: 10001; box-shadow: var(--tbpt-shadow); animation: tbpt-pop .2s var(--tbpt-ease) backwards; }
.tbpt-modal[hidden], .tbpt-modal-bg[hidden] { display: none; }
.tbpt-modal h2 { font-size: 24px; margin-bottom: 4px; }
.tbpt-modal-x { position: absolute; top: 10px; right: 10px; }
.tbpt-modal form { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.tbpt-modal form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tbpt-modal label { font-size: 14px; font-weight: 650; }
.tbpt-modal .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.tbpt-modal input[type="text"], .tbpt-modal input[type="password"] { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-r-sm); font: 400 16px var(--tbpt-font); background: #fff; }
.tbpt-modal input[type="submit"] { width: 100%; min-height: 48px; border-radius: var(--tbpt-r-sm); border: 0; background: var(--tbpt-ink); color: #fff; font: 650 16px var(--tbpt-font); cursor: pointer; }
.tbpt-modal-link { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--tbpt-ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ── Hero de portada ─────────────────────────────────────────────── */
.tbpt-hero { background: #121212 radial-gradient(70% 90% at 50% 100%, rgba(255,91,73,.38), rgba(255,91,73,0) 70%); color: #fff; padding: 56px 0 64px; text-align: center; }
@media (min-width: 768px) { .tbpt-hero { padding: 88px 0 96px; } }
.tbpt-hero h1 { color: #fff; font-size: 36px; line-height: 42px; letter-spacing: -.32px; }
@media (min-width: 768px) { .tbpt-hero h1 { font-size: 48px; line-height: 56px; } }
.tbpt-hero p { margin: 10px 0 24px; font-size: 17px; line-height: 24px; color: rgba(255,255,255,.86); }
.tbpt-hero-in { max-width: 760px; }
.tbpt-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

/* ── Secciones ───────────────────────────────────────────────────── */
.tbpt-section { padding: 36px 0; }
@media (min-width: 768px) { .tbpt-section { padding: 48px 0; } }
.tbpt-section--alt { background: var(--tbpt-bg-2); }
.tbpt-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tbpt-section-tools { display: flex; align-items: center; gap: 8px; }
.tbpt-section-tools .tbpt-iconbtn--ring { display: none; }
@media (min-width: 768px) { .tbpt-section-tools .tbpt-iconbtn--ring { display: inline-flex; } }

/* Carrusel horizontal (scroll nativo + flechas) */
.tbpt-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tbpt-gutter); padding: 4px 0 12px; margin: 0 calc(-1 * var(--tbpt-gutter)); padding-left: var(--tbpt-gutter); padding-right: var(--tbpt-gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tbpt-carousel::-webkit-scrollbar { display: none; }
.tbpt-carousel > * { scroll-snap-align: start; }
@media (min-width: 768px) { .tbpt-carousel { grid-auto-columns: 324px; gap: 20px; margin: 0; padding-left: 0; padding-right: 0; scroll-padding-inline: 0; } }

/* Tarjeta de evento */
.tbpt-card { display: flex; flex-direction: column; gap: 10px; color: var(--tbpt-ink); }
.tbpt-card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--tbpt-r); overflow: hidden; background: var(--tbpt-bg-3); }
.tbpt-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--tbpt-ease); }
.tbpt-card:hover .tbpt-card-media img { transform: scale(1.04); }
.tbpt-card-tag { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(24,24,24,.8); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; }
.tbpt-card-tag--on { background: var(--tbpt-ok); }
.tbpt-card-body { display: flex; flex-direction: column; gap: 2px; }
.tbpt-card-title { font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: .2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tbpt-card-meta { font-size: 15px; line-height: 20px; color: var(--tbpt-ink-2); }
.tbpt-card-price { font-size: 15px; line-height: 20px; font-weight: 650; margin-top: 2px; }
.tbpt-card.is-pasado .tbpt-card-media img { filter: grayscale(.4); }
.tbpt-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #2a2a2e, #4a3a36); color: rgba(255,255,255,.85); font-size: 44px; font-weight: 800; }

/* Rejilla de categorías (botones negros) */
.tbpt-catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .tbpt-catgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tbpt-catgrid { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.tbpt-catbtn { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 20px; border-radius: var(--tbpt-r); background: var(--tbpt-ink); color: #fff; font-size: 17px; font-weight: 700; transition: transform .2s var(--tbpt-ease), background .15s; }
.tbpt-catbtn:hover { background: #000; transform: translateY(-2px); }
.tbpt-catbtn .tbpt-ico { width: 22px; height: 22px; }

/* Ciudades */
.tbpt-citygrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .tbpt-citygrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tbpt-citygrid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.tbpt-citycard { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-r); background: #fff; transition: border-color .15s, transform .2s var(--tbpt-ease); }
.tbpt-citycard:hover { border-color: var(--tbpt-ink); transform: translateY(-2px); }
.tbpt-citycard .tbpt-ico { color: var(--tbpt-accent); margin-bottom: 6px; }
.tbpt-citycard strong { font-size: 17px; }
.tbpt-citycard span { font-size: 14px; color: var(--tbpt-ink-2); }

/* CTA organizadores */
.tbpt-cta { display: flex; flex-direction: column; gap: 20px; padding: 32px 24px; border-radius: var(--tbpt-r-lg); background: #121212 radial-gradient(60% 120% at 100% 0%, rgba(255,91,73,.35), rgba(255,91,73,0) 70%); color: #fff; }
@media (min-width: 768px) { .tbpt-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; } }
.tbpt-cta h2 { color: #fff; }
.tbpt-cta p { margin: 8px 0 0; color: rgba(255,255,255,.82); max-width: 560px; }

/* Vacíos */
.tbpt-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 20px; border: 1px dashed var(--tbpt-line); border-radius: var(--tbpt-r); text-align: center; color: var(--tbpt-ink-2); }
.tbpt-empty .tbpt-ico { width: 32px; height: 32px; color: var(--tbpt-ink-3); margin-bottom: 6px; }
.tbpt-empty strong { color: var(--tbpt-ink); font-size: 17px; }
.tbpt-empty a { text-decoration: underline; }

/* ── Listado ─────────────────────────────────────────────────────── */
.tbpt-listado { padding: 28px 0 56px; }
.tbpt-listado-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--tbpt-line); }
@media (min-width: 900px) { .tbpt-listado-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.tbpt-listado-head h1 { font-size: 26px; line-height: 32px; }
@media (min-width: 768px) { .tbpt-listado-head h1 { font-size: 32px; line-height: 40px; } }
.tbpt-listado-count { margin: 14px 0 6px; font-size: 15px; color: var(--tbpt-ink-2); }
.tbpt-rows { display: flex; flex-direction: column; }
.tbpt-row { display: grid; grid-template-columns: 96px 1fr; grid-template-areas: "media body" "media price"; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--tbpt-line); color: var(--tbpt-ink); transition: background .15s; }
@media (min-width: 640px) { .tbpt-row { grid-template-columns: 192px 1fr auto; grid-template-areas: "media body price"; gap: 20px; align-items: center; padding: 18px 0; } }
.tbpt-row:hover { background: var(--tbpt-bg-2); box-shadow: 0 0 0 12px var(--tbpt-bg-2); border-radius: 4px; }
.tbpt-row-media { grid-area: media; display: block; aspect-ratio: 8 / 5; border-radius: var(--tbpt-r-sm); overflow: hidden; background: var(--tbpt-bg-3); }
.tbpt-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbpt-row-media .tbpt-ph { font-size: 26px; }
.tbpt-row-body { grid-area: body; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tbpt-row-title { font-size: 17px; line-height: 24px; font-weight: 700; }
@media (min-width: 640px) { .tbpt-row-title { font-size: 20px; line-height: 26px; } }
.tbpt-row-meta { font-size: 15px; line-height: 20px; color: var(--tbpt-ink-2); }
.tbpt-row-body .tbpt-badges { margin-top: 4px; }
.tbpt-row-price { grid-area: price; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 640px) { .tbpt-row-price { align-items: flex-end; text-align: right; min-width: 110px; } }
.tbpt-row-price strong { font-size: 20px; line-height: 24px; }
.tbpt-row-price small { font-size: 14px; color: var(--tbpt-ink-2); }
.tbpt-row.is-pasado { opacity: .7; }
.tbpt-pag { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }

/* ── Evento: barra de contexto ───────────────────────────────────── */
.tbpt-eventbar { position: sticky; top: calc(var(--tbpt-header-h) + var(--tbpt-top)); z-index: 9000; background: var(--tbpt-ink); color: #fff; }
.tbpt-eventbar-in { display: flex; align-items: center; gap: 10px; min-height: 56px; padding-top: 6px; padding-bottom: 6px; }
.tbpt-eventbar-back { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); flex: 0 0 auto; }
.tbpt-eventbar-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tbpt-eventbar-txt strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbpt-eventbar-txt span { font-size: 13px; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .tbpt-eventbar-txt strong { font-size: 16px; } .tbpt-eventbar-txt span { font-size: 14px; } }
.tbpt-eventbar-cta { margin-left: auto; flex: 0 0 auto; }
/* En móvil, con hero, la barra solo aparece cuando el hero ya salió de la vista. */
@media (max-width: 767px) {
    .tbpt-eventbar--auto { transform: translateY(-110%); visibility: hidden; transition: transform .25s var(--tbpt-ease), visibility 0s .25s; }
    .tbpt-eventbar--auto.is-visible { transform: none; visibility: visible; transition: transform .25s var(--tbpt-ease), visibility 0s; }
    .tbpt-evento .tbpt-eventbar--auto { position: fixed; left: 0; right: 0; }
}
/* Anclas del portal (#tbpet-lugares, #tbpet-paquetes, timeline): aterrizan bajo header + barra. */
.tbpt-evento [id^="tbpet-"] { scroll-margin-top: calc(var(--tbpt-header-h) + var(--tbpt-top) + 64px); }
/* El portal del plugin ya trae su propio hero y fondo. */
.tbpt-evento .tbpt-main { background: var(--tbpet-bg, #f9f8f6); }
.tbpt-evento .tbpet-portal { width: 100%; left: auto; transform: none; }

/* ── Páginas y prosa ─────────────────────────────────────────────── */
.tbpt-page { padding: 32px 0 64px; }
.tbpt-page-title { margin-bottom: 16px; }
.tbpt-prose { font-size: 17px; line-height: 28px; color: var(--tbpt-ink); }
.tbpt-prose h2 { margin: 32px 0 10px; }
.tbpt-prose h3 { margin: 24px 0 8px; font-size: 20px; }
.tbpt-prose p, .tbpt-prose ul, .tbpt-prose ol { margin: 0 0 16px; }
.tbpt-prose a { text-decoration: underline; text-underline-offset: 3px; }
.tbpt-prose img { border-radius: var(--tbpt-r); }
.tbpt-post { padding: 20px 0; border-bottom: 1px solid var(--tbpt-line); }
.tbpt-post h2 { margin-bottom: 4px; }
.tbpt-post-media img { width: 100%; border-radius: var(--tbpt-r); margin: 12px 0 20px; }
.tbpt-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 0; }
.tbpt-404-code { font-size: 72px; font-weight: 800; letter-spacing: -2px; color: var(--tbpt-bg-3); line-height: 1; }
.tbpt-404 .tbpt-search { width: 100%; max-width: 520px; margin: 12px 0; }
.navigation.pagination { margin-top: 24px; }
.navigation.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-pill); font-size: 15px; }
.navigation.pagination .page-numbers.current { background: var(--tbpt-ink); color: #fff; border-color: var(--tbpt-ink); }

/* ── Footer ──────────────────────────────────────────────────────── */
.tbpt-footer { border-top: 1px solid var(--tbpt-line); padding: 48px 0 28px; background: #fff; color: var(--tbpt-ink); }
@media (min-width: 768px) { .tbpt-footer { padding-top: 60px; } }
.tbpt-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
@media (min-width: 900px) { .tbpt-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } }
.tbpt-footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .tbpt-footer-brand { grid-column: auto; } }
.tbpt-footer-brand p { margin: 14px 0 0; font-size: 15px; line-height: 22px; color: var(--tbpt-ink-2); max-width: 360px; }
.tbpt-footer h4 { margin-bottom: 12px; font-size: 15px; }
.tbpt-footer-grid a { display: block; padding: 5px 0; font-size: 15px; color: var(--tbpt-ink-2); }
.tbpt-footer-grid a:hover { color: var(--tbpt-ink); text-decoration: underline; text-underline-offset: 3px; }
.tbpt-footer-menu ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.tbpt-footer-menu a { font-size: 14px; color: var(--tbpt-ink-2); }
.tbpt-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--tbpt-line); font-size: 13px; color: var(--tbpt-ink-3); }
.tbpt-footer-bar a { color: var(--tbpt-ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ── WooCommerce: mismo lenguaje (botones negros, campos radio 8) ─── */
.tbpt-woo { padding-top: 24px; }
.tbpt-woo .tbpt-page-title { margin-bottom: 20px; }
.tbpt-woo .woocommerce { font-size: 16px; }
.tbpt .woocommerce h1, .tbpt .woocommerce h2, .tbpt .woocommerce h3 { color: var(--tbpt-ink); }
.tbpt .woocommerce h2 { font-size: 22px; margin: 24px 0 12px; }
.tbpt .woocommerce .button, .tbpt .woocommerce button.button, .tbpt .woocommerce a.button, .tbpt .woocommerce input.button, .tbpt .woocommerce #respond input#submit, .tbpt .woocommerce button.button.alt, .tbpt .woocommerce a.button.alt, .tbpt .woocommerce #place_order { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--tbpt-r-sm); background: var(--tbpt-ink); color: #fff; font: 650 16px/1 var(--tbpt-font); border: 0; cursor: pointer; }
.tbpt .woocommerce .button:hover, .tbpt .woocommerce button.button:hover, .tbpt .woocommerce a.button:hover, .tbpt .woocommerce #place_order:hover { background: #000; color: #fff; }
.tbpt .woocommerce .button:disabled, .tbpt .woocommerce button.button:disabled { opacity: .5; }
.tbpt .woocommerce form .form-row input.input-text, .tbpt .woocommerce form .form-row textarea, .tbpt .woocommerce form .form-row select, .tbpt .woocommerce-account .woocommerce-form input[type="text"], .tbpt .woocommerce-account .woocommerce-form input[type="email"], .tbpt .woocommerce-account .woocommerce-form input[type="password"], .tbpt .woocommerce input.input-text, .tbpt .select2-container--default .select2-selection--single { min-height: 48px; padding: 10px 14px; border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-r-sm); font: 400 16px/24px var(--tbpt-font); color: var(--tbpt-ink); background: #fff; box-shadow: none; }
.tbpt .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 26px; }
.tbpt .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.tbpt .woocommerce form .form-row label { font-size: 14px; font-weight: 650; color: var(--tbpt-ink); }
.tbpt .woocommerce form .form-row input:focus-visible, .tbpt .woocommerce form .form-row textarea:focus-visible, .tbpt .woocommerce form .form-row select:focus-visible { outline: 2px solid var(--tbpt-ink); outline-offset: 1px; }
.tbpt .woocommerce table.shop_table { border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-r); border-collapse: separate; overflow: hidden; }
.tbpt .woocommerce table.shop_table th, .tbpt .woocommerce table.shop_table td { border-color: var(--tbpt-line); padding: 12px 14px; }
.tbpt .woocommerce-checkout #payment { background: var(--tbpt-bg-2); border-radius: var(--tbpt-r); }
.tbpt .woocommerce-checkout #payment div.payment_box { background: #fff; border-radius: var(--tbpt-r-sm); }
.tbpt .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.tbpt .woocommerce-message, .tbpt .woocommerce-info, .tbpt .woocommerce-error { border-radius: var(--tbpt-r-sm); border-top-width: 0; border-left: 4px solid var(--tbpt-ink); background: var(--tbpt-bg-2); color: var(--tbpt-ink); }
.tbpt .woocommerce-error { border-left-color: var(--tbpt-accent); }
.tbpt .woocommerce-message { border-left-color: var(--tbpt-ok); }
.tbpt .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tbpt .woocommerce-MyAccount-navigation li a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-pill); font-size: 15px; }
.tbpt .woocommerce-MyAccount-navigation li.is-active a { background: var(--tbpt-ink); color: #fff; border-color: var(--tbpt-ink); font-weight: 650; }
@media (min-width: 769px) { .tbpt .woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; margin-bottom: 20px; } .tbpt .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; } }
.tbpt .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; }
.tbpt .woocommerce ul.products li.product a img { border-radius: var(--tbpt-r); }
.tbpt .woocommerce span.onsale { background: var(--tbpt-accent); border-radius: 6px; min-height: 0; line-height: 1.6; padding: 2px 8px; }

/* ── Movimiento reducido ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .tbpt *, .tbpt *::before, .tbpt *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* ── Evento en modo "Vender lugares": selector a lo ancho, estilo marketplace ── */
.tbpt-evento--lugares .tbpt-main { background: #fff; }
.tbpt-evento--lugares .tbpet-portal-lugares { width: 100%; }
.tbpt-evento--lugares .tbpet-lugares { margin: 0; padding: 0; }
.tbpt-evento--lugares .tbpet-lug--app { max-width: none; padding: 0; }
.tbpt-evento--lugares .tbpet-lugares-aviso-admin { margin: 12px 16px; }
@media (min-width: 900px) {
    .tbpt-evento--lugares .tbpet-lug-app { grid-template-columns: minmax(420px, 44%) minmax(0, 1fr); gap: 0; align-items: stretch; }
    .tbpt-evento--lugares .tbpet-lug-panel { max-height: calc(100vh - var(--tbpt-header-h) - var(--tbpt-top) - 8px); padding: 16px 28px 32px 32px; border-right: 1px solid var(--tbpt-line); }
    .tbpt-evento--lugares .tbpet-lug-mapwrap { top: calc(var(--tbpt-header-h) + var(--tbpt-top) + 8px); align-self: start; }
    .tbpt-evento--lugares .tbpet-lug-mapa { border: 0; border-radius: 0; box-shadow: none; background: #f3f4f8; }
    .tbpt-evento--lugares .tbpet-lug-mapa::after { display: none; }
    .tbpt-evento--lugares .tbpet-lug-mapa-scroll { height: calc(100vh - var(--tbpt-header-h) - var(--tbpt-top) - 8px); min-height: 520px; }
    .tbpt-evento--lugares .tbpet-lug-skel-mapa { height: calc(100vh - var(--tbpt-header-h) - 8px); border-radius: 0; }
    .tbpt-evento--lugares .tbpet-lug-app.is-bloqueado .tbpet-lug-mapwrap { position: sticky; }
    .tbpt-evento--lugares .tbpet-header, .tbpt-evento--lugares .tbpt-header { --tbpt-header-h: 80px; }
    .tbpt-evento--lugares { --tbpt-header-h: 80px; }
}
/* Barra de chips: cantidad en negro + orden como chip blanco */
.tbpt-evento--lugares .tbpet-lug-filtros { gap: 8px; margin: 0 0 16px; }
.tbpt-evento--lugares .tbpet-lug-chipq { background: var(--tbpt-ink); min-height: 40px; padding: 0 16px 0 12px; font-size: 15px; font-weight: 650; }
.tbpt-evento--lugares .tbpet-lug-chipq .tbpet-lug-ico { color: #fff; }
.tbpt-evento--lugares .tbpet-lug-lista-head { padding: 0 0 8px; border-bottom: 1px solid var(--tbpt-line); margin: 0; }
.tbpt-evento--lugares .tbpet-lug-lista-head strong { font-size: 16px; font-weight: 700; }
.tbpt-evento--lugares .tbpet-lug-lista-head .tbpet-lug-link { color: var(--tbpt-ink); font-weight: 650; }
/* Tipografía del marketplace (sin serif) en el selector */
.tbpt-evento--lugares .tbpet-lug-serif, .tbpt-evento--lugares .tbpet-lug-ficha-precio strong, .tbpt-evento--lugares .tbpet-lug-total strong, .tbpt-evento--lugares .tbpet-lug-card-sinfoto { font-family: var(--tbpt-font); letter-spacing: 0; font-weight: 700; }
/* Lista de zonas como listado: filas con miniatura, sin tarjeta */
.tbpt-evento--lugares .tbpet-lug-cards { gap: 0; }
.tbpt-evento--lugares .tbpet-lug-card { grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--tbpt-line); border-radius: 0; background: transparent; align-items: center; }
.tbpt-evento--lugares .tbpet-lug-card:hover, .tbpt-evento--lugares .tbpet-lug-card:focus-visible { box-shadow: none; transform: none; background: var(--tbpt-bg-2); }
.tbpt-evento--lugares .tbpet-lug-card img, .tbpt-evento--lugares .tbpet-lug-card-sinfoto { width: 160px; height: 112px; border-radius: var(--tbpt-r-sm); }
.tbpt-evento--lugares .tbpet-lug-card-top > strong { font-size: 20px; line-height: 26px; }
.tbpt-evento--lugares .tbpet-lug-card-precio strong { font-size: 20px; }
.tbpt-evento--lugares .tbpet-lug-card-precio small { font-size: 14px; }
.tbpt-evento--lugares .tbpet-lug-card-sub { font-size: 15px; line-height: 20px; color: var(--tbpt-ink-2); }
.tbpt-evento--lugares .tbpet-lug-badge { border-radius: 6px; font-size: 13px; }
.tbpt-evento--lugares .tbpet-lug-badge--barato { background: var(--tbpt-ok-bg); color: var(--tbpt-ok); }
.tbpt-evento--lugares .tbpet-lug-back { border-radius: 50%; }
/* Botón principal del selector (Continuar / pagar) en negro, radio 8 */
.tbpt-evento--lugares .tbpet-lugares .tbpet-ticket-buy { border-radius: var(--tbpt-r-sm); background: var(--tbpt-ink); color: #fff; font-weight: 650; }
/* Lo que sigue al selector (identificación, agenda, descargas) vuelve al contenedor normal */
.tbpt-evento--lugares .tbpet-portal-body { padding-top: 40px; }
@media (max-width: 899px) {
    .tbpt-evento--lugares .tbpet-lug--app { padding: 0 16px 24px; }
    .tbpt-evento--lugares .tbpet-lug-card { grid-template-columns: 112px 1fr; gap: 14px; padding: 14px 0; }
    .tbpt-evento--lugares .tbpet-lug-card img, .tbpt-evento--lugares .tbpet-lug-card-sinfoto { width: 112px; height: 84px; }
    .tbpt-evento--lugares .tbpet-lug-card-top > strong { font-size: 17px; line-height: 24px; }
}

/* ── Tienda del organizador (página de equipo) ───────────────────── */
.tbpt-tienda-hero { background: var(--tbpt-event, #181818); color: var(--tbpt-event-ink, #fff); padding: 56px 0 64px; }
@media (min-width: 900px) { .tbpt-tienda-hero { padding: 68px 0 72px; } }
.tbpt-tienda-hero-in { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .tbpt-tienda-hero-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; } }
.tbpt-tienda-hero h1 { color: inherit; font-size: 36px; line-height: 42px; letter-spacing: -.5px; }
@media (min-width: 900px) { .tbpt-tienda-hero h1 { font-size: 48px; line-height: 56px; } }
.tbpt-tienda-sub { margin: 6px 0 0; font-size: 17px; color: var(--tbpt-event-soft, rgba(255,255,255,.86)); }
.tbpt-tienda-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border-radius: 10px; background: rgba(255,255,255,.14); font-size: 15px; font-weight: 650; color: inherit; }
.tbpt-header--claro + * .tbpt-tienda-badge, .tbpt-tienda-hero.is-claro .tbpt-tienda-badge { background: rgba(24,24,24,.08); }
.tbpt-tienda-img { flex: 0 0 auto; width: min(100%, 400px); aspect-ratio: 4 / 3; border-radius: var(--tbpt-r-lg); overflow: hidden; background: rgba(255,255,255,.1); box-shadow: 0 24px 50px rgba(0,0,0,.25); transform: rotate(-2deg); }
.tbpt-tienda-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbpt-tienda-tabs { border-bottom: 1px solid var(--tbpt-line); background: #fff; }
.tbpt-tienda-tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tbpt-tienda-tabs-in::-webkit-scrollbar { display: none; }
.tbpt-tienda-tab { display: inline-flex; align-items: center; padding: 16px 12px; border-bottom: 3px solid transparent; font-size: 15px; white-space: nowrap; color: var(--tbpt-ink); margin-bottom: -1px; }
.tbpt-tienda-tab.is-on { font-weight: 650; border-bottom-color: var(--tbpt-event, var(--tbpt-accent)); }
.tbpt-tienda-tab:hover { background: var(--tbpt-bg-2); }
.tbpt-tienda-body { padding-top: 24px; padding-bottom: 64px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1000px) { .tbpt-tienda-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.tbpt-tienda-body h2 { font-size: 18px; margin: 24px 0 8px; }
.tbpt-sched { display: flex; flex-direction: column; }
.tbpt-sched-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "date cta" "info cta"; gap: 2px 16px; align-items: center; padding: 14px 8px; margin: 0 -8px; border-radius: var(--tbpt-r); color: var(--tbpt-ink); transition: box-shadow .2s var(--tbpt-ease), background .15s; }
@media (min-width: 640px) { .tbpt-sched-row { grid-template-columns: 110px minmax(0, 1fr) auto; grid-template-areas: "date info cta"; gap: 24px; min-height: 70px; padding: 12px 16px; margin: 0 -16px; } }
.tbpt-sched-row:hover { background: #fff; box-shadow: 0 8px 24px rgba(24,24,24,.12); }
.tbpt-sched-date { grid-area: date; display: flex; flex-direction: column; line-height: 1.2; }
.tbpt-sched-date strong { font-size: 17px; }
.tbpt-sched-date span { font-size: 15px; color: var(--tbpt-ink-3); }
@media (max-width: 639px) { .tbpt-sched-date { flex-direction: row; gap: 8px; align-items: baseline; } }
.tbpt-sched-info { grid-area: info; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tbpt-sched-info strong { font-size: 17px; line-height: 24px; }
.tbpt-sched-info span { font-size: 15px; color: var(--tbpt-ink-2); }
.tbpt-sched-cta { grid-area: cta; align-self: center; }
.tbpt-sched-cta .tbpt-btn { background: var(--tbpt-event, var(--tbpt-ink)); border-color: var(--tbpt-event, var(--tbpt-ink)); color: var(--tbpt-event-ink, #fff); min-height: 44px; font-size: 15px; }
.tbpt-sched-cta .tbpt-btn:hover { filter: brightness(.92); }
.tbpt-sched-row.is-pasado { opacity: .6; }
.tbpt-trust { border: 1px solid var(--tbpt-line); border-radius: var(--tbpt-r); padding: 4px 24px; background: #fff; align-self: start; }
@media (min-width: 1000px) { .tbpt-trust { position: sticky; top: calc(var(--tbpt-header-h) + var(--tbpt-top) + 16px); } }
.tbpt-trust-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--tbpt-line); }
.tbpt-trust-item:last-child { border-bottom: 0; }
.tbpt-trust-item .tbpt-ico { width: 32px; height: 32px; color: var(--tbpt-ok); }
.tbpt-trust-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.tbpt-trust-item span { font-size: 15px; line-height: 22px; color: var(--tbpt-ink-2); }
.tbpt-trust-item a { color: var(--tbpt-ink); text-decoration: underline; text-underline-offset: 3px; }
.tbpt-tienda-desc { font-size: 16px; line-height: 26px; color: var(--tbpt-ink-2); max-width: 720px; margin: 0 0 8px; }
