@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--vsa-bg, #f1f1e6);
  color: var(--vsa-text, #111727);
}

.vsa-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  padding-left: calc(24px + env(safe-area-inset-left));
  padding-right: calc(24px + env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.96);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vsa-preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vsa-preloader__card {
  max-width: 320px;
  width: 100%;
  padding: 28px 24px;
  background: var(--vsa-white, #ffffff);
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.vsa-preloader__spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 3px solid rgba(48, 143, 255, 0.22);
  border-top-color: var(--vsa-primary, #308fff);
  border-radius: 50%;
  animation: vsa-preloader-spin 0.9s linear infinite;
}

@keyframes vsa-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

.vsa-preloader__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--vsa-text, #111727);
  margin: 0 0 6px;
}

.vsa-preloader__subtext {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: var(--vsa-muted, #70747d);
  margin: 0;
}

.vsa-top_without_border{
  background: var(--vsa-bg)!important;
}

/* Plan option descriptions with check mark (Figma 9877:38955) */
.vsa-plan-feature-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vsa-plan-feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: #414552;
}

.vsa-plan-feature-list__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.vsa-plan-feature-list__text {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}
/* Palette: https://www.figma.com/design/PkqvjDXhAPrNczjGjwSnp5/Untitled?node-id=100-3978 */
:root {
  --vsa-ebony: #111727;
  --vsa-white: #ffffff;
  --vsa-dodger-blue: #308fff;
  --vsa-ebony-60: #70747d;
  --vsa-lima: #51de20;
  --vsa-carnation: #f33a3a;
  --vsa-saffron: #f3bf3a;
  --vsa-blue-ribbon: #3038ff;
  --vsa-iron: #dadadb;
  --vsa-iron-40: #f0f0f1;
  --vsa-ebony-40: #a0a2a9;
  --vsa-spring-wood: #f5f5f7;
  --vsa-lavender-blue: #c5cafc;
  --vsa-celadon: #b3f0bc;
  --vsa-peach-puff: #ffd6a6;
  --vsa-bg: var(--vsa-spring-wood);
  --vsa-surface: var(--vsa-white);
  --vsa-text: var(--vsa-ebony);
  --vsa-muted: var(--vsa-ebony-60);
  --vsa-primary: var(--vsa-dodger-blue);
  --vsa-accent: var(--vsa-blue-ribbon);
  --vsa-chip-bg: var(--vsa-iron);
  --vsa-success: var(--vsa-lima);
  --vsa-danger: var(--vsa-carnation);
  --vsa-warning: var(--vsa-saffron);
  --vsa-info-soft: var(--vsa-lavender-blue);
  --vsa-success-soft: var(--vsa-celadon);
  --vsa-warning-soft: var(--vsa-peach-puff);
  --vsa-elev-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  --vsa-elev-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  /* Пространство под box-shadow (offset + blur), чтобы не резало overflow */
  --vsa-elev-shadow-bleed: 6px;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--vsa-bg);
  color: var(--vsa-text);
}

.vsa-page {
  max-width: 768;
  margin: 0;
  min-height: 100vh;
  background: var(--vsa-bg);
}

.vsa-top {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--vsa-surface);
  padding: 0;
}

.vsa-top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
}

.vsa-top__search{
  padding: 0 16px;
}

.vsa-top__title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
}

.vsa-icon-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vsa-search {
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--vsa-iron);
}

.vsa-search__icon {
  opacity: 0.7;
  margin-right: 8px;
}

.vsa-search__input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 16px;
  color: var(--vsa-text);
  outline: 0;
}

.vsa-filter-row {
  margin: 8px 0 0;
  padding-left: 24px;
}

.vsa-chip {
  height: 32px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--vsa-surface);
  color: var(--vsa-text);
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--vsa-elev-shadow);
}

.vsa-chip--active {
  border-color: var(--vsa-primary);
}

.vsa-cards {
  padding: 20px 16px 24px;
  display: grid;
  gap: 24px;
}

.vsa-courses-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 16px;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: var(--vsa-muted);
}

@keyframes vsa-card-shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.vsa-course-card--shimmer {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.vsa-course-card--shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 42%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.28) 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: vsa-card-shimmer 1.15s ease-in-out infinite;
  pointer-events: none;
}

.vsa-cards--loading .vsa-course-card:not(.vsa-course-card--skeleton) {
  opacity: 0.72;
}

.vsa-course-card--skeleton {
  cursor: default;
  pointer-events: none;
}

.vsa-course-card__skeleton-block {
  display: block;
  border-radius: 12px;
  background: #e9e9e9;
}

.vsa-course-card__skeleton-block--image {
  width: 100%;
  height: 150px;
}

.vsa-course-card__skeleton-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
  padding-top: 4px;
}

.vsa-course-card__skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vsa-course-card__skeleton-line {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: #e9e9e9;
}

.vsa-course-card__skeleton-line--title {
  width: 72%;
  height: 16px;
}

.vsa-course-card__skeleton-line--meta {
  width: 48%;
}

.vsa-course-card__skeleton-line--sport {
  width: 56%;
}

.vsa-course-card__skeleton-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.vsa-course-card__skeleton-line--price {
  width: 88px;
  height: 20px;
}

.vsa-course-card__skeleton-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vsa-course-card__skeleton-block--btn {
  width: 88px;
  height: 40px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .vsa-course-card--shimmer::after {
    animation: none;
    transform: none;
    opacity: 0.35;
  }
}

.vsa-block-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.vsa-course-card {
  background: var(--vsa-surface);
  border-radius: 12px;
  border: 0;
  overflow: hidden;
  padding: 16px;
  box-shadow: var(--vsa-elev-shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vsa-course-card__image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.vsa-course-card__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: linear-gradient(145deg, var(--vsa-lavender-blue) 0%, var(--vsa-dodger-blue) 100%);
}

img.vsa-lazy-media--pending:not(.vsa-lazy-media--loaded),
video.vsa-lazy-media--pending:not(.vsa-lazy-media--loaded) {
  opacity: 0.92;
}

img.vsa-lazy-media--loaded,
video.vsa-lazy-media--loaded {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.vsa-course-card__favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vsa-course-card__favorite img {
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-course-card__badges {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 48px);
}

.vsa-course-card__badge {
  border-radius: 20px;
  background: var(--vsa-dodger-blue);
  color: var(--vsa-white);
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.vsa-course-card__body {
  padding: 10px 0 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0;
}

.vsa-course-card__intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vsa-course-card__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vsa-course-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.vsa-course-card__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #111727;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vsa-course-card__rating {
  display: none;
}

.vsa-course-card__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 16px;
}

.vsa-course-card__meta:not(:has(.vsa-course-card__meta-item:not([hidden]))) {
  display: none;
}

.vsa-course-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #a0a2a9;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.vsa-course-card__meta-icon {
  flex-shrink: 0;
  display: block;
  width: 14px;
  height: 14px;
}

.vsa-course-card__divider {
  margin: 10px 0;
  border: 0;
  height: 1px;
  border-bottom: 2px #dadadb dashed;
}

.vsa-course-card__sport {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #111727;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vsa-course-card__sport-icon {
  flex-shrink: 0;
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.vsa-course-card__coaches {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #111727;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vsa-course-card__coaches:empty {
  display: none;
}

.vsa-course-card__footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.vsa-course-card__offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
}

.vsa-course-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.vsa-course-card__old-price {
  color: #A0A2A9;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  text-decoration: line-through;
}

.vsa-course-card__old-price[hidden] {
  display: none;
}

.vsa-course-card__price {
  color: #308fff;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
}

.vsa-course-card__per-day {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #a0a2a9;
}

.vsa-course-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
}

.vsa-course-card__favorite,
.vsa-course-card__buy,
.vsa-course-card__learn-more {
  cursor: pointer;
}

.vsa-coach-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.vsa-coach-item__avatar {
  width: 16px;
  height: 16px;
  border-radius: 100px;
  object-fit: cover;
  background: var(--vsa-iron);
  flex: 0 0 auto;
}

.vsa-coach-item__name {
  white-space: nowrap;
}

.vsa-btn {
  border: 0;
  border-radius: 12px;
  background: var(--vsa-dodger-blue);
  color: var(--vsa-white);
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  min-width: 128px;
}

.vsa-btn.btn-primary {
  background: var(--vsa-dodger-blue);
  border-color: transparent;
  color: var(--vsa-white);
}

.swiper.vsa-filter-swiper .swiper-slide {
  width: auto;
}

.vsa-top__bar-spacer {
  width: 24px;
  flex: 0 0 auto;
}

.vsa-top__hint .btn-link {
  color: var(--vsa-primary);
  font-size: 14px;
  text-decoration: none;
}

.vsa-selection {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--vsa-bg);
}

.vsa-selection__body {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 24px calc(108px + var(--vsa-elev-shadow-bleed));
}

.vsa-selection__footer {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0));
  background: var(--vsa-surface);
  z-index: 12;
}

.vsa-selection .vsa-btn:disabled,
.vsa-selection .vsa-btn.disabled {
  cursor: not-allowed;
  pointer-events: none;
  background: var(--vsa-iron);
  color: var(--vsa-white);
}

.vsa-sport-card {
  background: var(--vsa-surface);
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--vsa-elev-shadow);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}

.vsa-sport-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.vsa-sport-card__checkbox-img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: block;
}

.vsa-sport-card__icon {
  flex-shrink: 0;
  object-fit: contain;
}

.vsa-sport-card__name {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--vsa-text);
}

.vsa-sport-card__drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsa-sport-card--expanded .vsa-sport-card__drawer {
  grid-template-rows: 1fr;
}

.vsa-sport-card__drawer-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vsa-sport-card--expanded .vsa-sport-card__drawer-inner {
  overflow: visible;
}

