/*
 * Billetaxo Responsive Premium
 * Capa final de composición para las páginas públicas. Se carga después de
 * los estilos históricos y corrige sus diferencias sin tocar los flujos.
 */

:root {
  --btx-content: 1180px;
  --btx-reading: 760px;
  --btx-gutter: clamp(1rem, 3vw, 1.75rem);
  --btx-section-y: clamp(2.25rem, 4vw, 3.75rem);
  --btx-radius-sm: 12px;
  --btx-radius-md: 18px;
  --btx-radius-lg: 26px;
  --btx-focus: 0 0 0 4px rgba(91, 42, 145, 0.18);
}

/*
 * Navegación Billetaxo: deliberadamente simple. Esta capa final anula las
 * cápsulas, recolores y marcos heredados de global-components, brand-refresh
 * y de las hojas antiguas de páginas legales.
 */
.btx-ui .header-modern,
.legal-page .header-modern,
body:has(.legal-hero) .header-modern {
  background: var(--btx-cream-50, #fffdf8) !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.btx-ui .header-modern .logo-section .logo {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.btx-ui .header-modern .logo-text,
.btx-ui .header-modern .logo-text:hover,
.btx-ui .header-modern .nav-links a,
.btx-ui .header-modern .nav-links a:hover,
.btx-ui .header-modern .nav-links a.active,
.btx-ui .header-modern .nav-links a[aria-current="page"] {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.btx-ui .header-modern .nav-links a:hover,
.btx-ui .header-modern .nav-links a.active,
.btx-ui .header-modern .nav-links a[aria-current="page"] {
  font-weight: 850 !important;
}

.btx-ui .header-modern .hamburger,
.btx-ui .header-modern .btn-menu,
.btx-ui .header-modern [data-menu-toggle],
.btx-ui #mobileMenu.nav-overlay [data-menu-close],
.btx-ui #mobileMenu.nav-overlay .btn-close {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.btx-ui #mobileMenu.nav-overlay .nav-mobile {
  color: var(--btx-ink, #241f1a) !important;
  background: var(--btx-cream-50, #fffdf8) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.btx-ui #mobileMenu.nav-overlay .nav-links a,
.btx-ui #mobileMenu.nav-overlay .nav-links a:hover,
.btx-ui #mobileMenu.nav-overlay .nav-links a.active,
.btx-ui #mobileMenu.nav-overlay .nav-links a[aria-current="page"] {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
}

.btx-ui #mobileMenu.nav-overlay .nav-links a:hover,
.btx-ui #mobileMenu.nav-overlay .nav-links a.active,
.btx-ui #mobileMenu.nav-overlay .nav-links a[aria-current="page"] {
  font-weight: 850 !important;
}

.btx-ui #language-selector .lang-button,
.btx-ui #language-selector .lang-button:hover,
.btx-ui .language-switcher,
.btx-ui .language-switcher .current,
.btx-ui .language-switcher a,
.btx-ui .language-switcher a:hover {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-shadow: none !important;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.btx-ui {
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  color: var(--btx-ink, #241f1a);
  background: var(--btx-cream-50, #fffdf8);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.btx-ui *,
.btx-ui *::before,
.btx-ui *::after {
  box-sizing: border-box;
}

.btx-ui main,
.btx-ui section,
.btx-ui article,
.btx-ui aside,
.btx-ui form,
.btx-ui fieldset,
.btx-ui div {
  min-width: 0;
}

.btx-ui img,
.btx-ui video,
.btx-ui iframe,
.btx-ui svg {
  max-width: 100%;
}

.btx-ui img {
  height: auto;
}

.btx-ui h1,
.btx-ui h2,
.btx-ui h3,
.btx-ui h4,
.btx-ui h5,
.btx-ui h6,
.btx-ui button,
.btx-ui input,
.btx-ui select,
.btx-ui textarea {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btx-ui h1,
.btx-ui h2,
.btx-ui h3 {
  text-wrap: balance;
}

.btx-ui p,
.btx-ui li,
.btx-ui dd,
.btx-ui figcaption {
  overflow-wrap: anywhere;
}

.btx-ui a,
.btx-ui button,
.btx-ui input,
.btx-ui select,
.btx-ui textarea,
.btx-ui summary {
  -webkit-tap-highlight-color: transparent;
}

.btx-ui :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(91, 42, 145, 0.72) !important;
  outline-offset: 3px !important;
}

.btx-ui :where(input, select, textarea) {
  max-width: 100%;
}

.btx-ui :where([id]) {
  scroll-margin-top: 6rem;
}

/* Header: estable, compacto y utilizable con una mano. */
.btx-ui .header-modern {
  position: sticky !important;
  top: 0;
  z-index: 8000 !important;
  width: 100%;
  padding-top: max(0.65rem, env(safe-area-inset-top)) !important;
  padding-bottom: 0.65rem !important;
}

.btx-ui .header-modern .header-content {
  width: min(var(--btx-content), calc(100% - (2 * var(--btx-gutter)))) !important;
  min-height: 48px;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: clamp(1rem, 2.5vw, 2.2rem) !important;
}

.btx-ui .header-modern .logo-section {
  flex: 0 0 auto;
}

.btx-ui .header-modern .logo-text {
  white-space: nowrap;
}

.btx-ui .header-modern .nav-main {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  min-width: 0 !important;
  margin-left: auto !important;
}

.btx-ui .header-modern .nav-main > .nav-links {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap !important;
}

.btx-ui .header-modern .nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.btx-ui .header-modern .hamburger,
.btx-ui .header-modern .btn-menu {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.btx-ui .header-modern .header-account-link {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.38rem;
  padding: 0.35rem 0.2rem;
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.btx-ui .header-modern .header-account-link:focus-visible {
  outline: 0 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.btx-ui #mobileMenu.nav-overlay .nav-mobile {
  width: min(82vw, 310px) !important;
  max-width: 310px !important;
  padding: max(3.35rem, calc(2.7rem + env(safe-area-inset-top))) 0.75rem max(1rem, env(safe-area-inset-bottom)) !important;
}

.btx-ui #mobileMenu.nav-overlay .nav-links {
  max-height: calc(100dvh - 4.35rem) !important;
  margin: 0 !important;
  gap: 0.05rem !important;
  padding-right: 0.2rem !important;
}

.btx-ui #mobileMenu.nav-overlay .nav-links a {
  min-height: 36px;
  padding: 0.45rem 0.65rem !important;
  border-radius: 0 !important;
  font-size: 0.91rem;
  font-weight: 740 !important;
  line-height: 1.15;
}

.btx-ui #mobileMenu.nav-overlay [data-menu-close] {
  top: max(0.55rem, env(safe-area-inset-top)) !important;
  right: 0.7rem !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 1.25rem !important;
}

.btx-ui #mobileMenu.nav-overlay .mobile-account-link {
  margin-top: 0.2rem;
}

.btx-ui #mobileMenu.nav-overlay .mobile-account-link > a {
  font-weight: 850 !important;
}

.btx-ui #mobileMenu.nav-overlay .mobile-auth-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0 0.25rem 0.2rem;
  color: #756b62;
}

.btx-ui #mobileMenu.nav-overlay .mobile-auth-links > a {
  min-height: 32px;
  padding: 0.35rem 0.4rem !important;
  font-size: 0.82rem;
  font-weight: 720 !important;
}

.btx-ui #language-selector {
  top: calc(82px + env(safe-area-inset-top)) !important;
}

.btx-ui #language-selector .lang-button {
  min-height: 42px;
}

