/* ============================================================
   Pintiket Landing v2 — SOLD OUTS
   Paleta: magenta #E411AB / azul #27ADFF / negro #000
   Estética: limpio, oscuro, premium. Líneas finas, sin
   gradientes ni sombras exageradas.
   ============================================================ */

:root {
    --pt-magenta: #E411AB;
    --pt-blue: #27ADFF;
    --pt-bg: #000000;
    --pt-text: #FFFFFF;
    --pt-muted: #B7B7B7;
    --pt-border: rgba(255, 255, 255, 0.18);
    --pt-border-dark: #333333;
}

html {
    scroll-behavior: smooth;
}

/* ================= CONTAINER ================= */
.pt-container {
    width: min(94%, 1200px);
    margin-inline: auto;
}

/* ================= BASE OSCURA ================= */
body.pt-landing-dark {
    background-color: var(--pt-bg) !important;
    color: var(--pt-text) !important;
    font-family: 'Montserrat', 'Nunito', sans-serif !important;
}

body.pt-landing-dark a {
    color: inherit;
}

/* ================= NAVBAR (flotante sobre el hero) ================= */
.pt-navbar-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0 0;
    background: transparent;
}

/* En páginas sin hero el navbar va en flujo normal */
body:not(.pt-landing-dark) .pt-navbar-area {
    position: relative;
}

.pt-navbar-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    width: min(92%, 1200px);
    margin: 0 auto;
    height: 56px;
    padding: 0 18px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.pt-brand {
    display: inline-flex;
    align-items: center;
}

.pt-brand img {
    width: 163px;
    height: 40px;
    display: block;
}

.pt-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-nav-links a {
    position: relative;
    color: var(--pt-muted);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: color .15s ease;
}

.pt-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--pt-magenta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.pt-nav-links a:hover::after,
.pt-nav-links a.is-active::after {
    transform: scaleX(1);
}

.pt-nav-links a:hover,
.pt-nav-links a.is-active {
    color: var(--pt-text);
}

.pt-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Botones */
.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
}

.pt-btn:hover {
    transform: translateY(-1px);
    opacity: .9;
    text-decoration: none;
}

.pt-btn-magenta {
    background: var(--pt-magenta);
    color: #fff;
}

.pt-btn-magenta:hover {
    color: #fff;
}

.pt-btn-blue {
    background: var(--pt-blue);
    color: #fff;
}

.pt-btn-blue:hover {
    color: #fff;
}

.pt-btn-outline-blue {
    background: transparent;
    color: var(--pt-blue);
    border: 1px solid var(--pt-blue);
}

.pt-btn-outline-blue:hover {
    color: var(--pt-blue);
    border-color: var(--pt-blue);
}

/* Menú de usuario */
.pt-user-menu .pt-user-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--pt-magenta);
    border: 0;
    font-weight: 700;
    font-size: 12px;
}

.pt-user-menu .dropdown-menu {
    background: #0a0a0a;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
}

.pt-user-menu .dropdown-menu .dropdown-item {
    color: var(--pt-text);
    font-size: 13px;
}

.pt-user-menu .dropdown-menu .dropdown-item:hover {
    background: #161616;
    color: var(--pt-magenta);
}

/* Toggle móvil */
.pt-nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--pt-border);
    border-radius: 8px;
    color: var(--pt-text);
    width: 40px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.pt-mobile-menu {
    background: #000;
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    width: min(92%, 1200px);
    margin: 8px auto 0;
    padding: 10px 18px 16px;
}

