.at-deals {
  --deal-bg: #f5f8fd;
  --deal-ink: #112b50;
  --deal-muted: #516989;
  --deal-line: #dbe6f5;
  min-width: 0;
  padding-bottom: clamp(38px, 6vw, 76px);
  background: var(--deal-bg);
  color: var(--deal-ink);
}
.at-deals [hidden] { display: none !important; }
.at-deals :is(a, input):focus-visible { outline: 2px solid #2071df; outline-offset: 3px; }
.at-deals__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(23px, 2.6vw, 37px) 0 clamp(52px, 5.6vw, 69px);
  border-bottom: 1px solid #d9e7f8;
  background: radial-gradient(ellipse at 86% 12%, #cde5ffb8 0, transparent 61%),
    linear-gradient(112deg, #fff 8%, #f5f9ff 48%, #e2efff 100%);
  color: var(--deal-ink);
}
.at-deals__hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(circle, #91b7ea68 1px, transparent 1.3px) 0 0 / 20px 20px;
  mask-image: linear-gradient(95deg, transparent 24%, #000 80%);
}
.at-deals__hero::after {
  position: absolute;
  z-index: -1;
  inset: -57% -13% auto auto;
  width: clamp(320px, 50vw, 730px);
  aspect-ratio: 1;
  border: 1px solid #9bbde940;
  border-radius: 50%;
  box-shadow: 0 0 0 35px #c5ddf957, 0 0 0 70px #c6dffa3c;
  content: "";
}
.at-deals__hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); align-items: center; gap: clamp(24px, 5.7vw, 86px); }
.at-deals__intro { min-width: 0; }
.at-deals__trail { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: clamp(17px, 3vw, 34px); color: #496789; font-size: .77rem; }
.at-deals__trail a { color: #255c9b; text-decoration: none; }
.at-deals__trail a:hover { text-decoration: underline; }
.at-deals__trail svg { width: 12px; height: 12px; color: #648dbd; }
.at-deals__kicker {
  display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 3px 10px 3px 7px;
  border: 1px solid #cee0f7; border-radius: 999px; background: #f5faff;
  color: #20558f; font-size: .69rem; font-weight: 760; letter-spacing: .085em;
}
.at-deals__kicker svg { width: 18px; height: 18px; color: #df591f; transform-origin: center bottom; }
.at-deals__hero .at-deals__intro h1 {
  margin: 12px 0 11px;
  color: var(--deal-ink);
  font: 750 clamp(2rem, 4.15vw, 3.75rem)/1.13 var(--voyage-sans);
  letter-spacing: -.038em;
}
.at-deals__intro h1 strong { display: block; color: #165ab4; font-weight: inherit; }
.at-deals__intro p { max-width: 54ch; margin: 0; color: #415e80; font-size: clamp(.85rem, 1.3vw, 1.03rem); line-height: 1.6; }
.at-deals__board {
  min-width: 0; width: min(100%, 493px); justify-self: end; padding: 5px;
  border: 1px solid #c7dcf4; border-radius: 22px;
  background: #fff; box-shadow: 0 16px 39px #14376125, 0 2px 8px #174b8110;
}
.at-deals__board-main {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 10px; min-height: clamp(176px, 15.8vw, 217px); padding: clamp(13px, 1.6vw, 21px);
  overflow: hidden; border-radius: 17px; background: linear-gradient(112deg, #0d2d59, #367dc6); color: #fff;
}
.at-deals__board-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 82%; height: 100%; object-fit: cover; object-position: center; }
.at-deals__board-main::before {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, #0b2b55 7%, #0c2e59f7 24%, #0b305892 52%, #173e650e 100%), linear-gradient(0deg, #08254c79, transparent 58%);
}
.at-deals__board-brand { display: flex; align-items: center; gap: 7px; font-size: .99rem; }
.at-deals__board-brand img { flex: 0 0 30px; border: 1px solid #b9ddff44; border-radius: 9px; }
.at-deals__board-brand b { color: #fff; font-weight: 770; }
.at-deals__board-brand b span { color: #b5dbff; font-size: .78em; }
.at-deals__board-location { position: relative; z-index: 1; display: grid; align-content: end; gap: 4px; max-width: 70%; }
.at-deals__board-location span { color: #e0eeff; font-size: .72rem; font-weight: 630; }
.at-deals__board-location strong { color: #fff; font-size: clamp(2.45rem, 4.5vw, 4.2rem); font-weight: 820; line-height: .95; letter-spacing: -.048em; }
.at-deals__board-location b { color: #fff; font-size: clamp(.84rem, 1.25vw, 1.05rem); font-weight: 680; overflow-wrap: anywhere; }
.at-deals__board-path { position: absolute; inset: auto 4% 7% auto; width: min(54%, 250px); height: auto; color: #ddf1ff; filter: drop-shadow(0 2px 3px #0a2549ad); }
.at-deals__board-bottom { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 7px 3px; }
.at-deals__board-caption { display: flex; align-items: center; gap: 5px; color: #30517c; font-size: .72rem; font-weight: 690; }
.at-deals__board-caption svg { flex: 0 0 16px; width: 16px; height: 16px; color: #2865b0; }
.at-deals__board-codes { display: flex; align-items: center; gap: 4px; }
.at-deals__board-codes b { padding: 3px 6px; border-radius: 6px; background: #f0f5fc; color: #4a6587; font-size: .67rem; font-weight: 760; letter-spacing: .04em; }
.at-deals__board-codes .is-current { background: #dfedff; color: #164f9f; }

.at-deals__content { position: relative; }
.at-deals__airports {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px;
  margin-top: -31px; padding: 7px; border: 1px solid var(--deal-line); border-radius: 18px;
  background: #fff; box-shadow: 0 8px 24px #122e5320;
}
.at-deals__airports a {
  display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 60px; padding: 8px 11px;
  border: 1px solid #e3ebf7; border-radius: 12px; background: #f8fbff; color: var(--deal-ink); text-decoration: none;
}
.at-deals__airports a:hover { border-color: #9ebfe9; background: #eaf3ff; }
.at-deals__airports a[aria-current="page"] { border-color: #1e5ebc; background: linear-gradient(135deg, #1c57b0, #225fc6); color: #fff; }
.at-deals__airport-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #eaf1fb; color: #265da5; }
.at-deals__airports [aria-current] .at-deals__airport-icon { background: #ffffff25; color: #fff; }
.at-deals__airport-icon svg { width: 17px; height: 17px; }
.at-deals__airport-text { display: grid; gap: 3px; min-width: 0; line-height: 1.22; overflow-wrap: anywhere; }
.at-deals__airport-text strong { font-size: .92rem; font-weight: 760; }
.at-deals__airport-text small { color: #526b8c; font-size: .69rem; font-weight: 740; letter-spacing: .075em; }
.at-deals__airports [aria-current] small { color: #d2e7ff; }
.at-deals__airport-arrow { display: flex; margin-inline-start: auto; color: #4170aa; }
.at-deals__airport-arrow svg { width: 15px; height: 15px; }
.at-deals__airports [aria-current] .at-deals__airport-arrow { color: #d2e7ff; }

.at-deals__offers { padding-top: clamp(23px, 4vw, 45px); scroll-margin-top: 84px; }
.at-deals__heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 16px; margin-bottom: 8px; }
.at-deals__heading > div > span { color: #2860a6; font-size: .73rem; font-weight: 760; letter-spacing: .045em; }
.at-deals .at-deals__heading h2 { margin: 3px 0 0; color: var(--deal-ink); font: 750 clamp(1.23rem, 2.5vw, 1.91rem)/1.24 var(--voyage-sans); }
.at-deals__filter { position: relative; width: min(100%, 285px); }
.at-deals__filter svg { position: absolute; inset-block-start: 50%; inset-inline-start: 10px; width: 18px; height: 18px; transform: translateY(-50%); color: #4e719d; pointer-events: none; }
.at-deals__filter input {
  width: 100%; min-height: 44px; padding: 7px 10px 7px 35px; border: 1px solid #cbdbef; border-radius: 10px;
  background: #fff; color: var(--deal-ink); font-size: .84rem;
}
.at-deals__filter input::placeholder { color: #577191; }
.at-deals__count, .at-deals__loading { margin: 0 0 10px; color: var(--deal-muted); font-size: .78rem; font-weight: 680; }
.at-deals__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 17px); }
.at-deal-ticket {
  --ticket-border: #d6e3f5;
  position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--ticket-border);
  border-radius: 17px; background: #fff; box-shadow: 0 8px 22px #18385f13;
}
.at-deal-ticket__cover {
  position: relative; isolation: isolate; min-height: clamp(140px, 12.6vw, 178px); overflow: hidden; border-radius: 16px 16px 0 0;
  background: radial-gradient(circle at 78% 32%, #5696e2, transparent 63%), linear-gradient(140deg, #0c2e5d, #234f88);
}
.at-deal-ticket__photo, .at-deal-ticket__cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.at-deal-ticket__photo { z-index: -2; object-fit: cover; }
.at-deal-ticket__cover::after { z-index: -1; content: ""; background: linear-gradient(0deg, #081f3bec 0%, #081f3b52 48%, #081f3b00 73%, #081f3b47 100%); }
.at-deal-ticket__cover-icon { position: absolute; z-index: -3; inset: 16% 10% auto auto; color: #cae5ff55; }
.at-deal-ticket__cover-icon svg { width: 86px; height: 86px; }
.at-deal-ticket__cover-info { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: inherit; padding: 12px clamp(12px, 1.5vw, 17px); }
.at-deal-ticket__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.at-deal-ticket__place, .at-deal-ticket__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 7px; font-size: .71rem; font-weight: 730; line-height: 1.3; }
.at-deal-ticket__place { min-width: 0; background: #102b4be8; color: #fff; overflow-wrap: anywhere; }
.at-deal-ticket__place svg, .at-deal-ticket__badge svg { flex: 0 0 14px; width: 14px; height: 14px; }
.at-deal-ticket__badge { flex: 0 0 auto; background: #eaf3ff; color: #235686; }
.at-deal-ticket__badge svg { color: #2b65ad; }
.at-deal-ticket--hot .at-deal-ticket__badge:not(.at-deal-ticket__badge--discount) { background: #fff0e1; color: #82380e; }
.at-deal-ticket--hot .at-deal-ticket__badge svg { color: #c74713; transform-origin: center bottom; }
.at-deal-ticket__badge.at-deal-ticket__badge--discount { padding: 4px 8px; background: #ffe3eb; color: #971c44; font-size: .9rem; font-weight: 820; box-shadow: 0 2px 6px #59182e23; }
.at-deal-ticket__badge--discount svg { color: #c53057; }
.at-deals .at-deal-ticket__cover h3 { margin: 0; color: #fff; font: 760 clamp(1.21rem, 2.14vw, 1.66rem)/1.16 var(--voyage-sans); letter-spacing: -.023em; overflow-wrap: anywhere; }
.at-deal-ticket__face { display: flex; flex: 1; flex-direction: column; padding: 13px clamp(12px, 1.5vw, 17px) 10px; }
.at-deal-ticket__route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(37px, .55fr) minmax(0, 1fr); align-items: start; gap: 6px; margin: 0 0 10px; }
.at-deal-ticket__airport { display: grid; gap: 4px; min-width: 0; }
.at-deal-ticket__airport:last-child { text-align: end; }
.at-deal-ticket__airport strong { color: #122c51; font-size: clamp(1.28rem, 2.35vw, 1.78rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.at-deal-ticket__airport small { color: #496483; font-size: .76rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.at-deal-ticket__track { display: flex; align-items: center; gap: 3px; min-width: 0; margin-top: 5px; color: #2c64ae; }
.at-deal-ticket__track::before, .at-deal-ticket__track::after { content: ""; flex: 1; min-width: 0; border-top: 1px dashed #88a9d4; }
.at-deal-ticket__track svg { width: 17px; height: 17px; }
.at-deal-ticket__details { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.at-deal-ticket__details li { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; padding: 3px 5px; border-radius: 5px; background: #eff5fc; color: #3c5b7e; font-size: .71rem; font-weight: 620; overflow-wrap: anywhere; }
.at-deal-ticket__details li svg { width: 13px; height: 13px; color: #346fb4; }
.at-deal-ticket__airline { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: auto; padding-top: 9px; color: #294765; font-size: .76rem; font-weight: 680; line-height: 1.25; overflow-wrap: anywhere; }
.at-deal-ticket__airline-logo { display: grid; flex: 0 0 70px; width: 70px; min-height: 29px; padding: 2px 3px; place-items: center; border: 1px solid #e2eaf5; border-radius: 6px; background: #fff; color: #315e9b; }
.at-deal-ticket__airline-logo img { width: 62px; height: 22px; object-fit: contain; }
.at-deal-ticket__airline-logo svg { width: 15px; height: 15px; }
.at-deal-ticket__airline-logo img:not([hidden]) + svg { display: none; }
.at-deal-ticket__stub {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; min-height: 81px;
  padding: 8px clamp(12px, 1.5vw, 17px) 9px; border-top: 1px dashed #adc3e2; border-radius: 0 0 16px 16px; background: #f8fbff;
}
.at-deal-ticket__stub::before, .at-deal-ticket__stub::after {
  position: absolute; inset-block-start: -6px; width: 11px; height: 11px; border: 1px solid var(--ticket-border);
  border-radius: 50%; background: var(--deal-bg); content: "";
}
.at-deal-ticket__stub::before { inset-inline-start: -6px; }
.at-deal-ticket__stub::after { inset-inline-end: -6px; }
.at-deal-ticket__fare { display: grid; gap: 2px; min-width: 0; }
.at-deal-ticket__fare small { color: #52708e; font-size: .70rem; font-weight: 670; }
.at-deal-ticket__fare strong { color: #164a9d; font-size: clamp(1.23rem, 2.2vw, 1.72rem); font-weight: 820; line-height: 1.12; overflow-wrap: anywhere; }
.at-deal-ticket__fare strong span { font-size: .72em; font-weight: 720; }
.at-deal-ticket__fare .at-deal-ticket__previous { color: #6b5970; font-size: .69rem; line-height: 1.25; }
.at-deal-ticket__previous del { white-space: nowrap; }
.at-deal-ticket__stub a, .at-deals__fallback {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 6px 9px;
  border: 1px solid #1a55b6; border-radius: 8px; background: #1c57b8; color: #fff; font-size: .76rem; font-weight: 740; line-height: 1.25; text-decoration: none;
}
.at-deal-ticket__stub a:hover, .at-deals__fallback:hover { background: #123e87; }
.at-deal-ticket__stub a svg, .at-deals__fallback svg { flex: 0 0 15px; width: 15px; height: 15px; }
.at-deals__fare-note { display: flex; align-items: flex-start; gap: 7px; margin: 13px 0 0; color: var(--deal-muted); font-size: .76rem; line-height: 1.5; }
.at-deals__fare-note svg { flex: 0 0 17px; width: 17px; height: 17px; color: #3568a4; }
.at-deals__empty, .at-deals__no-match { margin: 10px 0 0; padding: clamp(17px, 3vw, 30px); border: 1px solid var(--deal-line); border-radius: 14px; background: #fff; color: var(--deal-muted); }
.at-deals__empty-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; background: #eaf2ff; color: #285ea6; }
.at-deals__empty-icon svg { width: 21px; height: 21px; }
.at-deals__empty p { margin: 8px 0 11px; }
.at-deals__empty > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; }
.at-deals__retry { color: #235ca8; font-size: .82rem; text-underline-offset: 3px; }
.at-deals__skeleton { display: none; }
.js .at-deals__skeleton { display: grid; }
.at-deals__skeleton i { display: block; min-height: clamp(325px, 28vw, 378px); border: 1px solid var(--deal-line); border-radius: 17px; background: linear-gradient(105deg, #edf3fc 20%, #fdfdff 49%, #edf3fc 77%) 0 / 200% 100%; }
@keyframes at-deal-enter { from { transform: translateY(7px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes at-deal-loading { to { background-position: -200% 0; } }
@keyframes at-deal-route { to { stroke-dashoffset: -27; } }
@media (prefers-reduced-motion: no-preference) {
  .at-deals__kicker svg, .at-deal-ticket--hot:first-child .at-deal-ticket__badge svg { animation: voyage-deals-flame 2.25s ease-in-out 3; }
  .at-deals__board-dash { animation: at-deal-route 3.2s linear 2; }
  .at-deal-ticket { animation: at-deal-enter .35s ease backwards; transition: transform .2s ease, box-shadow .2s ease; }
  .at-deal-ticket:nth-child(2) { animation-delay: 40ms; }
  .at-deal-ticket:nth-child(3) { animation-delay: 80ms; }
  .at-deals__skeleton i { animation: at-deal-loading 1.55s linear infinite; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .at-deal-ticket:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #18385f20; }
}
@media (max-width: 900px) {
  .at-deals__hero-layout { gap: 21px; }
  .at-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-deals__skeleton i:nth-child(n + 3) { display: none; }
}
@media (max-width: 680px) {
  .at-deals__hero { padding-bottom: 55px; }
  .at-deals__hero-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .at-deals__board { width: 100%; justify-self: stretch; padding: 4px; border-radius: 15px; }
  .at-deals__board-main { min-height: 113px; justify-content: center; border-radius: 11px; }
  .at-deals__board-brand, .at-deals__board-bottom { display: none; }
  .at-deals__board-path { inset: auto 6% 8% auto; width: min(46%, 170px); }
  .at-deals__hero .at-deals__intro h1 { font-size: clamp(1.67rem, 6.3vw, 2.45rem); }
  .at-deals__airports { margin-top: -25px; padding: 5px; gap: 4px; border-radius: 13px; }
  .at-deals__airports a { min-height: 53px; gap: 5px; padding-inline: 6px; border-radius: 9px; }
  .at-deals__airport-text strong { font-size: .77rem; }
  .at-deals__airport-arrow { display: none; }
  .at-deals__filter { width: 100%; }
  .at-deals__filter input { font-size: 16px; }
}
@media (max-width: 520px) {
  .at-deals__grid { grid-template-columns: minmax(0, 1fr); }
  .at-deals__skeleton i:nth-child(n + 2) { display: none; }
  .at-deals__airport-icon { display: none; }
  .at-deals__airports a { justify-content: center; text-align: center; }
}
