.hero--coupon,
.hero--coupon .hero__content {
  min-height: 410px;
}

.hero--coupon .hero__content {
  align-items: flex-end;
  padding-bottom: 18px;
}

.hero--coupon .hero__dots {
  bottom: 18px;
  right: 18px;
}

.portal-subpage--coupon {
  min-height: 640px;
  padding: 54px 0 80px;
}

.portal-subpage__inner--coupon {
  width: min(1084px, calc(100vw - 40px));
}

.portal-coupon {
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.portal-coupon__card {
  width: min(420px, 100%);
  margin: 0 auto;
}

.portal-coupon__heading {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 28px auto 26px;
}

.portal-coupon__brand-logo {
  display: block;
  width: min(100%, 188px);
  height: auto;
}

.portal-coupon__heading-copy strong,
.portal-coupon__heading-copy span {
  display: block;
}

.portal-coupon__heading-copy strong {
  color: #343434;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.portal-coupon__heading-copy span {
  margin-top: 6px;
  color: #8abc16;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.portal-coupon__form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(400px, 100%);
  margin: 0 auto;
}

.portal-coupon__input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: linear-gradient(180deg, #f2f2f2 0%, #ececec 100%);
  color: #515151;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.portal-coupon__input:focus-visible {
  border-color: #a7d52a;
  box-shadow: 0 0 0 3px rgba(167, 213, 42, 0.16);
  outline: none;
}

.portal-coupon__submit {
  display: block;
  width: min(242px, 100%);
  margin: 30px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.portal-coupon__submit img {
  display: block;
  width: 100%;
  height: auto;
}

.portal-coupon__status {
  min-height: 22px;
  margin-top: 16px;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.7;
}

.portal-coupon__status a {
  color: #8abc16;
  font-weight: 700;
}

.portal-coupon__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.portal-coupon__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #9d9d9d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.portal-coupon__back img {
  display: block;
  width: auto;
  height: 38px;
}

.portal-coupon__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}

.portal-coupon__panel {
  padding: 22px 24px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fafafa;
}

.portal-coupon__panel h3 {
  margin: 0 0 12px;
  color: #171717;
  font-size: 18px;
}

.portal-coupon__panel p,
.portal-coupon__panel li,
.portal-coupon__history-item span {
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.8;
}

.portal-coupon__panel ul {
  margin: 0;
  padding-left: 18px;
}

.portal-coupon__history-list {
  display: grid;
  gap: 10px;
}

.portal-coupon__history-item {
  padding-bottom: 10px;
  border-bottom: 1px solid #ededed;
}

.portal-coupon__history-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.portal-coupon__history-item strong {
  display: block;
  color: #111111;
  font-size: 14px;
}

@media (max-width: 720px) {
  .hero--coupon,
  .hero--coupon .hero__content {
    min-height: 260px;
  }

  .portal-subpage--coupon {
    padding: 40px 0 56px;
  }

  .portal-coupon__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-coupon__meta {
    grid-template-columns: 1fr;
  }
}