/* El hero compartido nunca debe aparecer transparente mientras carga. */
.btx-ui #hero-section.fade-in,
.btx-ui .home-hero.fade-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Portada */
.btx-ui.btx-page--home .home-hero {
  min-height: min(500px, calc(100svh - 70px));
  display: grid;
  align-items: center;
  padding: clamp(2.4rem, 5vw, 3.5rem) 1rem clamp(2rem, 4vw, 2.75rem) !important;
}

.btx-ui.btx-page--home .home-hero .container {
  width: min(900px, calc(100% - (2 * var(--btx-gutter)))) !important;
}

.btx-ui.btx-page--home .home-hero .cta-buttons {
  margin-top: 1.25rem;
  margin-bottom: 0 !important;
}

.btx-ui.btx-page--home .btx-partners {
  min-height: 0 !important;
  padding: 1.25rem 0 !important;
}

.btx-ui.btx-page--home .partners-container {
  width: min(760px, calc(100% - (2 * var(--btx-gutter))));
  min-height: 52px !important;
  margin: 0 auto;
  padding: 0 !important;
  gap: clamp(1.5rem, 6vw, 3.5rem) !important;
}

.btx-ui.btx-page--home .partner-logo-item {
  opacity: 0.82 !important;
}

.btx-ui.btx-page--home .partner-logo-item img {
  width: auto;
  max-width: 145px !important;
  max-height: 38px;
}

.btx-ui.btx-page--home .btx-services > .container,
.btx-ui.btx-page--home .about-billetaxo-section > .container,
.btx-ui.btx-page--home .reviews-section > .container,
.btx-ui.btx-page--home .faq-section-main > .container {
  width: min(var(--btx-content), calc(100% - (2 * var(--btx-gutter))));
  margin-inline: auto;
}

.btx-ui.btx-page--home .services-grid {
  align-items: stretch;
  margin-top: 1.5rem !important;
}

.btx-ui.btx-page--home .service-card {
  isolation: isolate;
  min-height: 210px;
  min-width: 0;
  padding: 1.1rem !important;
}

.btx-ui.btx-page--home .service-card .service-icon {
  display: grid !important;
  place-items: center;
}

.btx-ui.btx-page--home .service-card .service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btx-ui.btx-page--home .service-card .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btx-ui.btx-page--home .about-billetaxo-section {
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 !important;
  border-block: 1px solid var(--btx-border);
}

.btx-ui.btx-page--home .about-billetaxo-section .about-title {
  margin-bottom: 1rem !important;
}

.btx-ui.btx-page--home .about-billetaxo-section .about-description {
  margin-bottom: 0 !important;
}

.btx-ui.btx-page--home .reviews-section {
  padding: clamp(2.25rem, 5vw, 3.25rem) var(--btx-gutter) !important;
}

.btx-ui.btx-page--home .reviews-section > .container > div:first-child {
  margin-bottom: 1.5rem !important;
}

.btx-ui.btx-page--home .reviews-section .slider-dots {
  margin-top: 1rem !important;
}

.btx-ui.btx-page--home .faq-section-main {
  padding: clamp(2.25rem, 5vw, 3.25rem) var(--btx-gutter) !important;
}

.btx-ui.btx-page--home .faq-section-main > .container > div:first-child {
  margin-bottom: 1.5rem !important;
}

.btx-ui.btx-page--home .faq-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem !important;
  margin-bottom: 1.25rem !important;
}

.btx-ui.btx-page--home .faq-category {
  align-self: start;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px !important;
}

.btx-ui.btx-page--home .faq-category-title {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 0.9rem 3rem 0.9rem 1rem;
  color: var(--btx-ink);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
}

