/* Desktop command header */
@media (min-width: 1121px) {
  .tvlab-header-v2.tvlab-header-pro {
    display: grid !important;
    grid-template-columns: minmax(190px, 1fr) auto minmax(360px, 1.35fr);
    align-items: center;
    gap: 22px;
    min-height: 84px;
    height: 84px;
  }

  .tvlab-header-pro::before {
    border-bottom-color: rgba(72, 88, 103, .58);
    background:
      linear-gradient(90deg, rgba(183, 255, 51, .035), transparent 28%),
      rgba(9, 12, 16, .92);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    backdrop-filter: blur(22px) saturate(135%);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
  }

  .tvlab-header-pro::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 96px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b7ff33, rgba(183, 255, 51, 0));
    box-shadow: 0 0 18px rgba(183, 255, 51, .34);
  }

  .tvlab-header-pro .brand {
    min-width: 0;
    gap: 9px;
    white-space: nowrap;
  }

  .tvlab-header-pro .brand em {
    display: none;
  }

  .tvlab-brand-service {
    margin-left: 4px;
    padding-left: 13px;
    border-left: 1px solid #34404c;
    color: #7f8b98;
    font-size: 9px;
    font-weight: 760;
    letter-spacing: .06em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .tvlab-header-pro .tvlab-desktop-nav {
    justify-self: center;
    gap: 0;
    height: 48px;
    padding: 0 8px;
    border-width: 0 1px;
    border-color: #2b3540;
    border-radius: 0;
    background: transparent;
  }

  .tvlab-header-pro .tvlab-nav-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 10px;
    color: #a8b2bd;
    font-size: 11px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease, transform .2s ease;
  }

  .tvlab-header-pro .tvlab-nav-link:hover {
    color: #f4f7fa;
    background: #171e26;
    transform: translateY(-1px);
  }

  .tvlab-header-pro .tvlab-nav-link[aria-current="page"] {
    color: #0b0d11;
    background: #b7ff33;
  }

  .tvlab-header-pro .header-actions {
    min-width: 0;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .tvlab-header-contact {
    min-width: 148px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .tvlab-header-contact > span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7f8b98;
    font-size: 8px;
    font-weight: 760;
    letter-spacing: .045em;
    text-transform: uppercase;
  }

  .tvlab-header-contact > span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b7ff33;
    box-shadow: 0 0 0 4px rgba(183, 255, 51, .1), 0 0 12px rgba(183, 255, 51, .34);
  }

  .tvlab-header-pro .tvlab-header-contact .phone-pill {
    min-height: auto;
    padding: 0;
    color: #f4f7fa;
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.025em;
  }

  .tvlab-header-pro .tvlab-header-contact .phone-pill::before {
    content: none;
  }

  .tvlab-quiz-open {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 17px;
    border: 1px solid #b7ff33;
    border-radius: 14px;
    color: #0b0d11;
    background: #b7ff33;
    box-shadow: 0 10px 28px rgba(183, 255, 51, .13);
    font-family: inherit;
    font-size: 11px;
    font-weight: 820;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }

  .tvlab-quiz-open b {
    font-size: 14px;
  }

  .tvlab-quiz-open:hover {
    transform: translateY(-2px);
    background: #c4ff57;
    box-shadow: 0 14px 34px rgba(183, 255, 51, .2);
  }
}

@media (max-width: 1220px) and (min-width: 1121px) {
  .tvlab-header-v2.tvlab-header-pro {
    grid-template-columns: 172px auto 318px;
    gap: 12px;
  }

  .tvlab-brand-service {
    display: none;
  }

  .tvlab-header-pro .tvlab-nav-link {
    padding: 0 8px;
    font-size: 10px;
  }

  .tvlab-header-contact {
    min-width: 137px;
  }

  .tvlab-quiz-open {
    padding: 0 13px;
  }
}

@media (max-width: 1120px) {
  .tvlab-header-pro .tvlab-header-contact,
  .tvlab-header-pro .tvlab-quiz-open,
  .tvlab-header-pro .tvlab-brand-service {
    display: none;
  }
}

/* Price quiz */
body.tvlab-quiz-lock {
  overflow: hidden;
}

