.tvvn-try-glasses-inline,
.tvvn-try-glasses-hook-button {
  margin-top: 12px;
}

.wui-gallery .tvvn-try-glasses-inline {
  position: absolute;
  left: 16px;
  top: 2ch;
  z-index: 5;
  transform: translateX(-50%);
  left: 50%;
}

.tvvn-try-glasses-button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: #30d17d;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
      text-transform: capitalize;
        border-radius: 30px;
}

.tvvn-try-glasses-button img {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.tvvn-try-glasses-button:hover,
.tvvn-try-glasses-button:focus-visible {
  background: #15ab5d;
  color: #fff;
}

.tvvn-try-modal[hidden] {
  display: none;
}

.tvvn-try-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 5vw;
}

.tvvn-try-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.tvvn-try-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  width: min(1120px, calc(100vw - 10vw));
  height: auto;
  min-height: 540px;
  background: #fff;
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.35);
}

.tvvn-try-modal.is-expanded .tvvn-try-dialog {
  width: 100vw;
  height: 100vh;
  max-width: none;
  min-height: 0;
}

.tvvn-try-view {
  position: relative;
  overflow: hidden;
  align-self: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eee9df;
}

.tvvn-try-video,
.tvvn-try-photo,
.tvvn-try-canvas,
.tvvn-try-canvas-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tvvn-try-canvas,
.tvvn-try-canvas-3d {
  display: block;
  object-fit: contain;
}

.tvvn-try-video,
.tvvn-try-photo {
  opacity: 0;
  object-fit: cover;
  pointer-events: none;
}

.tvvn-try-video.is-active,
.tvvn-try-canvas.is-mirrored,
.tvvn-try-canvas-3d.is-mirrored {
  transform: scaleX(-1);
}

.tvvn-try-canvas,
.tvvn-try-canvas-3d {
  z-index: 2;
}

.tvvn-try-canvas-3d {
  pointer-events: none;
}

.tvvn-try-canvas-3d[hidden] {
  display: none;
}

.tvvn-try-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  border-left: 1px solid #eee;
}