.vsa-sport-card__drawer-inner--open {
  padding-top: 16px;
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: var(--vsa-elev-shadow-bleed);
}

.vsa-sport-card__divider {
  box-sizing: border-box;
  width: calc(100% + 16px);
  height: 1px;
  margin-left: -8px;
  margin-right: -8px;
  border: 0;
  background: var(--vsa-iron);
  flex-shrink: 0;
}

.vsa-sport-card__section {
  padding: 0 6px;
}

.vsa-sport-card__section-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--vsa-text);
  margin-bottom: 8px;
}

.vsa-sport-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: var(--vsa-elev-shadow-bleed);
  margin: calc(-1 * var(--vsa-elev-shadow-bleed));
}

.vsa-selection-tag {
  border-radius: 8px;
  background: var(--vsa-surface);
  color: var(--vsa-muted);
  padding: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  box-shadow: var(--vsa-elev-shadow);
  border: 1px solid transparent;
  cursor: pointer;
}

.vsa-selection-tag--active {
  border: 1px solid var(--vsa-primary);
  color: var(--vsa-text);
}

.vsa-selection-tag--muted {
  color: var(--vsa-muted);
}

@media (prefers-reduced-motion: reduce) {
  .vsa-sport-card__drawer {
    transition: none;
  }
}

/* Courses header — Figma VSA-Mobile-app 6661:58303 */
.vsa-top--courses {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
  background: #ffffff;
  overflow: visible;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.vsa-top--courses .vsa-top__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
}

.vsa-top--courses .vsa-top__bar-start {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.vsa-top--courses .vsa-top__bar-end {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.vsa-top--courses .vsa-top__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: #111727;
}

.vsa-top--courses .vsa-icon-btn {
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111727;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.vsa-top--courses .vsa-icon-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-top--courses .js-courses-favourites-filter.is-active {
  opacity: 1;
}

.vsa-top--courses .vsa-top__search {
  padding: 2px 16px;
  box-sizing: border-box;
}

.vsa-top--courses .vsa-search {
  min-height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f0f0f1;
  box-sizing: border-box;
}

.vsa-top--courses .vsa-search__icon {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 1;
}

.vsa-top--courses .vsa-search__input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 24px;
  letter-spacing: 0;
  color: #111727;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}

.vsa-top--courses .vsa-search__input::placeholder {
  color: #a0a2a9;
  opacity: 1;
}

.vsa-top--courses .vsa-filter-strip {
  padding: 0 16px;
  border-bottom: 0;
  min-width: 0;
  overflow: visible;
  background: #ffffff;
  box-sizing: border-box;
}

.vsa-top--courses .vsa-filter-strip__row {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 4px;
  overflow: hidden;
}

.vsa-top--courses .vsa-filter-strip__lead {
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.vsa-top--courses .vsa-filter-strip__lead-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  pointer-events: none;
}

.vsa-top--courses .vsa-all-filters-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  flex-shrink: 0;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-sizing: border-box;
  height: 32px;
  min-width: 0;
  max-width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 0;
  background: #ffffff;
  color: #111727;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.vsa-top--courses .vsa-all-filters-btn__icon {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-top--courses .vsa-all-filters-btn__label {
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}

.vsa-top--courses .vsa-all-filters-btn__count {
  flex-shrink: 0;
  color: #111727;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 20px;
}

.vsa-top--courses .vsa-filter-strip__swiper {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: visible;
  background: #ffffff;
  box-sizing: border-box;
}

.vsa-top--courses .vsa-courses-filter-swiper {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden !important;
  padding: 2px 0 !important;
}

.vsa-top--courses .vsa-courses-filter-swiper .swiper-wrapper {
  align-items: center;
  padding-right: 0;
}

.vsa-top--courses .vsa-courses-filter-swiper .swiper-slide.vsa-courses-filter-slide {
  width: max-content;
  min-width: min-content;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.vsa-top--courses .vsa-courses-filter-slide .vsa-chip {
  height: 32px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: #111727;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.vsa-top--courses .vsa-courses-filter-slide .vsa-chip--active {
  border-color: #308fff;
  color: #111727;
}

.vsa-top--courses .vsa-sport-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  max-width: 200px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #111727;
  padding: 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.vsa-top--courses .vsa-sport-chip__icon {
  flex-shrink: 0;
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.vsa-top--courses .vsa-sport-chip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.vsa-top--courses .vsa-sport-chip--active {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12), inset 0 0 0 1px #308fff;
}

/* Bottom sheet: filters (Figma node 82:3464) */
.vsa-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.34s;
}

.vsa-filter-modal--open {
  visibility: visible;
  pointer-events: auto;
  touch-action: none;
  transition-delay: 0s;
}

.vsa-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 23, 39, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.vsa-filter-modal--open .vsa-filter-modal__backdrop {
  opacity: 1;
}

.vsa-filter-modal__panel {
  position: relative;
  width: 100%;
  max-height: min(92vh, 780px);
  max-height: min(92dvh, 780px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0);
  background: var(--vsa-surface);
  border-radius: 16px 16px 0 0;
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 1;
}

.vsa-filter-modal--open .vsa-filter-modal__panel {
  transform: translateY(0);
}

.vsa-filter-modal__handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--vsa-iron);
  margin: 8px auto 4px;
  flex-shrink: 0;
  display: none;
}

.vsa-filter-modal__header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  padding: 12px 24px;
}

.vsa-filter-modal__header-spacer {
  width: 24px;
  height: 24px;
}

.vsa-filter-modal__title {
  grid-column: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--vsa-text);
}

.vsa-filter-modal__close {
  grid-column: 3;
  justify-self: end;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.vsa-filter-modal__body--locked {
  overflow: hidden !important;
  touch-action: none;
}

.vsa-filter-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 8px 24px 24px;
  -webkit-overflow-scrolling: touch;
}

.vsa-filter-modal__footer {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0));
  border-top: 0;
  background: var(--vsa-surface);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  overflow: visible;
}

.vsa-filter-modal__btn-clear {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--vsa-surface);
  color: var(--vsa-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.vsa-filter-modal__btn-apply {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  margin: 0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.vsa-filter-modal__block {
  margin: 0;
}

.vsa-filter-modal__block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.vsa-filter-modal__block-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--vsa-text);
  margin: 0 0 16px;
}

.vsa-filter-modal__block-head .vsa-filter-modal__block-title {
  margin-bottom: 0;
  flex: 1 1 auto;
}

.vsa-filter-modal__coach-clear {
  flex-shrink: 0;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--vsa-primary);
  cursor: pointer;
}

.vsa-filter-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vsa-filter-tag {
  border: 0;
  border-radius: 100px;
  background: var(--vsa-iron-40);
  color: var(--vsa-text);
  padding: 8px 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
}

.vsa-filter-tag--active {
  background: rgba(48, 143, 255, 0.2);
  color: var(--vsa-primary);
  font-weight: 500;
}

.vsa-filter-modal__sports {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vsa-filter-modal .vsa-sport-card--modal {
  margin-bottom: 0;
  padding: 16px;
}

.vsa-filter-modal .vsa-sport-card--modal.vsa-sport-card--expanded {
  padding: 16px 0;
}

.vsa-filter-modal .vsa-sport-card--modal .vsa-sport-card__head {
  padding: 0;
}

.vsa-filter-modal .vsa-sport-card--modal.vsa-sport-card--expanded .vsa-sport-card__head {
  padding: 0 16px;
}

.vsa-filter-modal .vsa-sport-card__drawer-inner--open {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: var(--vsa-elev-shadow-bleed);
}

.vsa-filter-modal .vsa-sport-card--expanded .vsa-sport-card__drawer-inner {
  overflow: hidden;
}

.vsa-filter-modal .vsa-sport-card__divider {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.vsa-filter-modal .vsa-sport-card__section {
  padding: 0 24px;
}

.vsa-filter-modal .vsa-selection-tag--muted {
  color: var(--vsa-ebony-40);
}

.vsa-filter-modal__select-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--vsa-surface);
  box-shadow: var(--vsa-elev-shadow);
  font-size: 16px;
  line-height: 24px;
  color: var(--vsa-ebony-40);
  text-align: left;
  cursor: pointer;
}

.vsa-filter-modal__coach {
  padding-bottom: var(--vsa-elev-shadow-bleed);
}

.vsa-filter-modal__select-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vsa-filter-modal__select-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.vsa-filter-modal__select-placeholder {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 400;
  color: var(--vsa-ebony-40);
}

.vsa-filter-modal__select-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(180deg);
}

.vsa-filter-modal__select-chevron img {
  display: block;
  width: 20px;
  height: 20px;
}

.vsa-filter-modal__select-value {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  color: var(--vsa-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vsa-trainer-picker {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--vsa-bg);
  border-radius: 16px 16px 0 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.34s;
}

.vsa-trainer-picker--open {
  visibility: visible;
  pointer-events: auto;
  touch-action: auto;
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0s;
}

.vsa-trainer-picker__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
  background: var(--vsa-bg);
}

.vsa-trainer-picker__header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  min-height: 44px;
  padding: 8px 24px 12px;
  flex-shrink: 0;
  background: var(--vsa-surface);
}

.vsa-trainer-picker__back {
  grid-column: 1;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.vsa-trainer-picker__title {
  grid-column: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--vsa-text);
}

.vsa-trainer-picker__header-spacer {
  grid-column: 3;
  width: 24px;
  height: 24px;
}

.vsa-trainer-picker__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: calc(8px + var(--vsa-elev-shadow-bleed))
    calc(24px + var(--vsa-elev-shadow-bleed))
    calc(24px + var(--vsa-elev-shadow-bleed));
  -webkit-overflow-scrolling: touch;
}

