.dates-container {
    color: #006eb7;
}

/* ===============================
   LEGACY IE8 / IE9 FIXES
   (Migrado desde estilos inline)
   =============================== */

/* --- PIE.htc (bordes redondeados en IE antiguos) --- */
body.ie_lte_8 .main_content > .content_element > .content,
body.ie_lte_8 .main_content_group > .content_element > .content,
body.ie_lte_8 .secondary_content > .content_element > .content,
body.ie_lte_8 .secondary_content_group > .content_element > .content,
body.ie_lte_8 #secondary_content_seasonticket .step .bullet,
body.ie_lte_8 #main_content_seasonticket_help .step .bullet,
body.ie_lte_8 #main_content_container img,
body.ie_lte_8 #secondary_content_container img,
body.ie_lte_8 #dialog_box_content img,
body.ie_lte_8 .product .product_image_container,
body.ie_lte_8 .message,
body.ie_lte_8 .steps_bar .current .symbol,
body.ie_lte_8 #main_content_registration .social .separator .text,
body.ie_lte_8 .advantage .catchword {
    behavior: url("/resources/themes/base/PIE.htc");
}

/* IE9 fixes */
body.ie_lte_9 .main_content > .content_title > .title,
body.ie_lte_9 .secondary_content > .content_title > .title,
body.ie_lte_9 .main_content_group > .content_title > .title,
body.ie_lte_9 .secondary_content_group > .content_title > .title,
body.ie_lte_9 .tabs > .content_title > .title,
body.ie_lte_9 .button a,
body.ie_lte_9 #account .item_cart a,
body.ie_lte_9 #menu_item_5 a,
body.ie_lte_9 .pagination .page a,
body.ie_lte_9 #secondary_content_seasonticket .step h2,
body.ie_lte_9 #main_content_seasonticket_help .step h2,
body.ie_lte_9 .alternative_button a .icon,
body.ie_lte_9 #secondary_content_countdown .icon,
body.ie_lte_9 #seat-map-views .view_link_container.selected {
    behavior: url("/resources/themes/base/PIE.htc");
}

/* ===============================
   ICON FIXES IE8 (AlphaImageLoader)
   =============================== */

body.ie_lte_8 .message.success .icon {
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
        src='/resources/themes/base/images/messages-colored/success.png',
        sizingMethod='scale'
    );
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/resources/themes/base/images/messages-colored/success.png', sizingMethod='scale')";
}

body.ie_lte_8 .message.info .icon,
body.ie_lte_8 .message.wait .icon {
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
        src='/resources/themes/base/images/messages-colored/info.png',
        sizingMethod='scale'
    );
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/resources/themes/base/images/messages-colored/info.png', sizingMethod='scale')";
}

body.ie_lte_8 .message.warning .icon {
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
        src='/resources/themes/base/images/messages-colored/warning.png',
        sizingMethod='scale'
    );
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/resources/themes/base/images/messages-colored/warning.png', sizingMethod='scale')";
    height: 43px;
}

body.ie_lte_8 .message.error .icon {
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
        src='/resources/themes/base/images/messages-colored/error.png',
        sizingMethod='scale'
    );
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/resources/themes/base/images/messages-colored/error.png', sizingMethod='scale')";
}

/* ===============================
   LANGUAGE FLAGS (ES / EN)
   =============================== */

#header_language_selector a.lang_es::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    background-image: url("img/Logos-es.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

#header_language_selector a.lang_en::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    background-image: url("img/Logos-en.svg");
    background-size: contain;
    background-repeat: no-repeat;
}


/* ===============================
   CUSTOM LANGUAGE DROPDOWN
   =============================== */

#header_language_selector_container {
    position: relative !important;
}

#header_language_selector {
    display: none !important;
}


/* Botón toggle */
#gtm-lang-toggle-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

#gtm-lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}


/* Flecha */
#gtm-lang-toggle-btn .gtm-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    display: inline-block;
}

#gtm-lang-toggle-btn[aria-expanded="true"] .gtm-arrow {
    transform: rotate(180deg);
}