.pt-mobile-menu .pt-mobile-links {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.pt-mobile-menu .pt-mobile-links a {
    display: block;
    padding: 12px 4px;
    color: var(--pt-muted);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-mobile-menu .pt-mobile-links a:hover {
    color: var(--pt-magenta);
}

.pt-mobile-menu .pt-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ================= HERO (próximo evento) ================= */
.pt-hero {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
}

.pt-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= HERO SLIDER (banners) ================= */
.pt-hero .pt-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pt-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.pt-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    display: block;
}

.pt-slide picture,
.pt-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-slider-prev,
.pt-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: var(--pt-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pt-slider-prev {
    left: 16px;
}

.pt-slider-next {
    right: 16px;
}

.pt-slider-prev:hover,
.pt-slider-next:hover {
    background: var(--pt-magenta);
}

.pt-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pt-slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.pt-slider-dots button.is-active {
    background: var(--pt-magenta);
}

/* ================= BUSCADOR (barra segmentada) ================= */
.pt-search-area {
    padding: 20px 0 8px;
}

.pt-search-bar {
    display: flex;
    align-items: stretch;
    width: min(96%, 1200px);
    margin: 0 auto;
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    background: #000;
    transition: border-color .25s ease;
}

.pt-search-bar:hover {
    border-color: rgba(228, 17, 171, 0.55);
}

.pt-search-seg {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background .2s ease;
}

.pt-search-seg:last-of-type {
    border-right: 0;
}

.pt-search-seg i {
    color: var(--pt-muted);
    font-size: 13px;
    transition: color .2s ease;
}

.pt-search-seg:focus-within {
    background: rgba(255, 255, 255, 0.05);
}

.pt-search-seg:focus-within i {
    color: var(--pt-magenta);
}

.pt-search-seg input,
.pt-search-seg select {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--pt-text);
    font-family: inherit;
    font-size: 13px;
    padding: 14px 0;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.pt-search-seg select {
    cursor: pointer;
}

.pt-search-seg input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.pt-search-select {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.pt-search-select select {
    width: 100%;
    padding-right: 22px;
}

.pt-search-select i {
    position: absolute;
    right: 0;
    color: var(--pt-muted);
    font-size: 12px;
    pointer-events: none;
}

.pt-search-select:hover i {
    color: var(--pt-blue);
}

.pt-search-select select:has(option:checked[value=""]) {
    color: rgba(255, 255, 255, 0.45);
}

.pt-search-select select option {
    background: #0a0a0a;
    color: var(--pt-text);
}

/* Dropdown personalizado */
.pt-select {
    position: relative;
    width: 100%;
}

.pt-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--pt-text);
    font-family: inherit;
    font-size: 13px;
    padding: 14px 0;
    cursor: pointer;
}

.pt-select-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-select-value.is-placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.pt-select-trigger i {
    color: var(--pt-muted);
    font-size: 12px;
    flex: 0 0 auto;
    transition: color .2s ease, transform .2s ease;
}

.pt-select-trigger i.is-open {
    color: var(--pt-magenta);
    transform: rotate(180deg);
}

.pt-select:hover .pt-select-trigger i {
    color: var(--pt-blue);
}

.pt-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: max-content;
    min-width: 100%;
    max-width: 280px;
    background: #0a0a0a;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    padding: 6px;
    z-index: 1000;
    max-height: 240px;
    overflow-y: auto;
    outline: none;
}

.pt-select-option {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--pt-text);
    font-family: inherit;
    font-size: 13px;
    padding: 9px 12px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.pt-select-option:hover,
.pt-select-option.is-highlighted {
    background: rgba(228, 17, 171, 0.15);
    color: var(--pt-magenta);
}

.pt-select-option.is-active {
    background: var(--pt-blue);
    color: #fff;
}

.pt-select-option.is-active:hover,
.pt-select-option.is-active.is-highlighted {
    color: #fff;
    background: var(--pt-blue);
}