.vsa-trainer-picker--has-footer .vsa-trainer-picker__body {
  padding-bottom: 16px;
}

.vsa-trainer-picker__footer {
  display: none;
  flex-shrink: 0;
  gap: 16px;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0));
  background: var(--vsa-surface);
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.08);
}

.vsa-trainer-picker--has-footer .vsa-trainer-picker__footer {
  display: flex;
}

.vsa-trainer-pick-card {
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--vsa-surface);
  padding: 16px;
  overflow: visible;
  box-sizing: border-box;
  box-shadow: var(--vsa-elev-shadow-sm);
  cursor: pointer;
}

.vsa-trainer-pick-card:focus-visible {
  outline: 2px solid var(--vsa-primary);
  outline-offset: 2px;
}

.vsa-trainer-pick-card__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vsa-trainer-pick-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--vsa-iron-40);
}

.vsa-trainer-pick-card__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.vsa-trainer-pick-card__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--vsa-text);
}

.vsa-trainer-pick-card__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  min-height: 0;
}

.vsa-trainer-pick-card__langs:empty {
  display: none;
}

.vsa-trainer-pick-card__lang-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 11px;
  line-height: 18px;
  font-weight: 500;
  color: #70747D;
  background: #E9E9E9;
  white-space: nowrap;
}

.vsa-trainer-sports {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.vsa-trainer-sports__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.vsa-trainer-sports__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
}

.vsa-trainer-sports__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #111727;
}

.vsa-trainer-pick-card__checkbox-img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  display: block;
}

.vsa-trainer-picker-empty {
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: var(--vsa-muted);
  font-size: 16px;
  line-height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .vsa-filter-modal__backdrop,
  .vsa-filter-modal__panel,
  .vsa-trainer-picker {
    transition: none;
  }
}

/* Course / bundle options (PackageOptionChooser) */
input[type="radio"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.onboarding_close{
    position: absolute;
    right: 0;
    top: 10px;
    height: 24px;
    width: 24px;
}
.onboarding_back{
    position: absolute;
    left: 0;
    top: 10px;
    height: 24px;
    width: 24px;
}

.onboarding_item{
    display: none;
    width: 100%;
}

.onboarding_item.active{
    display: block;
}

.vsa-sport-chooser-radio label{
    position: relative;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0px 1px 10px 0px #0000001F;
    margin-top: 16px;
    display: block;
    width: calc(100% - 68px);
    display: flex;
    align-items: center;
    padding-left: 52px;
}

.vsa-sport-chooser-radio label:first-child{
    margin-top: 0;
}

/* First-screen / sport-chooser loading and error states */
.vsa-screen-loading {
  padding: 32px 24px;
  text-align: center;
  font-family: Montserrat, system-ui, sans-serif;
}

.vsa-screen-loading__spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid rgba(48, 143, 255, 0.2);
  border-top-color: #308FFF;
  border-radius: 50%;
  animation: vsa-preloader-spin 0.9s linear infinite;
}

.vsa-screen-loading__text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(17, 23, 39, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .vsa-screen-loading__spinner {
    animation: none;
    border-top-color: #308FFF;
    border-style: solid;
    opacity: 0.85;
  }
}

.vsa-sport-chooser__loading--hidden,
.vsa-sport-chooser__list--hidden,
.vsa-sport-chooser__error-state--hidden {
  display: none !important;
}

.vsa-sport-chooser__error-state {
  padding: 24px 20px;
  text-align: center;
  background: rgba(17, 23, 39, 0.03);
  border-radius: 12px;
  margin-bottom: 16px;
}

.vsa-sport-chooser__error-state-message {
  margin: 0 0 6px;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #111727;
}

.vsa-sport-chooser__error-state-sub {
  margin: 0 0 16px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 14px;
  color: rgba(17, 23, 39, 0.7);
}

.vsa-sport-chooser__retry {
  margin: 0;
  min-width: 140px;
}

.vsa-plc__row label{
    position: relative;
    border-radius: 12px;
    padding: 16px;
    font-weight: 500;
    box-shadow: 0px 1px 10px 0px #0000001F;
    margin-bottom: 16px;
    display: block;
    width: calc(100% - 68px);
    display: flex;
    align-items: center;
    padding-left: 52px;
}

.vsa-sport-chooser-radio label img{
    margin-right: 12px;
    width: 32px;
    height: 32px;
}

.vsa-sport-chooser-radio label span{
    font-family: Montserrat;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #111727;
}

input[type="radio"] + label::before  {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    background-image: url('../../items/radio.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

input[type="radio"]:checked + label::before{
    background-image: url('../../items/radio_active.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}



.vsa-wrapper__continue{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    width: 100%;
    box-shadow: 0px 1px 10px 0px #0000001F;
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
}

/* Make room for the fixed Continue button so list items don't hide behind it */
.vsa-sport-chooser{
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.vsa__continue{
    position: relative;
    background-color: #308FFF;
    font-family: Montserrat;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    padding: 16px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0px 1px 10px 0px #0000001F;
    min-height: 48px;
    box-sizing: border-box;
    width: 100%;
}

.vsa__continue:disabled{
    background-color: #DADADB;
}

/* Subscribe shimmer is clipped to pill; keeps ::before overlay inside rounded rect */
.vsa__continue.btn--loading{
  overflow: hidden;
}

.btn--loading{
  pointer-events: none;
  opacity: .95;
}

.btn--loading:disabled{
    background-color: #308FFF!important;
}

.btn--loading::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(110deg,
      transparent 0%,
      rgba(255,255,255,.08) 35%,
      rgba(255,255,255,.22) 50%,
      rgba(255,255,255,.08) 65%,
      transparent 100%);
  transform: translateX(-120%);
  animation: btn-shimmer 1.15s ease-in-out infinite;
}

.btn--loading{
  animation: btn-pulse 1.2s ease-in-out infinite;
}

@keyframes btn-shimmer{
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes btn-pulse{
  0%,100% { filter: brightness(1); }
  50%     { filter: brightness(1.06); }
}

@media (prefers-reduced-motion: reduce){
  .btn--loading,
  .btn--loading::before{
    animation: none;
  }
}
/* =========================================================
   PackageOptionChooser styles (packages-payment module)
   ========================================================= */

/* Reserve space so content doesn't hide behind fixed bottom */
.vsa-has-fixed-bottom{
  padding-bottom: calc(var(--vsa-bottom-fixed-height, 380px) + 16px + env(safe-area-inset-bottom));
}

/* Root */
.vsa-option-chooser{
  width: 100%;
}

/* List */
.vsa-option-chooser__list{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

/* Option radio wrapper (keeps your existing radio-icon system) */
.vsa-option-radio{
  position: relative;
}

/*
  IMPORTANT:
  Your project already styles radios with:
    input[type="radio"] + label::before { background-image: url('../../items/radio.svg) }
    input[type="radio"]:checked + label::before { background-image: url('../../items/radio_active.svg) }

  So we keep the same structure: <input> + <label>
  and we align padding to match your other cards.
*/
.vsa-option-radio label{
  --vsa-option-header-h: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: none;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  background: #fff;
  overflow: hidden;
}

/* Selected card — Figma 1:95 */
.vsa-option-radio input[type="radio"]:checked + label{
  box-shadow:
    0 1px 10px rgba(0, 0, 0, 0.12),
    0 0 0 1px #308fff;
  outline: none;
}

/* Most Popular option body — Figma 177:4393 (not the header strip) */
.vsa-option-radio label.is-popular{
  --vsa-option-header-h: 32px;
  --vsa-option-body-gradient: linear-gradient(
    159.28deg,
    rgba(255, 186, 48, 0.06) 0%,
    rgba(255, 55, 48, 0.06) 110.46%
  );
  background: #fff;
}

.vsa-option-radio label.is-popular .vsa-option-card__body{
  background: var(--vsa-option-body-gradient), #fff;
}

.vsa-option-radio label.has-savebar{
  --vsa-option-header-h: 26px;
}

.vsa-option-card__body{
  position: relative;
  z-index: 1;
  padding: 16px 12px 16px 48px;
}

/* Radio icons for package cards (Figma MCP) */
.vsa-option-radio input[type="radio"] + label::before{
  background-image: url('../../items/radio.svg');
}

.vsa-option-radio input[type="radio"]:checked + label::before{
  background-image: url('../../items/radio_active.svg');
}

/* Most popular header strip (exact "header" style instead of a badge) */
.vsa-popular-header{
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;

  font-family: Montserrat;
  font-weight: 700;
  font-size: 12px;
  line-height: 12px;
  color: #ffffff;

  background: linear-gradient(101.33deg, #FF8725 1.4%, #FF304F 101.7%);
}

.vsa-popular-header__left{
  white-space: nowrap;
}

.vsa-popular-header__right{
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.vsa-popular-header__icon{
  object-fit: contain;
}

.vsa-popular-header__save-text{
  white-space: nowrap;
}

.vsa-option-savebar{
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 26px;
  box-sizing: border-box;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  border-radius: 12px 12px 0 0;
  background: #E7F2FF;
}

.vsa-option-savebar__icon{
  object-fit: contain;
}

.vsa-option-savebar__text{
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 12px;
  color: #308fff;
  white-space: nowrap;
}

/* Header row */
.vsa-option-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
}

.vsa-option-title{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 4px;
}

.vsa-option-title-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 6px;
  width: 100%;
}

.vsa-option-benefit span{
  display: inline-block;
}

.vsa-option-name{
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #111727;
}

.vsa-option-radio--monthly .vsa-option-title-top{
  min-height: 24px;
}

.vsa-option-label{
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: #a0a2a9;
  margin-top: 0;
}

/* Price block */
.vsa-option-price{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  white-space: nowrap;
}

.vsa-option-price-row{
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
}

.vsa-option-old{
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  text-decoration: line-through;
  color: #a0a2a9;
}

.vsa-option-new{
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  color: #308fff;
}

.vsa-option-unit{
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 13px;
  color: #308fff;
  display: block;
}

.vsa-option-benefit{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-family: Montserrat;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #FF8725;

  white-space: nowrap;
  margin-top: 0;
}

/* Option description with check marks (Figma 9877:38955) */
.vsa-option-desc{
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  margin-top: 0;
  transition:
    max-height .28s ease,
    opacity .22s ease,
    transform .22s ease,
    margin-top .22s ease;
}

.vsa-option-desc:empty{
  display: none;
}

.vsa-option-radio input[type="radio"]:checked + label .vsa-option-desc{
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
  margin-top: 16px;
}

/* ---------------- Fixed bottom area (FAQ + button + disclaimer) ---------------- */

.vsa-bottom-fixed{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 50;

  display: flex;
  justify-content: center;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom));

  /* Slight gradient overlay so content behind looks nice (optional) */
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 30%, rgba(255,255,255,1) 100%);
}

.vsa-bottom-fixed .vsa__continue{
    margin-top: 8px;
}

.vsa-bottom-fixed__inner{
  width: 100%;
  max-width: 100%; /* match your webview layout width */
}


.vsa-wrapper__continue--with-text{
  background: #fff;
}

/* Disclaimer under the button (center aligned) */
.vsa-disclaimer{
  margin-top: 16px;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #70747D;
}

.vsa-disclaimer--center{
  text-align: center;
}

.vsa-disclaimer a{
  color: #308FFF;
  text-decoration: none;
}
.vsa-disclaimer a:hover{
  text-decoration: underline;
}

.vsa-faq{
  margin: 0;
}

.vsa-faq__item{
  margin-bottom: 10px;
  overflow: hidden;
}

.vsa-faq__q{
  cursor: pointer;
  list-style: none;
  position: relative;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #111727;
}

/* Hide default marker */
.vsa-faq__q::-webkit-details-marker{ display:none; }

.vsa-faq__q::after{
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-image: url('../../items/arrow_down.svg');
  background-position: center;
  background-size: cover;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
    width: 12px;
    height: 6px;
    transition: transform .25s ease;
}

.vsa-faq__item[open] .vsa-faq__q::after{
  transform: rotate(-180deg);
  
}

.vsa-faq__a{
  padding: 10px 0;
  font-family: Montserrat;
  font-weight: 500;
  font-size: 13px;
  line-height: 18px;
  color: rgba(17, 23, 39, .70);

   max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;

  transition:
    max-height .35s ease,
    opacity .25s ease,
    transform .25s ease,
    padding .25s ease;
}

.is-popular-wrapper{
  background: transparent;
}

.vsa-option-radio input[type="radio"] + label::before{
  left: 16px;
  top: calc(var(--vsa-option-header-h) + 16px);
  bottom: unset;
  margin: unset;
  z-index: 2;
  pointer-events: none;
}

.vsa-faq__item[open] .vsa-faq__a{
  max-height: 1000px; /* adjust if needed */
  opacity: 1;
  transform: translateY(0);
}

.js-vsa-options-step.d-none {
  display: none !important;
}

.js-vsa-options-step:not(.d-none) {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--vsa-bg, #f1f1e6);
}

.js-vsa-options-step:not(.d-none) .vsa-options-step__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 16px 16px 0;
  padding-bottom: calc(var(--vsa-bottom-fixed-height, 220px) + 16px);
  max-width: 430px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.vsa-top--options {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  box-shadow: none!important;
}

.vsa-options-step-placeholder {
  margin: 24px 0;
  text-align: center;
  color: var(--vsa-muted);
  font-size: 16px;
  line-height: 24px;
}

/* Course details sheet (Figma 6571-1951) */
.vsa-course-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.34s;
}

.vsa-course-detail-modal--open {
  visibility: visible;
  pointer-events: auto;
  touch-action: none;
  transition-delay: 0s;
}

.vsa-course-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 23, 39, 0.2);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.vsa-course-detail-modal--open .vsa-course-detail-modal__backdrop {
  opacity: 1;
}

.vsa-course-detail-modal__panel {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0;
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 1;
}

.vsa-course-detail-modal--open .vsa-course-detail-modal__panel {
  transform: translateY(0);
}

.vsa-course-detail-modal__header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 16px;
  background: #ffffff;
}