.btx-ui.btx-page--home .faq-category-title::-webkit-details-marker {
  display: none;
}

.btx-ui.btx-page--home .faq-category-title::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--btx-purple, #5b2a91);
  font-size: 1.35rem;
  font-weight: 600;
  transform: translateY(-50%);
}

.btx-ui.btx-page--home .faq-category[open] > .faq-category-title::after {
  content: "−";
}

.btx-ui.btx-page--home .faq-category[open] > .faq-category-title {
  border-bottom: 1px solid var(--btx-border);
}

.btx-ui.btx-page--home .faq-category .faq-items {
  padding: 0.35rem 0.85rem 0.5rem;
}

.btx-ui.btx-page--home .faq-category .faq-item {
  margin: 0 !important;
  padding: 0.25rem 0 !important;
}

.btx-ui.btx-page--home .faq-category .faq-item > summary {
  padding: 0.65rem 0.35rem !important;
  font-size: 0.9rem;
  line-height: 1.35;
}

.btx-ui.btx-page--home .faq-section-main > .container > div:last-child {
  margin-top: 1.25rem !important;
  padding: 1.35rem !important;
}

.btx-ui.btx-page--home .faq-section-main > .container > div:last-child h3 {
  margin-bottom: 0.45rem !important;
  font-size: 1.25rem !important;
}

.btx-ui.btx-page--home .faq-section-main > .container > div:last-child p {
  margin-bottom: 0.9rem !important;
}

.btx-ui.btx-page--home .reviews-title {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.btx-ui.btx-page--home .reviews-title-mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--btx-green, #087f5b);
  font-size: 1rem;
  line-height: 1;
  transform: none !important;
}

/* Hoteles y autos: tropical, legible y coherente. */
.btx-ui.btx-page--hotels,
.btx-ui.btx-page--cars {
  color: var(--btx-ink);
  background: var(--btx-cream-50);
}

.btx-ui.btx-page--hotels .home-hero,
.btx-ui.btx-page--cars .home-hero {
  isolation: isolate;
  position: relative;
  min-height: 400px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4rem) var(--btx-gutter) clamp(2.25rem, 4vw, 3.25rem) !important;
  color: #17342f !important;
  text-align: center;
  border-bottom: 1px solid rgba(23, 52, 47, 0.12);
}

.btx-ui.btx-page--hotels .home-hero {
  background:
    radial-gradient(circle at 13% 18%, rgba(244, 183, 64, 0.25), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(0, 137, 123, 0.19), transparent 28%),
    linear-gradient(145deg, #fff8df 0%, #ddf3e7 55%, #d5edf0 100%) !important;
}

.btx-ui.btx-page--cars .home-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(200, 35, 74, 0.16), transparent 27%),
    radial-gradient(circle at 87% 14%, rgba(8, 127, 91, 0.18), transparent 27%),
    linear-gradient(145deg, #fff1df 0%, #f5e5cf 50%, #dff1e8 100%) !important;
}

.btx-ui.btx-page--hotels .home-hero::before,
.btx-ui.btx-page--cars .home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: auto;
  right: -8rem;
  bottom: -14rem;
  left: auto;
  width: 32rem;
  height: 32rem;
  display: block !important;
  border: 1px solid rgba(23, 52, 47, 0.1);
  border-radius: 50%;
  background: transparent !important;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.14), 0 0 0 10rem rgba(255, 255, 255, 0.08);
  opacity: 1 !important;
}