.tvvn-try-side h2 {
  margin: 0 0 15px;
  color: #111;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

.tvvn-try-card {
  border-radius: 8px;
  background: #f3f3f3;
  margin-bottom: 16px;
  padding: 15px;
}

.tvvn-try-card strong {
  display: block;
  color: #666;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.tvvn-try-card p {
  color: #222;
  font-size: 16px;
  margin: 0;
}

.tvvn-try-options-card[hidden] {
  display: none;
}
.tvvn-try-side-main{
  padding-top: 30px;
}
.tvvn-try-side-main[hidden],
.tvvn-try-lens-panel[hidden] {
  display: none;
}

.tvvn-try-options {
  display: grid;
  gap: 14px;
}

.tvvn-try-option-group {
  display: grid;
  gap: 8px;
}

.tvvn-try-option-label {
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tvvn-try-option-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tvvn-try-option-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  max-width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  padding: 5px 8px 5px 5px;
    margin: 0;
}

.tvvn-try-option-button:hover,
.tvvn-try-option-button:focus-visible {
  border-color: #30d17d;
}

.tvvn-try-option-button.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.tvvn-try-option-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.tvvn-try-option-button img,
.tvvn-try-option-visual {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.tvvn-try-lens-card {
  margin-bottom: 16px;
}

.tvvn-try-lens-summary {
  appearance: none;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  /* border: 1px solid #e2e2e2; */
  border-radius: 8px;
  background: #f3f3f3;
  color: #111;
  cursor: pointer;
  padding: 14px;
  text-align: left;
  padding: 15px !important;
}

.tvvn-try-lens-summary:hover,
.tvvn-try-lens-summary:focus-visible {
  border-color: #30d17d;
  background: #fff;
}

.tvvn-try-lens-summary-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tvvn-try-lens-summary-copy strong {
  display: block;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.tvvn-try-lens-summary-copy span {
  color: #666;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-transform: capitalize;
}

.tvvn-try-lens-summary-swatch,
.tvvn-try-lens-swatch {
  display: block;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.tvvn-try-lens-summary-swatch {
  width: 38px;
  height: 38px;
  background: #fff;
}

.tvvn-try-lens-summary-swatch.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}

.tvvn-try-lens-summary-swatch.has-image img {
  display: block;
  width: 100%;
  max-width: 38px;
  height: auto;
}

.tvvn-try-lens-summary-swatch.is-clear,
.tvvn-try-lens-swatch.is-clear {
  background:
    linear-gradient(135deg, transparent 46%, #d33 47%, #d33 53%, transparent 54%),
    #fff;
}

.tvvn-try-lens-chevron {
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  justify-self: end;
}

.tvvn-try-lens-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.tvvn-try-lens-back {
  appearance: none;
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  padding: 0;
  text-transform: uppercase;
  margin: 0;
      height: auto;
        min-height: auto;
        text-transform: capitalize;
            z-index: 99;
              top: -5px;
}

.tvvn-try-lens-back::before {
  content: "\2039";
  display: inline-block;
  font-size: 19px;
  line-height: 0;
  margin-right: 6px;
  transform: translateY(1px);
}

.tvvn-try-lens-panel h3 {
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
  margin: 8px 0 0 0;
}

.tvvn-try-lens-choice-list {
  display: grid;
  gap: 10px;
}

.tvvn-try-lens-choice {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  border: 1px solid #e1e1e1 !important;
  border-radius: 8px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 10px;
  text-align: left;
  margin: 0;
  padding: 0;
  border: none !important;
  box-shadow: none !important;
  min-height: auto;
  height: auto;
text-transform: capitalize;
}

.tvvn-try-lens-choice.is-active,
.tvvn-try-lens-swatch-button.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.tvvn-try-lens-swatch-button {
  position: relative;
}

.tvvn-try-lens-swatch-button.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
  transform: translate(-50%, -58%) rotate(45deg);
      width: 8px;
        height: 14px;
        border: solid #fff;
        border-width: 0 3px 3px 0;
}

.tvvn-try-header{
  display: block;
    float: left;
    width: 100%;
    z-index: 9;
    position: absolute;
    background: #fff;
    padding: 0;
    margin: 0;
    line-height: 1.3;
    top: 0;
    border-bottom: 1px solid #eee;
}

.tvvn-try-header  h2{
  margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
}
.tvvn-try-header img{
      background: #30d17d;
    width: 40px;
    padding: 5px;
    margin-right: 10px;
}

.tvvn-try-lens-choice .tvvn-try-lens-swatch {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.tvvn-try-lens-section {
  display: grid;
  gap: 12px;
}

.tvvn-try-lens-section-title {
  color: #111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.tvvn-try-lens-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.tvvn-try-lens-swatch-button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 5px;
  margin: 0;
}

.tvvn-try-lens-swatch-button:hover,
.tvvn-try-lens-swatch-button:focus-visible {
  border-color: #30d17d;
}

.tvvn-try-lens-swatch-button .tvvn-try-lens-swatch {
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 24px;
  min-height: 24px;
}

.tvvn-try-lens-swatch-button .tvvn-try-lens-swatch.has-image {
  display: flex;
  border-radius: 6px;
  background: transparent !important;
  box-shadow: none;
}

.tvvn-try-lens-swatch-button .tvvn-try-lens-swatch.has-image img {
  display: block;
  width: 100%;
  max-width: 34px;
  height: auto;
}

.tvvn-try-lens-levels[hidden] {
  display: none;
}

.tvvn-try-lens-levels {
  display: grid;
  gap: 6px;
  margin-top: 0px;
}

.tvvn-try-lens-level {
  appearance: none;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding: 0;
  margin: 0 !important;
  text-align: left;
  text-transform: capitalize;
      height: auto;
        min-height: auto;
}

.tvvn-try-lens-level-swatch {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.tvvn-try-lens-level.is-active .tvvn-try-lens-level-swatch {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #c88b18;
}
.tvvn-try-lens-level.is-active .tvvn-try-lens-level-swatch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
  transform: translate(-50%, -58%) rotate(45deg);
}

.tvvn-try-lens-level span:last-child {
  overflow-wrap: anywhere;
}

.tvvn-try-buy {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: #30d17d;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  min-height: 38px;
  padding: 2px 20px;
  margin: 0;
}

.tvvn-try-buy:hover,
.tvvn-try-buy:focus-visible {
  background: #15ab5d;
}

.tvvn-try-tuner {
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  color: #111;
  font-size: 13px;
}
.tvvn-try-tuner-toggle{
  margin: 0;
}

.tvvn-try-tuner[hidden] {
  display: none;
}

.tvvn-try-tuner-head,
.tvvn-try-tuner-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}

.tvvn-try-tuner-head {
  border-bottom: 1px solid #e4e4e4;
}

.tvvn-try-tuner-head strong {
  font-size: 14px;
  line-height: 1.2;
}

.tvvn-try-tuner-pose {
  margin-left: auto;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.tvvn-try-tuner-toggle,
.tvvn-try-tuner-actions button {
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  min-height: 32px;
  padding: 8px 10px;
}

.tvvn-try-tuner-actions button:last-child {
  border-color: #30d17d;
  background: #30d17d;
  color: #fff;
}

.tvvn-try-tuner-body {
  display: grid;
  gap: 10px;
  max-height: 310px;
  overflow: auto;
  padding: 12px;
}

.tvvn-try-tuner.is-collapsed .tvvn-try-tuner-body,
.tvvn-try-tuner.is-collapsed .tvvn-try-tuner-actions,
.tvvn-try-tuner.is-collapsed .tvvn-try-tuner-status {
  display: none;
}

.tvvn-try-tuner-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 64px;
  align-items: center;
  gap: 8px;
}

.tvvn-try-tuner-row.is-color {
  grid-template-columns: minmax(0, 1fr) 54px 80px;
}

.tvvn-try-tuner-row span {
  line-height: 1.2;
}

.tvvn-try-tuner-row input[type="range"] {
  width: 100%;
}

.tvvn-try-tuner-row input[type="number"],
.tvvn-try-tuner-row input[type="text"] {
  box-sizing: border-box;
  width: 64px;
  min-height: 30px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 4px 6px;
}

.tvvn-try-tuner-row input[type="color"] {
  width: 54px;
  min-height: 30px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 2px;
  background: #fff;
}

.tvvn-try-tuner-row.is-color input[type="text"] {
  width: 80px;
}

.tvvn-try-tuner-status {
  border-top: 1px solid #e4e4e4;
  padding: 9px 12px;
  color: #444;
  font-weight: 700;
}

.tvvn-try-close {
  position: absolute;
  top: -22px;
  right: -34px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #050505;
  cursor: pointer;
  z-index: 9;
}

.tvvn-try-close::before,
.tvvn-try-close::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 19px;
  width: 16px;
  height: 4px;
  border-radius: 4px;
  background: #fff;
}

.tvvn-try-close::before {
  transform: rotate(45deg);
}

.tvvn-try-close::after {
  transform: rotate(-45deg);
}

.tvvn-try-expand {
  position: absolute;
  top: 36px;
  left: 36px;
  z-index: 3;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: none;
}

.tvvn-try-expand::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 25px;
  height: 25px;
  border: 4px solid #080808;
  border-right: 0;
  border-bottom: 0;
}

.tvvn-try-expand::after {
  content: "";
  position: absolute;
  right: 21px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-top: 4px solid #080808;
  border-right: 4px solid #080808;
}

.tvvn-try-actions {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.tvvn-try-round {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  margin: 0;
}

.tvvn-try-camera {
  width: 60px;
  height: 60px;
}

.tvvn-try-camera::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 9px;
  width: 58px;
  height: 42px;
  border: 5px solid transparent;
  border-radius: 10px;
  background-image: url('../images/camera-mode.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px;
}

.tvvn-try-camera::after {
  content: "";
  position: absolute;
  left: 43px;
  top: 43px;
  width: 24px;
  height: 24px;
  border: 5px solid transparent;
  border-radius: 50%;
}

.tvvn-try-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.tvvn-try-upload::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 4px solid transparent;
  border-radius: 0;
  background-image: url('../images/image-mode.svg');
    background-repeat: no-repeat;
    background-position: center;
        background-size: 34px;
}

.tvvn-try-upload::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 34px;
  width: 22px;
  height: 14px;
  border-left: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: skew(-24deg);
}