.pt-select-native {
    position: absolute !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pt-search-seg input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.pt-search-date input[type="date"] {
    appearance: auto;
    -webkit-appearance: auto;
    color: transparent;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.pt-search-date input[type="date"]::-webkit-datetime-edit,
.pt-search-date input[type="date"]::-webkit-datetime-edit-text,
.pt-search-date input[type="date"]::-webkit-datetime-edit-month-field,
.pt-search-date input[type="date"]::-webkit-datetime-edit-day-field,
.pt-search-date input[type="date"]::-webkit-datetime-edit-year-field {
    color: transparent;
}

.pt-search-date input[type="date"].has-value {
    color: var(--pt-text);
    text-fill-color: var(--pt-text);
    -webkit-text-fill-color: var(--pt-text);
}

.pt-search-date input[type="date"].has-value::-webkit-datetime-edit {
    color: var(--pt-text);
}

.pt-search-date .pt-search-placeholder {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    pointer-events: none;
    white-space: nowrap;
}

.pt-search-btn {
    flex: 0 0 90px;
    border-radius: 0 12px 12px 0;
    font-weight: 800;
    letter-spacing: .5px;
}

/* ================= SECCIONES ================= */
.pt-section {
    padding: 40px 0;
}

.pt-section-head {
    margin-bottom: 40px;
}

.pt-section-head.center {
    text-align: center;
}

.pt-kicker {
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--pt-blue);
    margin-bottom: 8px;
}

.pt-section-title {
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pt-text);
    margin: 0;
    letter-spacing: .5px;
}

.pt-accent {
    color: var(--pt-magenta);
}

/* ================= CATEGORÍAS (circulares) ================= */
.pt-cats {
    padding: 20px 0 28px;
}

.pt-cats-scroll {
    display: flex;
    justify-content: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.pt-cats-scroll::-webkit-scrollbar {
    display: none;
}

.pt-cat {
    text-align: center;
    text-decoration: none;
    flex: 0 0 auto;
    width: 100px;
}

.pt-cat-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--pt-bg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--pt-text);
    font-size: 28px;
    transition: background .15s ease, border-color .15s ease;
}

.pt-cat.is-active .pt-cat-circle {
    background: var(--pt-blue);
    border-color: var(--pt-blue);
    color: #fff;
}

.pt-cat-name {
    display: block;
    margin-top: 10px;
    color: var(--pt-muted);
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pt-cat.is-active .pt-cat-name {
    color: var(--pt-text);
}

/* ================= TARJETA DE EVENTO ================= */
.pt-card {
    background: var(--pt-bg);
    border: 1px solid #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 270px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease;
}

.pt-card:hover {
    transform: translateY(-2px);
}

.pt-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.pt-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-card-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--pt-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 3px 8px;
    border-radius: 10px;
}

.pt-card-tag.pt-tag-free {
    top: 28px;
    background: #22c55e;
}

.pt-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pt-card-name {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--pt-text);
    margin: 0;
    line-height: 1.25;
}

.pt-card-name a {
    color: var(--pt-text);
    text-decoration: none;
}

.pt-card-name a:hover {
    color: var(--pt-magenta);
}

.pt-card-loc,
.pt-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pt-muted);
    font-size: 11.5px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-card-loc i {
    color: var(--pt-muted);
    font-size: 12px;
    flex: 0 0 auto;
}

.pt-card-date i {
    color: var(--pt-muted);
    font-size: 12px;
    flex: 0 0 auto;
}

.pt-card-price {
    margin-top: 2px;
    font-size: 17px;
    font-weight: 800;
    color: var(--pt-text);
    line-height: 1;
}

.pt-card-from {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--pt-muted);
    margin-bottom: 3px;
}

.pt-card-btn {
    margin-top: auto;
    align-self: flex-end;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* Carrusel destacados */
.pt-carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.pt-carousel-track {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.pt-carousel-row {
    display: flex;
    transition: transform .4s ease;
    width: 100%;
}

.pt-carousel-item {
    flex: 0 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
}

.pt-carousel-item .pt-card {
    max-width: 280px;
    height: 100%;
}

.pt-carousel-arrow {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    color: var(--pt-text);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    transition: opacity .15s ease;
    font-weight: 300;
}

.pt-carousel-arrow:hover {
    opacity: .7;
}

/* Grilla próximos eventos */
.pt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ================= CÓMO FUNCIONA ================= */
.pt-how {
    padding: 60px 0 48px;
}

.pt-how .pt-kicker {
    letter-spacing: 5px;
}

.pt-how-title {
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pt-text);
    line-height: 1.1;
    margin: 6px 0 56px;
    max-width: 760px;
    letter-spacing: .5px;
}

.pt-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.pt-step {
    flex: 1;
    padding-right: 40px;
}

.pt-step:last-child {
    padding-right: 0;
}

.pt-step-divider {
    flex: 0 0 1px;
    align-self: stretch;
    background: #555;
    margin: 4px 40px 4px 0;
}

.pt-step-num {
    display: block;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--pt-magenta);
    margin-bottom: 18px;
}