.vsa-course-detail-modal__nav-btn {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vsa-course-detail-modal__nav-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-course-detail-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  color: #111727;
}

.vsa-sheet-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #dadadb;
  border-radius: 8px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vsa-sheet-icon-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-course-detail-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 16px;
  background: #ffffff;
}

.vsa-course-detail-modal__body--locked {
  overflow: hidden !important;
  touch-action: none;
}

.vsa-course-detail-modal__footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.vsa-course-detail__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin: 0 auto;
  padding-top: 8px;
}

.vsa-course-detail__layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 28px;
}

.vsa-course-detail__media-col,
.vsa-course-detail__info-col {
  min-width: 0;
}

.vsa-course-detail__info-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (max-width: 1199.98px) {
  .vsa-courses-scope .vsa-course-detail__layout {
    gap: 0;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__panel {
    margin-top: -10px;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  }
}

.vsa-curriculum-detail__content {
  margin: 0 auto;
  width: 100%;
}

.vsa-course-detail-hero-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.vsa-course-detail-hero-card__media {
  position: relative;
  z-index: 2;
  margin-bottom: -10px;
}

.vsa-course-detail-hero-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.vsa-course-detail-hero-card__play img {
  display: block;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.vsa-course-detail-hero-card__play[hidden] {
  display: none;
}

.vsa-course-detail-hero-card__image,
.vsa-course-detail-hero-card__video {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  background: linear-gradient(145deg, #c5cafc 0%, #308fff 100%);
}

.vsa-course-detail-hero-card__panel {
  position: relative;
  z-index: 1;
  padding: 24px 12px 12px;
}

.vsa-course-detail-hero-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  color: #111727;
}

.vsa-course-detail-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.vsa-course-detail-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.vsa-course-detail-hero-card .vsa-course-detail__meta-item {
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: #a0a2a9;
}

.vsa-course-detail__curriculum-stats,
.vsa-curriculum-detail__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.vsa-course-detail__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #70747d;
}

.vsa-course-detail__meta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.vsa-course-detail-hero-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vsa-course-detail__tag {
  border-radius: 20px;
  background: #3059ff;
  color: #ffffff;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
}

.vsa-course-detail-hero-card__divider {
  margin: 12px 0;
  border: 0;
  height: 1px;
  background: #dadadb;
}

.vsa-course-detail-hero-card__sport-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.vsa-course-detail-hero-card__sport {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #111727;
  min-width: 0;
}

.vsa-course-detail-hero-card__sport-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.vsa-course-detail__section {
  margin: 0;
}

.vsa-course-detail__section--curriculum {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vsa-course-detail__section--curriculum .vsa-course-detail__section-title {
  margin-bottom: 0;
}

.vsa-course-detail__section--curriculum .vsa-course-detail__curriculum-stats {
  margin-bottom: 0;
}

.vsa-course-detail__section--curriculum .vsa-course-detail__month-list {
  margin-bottom: 0;
}

.vsa-course-detail__section-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 19px;
  color: #111727;
}

.vsa-free-lessons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vsa-free-lessons .vsa-course-detail__section-title {
  margin-bottom: 0;
}

.vsa-free-lessons__swiper-wrap {
  margin-right: -16px;
  overflow: hidden;
}

.vsa-free-lessons-swiper {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.vsa-free-lessons-swiper .swiper-wrapper {
  align-items: stretch;
}

.vsa-free-lessons__slide {
  height: auto;
  box-sizing: border-box;
}

.vsa-free-lessons__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.vsa-free-lessons__media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #c5cafc 0%, #308fff 100%);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.vsa-free-lessons__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(145deg, #c5cafc 0%, #308fff 100%);
}

.vsa-free-lessons__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
}

.vsa-free-lessons__play:disabled {
  cursor: default;
  opacity: 0.45;
}

.vsa-free-lessons__play img {
  display: block;
  width: 36px;
  height: 36px;
  pointer-events: none;
}

.vsa-free-lessons__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vsa-free-lessons__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #111727;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vsa-free-lessons__context {
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  color: #a0a2a9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vsa-free-lessons__duration {
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  color: #a0a2a9;
}

.vsa-course-detail__text {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #70747d;
}

.vsa-course-detail__text > p {
  margin: 0 0 12px;
}

.vsa-course-detail__text > p:last-child,
.vsa-course-detail__text > ul:last-child {
  margin-bottom: 0;
}

.vsa-course-detail__list {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
}

.vsa-course-detail__list li {
  margin-bottom: 8px;
}

.vsa-course-detail__list li:last-child {
  margin-bottom: 0;
}

.vsa-course-detail__list--nested {
  margin-top: 4px;
  padding-left: 16px;
}

.vsa-course-detail__curriculum-stats {
  margin-bottom: 16px;
}

.vsa-course-detail__curriculum-stats .vsa-course-detail__meta-item {
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #a0a2a9;
}

.vsa-course-detail__month-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.vsa-course-detail__month-item {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #111727;
}

.vsa-course-detail__month-item strong {
  font-weight: 600;
}

.vsa-course-detail__view-details {
  display: none;
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #308fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
}

.vsa-course-detail-coaches {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vsa-course-detail-coach {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.vsa-course-detail-coach__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.vsa-course-detail-coach__profile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.vsa-course-detail-coach__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.vsa-course-detail-coach__rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #111727;
}

.vsa-course-detail-coach__rating span {
  color: #111727;
}

.vsa-course-detail-coach__rating img {
  width: 14px;
  height: 14px;
}

.vsa-course-detail-coach__avatar {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f1;
}

.vsa-course-detail-coach__name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #111727;
}