.tvvn-try-status {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  max-width: min(360px, 80%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 18px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.tvvn-try-status[hidden] {
  display: none;
}

.tvvn-try-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .tvvn-try-modal {
    padding: 0;
  }

  .tvvn-try-side-main{
    padding: 0;
  }
  .tvvn-try-close{
        margin: 0 !important;
          top: 0 !important;
          border-radius: 0;
          right: 0 !important;
  }

  .tvvn-try-dialog,
  .tvvn-try-modal.is-expanded .tvvn-try-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100vw;
    height: 100vh;
    min-height: 0;
  }

  .tvvn-try-view {
    align-self: stretch;
    aspect-ratio: 4 / 3;
    background: #fff;
  }

    .tvvn-try-side{
      min-height: 49vh !important;
    }

  .tvvn-try-side {
    gap: 16px;
    max-height: 49vh;
    padding: 20px;
    border-left: 0;
    border-top: none;
    margin-bottom: 40px;
  }

  .tvvn-try-buy{
        position: fixed;
          bottom: 0;
          width: 100%;
          left: 0;
          border-radius: 0;
  }

  .tvvn-try-side h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .tvvn-try-card {
    margin-bottom: 10px;
    padding: 14px 16px;
  }

  .tvvn-try-card strong {
    font-size: 15px;
  }

  .tvvn-try-lens-card {
    margin-bottom: 10px;
  }

  .tvvn-try-lens-summary {
    min-height: 62px;
    padding: 10px 12px;
  }
  .tvvn-try-lens-section,
  .tvvn-try-lens-panel {
    gap: 5px;
  }

  .tvvn-try-lens-panel h3 {
    font-size: 20px;
  }

  .tvvn-try-lens-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
  }

  .tvvn-try-lens-swatch-button {
    padding: 5px;
  }

  .tvvn-try-lens-level {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 6px;
    font-size: 16px;
  }

  .tvvn-try-buy {
    min-height: 48px;
    font-size: 17px;
  }

    .tvvn-try-lens-panel h3{
      margin: 0;
      display: none;
    }
        .tvvn-try-lens-panel{
              min-height: auto;
        }

  .tvvn-try-close {
    top: 12px;
    right: 12px;
  }

  .tvvn-try-expand {
    top: 14px;
    left: 14px;
    width: 56px;
    height: 56px;
    display: none;
  }

  .tvvn-try-actions {
    bottom: 18px;
  }
  
    .tvvn-try-camera,.tvvn-try-round {
      width: 48px;
      height: 48px;
    }
        .tvvn-try-camera::before{
              left: 4px;
                top: 5px;
                width: 40px;
                height: 40px;
                    background-size: 30px;
        }
                .tvvn-try-upload::before {
                  left: 11px;
                  top: 12px;
                  width: 26px;
                  height: 26px;
                  background-size: 26px;
                }
                                .tvvn-try-glasses-button{
                                  padding: 10px 16px;
                                }

}