.pt-step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--pt-text);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 10px;
}

.pt-step p {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--pt-muted);
    max-width: 240px;
    margin: 0;
}

/* ================= FOOTER ================= */
.pt-footer {
    border-top: 1px solid var(--pt-border-dark);
    padding: 72px 0 56px;
    text-align: center;
}

.pt-footer-logo img {
    width: 260px;
    height: auto;
    margin: 0 auto 12px;
}

.pt-footer-tag {
    color: var(--pt-blue);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 44px;
}

.pt-footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pt-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px;
}

.pt-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
}

.pt-social li a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--pt-magenta);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
}

.pt-social li a:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.pt-legal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pt-text);
    margin: 0 0 12px;
}

.pt-legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pt-legal-links a {
    color: var(--pt-muted);
    font-size: 15px;
    text-decoration: none;
    transition: color .15s ease;
}

.pt-legal-links a:hover {
    color: var(--pt-text);
}

.pt-legal-links .pt-sep {
    color: var(--pt-muted);
    font-size: 15px;
}

/* ================= PÁGINAS LEGALES ================= */
.pt-legal {
    padding: 120px 0 64px;
}

.pt-legal .pt-kicker {
    letter-spacing: 5px;
}

.pt-legal-title {
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pt-text);
    line-height: 1.15;
    margin: 6px 0 28px;
    letter-spacing: .5px;
}

.pt-legal-card {
    background: #111;
    border: 1px solid var(--pt-border);
    border-radius: 14px;
    padding: 32px 36px;
    max-width: 900px;
}

.pt-legal-content {
    color: var(--pt-muted);
    font-size: 14px;
    line-height: 1.8;
}

.pt-legal-content h1,
.pt-legal-content h2,
.pt-legal-content h3,
.pt-legal-content h4,
.pt-legal-content h5 {
    color: var(--pt-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 28px 0 12px;
}

.pt-legal-content h1 { font-size: 22px; }
.pt-legal-content h2 { font-size: 19px; }
.pt-legal-content h3 { font-size: 17px; }
.pt-legal-content h4 { font-size: 15px; }
.pt-legal-content h5 { font-size: 14px; }

.pt-legal-content p {
    color: var(--pt-muted);
    margin: 0 0 14px;
}

.pt-legal-content a {
    color: var(--pt-blue);
    text-decoration: underline;
}

.pt-legal-content ul,
.pt-legal-content ol {
    padding-left: 22px;
    margin: 0 0 14px;
}

.pt-legal-content li {
    color: var(--pt-muted);
    margin-bottom: 6px;
}

.pt-legal-content strong {
    color: var(--pt-text);
}

.pt-legal-content blockquote {
    border-left: 3px solid var(--pt-magenta);
    margin: 0 0 14px;
    padding: 4px 16px;
    color: var(--pt-muted);
    background: rgba(255, 255, 255, 0.03);
}

.pt-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
}

.pt-legal-content th,
.pt-legal-content td {
    border: 1px solid var(--pt-border-dark);
    padding: 8px 12px;
    color: var(--pt-muted);
}

.pt-legal-content th {
    color: var(--pt-text);
    background: rgba(255, 255, 255, 0.04);
}

/* ================= RESULTADOS DE BÚSQUEDA ================= */
.pt-search-page {
    padding: 24px 0 0;
}

.pt-search-results {
    padding: 8px 0 48px;
}

.pt-search-results-head {
    margin-bottom: 28px;
}

.pt-search-results-head .pt-kicker {
    letter-spacing: 5px;
}

.pt-search-results-head .pt-section-title {
    font-size: 34px;
}

