/* TixBD Exclusive Offers — all rules are strictly scoped to this plugin. */
.tixbd-offers,
.tixbd-offers * { box-sizing: border-box; }
.tixbd-offers {
  --tixbd-offers-accent: #f1ae16;
  --tixbd-offers-dark: #102b4a;
  --tixbd-offers-surface: #f5f8fc;
  --tixbd-offers-max: 100%;
  --tixbd-offers-gutter: 0px;
  --tixbd-offers-hover-from: #145681;
  --tixbd-offers-hover-to: #2c83c3;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  background: var(--tixbd-offers-surface);
  color: var(--tixbd-offers-dark);
  /* The wrapper is already inside TixBD's 1320px GoFly section.
     Avoid double-constraining the content and the unnecessary 58px top gutter. */
  padding: clamp(20px, 2.25vw, 30px) 0 clamp(17px, 1.8vw, 24px);
  line-height: 1.5;
  font-family: inherit;
  overflow: hidden;
}
.tixbd-offers[hidden] { display: none !important; }
.tixbd-offers__inner {
  width: 100%;
  max-width: var(--tixbd-offers-max);
  margin-inline: auto;
  padding-inline: var(--tixbd-offers-gutter);
  min-width: 0;
}
.tixbd-offers__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tixbd-offers__heading,
.tixbd-offers h2.tixbd-offers__heading {
  color: var(--tixbd-offers-dark);
  font-family: inherit;
  font-size: clamp(24px, 2.55vw, 33px);
  line-height: 1.23;
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0;
  padding: 0;
  text-align: left;
}
.tixbd-offers__arrows { display: flex; gap: 9px; align-items: center; flex-shrink: 0; }
.tixbd-offers button.tixbd-offers__arrow {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #cdd9e7;
  background: #fff;
  color: var(--tixbd-offers-dark);
  box-shadow: 0 4px 14px rgba(11, 42, 75, .05);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s, transform .2s;
  opacity: 1;
  line-height: 1;
}
.tixbd-offers__arrow svg { width: 18px; height: 18px; }
.tixbd-offers button.tixbd-offers__arrow:hover:not(:disabled) {
  background: var(--tixbd-offers-dark);
  color: #fff;
  border-color: var(--tixbd-offers-dark);
  transform: translateY(-2px);
}
.tixbd-offers button.tixbd-offers__arrow:disabled { opacity: .37; cursor: default; transform: none; }
.tixbd-offers__viewport {
  margin-top: clamp(16px, 1.65vw, 22px);
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* No horizontal viewport padding: cards line up with section title. */
  padding: 1px 0 5px;
  border-radius: 13px;
  outline-offset: 4px;
  cursor: grab;
}
.tixbd-offers__viewport:active { cursor: grabbing; }
.tixbd-offers__viewport::-webkit-scrollbar { display: none; }
.tixbd-offers__track { display: flex; gap: 18px; width: 100%; align-items: stretch; }
.tixbd-offers__card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  aspect-ratio: 2.09 / 1;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #dbe9f4;
  box-shadow: 0 2px 6px rgba(9, 44, 83, .04);
  transform: translateZ(0);
  transition: box-shadow .28s ease;
}
.tixbd-offers__link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  color: #fff;
  text-decoration: none !important;
  outline-offset: -3px;
  cursor: pointer;
}
.tixbd-offers__link:hover,
.tixbd-offers__link:focus,
.tixbd-offers__link:visited { color: #fff; text-decoration: none !important; }
.tixbd-offers__link:focus-visible { outline: 3px solid var(--tixbd-offers-accent); }
.tixbd-offers__visual,
.tixbd-offers__img,
.tixbd-offers__image-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.tixbd-offers__visual { background: linear-gradient(130deg, #dff4f5, #b5d5f0); overflow: hidden; }
.tixbd-offers__img { z-index: 1; display: block; object-fit: cover; object-position: center center; }
.tixbd-offers__visual--left .tixbd-offers__img { object-position: left center; }
.tixbd-offers__visual--right .tixbd-offers__img { object-position: right center; }
.tixbd-offers__visual--top .tixbd-offers__img { object-position: center top; }
.tixbd-offers__visual--bottom .tixbd-offers__img { object-position: center bottom; }
.tixbd-offers__image-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 21px;
  color: var(--tixbd-offers-dark);
  background: linear-gradient(120deg,#d5f4f3 0%,#ebf2ff 60%,#d9eafb 100%);
}
.tixbd-offers__image-fallback span { font-size: 11px; font-weight: 850; letter-spacing: .2em; }
.tixbd-offers__image-fallback strong { font-size: clamp(18px, 2vw, 29px); letter-spacing: -.03em; max-width: 80%; line-height: 1.25; }
.tixbd-offers__img.tixbd-image-broken { display: none; }
.tixbd-offers__badge {
  position: absolute;
  z-index: 4;
  top: 11px;
  right: 11px;
  max-width: calc(100% - 25px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  padding: 6px 10px;
  color: #152a39;
  background: var(--tixbd-offers-accent);
  box-shadow: 0 4px 14px rgba(9, 29, 52, .2);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  pointer-events: none;
  transition: opacity .16s ease;
}
.tixbd-offers__badge--left { right: auto; left: 11px; }
.tixbd-offers__badge--timer { background: #fff; color: var(--tixbd-offers-dark); border-left: 3px solid var(--tixbd-offers-accent); }
.tixbd-offers__time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tixbd-offers__overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: clamp(6px, .7vw, 9px);
  /* Solid branded panel, not a dark semi-transparent overlay on the photo.
     It rises from below and fully replaces the image, like the reference video. */
  background:
    radial-gradient(ellipse at 105% 108%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(112deg, var(--tixbd-offers-hover-from), var(--tixbd-offers-hover-to));
  padding: clamp(16px, 1.75vw, 23px);
  color: #fff;
  transform: translate3d(0, 101%, 0);
  will-change: transform;
  pointer-events: none;
  transition: transform .40s cubic-bezier(.22, 1, .36, 1);
}
.tixbd-offers__overlay-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -.015em;
}
.tixbd-offers__description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: clamp(12px, 1.03vw, 14px);
  color: #f1f7fd;
  line-height: 1.45;
  font-weight: 400;
}
.tixbd-offers__cta {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #ffe2a1;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}
.tixbd-offers__cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tixbd-offers__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 19px;
  margin-top: 9px;
}
.tixbd-offers button.tixbd-offers__dot {
  appearance: none;
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #bdd4ea;
  box-shadow: none;
  cursor: pointer;
  transition: width .25s, background .25s;
}
.tixbd-offers button.tixbd-offers__dot.is-active {
  background: var(--tixbd-offers-accent);
  width: 23px;
  border-radius: 20px;
}
.tixbd-offers__sr-only {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .tixbd-offers__card:hover { box-shadow: 0 7px 23px rgba(11, 47, 78, .13); }
  .tixbd-offers__card:hover .tixbd-offers__overlay { transform: translate3d(0, 0, 0); }
  .tixbd-offers__card:hover .tixbd-offers__cta svg { transform: translateX(4px); }
  .tixbd-offers__card:hover .tixbd-offers__badge { opacity: 0; }
}
/* :focus-visible (rather than :focus-within) avoids sticky mobile tap focus. */
.tixbd-offers__link:focus-visible .tixbd-offers__overlay,
.tixbd-offers__card.is-revealed .tixbd-offers__overlay { transform: translate3d(0, 0, 0); }
.tixbd-offers__link:focus-visible .tixbd-offers__badge,
.tixbd-offers__card.is-revealed .tixbd-offers__badge { opacity: 0; }
@media (max-width: 930px) {
  .tixbd-offers__card { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 620px) {
  .tixbd-offers { padding-top: 22px; padding-bottom: 18px; }
  .tixbd-offers__inner { padding-inline: max(var(--tixbd-offers-gutter), 12px); }
  .tixbd-offers__heading, .tixbd-offers h2.tixbd-offers__heading { font-size: 25px; }
  .tixbd-offers button.tixbd-offers__arrow { width: 32px; height: 32px; }
  .tixbd-offers__arrow svg { width: 15px; height: 15px; }
  .tixbd-offers__track { gap: 12px; }
  .tixbd-offers__card { flex-basis: min(86%, 385px); aspect-ratio: 1.98 / 1; }
  .tixbd-offers__overlay { padding: 15px 16px; gap: 6px; }
  .tixbd-offers__overlay-title { font-size: clamp(16px, 4.5vw, 19px); }
  .tixbd-offers__description { font-size: 12px; }
  .tixbd-offers__badge { top: 8px; right: 8px; padding: 5px 7px; font-size: 10px; }
  .tixbd-offers__badge--left { right: auto; left: 8px; }
  .tixbd-offers__dots { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tixbd-offers__viewport { scroll-behavior: auto; }
  .tixbd-offers__card, .tixbd-offers__overlay, .tixbd-offers__badge,
  .tixbd-offers__cta svg, .tixbd-offers button { transition: none !important; }
}
/* Turning off snapping during drag prevents fight-back between drag and snap. */
.tixbd-offers__viewport.is-grabbing { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.tixbd-offers__dots[hidden] { display: none; }