.tvlab-quiz[hidden] {
  display: none;
}

.tvlab-quiz {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.tvlab-quiz-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 5, 8, .82);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
  cursor: default;
}

.tvlab-quiz-panel {
  --quiz-progress: 50%;
  position: relative;
  width: min(880px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #34404c;
  border-radius: 30px;
  color: #f4f7fa;
  background:
    radial-gradient(circle at 88% 2%, rgba(183, 255, 51, .1), transparent 26%),
    #0d1218;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .62);
  animation: tvlab-quiz-enter .3s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes tvlab-quiz-enter {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.tvlab-quiz-panel-head,
.tvlab-quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tvlab-quiz-panel-head {
  min-height: 78px;
  padding: 0 30px;
  border-bottom: 1px solid #29333e;
}

.tvlab-quiz-panel-head > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tvlab-quiz-panel-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7ff33;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
}

.tvlab-quiz-panel-head span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7ff33;
  box-shadow: 0 0 14px rgba(183, 255, 51, .52);
}

.tvlab-quiz-panel-head > div > b {
  color: #7f8b98;
  font-size: 10px;
  font-weight: 650;
}

.tvlab-quiz-close {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid #34404c;
  border-radius: 50%;
  color: #c8d0d9;
  background: #151c24;
  font-family: inherit;
  font-size: 25px;
  font-weight: 350;
  line-height: 1;
  cursor: pointer;
}

.tvlab-quiz-progress {
  height: 3px;
  background: #1c252e;
}

.tvlab-quiz-progress i {
  width: var(--quiz-progress);
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #8fc91e, #b7ff33);
  box-shadow: 0 0 18px rgba(183, 255, 51, .25);
  transition: width .3s ease;
}

.tvlab-quiz-meta {
  padding: 16px 30px 0;
  color: #687582;
  font-size: 10px;
  font-weight: 700;
}

.tvlab-quiz-meta b {
  color: #aab5c0;
}

.tvlab-quiz-step {
  display: none;
  padding: 24px 30px 32px;
}

.tvlab-quiz-step.is-active {
  display: block;
  animation: tvlab-quiz-step .24s ease both;
}

@keyframes tvlab-quiz-step {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

.tvlab-quiz-kicker {
  color: #b7ff33;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
}

.tvlab-quiz-step h2 {
  margin: 9px 0 10px;
  color: #f7f9fb;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
  letter-spacing: -.055em;
  outline: none;
}

.tvlab-quiz-step > p {
  max-width: 650px;
  margin: 0;
  color: #8d99a6;
  font-size: 13px;
  line-height: 1.55;
}

.tvlab-quiz-options {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}

.tvlab-quiz-symptoms {
  grid-template-columns: 1fr 1fr;
}

.tvlab-quiz-options button {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 17px;
  border: 1px solid #2c3742;
  border-radius: 16px;
  color: #e7ecf1;
  background: #141b22;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.tvlab-quiz-options button:hover,
.tvlab-quiz-options button.is-selected {
  border-color: #8fc91e;
  background: #1a241d;
  transform: translateY(-2px);
}

.tvlab-quiz-symptoms button i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #a8b3bf;
  background: #202933;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.tvlab-quiz-symptoms button span {
  flex: 1;
  font-size: 13px;
  font-weight: 750;
}

.tvlab-quiz-symptoms button b {
  color: #b7ff33;
  font-size: 15px;
}

.tvlab-quiz-sizes {
  grid-template-columns: repeat(5, 1fr);
}

.tvlab-quiz-sizes button {
  min-height: 106px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
}

.tvlab-quiz-sizes button span {
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -.025em;
}

.tvlab-quiz-sizes button small {
  color: #788592;
  font-size: 9px;
  line-height: 1.35;
}

.tvlab-quiz-prev {
  margin: 0 0 19px;
  padding: 0;
  border: 0;
  color: #95a1ad;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.tvlab-quiz-result-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  margin-top: 10px;
}

.tvlab-quiz-result-main,
.tvlab-quiz-result-facts > div {
  border: 1px solid #303b46;
  border-radius: 20px;
  background: #131a21;
}

.tvlab-quiz-result-main {
  padding: 24px;
}

.tvlab-quiz-selection {
  display: block;
  color: #a8b3bd;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tvlab-quiz-price {
  display: block;
  margin: 10px 0 12px;
  color: #b7ff33;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
}

.tvlab-quiz-result-main p {
  margin: 0;
  color: #7f8c98;
  font-size: 11px;
  line-height: 1.55;
}

.tvlab-quiz-result-facts {
  display: grid;
  gap: 12px;
}

.tvlab-quiz-result-facts > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px;
}

.tvlab-quiz-result-facts small {
  color: #6f7c89;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tvlab-quiz-result-facts b {
  color: #e2e8ed;
  font-size: 12px;
  line-height: 1.4;
}

.tvlab-quiz-form {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid #34404c;
  border-radius: 20px;
  background: #eef4ec;
}

.tvlab-quiz-form > .tvlab-quiz-context {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.tvlab-quiz-form > label {
  display: block;
  margin-bottom: 10px;
  color: #10151b;
  font-size: 13px;
  font-weight: 820;
}

.tvlab-quiz-form .form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.tvlab-quiz-form input {
  min-height: 54px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid #aab8a6;
  border-radius: 13px;
  color: #11171d;
  background: #fff;
  font: inherit;
}

.tvlab-quiz-form .button {
  min-height: 54px;
  border-radius: 13px;
}

.tvlab-quiz-form > small {
  display: block;
  margin-top: 9px;
  color: #6f7d72;
  font-size: 9px;
  line-height: 1.45;
}

.tvlab-quiz-form > small a {
  color: #4d651f;
  text-decoration: underline;
}

.tvlab-quiz-form .tvlab-protection-note,
.tvlab-quiz-form .tvlab-form-status,
.tvlab-quiz-form .tvlab-turnstile-retry {
  color: #52605a;
}

.tvlab-quiz-form .tvlab-form-status.is-error {
  color: #c52e35;
}

.tvlab-quiz-close:focus-visible,
.tvlab-quiz-prev:focus-visible,
.tvlab-quiz-options button:focus-visible,
.tvlab-quiz-open:focus-visible,
.tvlab-quiz-form input:focus-visible,
.tvlab-quiz-form button:focus-visible {
  outline: 3px solid rgba(183, 255, 51, .35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .tvlab-quiz {
    align-items: end;
    padding: 10px;
  }

  .tvlab-quiz-panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 24px;
  }

  .tvlab-quiz-panel-head {
    min-height: 66px;
    padding: 0 18px;
  }

  .tvlab-quiz-panel-head > div > b {
    display: none;
  }

  .tvlab-quiz-meta {
    padding: 12px 18px 0;
  }

  .tvlab-quiz-step {
    padding: 19px 18px 24px;
  }

  .tvlab-quiz-step h2 {
    font-size: 36px;
  }

  .tvlab-quiz-symptoms,
  .tvlab-quiz-result-grid {
    grid-template-columns: 1fr;
  }

  .tvlab-quiz-options {
    gap: 8px;
    margin-top: 18px;
  }

  .tvlab-quiz-options button {
    min-height: 58px;
  }

  .tvlab-quiz-sizes {
    grid-template-columns: 1fr 1fr;
  }

  .tvlab-quiz-sizes button {
    min-height: 82px;
  }

  .tvlab-quiz-sizes button:last-child {
    grid-column: 1 / -1;
  }

  .tvlab-quiz-result-main {
    padding: 18px;
  }

  .tvlab-quiz-price {
    font-size: 38px;
  }

  .tvlab-quiz-result-facts {
    grid-template-columns: 1fr 1fr;
  }

  .tvlab-quiz-form {
    padding: 14px;
  }

  .tvlab-quiz-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .tvlab-quiz-panel-head span {
    font-size: 8px;
  }

  .tvlab-quiz-meta span {
    display: none;
  }

  .tvlab-quiz-step h2 {
    font-size: 31px;
  }

  .tvlab-quiz-result-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvlab-quiz-panel,
  .tvlab-quiz-step {
    animation: none;
  }

  .tvlab-quiz-progress i,
  .tvlab-quiz-options button,
  .tvlab-quiz-open {
    transition: none;
  }
}
