:root{
  --vlk-red: #B00016;

  --vlk-font-heading: "Kantumruy Pro", serif;
  --vlk-font-body: "Kantumruy Pro", serif;

  --vlk-text: #2b2f36;
  --vlk-muted: #6b7280;
  --vlk-line: #e6e7ea;
  --vlk-card: #ffffff;
  --vlk-bg: #f5f6f8;
}

/* ==========================================================
   VLK Aircraft Tabs — TYPES (Scroller)
   Goal:
   - SVG never clipped (no mask-image)
   - keep hierarchy sizes
   - smooth horizontal scroll + autoplay only when overflow exists
   ========================================================== */

.vlk-aircraft-wrap{
  /* ничего агрессивного, только локальный контекст */
}

.vlk-aircraft-types{
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(18px, 3vw, 48px);

  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: none;
  scroll-behavior: auto;

  /* ❌ mask-image убран — он режет SVG */
  padding: 18px 64px 18px 0; /* воздух под иконки + место под fade справа */

  scrollbar-width: none; /* Firefox */
}
.vlk-aircraft-types::-webkit-scrollbar{ height: 0; }

/* Fade справа без маски (не клипает контент) */
.vlk-aircraft-types::after{
  content:"";
  position: sticky;
  right: 0;
  top: 0;
  width: 72px;
  height: 100%;
  pointer-events: none;
  margin-left: -72px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,1));
}

/* Важно: элементы не должны сжиматься */
.vlk-aircraft-types__item{
  flex: 0 0 auto;
  width: clamp(120px, 16vw, 150px);
  min-width: 120px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  text-align: center;
  cursor: pointer;

  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;

  box-shadow: none;
  outline: none;

  /* не даём теме приклеить фон/бордеры */
  border-radius: 0;

  /* ключ: ничего не режем на уровне item */
  overflow: visible;
}

/* ====== ICON: вместо transform scale — резервируем высоту (не вылезает наружу) ====== */
.vlk-aircraft-types__icon{
  display: block;
  width: auto;
  height: var(--vlk-icon-h, 70px); /* базовая высота */
  max-width: 100%;
  overflow: visible;

  color: #a7aab2;
  opacity: .95;

  transform-origin: center bottom;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

/* окрас всего SVG */
.vlk-aircraft-types__icon *{
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* ====== LABEL ====== */
.vlk-aircraft-types__label{
  margin-top: 16px;
  font-size: clamp(14px, 1.3vw, 20px);
  line-height: 1.15;
  letter-spacing: .01em;
  color: #a7aab2;
  font-weight: 500;

  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;

  transition: color 180ms ease, opacity 180ms ease;
}

/* Hover */
.vlk-aircraft-types__item:hover .vlk-aircraft-types__icon,
.vlk-aircraft-types__item:hover .vlk-aircraft-types__label{
  color: var(--vlk-red);
  opacity: 1;
}
.vlk-aircraft-types__item:hover .vlk-aircraft-types__icon{
  transform: translateY(-2px);
}

/* Active */
.vlk-aircraft-types__item.vlk-is-active .vlk-aircraft-types__icon,
.vlk-aircraft-types__item.vlk-is-active .vlk-aircraft-types__label{
  color: var(--vlk-red);
  opacity: 1;
}
.vlk-aircraft-types__item.vlk-is-active .vlk-aircraft-types__icon{
  transform: translateY(-2px);
}

/* ==========================================================
   AIRCRAFT SIZE HIERARCHY (через высоту, не через scale)
   ========================================================== */
.vlk-aircraft-types__item[data-aircraft="turboprop"]{       --vlk-icon-h: 54px; }
.vlk-aircraft-types__item[data-aircraft="light"]{          --vlk-icon-h: 62px; }
.vlk-aircraft-types__item[data-aircraft="midsize"]{        --vlk-icon-h: 72px; }
.vlk-aircraft-types__item[data-aircraft="super-midsize"]{  --vlk-icon-h: 84px; }
.vlk-aircraft-types__item[data-aircraft="large-cabin"]{    --vlk-icon-h: 94px; }
.vlk-aircraft-types__item[data-aircraft="ultra-long-range"]{ --vlk-icon-h: 104px; }

/* Мобилка: чуть компактнее */
@media (max-width: 640px){
  .vlk-aircraft-types{
    padding-right: 52px;
  }
  .vlk-aircraft-types::after{
    width: 56px;
    margin-left: -56px;
  }
  .vlk-aircraft-types__label{
    margin-top: 14px;
  }
  .vlk-aircraft-types__item[data-aircraft="ultra-long-range"]{ --vlk-icon-h: 96px; }
}

/* ==========================================================
   PANELS
   ========================================================== */
.vlk-aircraft-panels{
  margin-top: 26px;
}

.vlk-aircraft-panel{
  position: relative;
  background: var(--vlk-card);
  border: 1px solid var(--vlk-line);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 28px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* red vertical accent */
.vlk-aircraft-panel::before{
  content:"";
  position:absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 999px;
  background: var(--vlk-red);
  opacity: 0.9;
}

.vlk-aircraft-panel__head{
  padding-left: 26px;
  margin-bottom: 14px;
}

.vlk-aircraft-panel__type{
  font-family: var(--vlk-font-heading);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vlk-muted);
  margin-bottom: 6px;
}

.vlk-aircraft-panel__title{
  font-family: var(--vlk-font-heading);
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vlk-text);
}

.vlk-aircraft-specs{
  padding-left: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.vlk-aircraft-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245,246,248,0.75);
  border: 1px solid rgba(230,231,234,0.9);
}