/* Dropdown */
#gtm-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 130px;
    overflow: hidden;
    z-index: 9999;
    list-style: none;
    margin: 0;
    padding: 0;
}

#gtm-lang-dropdown.gtm-open {
    display: block;
}

#header_language_selector_container #gtm-lang-dropdown li {
    display: block;
}

/* ===============================
   TRANSFORM / ZOOM COMPONENT
   (Seat map / canvas interaction)
   =============================== */

.transform-component-module_wrapper__SPB86 {
    position: relative;
    width: fit-content;
    height: fit-content;
    overflow: hidden;

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;

    margin: 0;
    padding: 0;

    transform: translate3d(0, 0, 0);
}


/* Contenedor interno del transform */
.transform-component-module_content__FBWxo {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    height: fit-content;

    margin: 0;
    padding: 0;

    transform-origin: 0% 0%;
}


/* Evita interacción directa con imágenes */
.transform-component-module_content__FBWxo img {
    pointer-events: none;
}

/* ===============================
   PRIME REACT - BASE UTILITIES
   =============================== */

/* Elementos accesibles pero ocultos visualmente */
.p-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Inputs/selects ocultos accesibles */
.p-hidden-accessible input,
.p-hidden-accessible select {
    transform: scale(0);
}

/* Evita scroll del body (modales / overlays) */
.p-overflow-hidden {
    overflow: hidden;
    padding-right: var(--scrollbar-width);
}

/* ===============================
   PRIME REACT - CORE SYSTEM
   (Base + Components + Dialogs)
   =============================== */

