#aa-header-rates { scroll-margin-block-start: clamp(74px, 12vh, 130px); }

/* Papaya glass treatment for the tariff carousel. */
.aa-dw-slider--rates {
  --aa-rate-control-light: #ffa663;
  --aa-rate-control-dark: #ff8000;
  --aa-rate-control-ink: #251104;
  font-family: system-ui, Arial, sans-serif;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(ellipse at 52% 26%, #6b391f 0%, #30232a 32%, #161820 69%, #101116 100%);
  box-shadow: none;
}
.aa-dw-slider--rates .aa-dw-toolbar {
  margin: 0 5px 5px;
  padding: 7px 9px;
  border-bottom: 1px solid #b9713b60;
}
.aa-dw-slider--rates .aa-dw-toolbar > strong {
  color: #fff;
  font: 800 clamp(15px, 1.3vw, 23px)/1.2 system-ui, Arial, sans-serif;
}
.aa-dw-slider--rates .aa-dw-toolbar__controls { color: #fff4e5; font: 750 clamp(12px, 1vw, 16px)/1.2 system-ui, Arial, sans-serif; white-space: nowrap; }
.aa-dw-slider--rates .aa-dw-toolbar__link:is(:hover,:focus-visible) { color: #fff2c2 !important; }

.aa-dw-slider--rates .aa-dw-viewport .aa-dw-card--rate {
  height: var(--aa-dw-rate-height, 530px);
}

/* Only the selected tariff and its two neighbours belong on the stage. */
.aa-dw-slider--rates .aa-dw-track > [data-aa-dw-card]:not(.is-active,.is-prev,.is-next) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.aa-dw-slider--rates .aa-dw-track > .aa-dw-card.is-active { z-index: 3; }
.aa-dw-slider--rates .aa-dw-track > .aa-dw-card:is(.is-prev,.is-next) { z-index: 1; }
@media (max-width: 799px) {
  .aa-dw-slider--rates { --aa-dw-rate-height: 625px; }
}
.aa-dw-card.aa-dw-card--rate {
  container-type: inline-size;
  border: 2px solid #ff993db8;
  background: linear-gradient(145deg, #ffffff29, #ff800015 31%, #1a1a24d9 65%, #15151deb), #28252a85;
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  color: #fff3e3;
  font-family: system-ui, Arial, sans-serif;
  box-shadow: 0 16px 36px #0a080ca8, 0 0 20px #ff800048, inset 0 1px #ffffff7a, inset 0 0 23px #ffc49925;
}
.aa-dw-card.aa-dw-card--rate:is(:hover,:focus-visible) { border-color: #ffc34a; }
.aa-dw-card.aa-dw-card--service-table {
  min-height: 0;
  gap: clamp(6px, .65vw, 10px);
  padding: clamp(8px, 1vw, 16px);
  border: 2px solid #ff943d;
  box-shadow: 0 18px 36px #0a080cb3, 0 0 23px #ff800058, inset 0 1px 0 #fff4dfaa;
}
.aa-dw-card--service-table .aa-dw-tariffs__brand {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 5px;
  padding: 1px 2px;
  color: #fff3e3;
  font-size: clamp(13px, 4.3cqw, 19px);
}
.aa-dw-card--service-table .aa-dw-tariffs__brand b { color: #fff3e3; }
.aa-dw-card--service-table .aa-dw-tariffs__brand small {
  color: #ffe5c9;
  font-size: clamp(8px, 2.7cqw, 12px);
  text-align: right;
}
.aa-dw-card--service-table .aa-dw-heading {
  padding: clamp(9px, 1vw, 17px);
  border: 1px solid #ff9218;
  border-radius: clamp(12px, 1.5vw, 23px);
  background: linear-gradient(150deg, #fff2da5c 0%, #ffad63b8 20%, #ff8000 63%, #e65a00 100%), #ff8000;
  box-shadow: inset 0 0 13px #ff7f005c;
}
.aa-dw-card--service-table .aa-dw-heading h3 {
  color: #321605;
  font: 850 clamp(20px, 6.3cqw, 29px)/1.08 system-ui, Arial, sans-serif !important;
  text-shadow: none;
}
.aa-dw-card--service-table .aa-dw-subtitle {
  color: #321605;
  font: 650 clamp(10px, 3.1cqw, 14px)/1.2 system-ui, Arial, sans-serif;
}
.aa-dw-card--service-table .aa-dw-tariffs__seal {
  flex: 0 0 auto;
  padding: .8em .65em;
  font-size: clamp(8px, 2.7cqw, 12px);
  white-space: nowrap;
}
.aa-dw-card--service-table .aa-dw-tariffs__section-title {
  border: 1px solid #ff8b12;
  border-radius: clamp(9px, 1vw, 15px);
  padding: .46em .85em;
  background: linear-gradient(115deg, #ffd6ad 0%, #ffad66 22%, #ff8000 68%, #ed6508 100%);
  box-shadow: inset 0 1px #ffe4a6, 0 0 10px #ff8c284d;
  color: #281406;
  font: 800 clamp(14px, 4.6cqw, 20px)/1.2 system-ui, Arial, sans-serif;
}
.aa-dw-card--service-table.aa-dw-card--tariffs .aa-dw-tariffs__countries {
  flex: 1 1 0;
  min-height: 84px;
  max-height: none;
  border: 1px solid #ff9e30;
  border-radius: 6px 6px 13px 13px;
  scrollbar-color: #fa901c #4b1d00;
  cursor: auto;
}
.aa-dw-modal .aa-dw-card.aa-dw-card--service-table .aa-dw-tariffs__countries {
  flex: 0 1 auto;
  max-height: min(46vh, 360px);
}
.aa-dw-card--service-table table :is(th,td) {
  padding: .38em .45em;
  border: 1px solid #9d4b17;
  line-height: 1.18;
}
.aa-dw-card--service-table thead th:first-child { width: 42%; }
.aa-dw-card--service-table thead th:last-child { width: 18%; }
.aa-dw-card--service-table .aa-dw-tariffs__route-head th {
  z-index: 1;
  background: linear-gradient(150deg, #ffbc85, #ff8000 76%);
  color: #361504;
  font-size: clamp(12px, 1.02vw, 17px);
}
.aa-dw-card--service-table .aa-dw-tariffs__country {
  background: #191a23e8;
  color: #fff3e3;
  font-size: clamp(13px, 1.08vw, 18px);
}
.aa-dw-card--service-table .aa-dw-tariffs__country:nth-child(even) { background: #26232cee; }
.aa-dw-card--service-table .aa-dw-tariffs__destination { color: #ffddaf; }
.aa-dw-card--service-table .aa-dw-tariffs__destination:is(:hover,:focus-visible) { color: #ffad63; }
.aa-dw-card--service-table .aa-dw-tariffs__old { color: #edd6c0; font-size: inherit; }
.aa-dw-card--service-table .aa-dw-tariffs__current strong {
  color: #ffd27f;
  font-size: clamp(14px, 1.3vw, 22px);
}
.aa-dw-card--service-table .aa-dw-tariffs__current small {
  display: block;
  margin-top: 3px;
  font-size: clamp(11px, .85vw, 14px);
  color: #f3e0c9;
}
.aa-dw-card--service-table .aa-dw-tariffs__percent {
  display: inline-block;
  padding: .25em .42em;
  font-size: clamp(10px, .94vw, 16px);
  white-space: nowrap;
}
.aa-dw-rate-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.aa-dw-card--service-table .aa-dw-rate-actions a {
  display: grid;
  place-items: center;
  padding: .58em .32em;
  border: 1px solid #ff9d27;
  border-radius: clamp(8px, 1vw, 15px);
  color: var(--aa-rate-control-ink, #361504) !important;
  background: linear-gradient(var(--aa-rate-control-light, #ffa663), var(--aa-rate-control-dark, #ff8000));
  box-shadow: inset 0 1px #fff4bb, 0 2px 4px #8b3a163f;
  font: 800 clamp(11px, 3.4cqw, 15px)/1.18 system-ui, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
}
.aa-dw-card--service-table .aa-dw-rate-actions a:first-child,
.aa-dw-card--service-table .aa-dw-rate-actions a:is(:hover,:focus-visible) {
  background: linear-gradient(150deg, #ffd0a1, #ff8000 76%);
}

.aa-dw-card--service .aa-dw-heading {
  background: linear-gradient(140deg, #fff3e685 0%, #ffb377c7 26%, #ff8000 66%, #ee6508 100%), #ff8000;
  border-bottom: 1px solid #b45619;
}
.aa-dw-card--service .aa-dw-heading h3 {
  font: 850 clamp(16px, 5.5cqw, 24px)/1.18 system-ui, Arial, sans-serif !important;
  letter-spacing: -.025em;
  text-shadow: none;
}
.aa-dw-card--rate .aa-dw-heading h3,
.aa-dw-card--rate .aa-dw-heading h3 a {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.aa-dw-card--service .aa-dw-heading h3 a {
  color: #321605;
}
.aa-dw-card--service .aa-dw-heading h3 a:is(:hover,:focus-visible) { color: #612609; }
.aa-dw-card--service .aa-dw-discount { min-width: 74px; }
.aa-dw-card--service .aa-dw-visual,
.aa-dw-card--service .aa-dw-photo__link { background: #14151b; }
.aa-dw-card--service .aa-dw-photo__img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}
.aa-dw-card--service .aa-dw-photo__zoom {
  border-color: #ffd086;
  background: linear-gradient(#ffb448, #d45a0f);
  box-shadow: 0 0 7px #f28c29a0;
  color: #321605;
}
.aa-dw-card--service .aa-dw-photo__missing { color: #fff0e3; }
.aa-dw-card--service :is(.aa-dw-price-block small,.aa-dw-prices__former del,.aa-dw-prices__deadline) {
  color: #fff1e1;
}
.aa-dw-card--service .aa-dw-prices__former { grid-column: 1; }
.aa-dw-card--service .aa-dw-prices__current { grid-column: 2; }
.aa-dw-card--service .aa-dw-prices__deadline { grid-column: 3; }
.aa-dw-card--service .aa-dw-prices__current strong {
  white-space: normal;
  overflow-wrap: anywhere;
  border-color: #ffd594;
  background: linear-gradient(150deg, #ffd2a9, #ff8000 76%);
  box-shadow: 0 0 10px #ff8d47a0, inset 0 1px 2px #fffacb;
  color: #291406;
}
.aa-dw-card--service .aa-dw-prices:not(:has(.aa-dw-prices__former:not([hidden]),.aa-dw-prices__deadline:not([hidden]))) .aa-dw-prices__current {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 220px);
}
.aa-dw-card--service .aa-dw-saving,
.aa-dw-card--service .aa-dw-saving strong { color: #ffcf79; }
.aa-dw-card--service .aa-dw-rate-copy {
  flex: 1 1 auto;
  overflow: auto;
  min-height: 0;
  margin: 0 10px;
  padding: 8px 2px;
  border-top: 1px solid #e4934666;
  scrollbar-color: #ff9e43 #22232b;
  overflow-wrap: anywhere;
}
.aa-dw-card--service .aa-dw-rate-copy:empty { padding: 0; border: 0; }
.aa-dw-card--service .aa-dw-rate-copy p {
  color: #fff1e1;
  font: 550 clamp(12px, 3.4cqw, 15px)/1.4 system-ui, Arial, sans-serif;
  margin: 0 0 6px;
}
.aa-dw-card--service .aa-dw-additional strong { color: #ffd199; }
.aa-dw-card--service .aa-dw-promo {
  margin: 4px 0;
  border-color: #a85c22;
  background: #282a34;
  color: #fff1e1;
}
.aa-dw-card--service .aa-dw-promo summary { color: #ffd199; }
.aa-dw-modal--rate .aa-dw-card--service .aa-dw-rate-copy { overflow: visible; }
.aa-dw-card--service .aa-dw-cta {
  border-color: #ffe0a2;
  background: linear-gradient(155deg,#ffd2a9,#ff8000 65%,#ed6108);
  box-shadow: 0 0 13px #ff7726a0,inset 0 2px 2px #fff0bf;
  color: #321605 !important;
}
.aa-dw-card--service .aa-dw-actions__secondary a {
  border-color: #ef9f52;
  background: linear-gradient(155deg,#ffd1a8,#ff8000);
  color: #321605 !important;
}
.aa-dw-card--rate a:focus-visible {
  outline: 2px solid #ffd29a;
  outline-offset: 2px;
}
.aa-dw-modal--rate .aa-dw-modal__panel { border-color: #f69b29; background: #18191f; }
.aa-dw-modal--rate .aa-dw-modal__open-page { border-color: #ff9b29; background: #ffab4e; color: #271508 !important; }

.aa-dw-slider--rates .aa-dw-dots button { border-color: #cc8f57; background: #9a6441; }
.aa-dw-slider--rates .aa-dw-dots button.is-active { background: #ff8000; box-shadow: 0 0 9px #ff8000; }
.aa-dw-slider--rates > .aa-dw-nav {
  border-color: #ffd3a1;
  background: linear-gradient(145deg, #ffca9a, #ff8000 68%, #e76108);
  box-shadow: 0 0 13px #ff8e37a0, inset 0 1px 3px #ffddb8b0;
  color: #281406;
}
.aa-dw-slider--rates:not([data-aa-dw-ready]) .aa-dw-viewport { height: auto; min-height: 0; }
.aa-dw-slider--rates:not([data-aa-dw-ready]) .aa-dw-card--service-table {
  position: relative;
  inset: auto;
  margin: 16px auto;
  transform: none;
}
.aa-dw-slider--rates:not([data-aa-dw-ready]) > .aa-dw-nav { display: none; }

@media (max-width: 540px) {
  .aa-dw-card--service-table table :is(th,td) { padding-inline: 3px; }
  .aa-dw-card--service-table .aa-dw-tariffs__route-head th { font-size: 11px; }
  .aa-dw-card--service-table .aa-dw-tariffs__current { overflow-wrap: anywhere; }
  .aa-dw-card--service-table .aa-dw-tariffs__seal { white-space: normal; text-align: center; }
}
#aa-tariff-catalog { scroll-margin-top: clamp(80px, 13vh, 145px); }


/* Orange tariff tables and descriptions use native vertical scrolling. */
:is(.aa-dw-slider--rates,.aa-dw-modal--rate) :is(.aa-dw-card--service-table .aa-dw-tariffs__countries,.aa-dw-card--service .aa-dw-rate-copy) {
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}
.aa-dw-card--service-table .aa-dw-tariffs__current small,
.aa-dw-card--service .aa-dw-prices__deadline,
.aa-dw-card--service .aa-dw-prices__deadline strong {
  font-size: clamp(10px, 2.7cqw, 12px);
  font-weight: 550;
  line-height: 1.22;
}