.vlk-aircraft-row__k,
.vlk-aircraft-row__v{
  font-family: var(--vlk-font-body);
  font-size: 16px;
  line-height: 20px;
  color: var(--vlk-text);
}
.vlk-aircraft-row__k{ opacity: 0.88; }
.vlk-aircraft-row__v{ font-weight: 600; white-space: nowrap; }

.vlk-aircraft-panel__note{
  padding-left: 26px;
  margin: 14px 0 0;
  font-family: var(--vlk-font-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--vlk-muted);
}

@media (max-width: 640px){
  .vlk-aircraft-panel{ border-radius: 14px; }
  .vlk-aircraft-panel::before{
    left: 16px;
    top: 16px;
    bottom: 16px;
  }
  .vlk-aircraft-panel__head,
  .vlk-aircraft-specs,
  .vlk-aircraft-panel__note{
    padding-left: 22px;
  }
  .vlk-aircraft-row{ padding: 10px; }
}


/* ==========================================================
   VLK — REMOVE THEME HOVER / FOCUS BACKGROUND
   ========================================================== */

/* убиваем все фоновые эффекты темы */
.vlk-aircraft-types__item,
.vlk-aircraft-types__item:hover,
.vlk-aircraft-types__item:focus,
.vlk-aircraft-types__item:focus-visible,
.vlk-aircraft-types__item:active{
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* если тема вешает ::before / ::after */
.vlk-aircraft-types__item::before,
.vlk-aircraft-types__item::after,
.vlk-aircraft-types__item:hover::before,
.vlk-aircraft-types__item:hover::after{
  content: none !important;
  display: none !important;
}

/* если BeTheme / UIkit лезет внутрь */
.vlk-aircraft-types__item *{
  background: transparent !important;
}

/* mobile tap highlight (iOS / Android) */
.vlk-aircraft-types__item{
  -webkit-tap-highlight-color: transparent;
}



/* Allow manual swipe/drag horizontally */
.vlk-aircraft-types{
  touch-action: pan-x !important;  /* важно для touch/trackpad */
  cursor: grab;
}
.vlk-aircraft-types:active{
  cursor: grabbing;
}