.pt-search-empty {
    color: var(--pt-muted);
    font-size: 15px;
    padding: 40px 0;
}

.pt-grid-skeleton .pt-card-skeleton {
    min-height: 240px;
    background: #0d0d0d;
    border: 1px solid var(--pt-border);
    border-radius: 14px;
    animation: pt-skeleton-pulse 1.2s ease-in-out infinite;
}

@keyframes pt-skeleton-pulse {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

.pt-search-pagination {
    display: flex;
    justify-content: flex-end;
    padding: 24px 0 0;
}

.pt-search-pagination .pagination {
    margin: 0;
}

.pt-search-pagination .page-item .page-link {
    background: #111;
    border: 1px solid var(--pt-border);
    color: var(--pt-muted);
    font-family: inherit;
    font-size: 13px;
    padding: 7px 13px;
}

.pt-search-pagination .page-item.active .page-link {
    background: var(--pt-magenta);
    border-color: var(--pt-magenta);
    color: #fff;
}

.pt-search-pagination .page-item .page-link:hover {
    color: var(--pt-text);
    border-color: var(--pt-blue);
}

/* ================= BOTÓN VOLVER ARRIBA ================= */
#toTop.top-btn {
    background: var(--pt-magenta);
    color: #fff;
    -webkit-box-shadow: 0 0 15px rgba(228, 17, 171, 0.45);
    box-shadow: 0 0 15px rgba(228, 17, 171, 0.45);
}

#toTop.top-btn:hover {
    background: var(--pt-blue);
    color: #fff;
    -webkit-box-shadow: 0 0 15px rgba(39, 173, 255, 0.45);
    box-shadow: 0 0 15px rgba(39, 173, 255, 0.45);
}

/* ================= COPYRIGHT ================= */
.pt-copyright {
    border-top: 1px solid #222;
    padding: 18px 0;
    text-align: center;
}

.pt-copyright p {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.pt-copyright a {
    color: var(--pt-blue);
    text-decoration: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .pt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-steps {
        flex-direction: column;
        gap: 40px;
    }

    .pt-step-divider {
        display: none;
    }

    .pt-step {
        padding-right: 0;
    }

    .pt-step p {
        max-width: 100%;
    }

    .pt-how-title {
        font-size: 34px;
    }

    .pt-legal-title {
        font-size: 34px;
    }

    .pt-search-results-head .pt-section-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .pt-nav-links,
    .pt-nav-actions {
        display: none;
    }

    .pt-nav-toggle {
        display: inline-flex;
    }

    .pt-navbar-box {
        grid-template-columns: 1fr auto 1fr;
    }

    .pt-nav-toggle {
        grid-column: 3;
        justify-self: end;
    }
}

@media (max-width: 767px) {
    .pt-hero {
        height: 220px;
    }

    .pt-navbar-area {
        padding-top: 10px;
    }

    .pt-navbar-box {
        height: 50px;
    }

    .pt-brand img {
        width: 130px;
        height: 32px;
    }

    .pt-footer-logo img {
        width: 150px;
    }

    .pt-cats-scroll {
        justify-content: flex-start;
        gap: 24px;
    }

    .pt-search-area {
        padding: 14px 0 4px;
    }

    .pt-search-bar {
        flex-wrap: wrap;
    }

    .pt-search-seg {
        flex: 1 1 50%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pt-search-seg:nth-child(2n) {
        border-right: 0;
    }

    .pt-search-btn {
        flex: 1 1 100%;
        border-radius: 0 0 12px 12px;
        padding: 13px 0;
    }

    .pt-section {
        padding: 30px 0;
    }

    .pt-section-title {
        font-size: 24px;
    }

    .pt-how-title {
        font-size: 28px;
    }

    .pt-legal {
        padding: 96px 0 48px;
    }

    .pt-legal-title {
        font-size: 26px;
    }

    .pt-legal-card {
        padding: 22px 18px;
    }

    .pt-search-results-head .pt-section-title {
        font-size: 24px;
    }

    .pt-search-pagination {
        justify-content: center;
    }

    .pt-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= PRELOADER (navegación entre páginas) ================= */
.pt-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pt-bg);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pt-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pt-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.pt-preloader-logo {
    width: 220px;
    max-width: 70vw;
    height: auto;
    display: block;
    animation: pt-logo-breathe 1.6s ease-in-out infinite;
}

.pt-preloader-bar {
    width: 160px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
}

.pt-preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    border-radius: 999px;
    background: var(--pt-magenta);
    animation: pt-bar-slide 1.1s ease-in-out infinite;
}

@keyframes pt-logo-breathe {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.75;
        transform: scale(0.97);
    }
}