.vsa-course-detail-coach__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  min-height: 0;
}

.vsa-course-detail-coach__langs:empty {
  display: none;
}

.vsa-course-detail-coach__lang {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: #e9e9e9;
  padding: 1px 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  color: #70747d;
  white-space: nowrap;
}

.vsa-course-detail-coach__desc {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #414552;
}

.vsa-course-detail-coach__desc--text {
  font-weight: 400;
  color: #70747d;
  white-space: pre-wrap;
  overflow: visible;
}

.vsa-course-detail-coach__desc + .vsa-course-detail-coach__desc--text {
  margin-top: 4px;
}

.vsa-course-detail-coach__desc .vsa-trainer-sports {
  font-weight: 500;
  color: #111727;
}

.vsa-course-detail-results__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vsa-course-detail-results__photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 210px;
  background: #dadadb;
}

.vsa-course-detail-results__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vsa-course-detail-results__label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #ffffff;
  color: #111727;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.vsa-course-detail-modal__footer-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.vsa-course-detail-modal__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.vsa-course-detail-modal__price {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  color: #308fff;
}

.vsa-course-detail-modal__old-price {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: #111727;
  text-decoration: line-through;
}

.vsa-course-detail-modal__old-price[hidden] {
  display: none;
}

.vsa-course-detail-modal__per-day {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #a0a2a9;
}

.vsa-course-detail-modal__close-desktop {
  display: none;
}

.vsa-course-detail-modal__buy {
  flex-shrink: 0;
  width: 190px;
  min-width: 190px;
  min-height: 56px;
  padding: 16px 24px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

/* Curriculum picker (nested sheet) */
.vsa-curriculum-picker {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 0.34s;
}

.vsa-curriculum-picker--open {
  visibility: visible;
  pointer-events: auto;
  touch-action: auto;
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0s;
}

.vsa-curriculum-picker__panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.vsa-curriculum-picker__header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 24px;
  margin-bottom: 24px;
  background: #ffffff;
}

.vsa-curriculum-picker__header-spacer {
  width: 24px;
  height: 24px;
}

.vsa-curriculum-picker__title {
  grid-column: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  color: #111727;
}

.vsa-curriculum-picker__close {
  grid-column: 3;
  justify-self: end;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vsa-curriculum-picker__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

.vsa-curriculum-detail__content {
  width: 100%;
}

.vsa-curriculum-detail__intro {
  padding: 0 16px 20px;
}

.vsa-curriculum-detail__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #111727;
  max-width: 343px;
}

.vsa-curriculum-detail__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.vsa-curriculum-detail__stats .vsa-course-detail__meta-item {
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #a0a2a9;
}

.vsa-curriculum-detail__tree {
  display: flex;
  flex-direction: column;
}

.vsa-curriculum-month {
  padding: 16px 0;
  border-bottom: 1px #F0F0F1 solid;
  border-top: 1px #F0F0F1 solid;
}

.vsa-curriculum-month__block {
  border: 0;
  background: transparent;
}

.vsa-curriculum-month__summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0;
  padding-left: 16px;
  padding-right: 16px;
}

.vsa-curriculum-month__summary-main {
  flex: 1 1 auto;
  min-width: 0;
}

.vsa-curriculum-month__preview {
  margin: 4px 0 0;
  max-width: 323px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #70747d;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.vsa-curriculum-month__preview.vsa-course-detail__text > p,
.vsa-curriculum-month__preview.vsa-course-detail__text > ul {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
}

.vsa-curriculum-month__preview.vsa-course-detail__text > p:last-child,
.vsa-curriculum-month__preview.vsa-course-detail__text > ul:last-child {
  margin-bottom: 0;
}

.vsa-curriculum-month__block[open] .vsa-curriculum-month__preview {
  display: none;
}

.vsa-curriculum-month__summary::-webkit-details-marker {
  display: none;
}

.vsa-curriculum-month__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #111727;
}

.vsa-curriculum-month__chevron,
.vsa-curriculum-day__chevron {
  flex-shrink: 0;
  width: auto;
  height: auto;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.vsa-curriculum-month__chevron {
  margin-top: 0;
}

.vsa-curriculum-month__block[open] .vsa-curriculum-month__chevron,
.vsa-curriculum-day[open] .vsa-curriculum-day__chevron {
  transform: rotate(180deg);
}

.vsa-curriculum-month__body {
  padding: 0;
}

.vsa-curriculum-month__desc {
  padding-left: 16px;
  padding-right: 16px;
  margin-top: 4px;
}

.vsa-curriculum-month__desc.vsa-course-detail__text {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #70747d;
}

.vsa-curriculum-month__desc.vsa-course-detail__text > p,
.vsa-curriculum-month__desc.vsa-course-detail__text > ul {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 16px;
}

.vsa-curriculum-month__desc.vsa-course-detail__text > p:last-child,
.vsa-curriculum-month__desc.vsa-course-detail__text > ul:last-child {
  margin-bottom: 0;
}

.vsa-curriculum-month__days {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vsa-curriculum-day-block {
  padding: 12px 0;
  padding-left: 40px;
  border-bottom: 1px solid #dadadb;
}

.vsa-curriculum-day-block:last-child {
  border-bottom: 0;
}

.vsa-curriculum-day {
  border: 0;
  background: transparent;
}

.vsa-curriculum-day__summary {
  list-style: none;
  display: block;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  width: calc(100% - 24px);
}

.vsa-curriculum-day[open] .vsa-curriculum-day__summary {
  min-height: 0;
  padding-bottom: 12px;
}

.vsa-curriculum-day__summary::-webkit-details-marker {
  display: none;
}

.vsa-curriculum-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
}

.vsa-curriculum-day__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #111727;
}

.vsa-curriculum-day__hint {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #70747d;
}

.vsa-curriculum-day__content {
  padding-bottom: 12px;
}

.vsa-curriculum-day__lessons {
  margin: 0 0 0 -40px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.vsa-curriculum-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 8px 12px 8px 0;
  box-sizing: border-box;
  border-top: 1px solid #f0f0f1;
}

.vsa-curriculum-lesson:last-child {
  border-bottom: 0;
}

.vsa-curriculum-lesson__index {
  flex-shrink: 0;
  width: 20px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #111727;
  text-align: center;
}

.vsa-curriculum-lesson__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vsa-curriculum-lesson__title {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #111727;
}

.vsa-curriculum-lesson__duration {
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  color: #a0a2a9;
}

.vsa-curriculum-lesson__action-spacer {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.vsa-curriculum-lesson__play {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vsa-curriculum-lesson__play:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vsa-curriculum-lesson__play img {
  display: block;
  width: 36px;
  height: 36px;
}

.vsa-lesson-video-modal {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(17, 23, 39, 0.72);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.vsa-lesson-video-modal--open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

.vsa-lesson-video-modal__backdrop {
  position: absolute;
  inset: 0;
}

.vsa-lesson-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 343px);
}

.vsa-lesson-video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vsa-lesson-video-modal__frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
}

.vsa-lesson-video-modal__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vsa-course-card__learn-more,
.vsa-course-card__buy {
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  height: max-content;
  padding: 16px 12px;
  min-width: 0;
  white-space: nowrap;
}

.vsa-btn.vsa-course-card__learn-more {
  flex: 0 0 auto;
  border: 0;
  background: var(--vsa-surface);
  color: var(--vsa-text);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

.vsa-btn.vsa-course-card__buy {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  background: var(--vsa-dodger-blue);
  color: var(--vsa-white);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}
.payment-page {
  max-width: 430px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  min-height: 100vh;
  box-sizing: border-box;
}

.payment-header {
  margin-bottom: 20px;
}

.payment-back {
  display: inline-block;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #308FFF;
  text-decoration: none;
  padding: 4px 0;
}

.payment-back:hover {
  text-decoration: underline;
}

.payment-summary-block {
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.06);
}

.payment-summary-block__title {
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #111727;
  margin: 0;
}

.payment-summary-block__head {
  margin-bottom: 10px;
}

.payment-summary-block__list-wrapper {
  position: relative;
}

.payment-summary-block__list-wrapper.is-collapsed .vsa-plan-feature-list__item:nth-child(n+3) {
  display: none;
}

.payment-summary-block__list-wrapper.is-collapsed .payment-summary-block__list {
  max-height: none;
  overflow: visible;
}

.payment-summary-block__list-wrapper.is-expanded .payment-summary-block__list {
  max-height: none;
  overflow: visible;
}

.payment-summary-block__toggle {
  display: none;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #308FFF;
  cursor: pointer;
  text-align: left;
}

.payment-summary-block__toggle:hover {
  text-decoration: underline;
}

.payment-summary-block__toggle:focus-visible {
  outline: 2px solid #308FFF;
  outline-offset: 2px;
}

.payment-summary-block__trial {
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280;
  margin: -4px 0 12px;
}

.payment-summary-block__list-wrapper.has-more .payment-summary-block__toggle {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .payment-summary-block__list-wrapper.is-collapsed .payment-summary-block__list,
  .payment-summary-block__list-wrapper.is-expanded .payment-summary-block__list {
    transition: none;
  }
}

.payment-summary-block__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.payment-summary-block__list.vsa-plan-feature-list {
  gap: 8px;
}

.payment-summary-block__list .vsa-plan-feature-list__item {
  font-size: 13px;
  line-height: 1.3;
  color: #414552;
}

.payment-form-block {
  margin-bottom: 20px;
}

.stripe-card-form {
  display: block;
  margin-bottom: 4px;
  position: relative;
  min-height: 200px;
}

.stripe-card-form #payment-element {
  min-height: 1px;
}