@layer primereact {

/* ===============================
   BASE / RESET / UTILITIES
   =============================== */

.p-component,
.p-component * {
    box-sizing: border-box;
}

.p-hidden {
    display: none;
}

.p-hidden-space {
    visibility: hidden;
}

.p-reset {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    font-size: 100%;
    list-style: none;
}

.p-disabled,
.p-disabled * {
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.p-component-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-unselectable-text {
    user-select: none;
}

.p-scrollbar-measure {
    width: 100px;
    height: 100px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
}

@keyframes p-fadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* ===============================
   LINKS / BUTTONS BASE
   =============================== */

.p-link {
    text-align: left;
    background-color: transparent;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    user-select: none;
}

.p-link:disabled {
    cursor: default;
}


/* ===============================
   OVERLAY ANIMATIONS
   =============================== */

.p-connected-overlay {
    opacity: 0;
    transform: scaleY(0.8);
    transition: transform .12s cubic-bezier(0, 0, 0.2, 1),
                opacity .12s cubic-bezier(0, 0, 0.2, 1);
}

.p-connected-overlay-visible {
    opacity: 1;
    transform: scaleY(1);
}

.p-connected-overlay-hidden {
    opacity: 0;
    transform: scaleY(1);
    transition: opacity .1s linear;
}


/* React overlay states */
.p-connected-overlay-enter {
    opacity: 0;
    transform: scaleY(0.8);
}

.p-connected-overlay-enter-active {
    opacity: 1;
    transform: scaleY(1);
    transition: transform .12s cubic-bezier(0, 0, 0.2, 1),
                opacity .12s cubic-bezier(0, 0, 0.2, 1);
}

.p-connected-overlay-exit-active {
    opacity: 0;
    transition: opacity .1s linear;
}


/* ===============================
   TOGGLE CONTENT
   =============================== */

.p-toggleable-content-enter {
    max-height: 0;
}

.p-toggleable-content-enter-active {
    overflow: hidden;
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
}

.p-toggleable-content-exit-active {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
}


/* ===============================
   ACCESSIBILITY
   =============================== */

.p-sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}


/* ===============================
   MENU
   =============================== */

.p-menu .p-menuitem-link {
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}


/* ===============================
   BUTTON
   =============================== */

.p-button {
    margin: 0;
    display: inline-flex;
    cursor: pointer;
    user-select: none;
    align-items: center;
    vertical-align: bottom;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.p-button-label {
    flex: 1 1 auto;
}

.p-button-icon-right {
    order: 1;
}

.p-button:disabled {
    cursor: default;
}

.p-button-icon-only {
    justify-content: center;
}

.p-button-icon-only .p-button-label {
    visibility: hidden;
    width: 0;
    flex: 0 0 auto;
}


/* ===============================
   CHECKBOX
   =============================== */

.p-checkbox {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
    vertical-align: bottom;
    position: relative;
}

.p-checkbox.p-checkbox-disabled {
    cursor: auto;
}

.p-checkbox-box {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ===============================
   INPUTS
   =============================== */

.p-inputtext {
    margin: 0;
}

.p-fluid .p-inputtext {
    width: 100%;
}


/* ===============================
   INPUT GROUP
   =============================== */

.p-inputgroup {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.p-inputgroup-addon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-inputgroup .p-inputtext,
.p-fluid .p-inputgroup .p-inputtext {
    flex: 1 1 auto;
    width: 1%;
}


/* ===============================
   FLOATING LABEL
   =============================== */

.p-float-label {
    display: block;
    position: relative;
}

.p-float-label label {
    position: absolute;
    pointer-events: none;
    top: 50%;
    margin-top: -0.5rem;
    transition: all ease;
    line-height: 1;
}

.p-float-label input:focus ~ label,
.p-float-label input.p-filled ~ label {
    top: -0.75rem;
    font-size: 12px;
}


/* ===============================
   ICONS
   =============================== */

.p-icon {
    display: inline-block;
}

.p-icon-spin {
    animation: p-icon-spin 2s infinite linear;
}

@keyframes p-icon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

} /* end @layer */


/* ===============================
   PRIME REACT - COMPONENTS
   Toast / Carousel / Spinner
   =============================== */

@layer primereact {

/* ===============================
   TOAST (NOTIFICATIONS)
   =============================== */

.p-toast {
    width: calc(100% - var(--toast-indent, 0px));
    max-width: 25rem;
}

.p-toast-message-icon {
    flex-shrink: 0;
}

.p-toast-message-content {
    display: flex;
    align-items: flex-start;
}

.p-toast-message-text {
    flex: 1 1 auto;
}

.p-toast-summary,
.p-toast-detail {
    overflow-wrap: anywhere;
}


/* Posiciones */
.p-toast-top-center,
.p-toast-bottom-center {
    transform: translateX(-50%);
}

.p-toast-center {
    min-width: 20vw;
    transform: translate(-50%, -50%);
}


/* Close button */
.p-toast-icon-close {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.p-toast-icon-close.p-link {
    cursor: pointer;
}


/* Animations */
.p-toast-message-enter {
    opacity: 0;
    transform: translateY(50%);
}

.p-toast-message-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s, opacity 0.3s;
}

.p-toast-message-exit {
    opacity: 1;
    max-height: 1000px;
}

.p-toast-message-exit-active {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0, 1, 0, 1),
                opacity 0.3s,
                margin-bottom 0.3s;
}


/* ===============================
   CAROUSEL
   =============================== */

.p-carousel {
    display: flex;
    flex-direction: column;
}

.p-carousel-content {
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.p-carousel-container {
    display: flex;
    flex-direction: row;
}

.p-carousel-items-container {
    display: flex;
    flex-direction: row;
}

.p-carousel-items-content {
    overflow: hidden;
    width: 100%;
}


/* Navigation */
.p-carousel-prev,
.p-carousel-next {
    align-self: center;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}


/* Indicators */
.p-carousel-indicators {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.p-carousel-indicator > button {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Vertical mode */
.p-carousel-vertical .p-carousel-container {
    flex-direction: column;
}

.p-carousel-vertical .p-carousel-items-container {
    flex-direction: column;
    height: 100%;
}


/* Keyboard support */
.p-items-hidden .p-carousel-item {
    visibility: hidden;
}

.p-items-hidden .p-carousel-item.p-carousel-item-active {
    visibility: visible;
}


/* ===============================
   PROGRESS SPINNER
   =============================== */

.p-progress-spinner {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: inline-block;
}

.p-progress-spinner::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.p-progress-spinner-svg {
    animation: p-progress-spinner-rotate 2s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    inset: 0;
    margin: auto;
}

.p-progress-spinner-circle {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: 0;
    stroke: #d62d20;
    animation:
        p-progress-spinner-dash 1.5s ease-in-out infinite,
        p-progress-spinner-color 6s ease-in-out infinite;
    stroke-linecap: round;
}

} /* end layer */


/* ===============================
   SPINNER ANIMATIONS (GLOBAL)
   =============================== */

@keyframes p-progress-spinner-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes p-progress-spinner-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px;
    }
}

@keyframes p-progress-spinner-color {
    0%, 100% { stroke: #d62d20; }
    40% { stroke: #0057e7; }
    66% { stroke: #008744; }
    80%, 90% { stroke: #ffa700; }
}


/* ===============================
   CAROUSEL PATCH (dynamic fix)
   =============================== */

.p-carousel[pr_id_11] .p-carousel-item {
    flex: 1 0 100%;
}

@font-face {
    font-family: "primeicons";
    src: url(...);
}


/* ===============================
   REACT MULTI CAROUSEL
   =============================== */

/* Icon font */
@font-face {
    font-family: "revicons";
    fallback: fallback;
    src: url(https://tuboletapass4.checkout.tuboleta.com/5a9d8912eb8bb313bd17.woff) format("woff"),
         url(https://tuboletapass4.checkout.tuboleta.com/20a2657bf79e6567e3f1.ttf) format("ttf"),
         url(https://tuboletapass4.checkout.tuboleta.com/2e78fe770f56172001d3.eot) format("ttf");
}


/* ===============================
   CAROUSEL STRUCTURE
   =============================== */

.react-multi-carousel-list {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.react-multi-carousel-track {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, transition;
}

.react-multi-carousel-item {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}


/* ===============================
   ARROWS
   =============================== */

.react-multiple-carousel__arrow {
    position: absolute;
    outline: 0;
    transition: all 0.5s;
    border-radius: 35px;
    z-index: 1000;
    border: 0;
    background: rgba(0, 0, 0, 0.5);
    min-width: 43px;
    min-height: 43px;
    opacity: 1;
    cursor: pointer;
}

.react-multiple-carousel__arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.react-multiple-carousel__arrow:disabled {
    cursor: default;
    background: rgba(0, 0, 0, 0.5);
}


/* Arrow icons */
.react-multiple-carousel__arrow::before {
    font-size: 20px;
    color: #fff;
    display: block;
    font-family: revicons;
    text-align: center;
    z-index: 2;
    position: relative;
}

.react-multiple-carousel__arrow--left {
    left: calc(4% + 1px);
}

.react-multiple-carousel__arrow--left::before {
    content: "";
}

.react-multiple-carousel__arrow--right {
    right: calc(4% + 1px);
}

.react-multiple-carousel__arrow--right::before {
    content: "";
}


/* ===============================
   DOTS
   =============================== */

.react-multi-carousel-dot-list {
    position: absolute;
    bottom: 0;
    display: flex;
    left: 0;
    right: 0;
    justify-content: center;
    margin: auto;
    padding: 0;
    list-style: none;
    text-align: center;
}

.react-multi-carousel-dot button {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 1;
    box-shadow: none;
    transition: background 0.5s;
    border: 2px solid grey;
    padding: 0;
    margin-right: 6px;
    cursor: pointer;
}

.react-multi-carousel-dot button:hover:active {
    background: #080808;
}

.react-multi-carousel-dot--active button {
    background: #080808;
}


/* ===============================
   RTL SUPPORT
   =============================== */

[dir="rtl"].react-multi-carousel-list {
    direction: rtl;
}

.rtl.react-multiple-carousel__arrow--right {
    right: auto;
    left: calc(4% + 1px);
}

.rtl.react-multiple-carousel__arrow--right::before {
    content: "";
}

.rtl.react-multiple-carousel__arrow--left {
    left: auto;
    right: calc(4% + 1px);
}

.rtl.react-multiple-carousel__arrow--left::before {
    content: "";
}


/* ===============================
   IE FALLBACK (LEGACY)
   =============================== */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .react-multi-carousel-item {
        flex-shrink: 0 !important;
    }

    .react-multi-carousel-track {
        overflow: visible !important;
    }
}