@keyframes pt-bar-slide {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(270%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pt-preloader-logo,
    .pt-preloader-bar::after {
        animation: none;
    }
}

/* ================= LOADER INVOICE ================= */
.pt-invoice-loader {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--pt-bg);
}

.pt-invoice-loader img {
    width: 200px;
    max-width: 70vw;
    height: auto;
    display: block;
}

.pt-invoice-loader-bar {
    width: 160px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
}

.pt-invoice-loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    border-radius: 999px;
    background: var(--pt-magenta);
    animation: pt-bar-slide 1.1s ease-in-out infinite;
}

/* ================= FACTURA / RESERVACIÓN ================= */
.pt-invoice {
    padding: 120px 0 72px;
    min-height: 100vh;
}

.pt-invoice-card {
    background: #111;
    border: 1px solid var(--pt-border);
    border-radius: 14px;
    padding: 32px 36px;
    max-width: 920px;
    margin: 0 auto;
}

.pt-invoice-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--pt-border);
}

.pt-invoice-head .pt-kicker {
    letter-spacing: 5px;
}

.pt-invoice-brand {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 12px;
}

.pt-invoice-title {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--pt-text);
    line-height: 1.2;
    margin: 6px 0 10px;
    letter-spacing: .5px;
}

.pt-invoice-subtitle {
    color: var(--pt-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}

.pt-invoice-print {
    flex-shrink: 0;
}

.pt-invoice-grid {
    display: grid;
    gap: 18px 24px;
    margin-bottom: 26px;
}

.pt-invoice-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pt-invoice-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pt-invoice-item span {
    display: block;
    color: var(--pt-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 4px;
}

.pt-invoice-item strong {
    display: block;
    color: var(--pt-text);
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.pt-text-magenta {
    color: var(--pt-magenta) !important;
}

.pt-text-muted {
    color: var(--pt-muted) !important;
}

.pt-invoice-section {
    border-top: 1px solid var(--pt-border);
    padding-top: 22px;
    margin-bottom: 24px;
}

.pt-invoice-label {
    display: block;
    color: var(--pt-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pt-invoice-places {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pt-invoice-place {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--pt-border);
    border-radius: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
}

.pt-invoice-place-main strong {
    display: block;
    color: var(--pt-text);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pt-invoice-tickets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pt-invoice-ticket {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    background: #000;
    min-width: 108px;
}

.pt-invoice-ticket span {
    color: var(--pt-text);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    word-break: break-all;
}

.pt-invoice-ticket small {
    color: var(--pt-muted);
    font-size: 11px;
    text-align: center;
}

.pt-invoice-place-price {
    color: var(--pt-magenta);
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.pt-invoice-place-price h5 {
    margin: 0;
    font-weight: 800;
}

.pt-invoice-billing {
    max-width: 420px;
    margin-left: auto;
    border-top: 1px solid var(--pt-border);
    padding-top: 20px;
}

.pt-invoice-billing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 6px 0;
    font-size: 14px;
}

.pt-invoice-billing-row span {
    color: var(--pt-muted);
}

.pt-invoice-billing-row strong {
    color: var(--pt-text);
    font-weight: 700;
}

.pt-invoice-total {
    border-top: 1px solid var(--pt-border);
    margin-top: 8px;
    padding-top: 14px;
}

.pt-invoice-total span,
.pt-invoice-total strong {
    color: var(--pt-magenta);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.pt-invoice-footer {
    border-top: 1px solid var(--pt-border);
    margin-top: 28px;
    padding-top: 20px;
}

.pt-invoice-thanks {
    display: block;
    color: var(--pt-text);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.pt-invoice-team {
    display: block;
    color: var(--pt-muted);
    font-size: 13px;
}

.pt-invoice-team-logo {
    display: block;
    width: 130px;
    height: auto;
    margin-top: 6px;
}

.pt-invoice-state {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pt-invoice-error {
    text-align: center;
    border: 1px solid var(--pt-border);
    border-radius: 14px;
    background: #111;
    padding: 40px 32px;
    max-width: 480px;
}

.pt-invoice-error h4 {
    color: var(--pt-text);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}

.pt-invoice-error p {
    color: var(--pt-muted);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 767px) {
    .pt-invoice {
        padding: 96px 0 48px;
    }

    .pt-invoice-card {
        padding: 22px 18px;
    }

    .pt-invoice-head {
        flex-direction: column;
    }

    .pt-invoice-title {
        font-size: 22px;
    }

    .pt-invoice-grid-3,
    .pt-invoice-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-invoice-place {
        flex-direction: column;
        align-items: flex-start;
    }

    .pt-invoice-billing {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .pt-invoice-grid-3,
    .pt-invoice-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ================= IMPRESIÓN ================= */
@media print {
    body.pt-landing-dark {
        background: #fff !important;
        color: #000 !important;
    }

    .pt-navbar-area,
    .pt-copyright,
    .pt-preloader,
    .pt-invoice-print {
        display: none !important;
    }

    .pt-invoice {
        padding: 0;
        min-height: 0;
    }

    .pt-invoice-card {
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        max-width: 100%;
    }

    .pt-invoice-title,
    .pt-invoice-item strong,
    .pt-invoice-place-main strong,
    .pt-invoice-place-price,
    .pt-invoice-billing-row strong,
    .pt-invoice-total span,
    .pt-invoice-total strong,
    .pt-invoice-thanks,
    .pt-invoice-ticket span,
    .pt-invoice-ticket small,
    .pt-invoice-label {
        color: #000 !important;
    }

    .pt-invoice-item span,
    .pt-invoice-billing-row span,
    .pt-invoice-team,
    .pt-invoice-subtitle {
        color: #555 !important;
    }

    .pt-invoice-place,
    .pt-invoice-ticket {
        background: #fff !important;
        border: 1px solid #ddd !important;
    }
}

/* ================= SWEETALERT SOLD OUTS ================= */
body .swal2-container.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.85);
}

body .swal2-popup {
    background: #0a0a0a;
    border: 1px solid var(--pt-border);
    border-radius: 18px;
    padding: 28px 26px;
    color: var(--pt-text);
    font-family: 'Montserrat', 'Nunito', sans-serif;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    width: 30em;
}

body .swal2-title {
    color: var(--pt-text);
    font-family: 'Montserrat', 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0 0 6px;
}

body .swal2-html-container {
    color: var(--pt-muted);
    font-family: 'Montserrat', 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    margin-top: 4px;
}

body .swal2-icon.swal2-error {
    --swal2-error: var(--pt-magenta);
}

body .swal2-icon.swal2-success {
    --swal2-success: var(--pt-blue);
}

body .swal2-styled.swal2-confirm {
    font-family: 'Montserrat', 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background-color: var(--pt-magenta);
    border-radius: 999px;
    padding: 12px 34px;
    border: 0;
    box-shadow: none;
    transition: background-color .15s ease, transform .1s ease;
}

body .swal2-styled.swal2-confirm:hover {
    background-color: #c10e95;
    transform: translateY(-1px);
}

body .swal2-styled.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(228, 17, 171, 0.3) !important;
}

@media (max-width: 575px) {
    body .swal2-popup {
        padding: 24px 18px;
        border-radius: 14px;
    }

    body .swal2-title {
        font-size: 18px;
    }

    body .swal2-html-container {
        font-size: 13px;
    }
}
