/* ==========================================================================
   Themes page
   ========================================================================== */

/* ---------- hero ---------- */
.vc-themes-hero .vc-lead { font-weight: 400; }
.vc-themes-hero__jump { gap: 10px; }
.vc-themes-hero__chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  color: var(--vc-white); font-size: 14px; font-weight: 600;
  transition: background .2s, border-color .2s;
}
.vc-themes-hero__chip:hover { color: var(--vc-white); background: rgba(68, 138, 255, .25); border-color: var(--vc-blue); }
.vc-themes-hero__chip:active { background: rgba(68, 138, 255, .38); }
.vc-themes-hero__num {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--vc-blue); font-size: 12px; font-weight: 800;
}

/* ---------- showcase list ---------- */
.vc-themes { overflow: hidden; }
.vc-themes__list { display: grid; gap: 72px; }

.vc-theme { display: grid; gap: 40px; align-items: center; scroll-margin-top: calc(var(--vc-header-h) + 40px); }
.vc-theme__visual { position: relative; margin: 0 0 24px 14px; }

.vc-theme__stage {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 28px 18px 22px; border-radius: var(--vc-radius-lg);
  background:
    radial-gradient(circle at 78% 18%, rgba(68, 138, 255, .45) 0%, rgba(68, 138, 255, 0) 55%),
    var(--vc-gradient-dark);
  box-shadow: var(--vc-shadow-lg);
}
.vc-theme__stage::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}
.vc-theme__devices { position: relative; z-index: 1; width: 100%; max-width: 620px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); transition: transform .5s var(--vc-ease); }
.vc-theme:hover .vc-theme__devices { transform: translateY(-6px); }

.vc-theme__phone {
  position: absolute; z-index: 2; left: -14px; bottom: -24px; width: 24%; max-width: 150px;
  padding: 5px; border-radius: 20px; background: var(--vc-ink-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 24px 40px -12px rgba(14, 26, 53, .6);
  transform: rotate(-4deg); transition: transform .5s var(--vc-ease);
}
.vc-theme__phone img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; border-radius: 15px; }
.vc-theme__notch {
  position: absolute; z-index: 1; top: 9px; left: 50%; width: 32%; height: 6px; border-radius: 6px;
  transform: translateX(-50%); background: var(--vc-ink-2);
}
.vc-theme:hover .vc-theme__phone { transform: rotate(0) translateY(-6px); }

.vc-theme__body { position: relative; }
.vc-theme__index {
  display: block; margin-bottom: 8px; font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--vc-blue);
}
.vc-theme__title { margin-bottom: 16px; }
.vc-theme__text { font-size: 17px; line-height: 1.7; color: var(--vc-slate); }

.vc-theme__features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0 30px; }
.vc-theme__features > li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--vc-light); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--vc-ink);
}
.vc-theme__features .ic {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--vc-white); color: var(--vc-blue-700); font-size: 18px; box-shadow: var(--vc-shadow-sm);
}
.vc-theme__actions .vc-btn--ghost .ic { font-size: 16px; color: var(--vc-blue); }

@media (min-width: 640px) {
  .vc-theme__visual { margin: 0 0 30px 22px; }
  .vc-theme__stage { padding: 44px 36px 34px; }
  .vc-theme__phone { left: -22px; bottom: -30px; padding: 6px; border-radius: 24px; }
  .vc-theme__phone img { border-radius: 18px; }
  .vc-theme__features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .vc-themes__list { gap: 120px; }
  .vc-theme { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; }
  .vc-theme--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .vc-theme--flip .vc-theme__visual { order: 2; }
  .vc-theme__index { font-size: 84px; }
  .vc-theme__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .vc-theme__features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- partner themes ---------- */
.vc-themes-partners { padding-top: 0; }
.vc-themes-partners__band { gap: 24px; }
.vc-themes-partners__intro { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.vc-themes-partners__intro .vc-band__text { font-size: clamp(19px, 2.2vw, 24px); }
.vc-themes-partners__banner {
  position: relative; z-index: 1; display: block; width: 100%; overflow: hidden; border-radius: var(--vc-radius);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .25s var(--vc-ease), box-shadow .25s;
}
.vc-themes-partners__banner img { width: 100%; }
.vc-themes-partners__banner:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--vc-blue), var(--vc-shadow-lg); }
@media (min-width: 800px) {
  .vc-themes-partners__band { flex-direction: column; align-items: stretch; }
}

/* ---------- theme details page: hero ---------- */
.vc-thero { padding-bottom: 64px; }
.vc-thero__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 34px; font-size: 14px; color: var(--vc-gray-1); }
.vc-thero__crumbs a { color: var(--vc-gray-1); }
.vc-thero__crumbs a:hover { color: var(--vc-white); }
.vc-thero__crumbs .ic { font-size: 9px; opacity: .6; transform: rotate(-90deg); }
.vc-thero__crumbs [aria-current] { color: var(--vc-white); font-weight: 600; }

.vc-thero__grid { display: grid; gap: 56px; align-items: center; }
.vc-thero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.vc-thero__tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vc-white);
}
.vc-thero__tag .ic { font-size: 14px; color: var(--vc-blue); }
.vc-thero__tag--price { border-color: rgba(57, 201, 112, .5); background: rgba(57, 201, 112, .16); color: #7ff0a8; }
.vc-thero__title { margin-bottom: 0; }
.vc-thero__lead { margin-top: 20px; }

.vc-thero__facts {
  list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 40px 0 0; padding: 0; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--vc-radius); background: rgba(255, 255, 255, .1);
}
.vc-thero__fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px 18px; background: rgba(14, 26, 53, .72); }
.vc-thero__fact .ic { grid-row: span 2; font-size: 24px; color: var(--vc-blue); }
.vc-thero__fact b { font-size: 22px; font-weight: 800; line-height: 1.1; color: var(--vc-white); }
.vc-thero__fact span { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--vc-gray-1); }