.stripe-form-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1;
}

.stripe-form-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.stripe-form-loader__shimmer {
  width: 100%;
  max-width: 280px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, #F3F4F6 0%, #E5E7EB 50%, #F3F4F6 100%);
  background-size: 200% 100%;
  animation: stripe-form-shimmer 1.4s ease-in-out infinite;
}

.stripe-form-loader__text {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(17, 23, 39, 0.7);
}

@keyframes stripe-form-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-form-loader__shimmer {
    animation: none;
    background: #F3F4F6;
  }
}

.stripe-form-element.is-ready {
  position: relative;
  z-index: 0;
}

.stripe-form-element[aria-hidden="true"] {
  min-height: 0;
  overflow: hidden;
}

.stripe-form-error {
  padding: 24px 20px;
  text-align: center;
  background: rgba(243, 58, 58, 0.06);
  border: 1px solid rgba(243, 58, 58, 0.2);
  border-radius: 12px;
  margin-bottom: 4px;
}

.stripe-form-error__message {
  margin: 0 0 16px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #F33A3A;
}

.stripe-form-error .vsa__continue {
  margin: 0;
  min-width: 140px;
}

#payment-form .vsa__continue {
  margin-top: 16px;
  width: 100%;
}

@media (max-width: 480px) {
  .stripe-card-form {
    margin-bottom: 0;
  }

  #payment-form .vsa__continue {
    margin-top: 14px;
    min-height: 48px;
  }
}

.payment-message {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
}

.payment-message:empty {
  display: none;
}

.payment-message.is-error {
  background: rgba(243, 58, 58, 0.08);
  color: #F33A3A;
}

.payment-message.is-success {
  background: rgba(2, 122, 72, 0.08);
  color: #027a48;
}

.payment-compliance {
  margin-top: 20px;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: #70747D;
}

.payment-compliance a {
  color: #308FFF;
  text-decoration: none;
}

.payment-compliance a:hover {
  text-decoration: underline;
}

#express-checkout {
  margin-bottom: 12px;
}

