.yt-coupon,
.yt-coupon * {
  box-sizing: border-box;
}

.yt-coupon {
  --yt-black: #0d0d0d;
  --yt-ink: #161616;
  --yt-muted: #6c6c73;
  --yt-line: #e3e3e7;
  --yt-soft: #f4f4f5;
  width: min(100%, 430px);
  margin: 0 auto;
  color: var(--yt-ink);
  font-family: inherit;
  text-align: left;
}

.yt-coupon__step[hidden] {
  display: none !important;
}

.yt-coupon__step {
  animation: ytCouponIn 220ms ease-out;
}

.yt-coupon__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--yt-soft);
  color: var(--yt-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1;
}

.yt-coupon__title {
  max-width: 370px;
  margin: 0;
  color: var(--yt-black);
  font-size: clamp(25px, 6.5vw, 31px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.05;
  outline: none;
}

.yt-coupon__intro {
  margin: 9px 0 20px;
  color: var(--yt-muted);
  font-size: 14px;
  line-height: 1.4;
}

.yt-coupon__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.yt-coupon__choice {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.yt-coupon__choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.yt-coupon__choice-copy {
  display: flex;
  min-height: 69px;
  padding: 12px 13px;
  border: 1px solid var(--yt-line);
  border-radius: 14px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.yt-coupon__choice:hover .yt-coupon__choice-copy,
.yt-coupon__choice input:focus-visible + .yt-coupon__choice-copy {
  border-color: #999;
  transform: translateY(-1px);
}

.yt-coupon__choice input:checked + .yt-coupon__choice-copy {
  border-color: var(--yt-black);
  background: #f7f7f7;
  box-shadow: inset 0 0 0 1px var(--yt-black);
}

.yt-coupon__choice strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yt-coupon__choice small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--yt-muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yt-coupon__back {
  display: inline-flex;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--yt-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.yt-coupon__form {
  display: grid;
  gap: 12px;
}

.yt-coupon__field {
  display: block;
  margin: 0;
}

.yt-coupon__field > span:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.yt-coupon__field input {
  width: 100%;
  height: 49px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--yt-line);
  border-radius: 9px;
  background: #fff;
  color: var(--yt-ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.yt-coupon__field input:focus {
  border-color: var(--yt-black);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

.yt-coupon__field input::placeholder {
  color: #929299;
  opacity: 1;
}

.yt-coupon__phone {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: 49px;
  overflow: hidden;
  border: 1px solid var(--yt-line);
  border-radius: 9px;
  background: #fff;
}

.yt-coupon__country {
  display: flex;
  height: 100%;
  padding: 0 12px;
  border-right: 1px solid var(--yt-line);
  align-items: center;
  color: #444;
  font-size: 13px;
  white-space: nowrap;
}

.yt-coupon__phone input {
  height: 47px;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.yt-coupon__consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  margin: 0;
  align-items: start;
  color: #555;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
}

.yt-coupon__consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--yt-black);
}

.yt-coupon__submit,
.yt-coupon__shop {
  display: flex;
  width: 100%;
  min-height: 49px;
  border: 1px solid var(--yt-black);
  border-radius: 9px;
  background: var(--yt-black);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition: opacity 160ms ease, transform 160ms ease;
}

.yt-coupon__submit:hover,
.yt-coupon__shop:hover {
  color: #fff;
  opacity: .88;
  transform: translateY(-1px);
}

.yt-coupon__submit:disabled {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.yt-coupon__error {
  margin: -3px 0 0;
  padding: 9px 11px;
  border-radius: 7px;
  background: #fff1f1;
  color: #9f1c1c;
  font-size: 12px;
  line-height: 1.35;
}

.yt-coupon__honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.yt-coupon__step--success {
  padding: 4px 0 0;
  text-align: center;
}

.yt-coupon__step--success .yt-coupon__title {
  margin-inline: auto;
}

.yt-coupon__step--success .yt-coupon__intro {
  margin-bottom: 16px;
}

.yt-coupon__success-icon {
  display: flex;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--yt-black);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.yt-coupon__code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0 auto 13px;
  overflow: hidden;
  border: 1px dashed #aaa;
  border-radius: 10px;
  background: var(--yt-soft);
}

.yt-coupon__code {
  display: flex;
  min-height: 53px;
  padding: 0 16px;
  align-items: center;
  justify-content: flex-start;
  color: var(--yt-black);
  font-size: 20px;
  letter-spacing: .08em;
}

.yt-coupon__copy {
  padding: 0 15px;
  border: 0;
  border-left: 1px solid #ccc;
  background: #fff;
  color: var(--yt-black);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.yt-coupon__fineprint {
  margin: 0 0 17px;
  color: var(--yt-muted);
  font-size: 11px;
  line-height: 1.4;
}

@keyframes ytCouponIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 430px) {
  .yt-coupon__choices {
    gap: 8px;
  }

  .yt-coupon__choice-copy {
    min-height: 64px;
    padding: 10px;
  }

  .yt-coupon__choice strong {
    font-size: 13px;
  }

  .yt-coupon__choice small {
    font-size: 10px;
  }

  .yt-coupon__title {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yt-coupon__step,
  .yt-coupon__choice-copy,
  .yt-coupon__submit,
  .yt-coupon__shop {
    animation: none;
    transition: none;
  }
}