.vc-thero__visual { position: relative; margin: 0 0 30px 18px; }
.vc-thero__stage {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 36px 24px 28px; border-radius: var(--vc-radius-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(circle at 75% 20%, rgba(68, 138, 255, .5) 0%, rgba(68, 138, 255, 0) 60%), rgba(255, 255, 255, .04);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.vc-thero__stage::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%);
}
.vc-thero__devices { position: relative; z-index: 1; width: 100%; max-width: 640px; filter: drop-shadow(0 26px 32px rgba(0, 0, 0, .5)); }
.vc-thero__phone {
  position: absolute; z-index: 2; left: -18px; bottom: -30px; width: 23%; max-width: 150px; padding: 5px;
  border-radius: 20px; background: var(--vc-ink-2); transform: rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 24px 40px -12px rgba(0, 0, 0, .7);
}
.vc-thero__phone img { width: 100%; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; border-radius: 15px; }
.vc-thero__notch { position: absolute; z-index: 1; top: 9px; left: 50%; width: 32%; height: 6px; border-radius: 6px; transform: translateX(-50%); background: var(--vc-ink-2); }

@media (min-width: 640px) {
  .vc-thero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vc-thero__fact { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 6px; padding: 18px; }
  .vc-thero__fact .ic { grid-row: auto; }
  .vc-thero__stage { padding: 48px 38px 38px; }
}
@media (min-width: 1100px) {
  .vc-thero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; }
  .vc-thero__visual { margin: 0 0 30px 24px; }
}

/* ---------- theme details page: features ---------- */
.vc-tfeat__grid { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.vc-tfeat__item {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 18px; text-align: center;
  border: 1px solid var(--vc-line); border-radius: var(--vc-radius-lg); background: var(--vc-white);
  transition: transform .25s var(--vc-ease), box-shadow .25s, border-color .25s;
}
.vc-tfeat__item:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--vc-shadow); }
.vc-tfeat__name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--vc-ink); }

/* ---------- theme details page: specifications ---------- */
.vc-tspec__grid { display: grid; gap: 24px; align-items: start; }
.vc-tspec__card { padding: 26px 22px; border: 1px solid var(--vc-line); border-radius: var(--vc-radius-lg); background: var(--vc-white); box-shadow: var(--vc-shadow-sm); }
.vc-tspec__title { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--vc-ink); }
.vc-tspec__title .ic {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--vc-blue-tint); color: var(--vc-blue-700); font-size: 19px;
}
.vc-tspec__list { margin: 0; }
.vc-tspec__row { display: grid; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--vc-line); }
.vc-tspec__row:last-child { border-bottom: 0; padding-bottom: 0; }
.vc-tspec__row dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--vc-gray-2); }
.vc-tspec__row dd { margin: 0; }
.vc-tspec__value { font-size: 16px; font-weight: 700; color: var(--vc-ink); }
.vc-tspec__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.vc-tspec__chips > li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px;
  background: var(--vc-light); box-shadow: inset 0 0 0 1px var(--vc-line); font-size: 14px; font-weight: 600; color: var(--vc-ink);
}
.vc-tspec__chips img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }
.vc-tspec__swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(14, 26, 53, .2); }

.vc-tspec__meter { margin: 6px 0 22px; }
.vc-tspec__meter-text { margin-bottom: 10px; font-size: 14px; color: var(--vc-slate); }
.vc-tspec__meter-text b { font-size: 18px; color: var(--vc-ink); }
.vc-tspec__meter-bar { height: 8px; overflow: hidden; border-radius: 8px; background: var(--vc-light); box-shadow: inset 0 0 0 1px var(--vc-line); }
.vc-tspec__meter-bar span { display: block; height: 100%; border-radius: 8px; background: var(--vc-gradient); }
.vc-tspec__funcs { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.vc-tspec__funcs > li {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px;
  background: var(--vc-blue-wash); font-size: 14px; font-weight: 600; color: var(--vc-ink);
}
.vc-tspec__funcs .ic { flex: 0 0 auto; font-size: 18px; color: var(--vc-blue-700); }
.vc-tspec__funcs > li.is-off { background: transparent; box-shadow: inset 0 0 0 1px var(--vc-line); color: var(--vc-gray-2); }
.vc-tspec__funcs > li.is-off .ic { color: var(--vc-gray-1); }
.vc-tspec__funcs s { text-decoration-thickness: 1.5px; }

.vc-tspec__help { margin-top: 32px; }
.vc-tspec__help-text { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.vc-tspec__help-sub { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--vc-gray-1); }
.vc-tspec__help-actions { position: relative; z-index: 1; gap: 12px; }

@media (min-width: 640px) {
  .vc-tspec__card { padding: 32px 34px; }
  .vc-tspec__row { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: center; }
}
@media (min-width: 1100px) {
  .vc-tspec__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}

/* ---------- version band ---------- */
.vc-themes-version { padding-top: 0; }
.vc-themes-version.vc-tdetail-version { padding-top: 56px; }
.vc-themes-version .vc-btn .ic { font-size: 11px; }