.payment-error-block {
  max-width: 430px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(243, 58, 58, 0.08);
  color: #F33A3A;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}

.payment-error-block__retry {
  margin-top: 12px;
  min-width: 120px;
}
body.vsa-upgrade-body {
  background: #fff;
}

.vsa-upgrade-page {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 16px 32px;
  padding-top: calc(8px + env(safe-area-inset-top));
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.vsa-upgrade-header {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  margin: 0 -16px 16px;
  padding: 8px 16px;
}

.vsa-upgrade-header__back {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 24px;
  color: var(--vsa-text, #111727);
  text-decoration: none;
}

.vsa-upgrade-header__back img {
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-upgrade-header__title {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: var(--vsa-text, #111727);
}

.vsa-upgrade-header__spacer {
  width: 50px;
  height: 24px;
}

.vsa-upgrade-error {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(243, 58, 58, 0.08);
  color: #f33a3a;
  font-size: 14px;
  line-height: 1.4;
}

.vsa-upgrade-error p {
  margin: 0 0 12px;
}

.vsa-upgrade-content {
  padding-top: 8px;
}

.vsa-upgrade-plans {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.vsa-upgrade-empty {
  margin: 0;
  text-align: center;
  color: #70747d;
  font-size: 15px;
}

.vsa-upgrade-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  box-sizing: border-box;
}

.vsa-upgrade-card--featured {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

.vsa-upgrade-card--current {
  border: none;
}

.vsa-upgrade-card--selectable {
  cursor: pointer;
}

.vsa-upgrade-card--selectable.is-active {
  box-shadow:
    0 1px 10px rgba(0, 0, 0, 0.12),
    0 0 0 1px #308fff;
}

.vsa-upgrade-card__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
  padding: 12px;
  background: linear-gradient(99.25deg, #ff8725 1.41%, #ff304f 101.67%);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
}

.vsa-upgrade-card__banner--discount-only {
  justify-content: flex-end;
}

.vsa-upgrade-card__banner-left,
.vsa-upgrade-card__banner-right {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.vsa-upgrade-card__body {
  padding: 16px;
}

.vsa-upgrade-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.vsa-upgrade-card.is-active .vsa-upgrade-card__head {
  margin-bottom: 8px;
}

.vsa-upgrade-card__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.vsa-upgrade-card__title {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #111727;
}

.vsa-upgrade-card__subtitle {
  margin: 0;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: #a0a2a9;
}

.vsa-upgrade-card__features {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  overflow: hidden;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    margin-bottom 0.22s ease;
}

.vsa-upgrade-card__features:empty {
  display: none;
}

.vsa-upgrade-card.is-active .vsa-upgrade-card__features {
  opacity: 1;
  transform: translateY(0);
  max-height: 1000px;
  margin-bottom: 16px;
}

.vsa-upgrade-card__price {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.vsa-upgrade-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0 6px;
}

.vsa-upgrade-card__price-old {
  text-decoration: line-through;
  color: #a0a2a9;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
}

.vsa-upgrade-card__price-value {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: #308fff;
}

.vsa-upgrade-card__price-unit {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: #a0a2a9;
}

.vsa-upgrade-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.vsa-upgrade-card__cta--upgrade {
  background: #308fff;
  border-color: #308fff;
  color: #fff;
}

.vsa-upgrade-card__cta--upgrade:hover {
  background: #2470d9;
  border-color: #2470d9;
}

.vsa-upgrade-card__cta--current {
  background: #fff;
  border-color: #308fff;
  color: #308fff;
  cursor: default;
}

.vsa-upgrade-card__cta--current:disabled {
  opacity: 1;
}

.upgrade-payment-page {
  max-width: 430px;
  margin: 0 auto;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}


.vsa-courses-page .vsa-courses-scope.vsa-personal-layout {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: 100dvh;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
}

body.admin-bar.vsa-courses-page .vsa-courses-scope.vsa-personal-layout {
  min-height: calc(100dvh - 32px);
  height: calc(100dvh - 32px);
}

.vsa-courses-page .vsa-courses-scope .vsa-personal-shell {
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
}

.vsa-courses-page .vsa-courses-scope .vsa-personal-main--courses {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #f0f1f3;
}

.vsa-courses-page .vsa-courses-scope .vsa-courses-header-slot {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  background: #ffffff;
}

.vsa-courses-scope .vsa-personal-main--courses {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #f0f1f3;
}

.vsa-courses-scope .vsa-courses-header-slot {
  flex-shrink: 0;
  width: 100%;
  background: #ffffff;
}

.vsa-courses-page .vsa-courses-scope .vsa-page {
  margin-top: 0;
  padding-top: 0;
}

.vsa-courses-scope .vsa-page {
  min-height: auto;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-width: none;
  margin: 0;
  background: #f0f1f3;
  border-radius: 0;
  overflow: hidden;
}

.vsa-courses-scope .js-vsa-courses-step {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vsa-courses-scope .vsa-top--courses {
  position: static;
  width: 100%;
  padding-top: max(8px, env(safe-area-inset-top));
  gap: 12px;
  padding-bottom: 12px;
  flex-shrink: 0;
  border-radius: 0;
}

.vsa-courses-scope .vsa-top--courses .vsa-top__search {
  padding: 0 16px 4px;
}

.vsa-courses-scope .vsa-filter-strip {
  padding-bottom: 4px;
}

.vsa-courses-scope .vsa-cards {
  padding: 16px 16px 24px;
  gap: 20px;
  flex: 0 0 auto;
}

.vsa-courses-scope .js-vsa-options-step:not(.d-none) {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  z-index: auto;
  height: auto;
  max-height: none;
  background: var(--vsa-bg, #f1f1e6);
}

.vsa-courses-scope .js-vsa-options-step:not(.d-none) .vsa-options-step__scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-width: none;
  padding: 16px 16px 0;
  padding-bottom: calc(var(--vsa-bottom-fixed-height, 220px) + 16px);
}

.vsa-courses-scope .vsa-bottom-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0;
  margin-top: 0;
  background: #fff;
}

.vsa-courses-scope .vsa-bottom-fixed__inner {
  max-width: none;
  width: 100%;
}

.vsa-courses-scope .vsa-bottom-fixed .vsa-wrapper__continue,
.vsa-courses-scope .vsa-bottom-fixed .vsa-wrapper__continue--with-text {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 0;
  max-width: 100%;
}

.vsa-courses-scope .vsa-bottom-fixed__faq {
  width: 100%;
}
.vsa-courses-scope .vsa-bottom-fixed {
  width: 100%;
}

@media (min-width: 1025px) {
  .vsa-courses-scope .vsa-bottom-fixed {
    left: var(--vsa-personal-sidebar-width, 300px);
    width: calc(100% - var(--vsa-personal-sidebar-width, 300px));
  }

  .vsa-personal-sidebar.is-collapsed ~ .vsa-personal-main .vsa-courses-scope .vsa-bottom-fixed {
    left: var(--vsa-personal-sidebar-collapsed-width, 80px);
    width: calc(100% - var(--vsa-personal-sidebar-collapsed-width, 80px));
  }
}

.vsa-courses-scope .js-vsa-course-inline-checkout {
  padding-bottom: 0;
}

.vsa-courses-scope .js-vsa-course-inline-checkout.payment-page {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.vsa-courses-scope .js-vsa-options-step.is-payment-checkout {
  background: #fff;
}

.vsa-courses-scope .js-vsa-options-step.is-payment-checkout .vsa-top--options {
  background: #fff;
}

.vsa-courses-scope .js-vsa-options-step.is-payment-checkout .vsa-options-step__scroll {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  max-width: none;
  margin: 0;
}

.vsa-courses-scope .js-vsa-options-step.is-payment-checkout .js-vsa-course-inline-checkout.payment-page:not(.d-none) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #fff;
}

.vsa-courses-scope .js-vsa-course-inline-checkout .payment-page__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px 0;
  box-sizing: border-box;
  max-width: 500px;
  margin: auto
}

.vsa-courses-scope .js-vsa-course-inline-checkout .payment-page__footer {
  flex-shrink: 0;
  width: 100%;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

.vsa-courses-scope .js-vsa-course-inline-checkout .payment-page__footer .vsa__continue {
  width: 100%;
  margin: 0;
}

.vsa-courses-scope .js-vsa-course-inline-checkout .payment-page__footer .payment-compliance {
  margin: 16px 0 0;
  text-align: center;
}

.vsa-courses-scope .js-vsa-course-inline-checkout .payment-form-block {
  margin-bottom: 16px;
}

@media (min-width: 1200px) {
  .vsa-courses-scope .vsa-top--courses .js-vsa-courses-back {
    display: inline-flex;
  }

  .vsa-courses-scope .vsa-top--courses {
    padding-top: 0;
  }

  .vsa-courses-scope .js-vsa-options-step:not(.d-none) .vsa-options-step__scroll {
    max-width: 480px;
    margin: 0 auto;
  }

  .vsa-courses-scope .js-vsa-options-step.is-payment-checkout .vsa-options-step__scroll,
  .vsa-courses-scope .js-vsa-options-step.is-payment-checkout .js-vsa-course-inline-checkout.payment-page {
    max-width: none;
    margin: 0;
  }
}

/* Theme integration: desktop layout */
@media (min-width: 1200px) {
  .vsa-courses-page .vsa-courses-scope .vsa-personal-main--courses {
    padding: 0;
  }

  .vsa-courses-my-page .vsa-courses-scope .vsa-personal-main--courses {
    padding: 24px 32px 48px;
  }

  .vsa-courses-my-detail-page .vsa-courses-scope .vsa-personal-main--courses {
    padding: 24px 32px 48px;
    overflow-y: auto;
  }

  .vsa-courses-scope .vsa-personal-main--courses-payment,
  .vsa-courses-scope .vsa-personal-main--courses-upgrade {
    padding: 24px 32px 48px;
  }

  .vsa-courses-scope .vsa-page {
    max-width: none;
    margin: 0;
  }

  .vsa-courses-scope .vsa-filter-modal__panel {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
  }

  .vsa-courses-scope .vsa-course-detail-modal {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .vsa-courses-scope .vsa-course-detail-modal__backdrop {
    background: rgba(17, 23, 39, 0.45);
  }

  .vsa-courses-scope .vsa-course-detail-modal__panel {
    width: min(1420px, calc(100vw - 48px));
    max-width: 1420px;
    height: min(768px, calc(100dvh - 48px));
    max-height: min(768px, calc(100dvh - 48px));
    margin: 0 auto;
    border-radius: 16px;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition:
      transform 0.34s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.28s ease;
  }

  .vsa-courses-scope .vsa-course-detail-modal--open .vsa-course-detail-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .vsa-courses-scope .vsa-course-detail-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: auto;
    padding: 40px 40px 20px;
  }

  .vsa-courses-scope .js-vsa-course-detail-back,
  .vsa-courses-scope .js-vsa-course-detail-favorite {
    display: none;
  }

  .vsa-course-detail-modal__close-desktop {
    display: inline-flex;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .vsa-course-detail-modal__close-desktop img {
    display: block;
    width: 32px;
    height: 32px;
  }

  .vsa-courses-scope .vsa-course-detail-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(896px, calc(100% - 48px));
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
    text-align: left;
  }

  .vsa-courses-scope .vsa-course-detail-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 0 40px;
  }

  .vsa-courses-scope .vsa-course-detail__content {
    height: 100%;
    min-height: 0;
    gap: 0;
    padding-top: 0;
  }

  .vsa-courses-scope .vsa-course-detail__layout {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
    min-height: 0;
    height: 100%;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card {
    box-shadow: none;
  }

  .vsa-courses-scope .vsa-course-detail__media-col {
    flex: 0 0 min(800px, 58%);
    max-width: 800px;
    align-self: stretch;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__media {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__image,
  .vsa-courses-scope .vsa-course-detail-hero-card__video {
    height: 100%;
    max-height: 541px;
    border-radius: 12px;
  }

  .vsa-courses-scope .vsa-course-detail__info-col {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    max-width: 500px;
    height: auto;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 24px;
    padding-bottom: 16px;
    scroll-padding-bottom: 16px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__panel {
    padding: 0;
    box-shadow: none;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__title,
  .vsa-courses-scope .vsa-course-detail-hero-card__divider,
  .vsa-courses-scope .vsa-course-detail-hero-card__panel .vsa-course-detail-hero__meta {
    display: none;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__sport-row {
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
  }

  .vsa-courses-scope .vsa-course-detail-hero-card__tags {
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 0 1 auto;
  }

  .vsa-courses-scope .vsa-course-detail__section-title {
    font-size: 19px;
    line-height: 23px;
    margin-bottom: 12px;
  }

  .vsa-courses-scope .vsa-course-detail__text {
    font-size: 14px;
    line-height: 20px;
    color: #70747d;
  }

  .vsa-courses-scope .vsa-course-detail-modal__footer {
    justify-content: flex-end;
    gap: 20px;
    padding: 20px 40px;
    min-height: 88px;
    border-top: 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  }

  .vsa-courses-scope .vsa-course-detail-modal__footer-offer {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
  }

  .vsa-courses-scope .vsa-course-detail-modal__price-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .vsa-courses-scope .vsa-course-detail-modal__old-price {
    font-size: 18px;
    font-weight: 500;
    line-height: 18px;
    color: #a0a2a9;
  }

  .vsa-courses-scope .vsa-course-detail-modal__price {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
  }

  .vsa-courses-scope .vsa-course-detail-modal__buy {
    width: 240px;
    min-width: 240px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 12px;
  }

  .vsa-courses-scope .payment-page:not(.js-vsa-course-inline-checkout),
  .vsa-courses-scope .upgrade-payment-page,
  .vsa-courses-scope .vsa-upgrade-page {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .vsa-courses-scope:not(.vsa-home-courses) .vsa-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1399.98px) {
  .vsa-courses-scope:not(.vsa-home-courses) .vsa-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 24px 32px 48px;
  }

  .vsa-courses-scope:not(.vsa-home-courses) .vsa-course-card {
    height: 100%;
  }
}

@media (min-width: 1400px) {
  .vsa-courses-scope:not(.vsa-home-courses) .vsa-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 24px 32px 48px;
  }

  .vsa-courses-scope:not(.vsa-home-courses) .vsa-course-card {
    height: 100%;
  }
}

.vsa-courses-scope .vsa-courses-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--vsa-muted, #6b7280);
}

.vsa-courses-scope .vsa-courses-empty a {
  display: inline-block;
  margin-top: 8px;
  color: var(--vsa-primary, #308fff);
}

.vsa-courses-scope .vsa-upgrade-card__actions {
  margin-top: 16px;
}

.vsa-courses-tabs-slot {
  padding: 0 16px 4px;
}

.vsa-top--courses .vsa-courses-tabs {
  width: min(100%, 327px);
  max-width: 100%;
}

.vsa-top--courses .vsa-courses-tabs .vsa-schedule-tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}

.vsa-top--courses .vsa-courses-tabs .vsa-schedule-tabs__item:hover,
.vsa-top--courses .vsa-courses-tabs .vsa-schedule-tabs__item:focus-visible {
  color: inherit;
}

.vsa-top--my-courses-inline,
.vsa-top--my-courses {
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: none;
  background: #ffffff;
}

.vsa-top--my-courses-inline .vsa-top__search,
.vsa-top--my-courses .vsa-top__search {
  padding: 2px 16px 12px;
  box-sizing: border-box;
}

.vsa-courses-scope .js-vsa-courses-my-panel:not(.d-none) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.vsa-courses-scope .js-vsa-courses-my-panel:not(.d-none) .vsa-top--my-courses-inline {
  flex-shrink: 0;
  width: 100%;
}

.vsa-courses-empty .js-vsa-courses-tab {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--vsa-primary, #308fff);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .vsa-top--courses .vsa-courses-tabs {
    align-self: center;
  }
}

.vsa-my-courses-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.vsa-my-learning-page {
  padding: 0 16px 24px;
}

.vsa-my-learning-page--week {
  padding: 0;
}

.vsa-courses-scope .vsa-my-courses-list,
.vsa-courses-scope .vsa-my-courses-loading {
  padding: 16px 16px 24px;
  gap: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  flex: 0 0 auto;
  width: 100%;
}

.vsa-courses-scope .vsa-my-course-card {
  width: 100%;
  height: 100%;
}

.vsa-my-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--vsa-elev-shadow-sm);
  overflow: hidden;
}

.vsa-my-course-card__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.vsa-my-course-card__cover-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.vsa-my-course-card__cover {
  display: block;
  width: 100%;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  background: #f0f0f1;
}

.vsa-my-course-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 0;
}

.vsa-my-course-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vsa-my-course-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vsa-my-course-card__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #111727;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vsa-my-course-card__fraction,
.vsa-my-course-card__percent {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #a0a2a9;
}

.vsa-my-course-card__complete-icon {
  flex-shrink: 0;
  display: block;
  width: 16px;
  height: 16px;
}

.vsa-my-course-card__details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vsa-my-course-card__sport-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #111727;
}

.vsa-my-course-card__sport-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.vsa-my-course-card__coaches {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  height: 20px;
  overflow: hidden;
}

.vsa-my-course-card__coach-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-shrink: 0;
}

.vsa-my-course-card__coach-avatar,
.vsa-my-course-card__coach-initials {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vsa-my-course-card__coach-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #308fff;
  font-size: 8px;
  font-weight: 600;
}

.vsa-my-course-card__coach-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #111727;
  white-space: nowrap;
}

.vsa-my-course-card__stats {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #a0a2a9;
}

.vsa-my-course-card__progress {
  height: 5px;
  margin: 10px -16px -16px;
  background: #e9e9e9;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.vsa-my-course-card__progress-fill {
  display: block;
  height: 100%;
  background: #308fff;
  border-radius: 100px;
}

.vsa-my-course-card--skeleton .vsa-my-course-card__cover-wrap,
.vsa-my-course-card--skeleton .vsa-my-course-card__skeleton-block,
.vsa-my-course-card__skeleton-line {
  background: linear-gradient(90deg, #f0f0f1 25%, #fafafa 50%, #f0f0f1 75%);
  background-size: 200% 100%;
  animation: vsa-my-course-shimmer 1.4s ease infinite;
}

.vsa-my-course-card--skeleton .vsa-my-course-card__cover-wrap {
  height: 150px;
  border-radius: 12px;
}

.vsa-my-course-card--skeleton .vsa-my-course-card__content {
  gap: 8px;
}

.vsa-my-course-card__skeleton-line {
  height: 12px;
  border-radius: 6px;
}

.vsa-my-course-card__skeleton-line--title {
  width: 80%;
  height: 16px;
}

.vsa-my-course-card__skeleton-line--short {
  width: 45%;
}

.vsa-my-course-card--manage {
  gap: 10px;
}

.vsa-my-course-card--manage .vsa-my-course-card__row {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.vsa-my-course-card--manage .vsa-my-course-card__cover-wrap {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 10px;
}

.vsa-my-course-card--manage .vsa-my-course-card__cover {
  width: 60px;
  height: 60px;
  border-radius: 10px;
}

.vsa-my-course-card--manage .vsa-my-course-card__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vsa-my-course-card--manage .vsa-my-course-card__title {
  font-size: 16px;
  line-height: 20px;
}

.vsa-my-course-card--manage .vsa-my-course-card__sport-row {
  font-size: 14px;
  line-height: 1.3;
}

.vsa-my-course-card__manage-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: #308fff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

.vsa-my-course-card__manage-btn:hover,
.vsa-my-course-card__manage-btn:focus {
  color: #fff;
  text-decoration: none;
}

@keyframes vsa-my-course-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.vsa-my-learning-header {
  padding: 12px 16px 0;
}

.vsa-my-learning-header__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.vsa-my-learning-header__start {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vsa-my-learning-header__titles {
  min-width: 0;
  text-align: center;
}

.vsa-my-learning-header__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #111727;
}

.vsa-my-learning-header__subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: #70747d;
}

.vsa-my-learning-header__spacer {
  width: 40px;
}

.vsa-my-learning-header .vsa-icon-btn {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.vsa-my-learning-header .vsa-icon-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.vsa-my-learning-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 16px;
  color: #70747d;
}

.vsa-my-learning-view--nav {
  background: #fff;
}

@media (max-width: 767.98px) {
  .vsa-my-learning-view--nav {
    margin: 0 -16px;
  }
}

.vsa-my-learning-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  border-bottom: 1px solid #f0f0f1;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.vsa-my-learning-nav-item__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #111727;
}

.vsa-my-learning-nav-item__chevron {
  flex-shrink: 0;
}

.vsa-my-learning-nav-item__lock {
  flex-shrink: 0;
  color: #a0a2a9;
}

.vsa-my-learning-nav-item--locked {
  cursor: not-allowed;
}

.vsa-my-learning-nav-item--locked .vsa-my-learning-nav-item__title {
  color: #a0a2a9;
}

.vsa-my-learning-week {
  background: #f0f1f3;
}

.vsa-my-learning-week__layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.vsa-my-learning-week__media-col {
  background: #fff;
}

.vsa-my-learning-week__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.vsa-my-learning-week__youtube,
.vsa-my-learning-week__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vsa-my-learning-week__youtube iframe {
  width: 100%;
  height: 100%;
}

.vsa-my-learning-week__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px 12px;
  background: #fff;
  border-radius: 0 0 20px 20px;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}

.vsa-my-learning-week__course-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #111727;
}

.vsa-my-learning-week__sport-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 16px;
  color: #111727;
}

