.utv-bundle-price-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 5;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.utv-bundle-detail {
  overflow: clip;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.utv-bundle-hero {
  position: relative;
  display: flex;
  min-height: clamp(31rem, 67vh, 45rem);
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
}

.utv-bundle-hero-image,
.utv-bundle-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.utv-bundle-hero-image {
  object-fit: cover;
}

.utv-bundle-hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.82) 34%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(0deg, var(--bs-body-bg) 0%, rgba(0, 0, 0, 0) 34%);
}

.utv-bundle-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
}

.utv-bundle-eyebrow,
.utv-bundle-section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--bs-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.utv-bundle-hero h1 {
  max-width: 48rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.02;
}

.utv-bundle-description {
  max-width: 43rem;
  margin-bottom: 1.3rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.utv-bundle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.utv-bundle-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.utv-bundle-hero-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.utv-bundle-price {
  display: grid;
  gap: 0.1rem;
}

.utv-bundle-price small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.utv-bundle-price strong {
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 900;
}

.utv-bundle-start-button,
.utv-bundle-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  font-weight: 800;
}

.utv-bundle-selector {
  padding-top: clamp(2.75rem, 6vw, 5rem);
  padding-bottom: 5rem;
  scroll-margin-top: 5rem;
}

.utv-bundle-selector-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.utv-bundle-selector-heading h2 {
  margin: 0 0 0.45rem;
  color: var(--bs-heading-color);
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-weight: 850;
}

.utv-bundle-selector-heading p {
  margin: 0;
  color: var(--bs-body-color);
}

.utv-bundle-selector-heading p.is-complete {
  color: var(--bs-primary);
  font-weight: 700;
}

.utv-bundle-selection-count {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: var(--bs-gray-900);
}

.utv-bundle-selection-count strong {
  color: var(--bs-primary);
  font-size: 1.25rem;
}

.utv-bundle-selection-count span {
  color: var(--bs-body-color);
  font-size: 0.85rem;
  font-weight: 700;
}

.utv-bundle-search-wrap {
  position: relative;
  max-width: 31rem;
  margin-bottom: 1rem;
}

.utv-bundle-search-wrap i {
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 2;
  color: var(--bs-body-color);
  transform: translateY(-50%);
}

.utv-bundle-search-wrap .form-control {
  min-height: 3rem;
  padding-left: 2.75rem;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: var(--bs-gray-900);
  color: var(--bs-heading-color);
}

.utv-bundle-movie-box {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: var(--bs-gray-900);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
}

.utv-bundle-movie-scroll {
  max-height: 35.75rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.25rem 0.7rem 0.25rem 0.25rem;
  scrollbar-color: var(--bs-primary) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.utv-bundle-movie-scroll::-webkit-scrollbar {
  width: 0.48rem;
}

.utv-bundle-movie-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.utv-bundle-movie-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--bs-primary);
}

.utv-bundle-movie-scroll:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 0.35rem;
}

.utv-bundle-movie-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.utv-bundle-movie-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: #141414;
  color: #fff;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.utv-bundle-movie-card:not(:disabled):hover,
.utv-bundle-movie-card:not(:disabled):focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.7);
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.utv-bundle-movie-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.utv-bundle-movie-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
}

.utv-bundle-movie-image::after {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  content: '';
  transition: background 180ms ease;
}

.utv-bundle-movie-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.utv-bundle-owned-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  max-width: calc(100% - 4rem);
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.utv-bundle-movie-title {
  display: block;
  min-height: 3.55rem;
  padding: 0.75rem;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.utv-bundle-movie-check {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: transparent;
  backdrop-filter: blur(8px);
}

.utv-bundle-movie-card.is-selected {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 1px var(--bs-primary), 0 0.9rem 2rem rgba(var(--bs-primary-rgb), 0.16);
}

.utv-bundle-movie-card.is-selected .utv-bundle-movie-image::after {
  background: rgba(var(--bs-primary-rgb), 0.14);
}

.utv-bundle-movie-card.is-selected .utv-bundle-movie-check {
  border-color: var(--bs-primary);
  background: var(--bs-primary);
  color: #fff;
}

.utv-bundle-movie-card:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  filter: grayscale(0.45);
}

.utv-bundle-movie-card.is-selected:disabled {
  opacity: 1;
  filter: none;
}

.utv-bundle-no-results {
  margin: 3rem 1rem;
  color: var(--bs-body-color);
  text-align: center;
}

.utv-bundle-selected-summary {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0;
  color: var(--bs-body-color);
  font-size: 0.88rem;
}

.utv-bundle-selected-label {
  color: var(--bs-heading-color);
  font-weight: 800;
}

.utv-bundle-purchase-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(16, 16, 16, 0.94);
  box-shadow: 0 1.2rem 3.5rem rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(18px);
}

.utv-bundle-selector.is-selection-active .utv-bundle-purchase-bar {
  position: sticky;
  bottom: 1rem;
}

.bundle-selector-active #top {
  display: none !important;
}

.utv-bundle-purchase-progress,
.utv-bundle-purchase-price {
  display: grid;
  gap: 0.1rem;
}

.utv-bundle-purchase-progress strong,
.utv-bundle-purchase-price strong {
  color: var(--bs-heading-color);
  font-size: 1.08rem;
  font-weight: 900;
}

.utv-bundle-purchase-progress span,
.utv-bundle-purchase-price span {
  color: var(--bs-body-color);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.utv-bundle-continue {
  min-width: 10rem;
}

.utv-bundle-continue:disabled {
  border-color: var(--bs-gray-700);
  background: var(--bs-gray-700);
  color: rgba(255, 255, 255, 0.52);
  opacity: 1;
}

@media (max-width: 1199.98px) {
  .utv-bundle-movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .utv-bundle-hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.54) 70%, rgba(0, 0, 0, 0.58) 100%),
      linear-gradient(0deg, var(--bs-body-bg) 0%, rgba(0, 0, 0, 0.08) 48%);
  }

  .utv-bundle-movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .utv-bundle-hero {
    min-height: 38rem;
  }

  .utv-bundle-hero-shade {
    background: linear-gradient(0deg, var(--bs-body-bg) 3%, rgba(0, 0, 0, 0.84) 43%, rgba(0, 0, 0, 0.28) 100%);
  }

  .utv-bundle-hero-content {
    padding-bottom: 2.5rem;
  }

  .utv-bundle-selector-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .utv-bundle-movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .utv-bundle-movie-scroll {
    max-height: 21.25rem;
  }

  .utv-bundle-purchase-bar {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
  }

  .utv-bundle-continue {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .utv-bundle-hero {
    min-height: 34rem;
  }

  .utv-bundle-hero-action {
    align-items: stretch;
    flex-direction: column;
  }

  .utv-bundle-start-button {
    width: 100%;
  }

  .utv-bundle-movie-box {
    padding: 0.7rem;
  }

  .utv-bundle-movie-title {
    min-height: 3.35rem;
    padding: 0.65rem;
    font-size: 0.76rem;
  }

  .utv-bundle-selected-summary {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .utv-bundle-movie-card {
    transition: none;
  }

  .utv-bundle-movie-card:not(:disabled):hover,
  .utv-bundle-movie-card:not(:disabled):focus-visible {
    transform: none;
  }
}