.btx-ui.btx-page--hotels .home-hero .container,
.btx-ui.btx-page--cars .home-hero .container {
  width: min(880px, 100%) !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.btx-ui.btx-page--hotels .home-hero .hero-kicker,
.btx-ui.btx-page--cars .home-hero .hero-kicker {
  display: inline-flex;
  margin: 0 0 1.15rem;
  padding: 0.48rem 0.78rem;
  color: #24564d !important;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 52, 47, 0.13);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btx-ui.btx-page--hotels .home-hero .hero-title,
.btx-ui.btx-page--cars .home-hero .hero-title {
  max-width: 820px;
  margin: 0 auto 1rem !important;
  color: #17342f !important;
  font-size: clamp(2.35rem, 5.4vw, 4.25rem) !important;
  font-weight: 920 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.065em;
  text-shadow: none !important;
}

.btx-ui.btx-page--hotels .home-hero .hero-title span,
.btx-ui.btx-page--cars .home-hero .hero-title span {
  color: inherit !important;
}

.btx-ui.btx-page--hotels .home-hero .hero-subtitle-large,
.btx-ui.btx-page--cars .home-hero .hero-subtitle-large {
  margin: 0 auto 0.7rem;
  color: #284f48 !important;
  font-size: clamp(1.05rem, 2vw, 1.3rem) !important;
  font-weight: 760;
}

.btx-ui.btx-page--hotels .home-hero .hero-description,
.btx-ui.btx-page--cars .home-hero .hero-description {
  max-width: 680px;
  margin: 0 auto !important;
  color: #47645f !important;
  font-size: clamp(1rem, 2vw, 1.15rem) !important;
  line-height: 1.65 !important;
  opacity: 1 !important;
}

.btx-ui.btx-page--hotels .section > .container,
.btx-ui.btx-page--cars .section > .container,
.btx-ui.btx-page--cars .widget-container,
.btx-ui.btx-page--hotels .booking-search-form-section > .container {
  width: min(var(--btx-content), calc(100% - (2 * var(--btx-gutter)))) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.btx-ui.btx-page--hotels .booking-search-form-section {
  margin: 0 !important;
  padding: clamp(1.8rem, 4vw, 3rem) 0 !important;
  background: var(--btx-cream-50) !important;
  border-bottom: 1px solid var(--btx-border);
}

.btx-ui.btx-page--hotels .booking-search-form-section h2 {
  margin-bottom: 1rem !important;
  color: var(--btx-ink) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  letter-spacing: -0.045em;
}

.btx-ui.btx-page--hotels .booking-search-form {
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  border: 1px solid var(--btx-border);
  border-radius: var(--btx-radius-lg) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: var(--btx-shadow) !important;
}

.btx-ui.btx-page--hotels .booking-search-form :where(input, select) {
  min-height: 50px;
  color: var(--btx-ink) !important;
  border-color: rgba(74, 55, 37, 0.2) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

.btx-ui.btx-page--hotels .booking-search-button {
  min-height: 50px;
  color: #ffffff !important;
  border-radius: 999px !important;
  background: var(--btx-purple, #5b2a91) !important;
  box-shadow: none !important;
}

.btx-ui.btx-page--hotels .grid.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
}

.btx-ui.btx-page--hotels .card,
.btx-ui.btx-page--cars .card {
  border: 1px solid var(--btx-border) !important;
  border-radius: var(--btx-radius-md) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 12px 34px rgba(71, 49, 31, 0.08) !important;
}

.btx-ui.btx-page--hotels .card:hover,
.btx-ui.btx-page--cars .card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(91, 42, 145, 0.22) !important;
  box-shadow: var(--btx-shadow) !important;
}

.btx-ui.btx-page--hotels .hotel-carousel-wrapper {
  border-radius: 14px !important;
}

.btx-ui.btx-page--hotels .hotel-carousel-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btx-ui.btx-page--cars .widget-section {
  padding: var(--btx-section-y) 0 !important;
  background: linear-gradient(180deg, #fffdf8, #f7f1e8) !important;
}

.btx-ui.btx-page--cars .widget-tabs {
  max-width: 620px;
  margin-inline: auto;
}

.btx-ui.btx-page--cars #tp-widget-container {
  overflow: hidden;
  border: 1px solid var(--btx-border);
  border-radius: var(--btx-radius-lg);
  background: #ffffff;
  box-shadow: var(--btx-shadow);
}

/* Recargas: cards rápidas de leer y modal cómodo en pantallas pequeñas. */
.btx-ui.btx-page--topups .rc-shell {
  width: min(var(--btx-content), calc(100% - (2 * var(--btx-gutter))));
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--btx-section-y);
}

.btx-ui.btx-page--topups .rc-hero {
  max-width: 700px;
  margin: 0 auto clamp(1.4rem, 3vw, 2.25rem);
  text-align: center;
}

.btx-ui.btx-page--topups .rc-hero h1 {
  max-width: 680px;
  margin: 0.35rem auto 0.75rem;
  color: var(--btx-ink);
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  font-weight: 920;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.btx-ui.btx-page--topups .rc-order-form,
.btx-ui.btx-page--topups .rc-trust,
.btx-ui.btx-page--topups .rc-empty {
  border-color: var(--btx-border);
  border-radius: var(--btx-radius-lg);
  box-shadow: 0 16px 42px rgba(71, 49, 31, 0.08);
}

.btx-ui.btx-page--topups .rc-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.btx-ui.btx-page--topups .rc-product-body {
  grid-template-columns: minmax(0, 1fr);
  min-height: 214px;
  padding: 1.15rem;
  border-color: rgba(8, 127, 107, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, #f5fffb 0%, #fffaf1 100%);
}

.btx-ui.btx-page--topups .rc-product:nth-child(3n + 2) .rc-product-body {
  background: linear-gradient(145deg, #f8f6ff 0%, #fffaf3 100%);
}

.btx-ui.btx-page--topups .rc-product:nth-child(3n) .rc-product-body {
  background: linear-gradient(145deg, #fff8ed 0%, #f2fbf7 100%);
}

.btx-ui.btx-page--topups .rc-product-title {
  color: var(--btx-ink);
  font-size: clamp(1.38rem, 2.1vw, 1.72rem);
  line-height: 1.08;
}

.btx-ui.btx-page--topups .rc-product-price {
  color: var(--btx-green, #087f5b);
  font-size: 1.15rem;
}

.btx-ui.btx-page--topups .rc-product-action {
  min-height: 42px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #087f6b 0%, #006b5d 100%);
}

.btx-ui.btx-page--topups .rc-primary {
  min-height: 48px;
  border-radius: 12px;
  background: var(--btx-green, #087f5b);
}

.btx-ui.btx-page--topups .rc-request-dialog {
  overscroll-behavior: contain;
}

/* USDT: conserva el flujo y mejora densidad/lectura. */
.btx-ui.btx-page--exchange .exchange-hero {
  padding-top: clamp(2.4rem, 5vw, 4rem);
}

.btx-ui.btx-page--exchange .exchange-hero h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.25rem);
}

.btx-ui.btx-page--exchange .exchange-rate-card,
.btx-ui.btx-page--exchange .exchange-calculator,
.btx-ui.btx-page--exchange .exchange-aside-card {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Blog: la misma tipografía y paleta del producto, no un micrositio azul. */
.btx-ui.btx-page--blog.blog-home,
.btx-ui.btx-page--blog.article-page,
.btx-ui.btx-page--blog .main-content {
  color: var(--btx-ink) !important;
  background: var(--btx-cream-50) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.btx-ui.btx-page--blog .section-hero,
.btx-ui.btx-page--blog .blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4rem) var(--btx-gutter) clamp(2rem, 4vw, 3rem) !important;
  color: var(--btx-ink) !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(200, 35, 74, 0.1), transparent 27%),
    radial-gradient(circle at 88% 14%, rgba(8, 127, 91, 0.13), transparent 28%),
    linear-gradient(150deg, #fff8eb 0%, #f4e8d8 62%, #e8f2eb 100%) !important;
  border-bottom: 1px solid var(--btx-border);
}

.btx-ui.btx-page--blog .section-hero::before,
.btx-ui.btx-page--blog .blog-hero::before {
  display: none !important;
}

.btx-ui.btx-page--blog .section-hero .container,
.btx-ui.btx-page--blog .blog-hero .container {
  width: min(900px, 100%);
  margin-inline: auto;
  padding: 0;
}

.btx-ui.btx-page--blog .section-hero .hero-content,
.btx-ui.btx-page--blog .blog-hero .hero-content {
  max-width: 820px;
}

.btx-ui.btx-page--blog .section-hero .hero-title,
.btx-ui.btx-page--blog .blog-hero .hero-title {
  margin: 0 auto 1rem;
  color: var(--btx-ink) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(2.35rem, 5.5vw, 4.15rem) !important;
  font-weight: 920 !important;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-shadow: none !important;
}

.btx-ui.btx-page--blog .section-hero .hero-subtitle,
.btx-ui.btx-page--blog .blog-hero .hero-subtitle {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  color: var(--btx-muted) !important;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.6;
  opacity: 1;
}

.btx-ui.btx-page--blog .hero-search {
  max-width: 690px;
  margin-inline: auto;
}

.btx-ui.btx-page--blog .search-box {
  min-height: 66px;
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  border: 1px solid var(--btx-border) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 16px 42px rgba(71, 49, 31, 0.11) !important;
}

.btx-ui.btx-page--blog .search-input {
  min-width: 0;
  color: var(--btx-ink) !important;
  font-size: 1rem !important;
}

.btx-ui.btx-page--blog .search-submit {
  width: 52px !important;
  min-width: 52px;
  height: 52px !important;
  border-radius: 15px !important;
  background: var(--btx-purple, #5b2a91) !important;
}

.btx-ui.btx-page--blog .blog-topic-nav,
.btx-ui.btx-page--blog .main-content > .container,
.btx-ui.btx-page--blog .featured-section > .container,
.btx-ui.btx-page--blog .blog-layout,
.btx-ui.btx-page--blog .articles-section {
  max-width: var(--btx-content);
}

.btx-ui.btx-page--blog .blog-topic-nav {
  display: flex;
  margin-block: 1.5rem;
  padding-inline: var(--btx-gutter);
  gap: 0.6rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.btx-ui.btx-page--blog .blog-topic-chip {
  min-height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-color: var(--btx-border) !important;
  color: var(--btx-ink) !important;
  background: #ffffff !important;
}

.btx-ui.btx-page--blog .blog-topic-chip.is-active {
  color: #ffffff !important;
  background: var(--btx-purple, #5b2a91) !important;
}

.btx-ui.btx-page--blog .promo-banner {
  width: min(var(--btx-content), calc(100% - (2 * var(--btx-gutter))));
  margin: clamp(2rem, 5vw, 3.5rem) auto !important;
  padding: clamp(1.4rem, 4vw, 2.25rem) !important;
  border: 1px solid rgba(8, 127, 91, 0.2) !important;
  border-radius: var(--btx-radius-lg) !important;
  color: var(--btx-ink) !important;
  background: linear-gradient(135deg, #e7f5ed, #fff6df) !important;
  box-shadow: none !important;
}

.btx-ui.btx-page--blog .promo-banner :where(h2, h3, p, span) {
  color: inherit !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-shadow: none !important;
}

.btx-ui.btx-page--blog .promo-banner .promo-text,
.btx-ui.btx-page--blog .promo-banner .promo-title,
.btx-ui.btx-page--blog .promo-banner .promo-description,
.btx-ui.btx-page--blog .promo-banner .promo-text * {
  color: var(--btx-ink) !important;
  text-shadow: none !important;
}

.btx-ui.btx-page--blog .promo-banner .btn {
  min-height: 48px;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: var(--btx-green, #087f5b) !important;
}

.btx-ui.btx-page--blog .section-title,
.btx-ui.btx-page--blog .article-card-title,
.btx-ui.btx-page--blog .article-title {
  color: var(--btx-ink) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -0.035em;
}

.btx-ui.btx-page--blog .article-card {
  border: 1px solid var(--btx-border) !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 34px rgba(71, 49, 31, 0.08) !important;
}

.btx-ui.btx-page--blog .article-card-image {
  overflow: hidden;
  background: var(--btx-cream-200);
}

.btx-ui.btx-page--blog .article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btx-ui.btx-page--blog .article-card-meta,
.btx-ui.btx-page--blog .article-card-excerpt {
  color: var(--btx-muted) !important;
}

.btx-ui.btx-page--blog .adbox,
.btx-ui.btx-page--blog .ad-container {
  max-width: 100%;
  overflow: hidden;
}

/* Páginas informativas, formularios y cuentas heredadas. */
.btx-ui.btx-page--info main,
.btx-ui.btx-page--account main,
.btx-ui.btx-page--generic main {
  max-width: 100%;
}

.btx-ui.btx-page--info :where(.legal-content, .content-section, .page-content),
.btx-ui.btx-page--account :where(.auth-container, .account-container),
.btx-ui.btx-page--generic :where(.form-container, .content-container) {
  width: min(var(--btx-content), calc(100% - (2 * var(--btx-gutter))));
  margin-inline: auto;
}

/* Footer */
.btx-ui .footer-main {
  overflow: hidden;
}

.btx-ui .footer-main .footer-content,
.btx-ui .footer-main .footer-bottom {
  width: min(var(--btx-content), 100%);
}

.btx-ui .footer-main .footer-contact-line a {
  overflow-wrap: anywhere;
}

.btx-ui .footer-main .red-social {
  display: inline-grid !important;
  place-items: center;
}

@media (max-width: 1100px) {
  .btx-ui.btx-page--hotels .grid.grid-3,
  .btx-ui.btx-page--topups .rc-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 980px) {
  .btx-ui .header-modern .nav-main > .nav-links {
    display: none !important;
  }

  .btx-ui .header-modern .hamburger,
  .btx-ui .header-modern .btn-menu,
  .btx-ui .header-modern [data-menu-toggle] {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .btx-ui.btx-page--blog .blog-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .btx-ui.btx-page--blog .blog-sidebar {
    position: static !important;
  }
}

@media (max-width: 760px) {
  :root {
    --btx-gutter: 0.9rem;
    --btx-section-y: 1.75rem;
  }

  .btx-ui .header-modern {
    padding-top: max(0.55rem, env(safe-area-inset-top)) !important;
    padding-bottom: 0.55rem !important;
  }

  .btx-ui .header-modern .header-content {
    min-height: 46px;
  }

  .btx-ui .header-modern .logo-section .logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
  }

  .btx-ui .header-modern .logo-text {
    font-size: 1.15rem !important;
  }

  .btx-ui #language-selector {
    top: calc(74px + env(safe-area-inset-top)) !important;
    left: var(--btx-gutter) !important;
    right: auto !important;
  }

  .btx-ui #language-selector .lang-button {
    min-width: 48px;
    min-height: 40px;
    padding: 0.45rem 0.75rem !important;
  }

  .btx-ui.btx-page--home .home-hero {
    min-height: auto;
    padding: 2.25rem var(--btx-gutter) 1.6rem !important;
  }

  .btx-ui.btx-page--home .home-hero .hero-kicker {
    margin-bottom: 0.65rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.64rem;
  }

  .btx-ui.btx-page--home .home-hero .hero-title {
    margin-bottom: 0.7rem !important;
    font-size: clamp(2.15rem, 10.5vw, 2.85rem) !important;
    line-height: 0.97 !important;
  }

  .btx-ui.btx-page--home .home-hero .hero-subtitle-large {
    margin-bottom: 0 !important;
    font-size: 0.94rem !important;
    line-height: 1.45 !important;
  }

  .btx-ui.btx-page--home .home-hero .hero-description {
    display: none;
  }

  .btx-ui.btx-page--home .home-hero .cta-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 460px);
    margin: 1rem auto 0 !important;
    gap: 0.6rem !important;
  }

  .btx-ui.btx-page--home .home-hero .cta-buttons a {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    padding: 0.68rem 0.7rem !important;
    font-size: 0.86rem !important;
    line-height: 1.15;
  }

  .btx-ui.btx-page--home .btx-partners {
    padding: 0.7rem 0 !important;
  }

  .btx-ui.btx-page--home .partners-container {
    min-height: 38px !important;
    flex-wrap: nowrap !important;
    gap: 0.8rem !important;
  }

  .btx-ui.btx-page--home .partner-logo-item {
    min-width: 0;
    flex: 1 1 0;
  }

  .btx-ui.btx-page--home .partner-logo-item img {
    width: 100%;
    max-width: 88px !important;
    max-height: 26px;
  }

  .btx-ui.btx-page--home .btx-services {
    padding: 2rem 0 !important;
  }

  .btx-ui.btx-page--home .btx-services > .container > div:first-child {
    margin-bottom: 1.15rem !important;
  }

  .btx-ui.btx-page--home .services-title,
  .btx-ui.btx-page--home .about-title {
    font-size: clamp(1.55rem, 7.5vw, 2rem) !important;
  }

  .btx-ui.btx-page--home .services-subtitle {
    font-size: 0.9rem !important;
  }

  .btx-ui.btx-page--home .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    margin-top: 0 !important;
  }

  .btx-ui.btx-page--home .service-card {
    min-height: 148px;
    padding: 0.8rem !important;
    border-radius: 16px !important;
  }

  .btx-ui.btx-page--home .service-card .service-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
  }

  .btx-ui.btx-page--home .service-card .service-icon svg {
    width: 20px;
    height: 20px;
  }

  .btx-ui.btx-page--home .service-card h2 {
    margin: 0.55rem 0 0.65rem !important;
    font-size: 0.92rem !important;
    line-height: 1.15 !important;
  }

  .btx-ui.btx-page--home .service-card .btn {
    min-height: 38px;
    padding: 0.48rem 0.45rem !important;
    font-size: 0.74rem !important;
    line-height: 1.15;
  }

  .btx-ui.btx-page--home .about-billetaxo-section {
    padding: 1.65rem 0 !important;
  }

  .btx-ui.btx-page--home .about-billetaxo-section .about-title {
    margin-bottom: 0.65rem !important;
  }

  .btx-ui.btx-page--home .about-billetaxo-section .about-description {
    margin-bottom: 0 !important;
    padding-inline: 0.35rem !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
  }

  .btx-ui.btx-page--home .reviews-section {
    padding: 1.9rem var(--btx-gutter) !important;
  }

  .btx-ui.btx-page--home .reviews-section > .container > div:first-child {
    margin-bottom: 1rem !important;
  }

  .btx-ui.btx-page--home .reviews-title {
    margin-bottom: 0.55rem !important;
    font-size: 1.45rem !important;
  }

  .btx-ui.btx-page--home .reviews-title + p {
    margin-bottom: 0.65rem !important;
    font-size: 0.88rem !important;
  }

  .btx-ui.btx-page--home .reviews-section .slider-dots {
    margin-top: 0.65rem !important;
  }

  .btx-ui.btx-page--home .faq-section-main {
    padding: 1.9rem var(--btx-gutter) !important;
  }

  .btx-ui.btx-page--home .faq-section-main > .container > div:first-child {
    margin-bottom: 1rem !important;
  }

  .btx-ui.btx-page--home .faq-main-title {
    margin-bottom: 0.45rem !important;
    padding: 0 !important;
    font-size: 1.45rem !important;
    line-height: 1.1;
  }

  .btx-ui.btx-page--home .faq-main-title + p {
    font-size: 0.88rem !important;
    line-height: 1.45;
  }

  .btx-ui.btx-page--home .faq-categories {
    grid-template-columns: 1fr;
    gap: 0.55rem !important;
  }

  .btx-ui.btx-page--home .faq-category-title {
    min-height: 52px;
    padding: 0.75rem 2.7rem 0.75rem 0.85rem;
    font-size: 0.9rem;
  }

  .btx-ui.btx-page--home .faq-section-main > .container > div:last-child {
    padding: 1rem !important;
  }

  .btx-ui.btx-page--home .footer-main {
    margin-top: 0 !important;
    padding-top: 2.25rem !important;
  }

  .btx-ui.btx-page--hotels .home-hero,
  .btx-ui.btx-page--cars .home-hero {
    min-height: auto;
    padding: 2.5rem var(--btx-gutter) 2rem !important;
  }

  .btx-ui.btx-page--hotels .home-hero .hero-title,
  .btx-ui.btx-page--cars .home-hero .hero-title {
    font-size: clamp(2.2rem, 10.5vw, 3rem) !important;
  }

  .btx-ui.btx-page--hotels .home-hero .hero-description,
  .btx-ui.btx-page--cars .home-hero .hero-description {
    font-size: 0.98rem !important;
  }

  .btx-ui.btx-page--hotels .booking-search-form {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.15rem !important;
    border-radius: 20px !important;
  }

  .btx-ui.btx-page--hotels .booking-form-second-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .btx-ui.btx-page--hotels .booking-search-form :where(input, select),
  .btx-ui.btx-page--topups :where(input, select, textarea),
  .btx-ui.btx-page--exchange :where(input, select, textarea),
  .btx-ui.btx-page--blog :where(input, select, textarea) {
    font-size: 16px !important;
  }

  .btx-ui.btx-page--hotels .grid.grid-3 {
    grid-template-columns: 1fr !important;
  }

  .btx-ui.btx-page--topups .rc-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .btx-ui.btx-page--hotels .card,
  .btx-ui.btx-page--cars .card {
    padding: 1.15rem !important;
  }

  .btx-ui.btx-page--cars .widget-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btx-ui.btx-page--cars .widget-tab {
    min-height: 46px;
    padding-inline: 0.6rem !important;
    white-space: normal;
  }

  .btx-ui.btx-page--cars #tp-widget-container {
    margin-inline: 0 !important;
    padding: 0.65rem !important;
    border-radius: 18px;
  }

  .btx-ui.btx-page--topups .rc-shell {
    padding-top: 1.25rem;
  }

  .btx-ui.btx-page--topups .rc-hero {
    margin-bottom: 1.15rem;
    padding-inline: 0.35rem;
  }

  .btx-ui.btx-page--topups .rc-hero h1 {
    margin: 0.3rem auto 0.65rem;
    font-size: clamp(2rem, 9.2vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .btx-ui.btx-page--topups .rc-hero > p:not(.rc-kicker) {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .btx-ui.btx-page--topups .rc-order-form,
  .btx-ui.btx-page--topups .rc-trust,
  .btx-ui.btx-page--topups .rc-empty {
    padding: 0.8rem;
    border-radius: 15px;
  }

  .btx-ui.btx-page--topups .rc-product-body {
    min-height: 198px;
    gap: 0.58rem;
    padding: 0.9rem;
    border-radius: 14px;
  }

  .btx-ui.btx-page--topups .rc-product-grid {
    gap: 0.9rem;
  }

  .btx-ui.btx-page--topups .rc-product-title {
    font-size: 1.28rem;
    line-height: 1.08;
  }

  .btx-ui.btx-page--topups .rc-product-action {
    min-height: 40px;
    padding: 0.5rem 0.7rem;
    border-radius: 9px;
    font-size: 0.78rem;
  }

  .btx-ui.btx-page--topups .rc-dialog-card {
    padding: 1.15rem;
  }

  .btx-ui.btx-page--exchange .exchange-hero {
    padding: 2.5rem var(--btx-gutter) 1.9rem;
  }

  .btx-ui.btx-page--exchange .exchange-hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .btx-ui.btx-page--exchange .exchange-rate-strip {
    grid-template-columns: 1fr;
  }

  .btx-ui.btx-page--exchange .exchange-main {
    padding: 1.8rem var(--btx-gutter);
  }

  .btx-ui.btx-page--exchange .exchange-calculator,
  .btx-ui.btx-page--exchange .exchange-aside-card {
    border-radius: 18px;
  }

  .btx-ui.btx-page--blog .section-hero,
  .btx-ui.btx-page--blog .blog-hero {
    padding: 2.5rem var(--btx-gutter) 1.9rem !important;
  }

  .btx-ui.btx-page--blog .section-hero .hero-title,
  .btx-ui.btx-page--blog .blog-hero .hero-title {
    font-size: clamp(2.25rem, 10.5vw, 3rem) !important;
  }

  .btx-ui.btx-page--blog .search-box {
    min-height: 58px;
    padding-left: 0.75rem;
    border-radius: 17px !important;
  }

  .btx-ui.btx-page--blog .search-icon {
    display: none;
  }

  .btx-ui.btx-page--blog .search-submit {
    width: 48px !important;
    min-width: 48px;
    height: 48px !important;
  }

  .btx-ui.btx-page--blog .promo-banner {
    text-align: left !important;
  }

  .btx-ui.btx-page--blog .promo-content {
    align-items: flex-start !important;
  }

  .btx-ui.btx-page--blog .articles-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }

  .btx-ui.btx-page--blog .article-card-content {
    padding: 1.1rem !important;
  }

  .btx-ui .footer-main {
    margin-top: 3rem !important;
    padding: 3rem 0 max(1.2rem, env(safe-area-inset-bottom)) !important;
  }

  .btx-ui .footer-main .footer-content {
    gap: 2.25rem !important;
    padding-inline: var(--btx-gutter) !important;
  }

  .btx-ui .footer-main .footer-bottom {
    margin-top: 2.25rem !important;
    padding-inline: var(--btx-gutter) !important;
  }
}

@media (max-width: 560px) {
  .btx-ui.btx-page--topups .rc-product-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .btx-ui.btx-page--topups .rc-product-body {
    min-height: 190px;
    padding: 1rem;
  }
}

@media (max-width: 420px) {
  .btx-ui .header-modern .logo-text {
    font-size: 1.08rem !important;
  }

  .btx-ui.btx-page--hotels .booking-form-second-row {
    grid-template-columns: 1fr 1fr !important;
  }

  .btx-ui.btx-page--blog .promo-banner .promo-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btx-ui *,
  .btx-ui *::before,
  .btx-ui *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Debe permanecer al final: contrato visual definitivo del header/drawer. */
body.btx-ui .header-modern,
html.legal-page body.btx-ui .header-modern,
body.btx-ui:has(.legal-hero) .header-modern {
  background: var(--btx-cream-50, #fffdf8) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.btx-ui .header-modern .logo,
body.btx-ui .header-modern :where(.hamburger, .btn-menu, [data-menu-toggle]),
body.btx-ui #mobileMenu :where(.btn-close, [data-menu-close]) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.btx-ui .header-modern .header-account-link,
body.btx-ui .header-modern .header-account-link:hover,
body.btx-ui .header-modern .header-account-link.active {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.btx-ui .header-modern :where(.hamburger, .btn-menu, [data-menu-toggle]):focus-visible,
body.btx-ui #mobileMenu :where(.btn-close, [data-menu-close]):focus-visible {
  outline: 0 !important;
  opacity: 0.7;
}

body.btx-ui .header-modern .logo-text,
body.btx-ui .header-modern .logo-text:hover,
body.btx-ui .header-modern .nav-links a,
body.btx-ui .header-modern .nav-links a:hover,
body.btx-ui .header-modern .nav-links a.active,
body.btx-ui #mobileMenu .nav-links a,
body.btx-ui #mobileMenu .nav-links a:hover,
body.btx-ui #mobileMenu .nav-links a.active {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.btx-ui .header-modern .nav-links a.active,
body.btx-ui .header-modern .nav-links a[aria-current="page"],
body.btx-ui #mobileMenu .nav-links a.active,
body.btx-ui #mobileMenu .nav-links a[aria-current="page"] {
  color: var(--btx-ink, #241f1a) !important;
  font-weight: 850 !important;
}

/* Header V3: grouped secondary navigation. */
body.btx-ui .header-modern .nav-more {
  position: relative;
}

body.btx-ui .header-modern .nav-more-toggle,
body.btx-ui #mobileMenu .mobile-more-toggle {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.btx-ui .header-modern .nav-more-toggle {
  padding: .65rem .8rem;
}

body.btx-ui .header-modern .nav-more-toggle:hover,
body.btx-ui .header-modern .nav-more-toggle:focus-visible,
body.btx-ui .header-modern .nav-more-toggle.active,
body.btx-ui .header-modern .nav-more-toggle[aria-expanded="true"] {
  color: #5b2a91;
  background: #f4edf9;
}

body.btx-ui .header-modern .nav-more-menu {
  position: absolute;
  z-index: 1002;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 210px;
  margin: 0;
  padding: .45rem;
  list-style: none;
  border: 1px solid #e8dff0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(36, 20, 50, .18);
}

body.btx-ui .header-modern .nav-more-menu[hidden],
body.btx-ui #mobileMenu .mobile-more-menu[hidden] {
  display: none !important;
}

body.btx-ui .header-modern .nav-more-menu a {
  display: block;
  padding: .75rem .85rem;
  border-radius: 9px;
  white-space: nowrap;
}

body.btx-ui #mobileMenu .mobile-more-toggle {
  width: 100%;
  padding: .8rem 1rem;
  text-align: left;
}

body.btx-ui #mobileMenu .mobile-more-menu {
  margin: 0 0 .5rem 1rem;
  padding: .25rem 0 .25rem .75rem;
  list-style: none;
  border-left: 2px solid #e8dff0;
}

body.btx-ui #mobileMenu .nav-mobile {
  background: var(--btx-cream-50, #fffdf8) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.btx-ui #language-selector .lang-button,
body.btx-ui #language-selector .lang-button:hover {
  color: var(--btx-ink, #241f1a) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-shadow: none !important;
}