.vsa-my-learning-week__sport-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.vsa-my-learning-week__coaches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vsa-my-learning-week__coach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vsa-my-learning-week__coach-avatar,
.vsa-my-learning-week__coach-initials {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vsa-my-learning-week__coach-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #308fff;
  font-size: 8px;
  font-weight: 600;
}

.vsa-my-learning-week__coach-name {
  font-size: 12px;
  line-height: 16px;
  color: #111727;
}

.vsa-my-learning-week__lessons-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 24px;
}

.vsa-my-learning-week__day-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vsa-my-learning-week__day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #70747d;
}

.vsa-my-learning-week__day-lessons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vsa-my-learning-lesson-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.vsa-my-learning-lesson-card--active {
  border-color: #308fff;
  box-shadow: 0 0 5px rgba(0, 72, 255, 0.15);
}

.vsa-my-learning-lesson-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vsa-my-learning-lesson-card__index {
  flex-shrink: 0;
  width: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #111727;
}

.vsa-my-learning-lesson-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vsa-my-learning-lesson-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 20px;
  color: #111727;
}

.vsa-my-learning-lesson-card__title {
  font-weight: 500;
}

.vsa-my-learning-lesson-card__time-left {
  font-size: 12px;
  font-weight: 400;
  color: #111727;
}

.vsa-my-learning-lesson-card__time-left::before {
  content: "·";
  margin-right: 4px;
}

.vsa-my-learning-lesson-card__requirements {
  font-size: 12px;
  line-height: 13px;
  color: #a0a2a9;
}

.vsa-my-learning-lesson-card__ring {
  --progress: 0;
  --ring-color: #e9e9e9;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #fff 74%, transparent 75% 100%),
    conic-gradient(var(--ring-color) calc(var(--progress) * 1%), #e9e9e9 0);
  font-size: 10px;
  font-weight: 500;
  line-height: 13px;
  color: #a0a2a9;
}

.vsa-my-learning-lesson-card__ring--progress {
  --ring-color: #308fff;
}

.vsa-my-learning-lesson-card__ring--complete {
  --ring-color: #34c759;
}

.vsa-my-learning-resume-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vsa-my-learning-resume-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 23, 39, 0.45);
}

.vsa-my-learning-resume-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 20px;
  border-radius: 16px;
  background: #fff;
}

.vsa-my-learning-resume-modal__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.vsa-my-learning-resume-modal__text {
  margin: 0 0 16px;
  font-size: 14px;
  color: #70747d;
}

.vsa-my-learning-resume-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.vsa-my-learning-resume-modal__field input {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

@media (max-width: 767.98px) {
  .vsa-courses-scope .vsa-my-courses-list,
  .vsa-courses-scope .vsa-my-courses-loading {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1399.98px) {
  .vsa-courses-scope .vsa-my-courses-list,
  .vsa-courses-scope .vsa-my-courses-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 24px 32px 48px;
  }

  .vsa-top--my-courses-inline .vsa-top__search,
  .vsa-top--my-courses .vsa-top__search {
    padding: 2px 32px 12px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .vsa-courses-my-detail-page .vsa-courses-scope .vsa-personal-main--courses {
    padding: 24px 24px 48px;
    overflow-y: auto;
  }

  .vsa-courses-my-detail-page .vsa-my-learning-page {
    padding: 0;
  }

  .vsa-courses-my-detail-page .vsa-my-learning-view--nav {
    margin: 0;
    max-width: none;
    border-radius: 12px;
    box-shadow: var(--vsa-elev-shadow-sm);
    overflow: hidden;
  }

  .vsa-courses-my-detail-page .vsa-my-learning-nav-item:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .vsa-courses-my-detail-page .vsa-my-learning-page {
    padding: 0;
  }

  .vsa-courses-my-detail-page .vsa-courses-scope .vsa-personal-main--courses:has(.vsa-my-learning-page--week) {
    overflow: hidden;
  }

  .vsa-courses-my-detail-page .vsa-my-learning-page--week {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .vsa-my-learning-header {
    padding: 0 0 16px;
    background: transparent;
  }

  .vsa-my-learning-header__bar {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
  }

  .vsa-my-learning-header__titles {
    text-align: center;
  }

  .vsa-my-learning-header__spacer {
    display: block;
    width: 40px;
  }

  .vsa-my-learning-header__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
  }

  .vsa-my-learning-view--nav {
    margin: 0;
    max-width: none;
    border-radius: 12px;
    box-shadow: var(--vsa-elev-shadow-sm);
    overflow: hidden;
  }

  .vsa-my-learning-nav-item:last-child {
    border-bottom: 0;
  }

  .vsa-my-learning-week {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .vsa-my-learning-week__layout {
    display: grid;
    grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 0;
    flex: 1 1 auto;
  }

  .vsa-my-learning-week__media-col {
    align-self: start;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--vsa-elev-shadow-sm);
  }

  .vsa-my-learning-week__lessons-col {
    overflow-y: auto;
    min-height: 0;
    max-height: calc(100dvh - 168px);
    padding: 0 4px 0 0;
  }
}

@media (min-width: 1400px) {
  .vsa-courses-scope .vsa-my-courses-list,
  .vsa-courses-scope .vsa-my-courses-loading {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 24px 32px 48px;
  }

  .vsa-top--my-courses-inline .vsa-top__search,
  .vsa-top--my-courses .vsa-top__search {
    padding: 2px 32px 12px;
  }

  .vsa-my-learning-week__layout {
    grid-template-columns: minmax(400px, 480px) minmax(0, 1fr);
  }
}

