article {
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 0;
}
@media screen and (max-width: 767px) {
    article {
      max-width: 920px;
      margin: 0 auto;
      padding: 20px;
  }
}

.otcs-coupon-block,
.otcs-top-banner {
  margin: 32px 0;
}

.otcs-coupon-block__inner,
.otcs-top-banner__link {
  display: block;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
}

.otcs-coupon-block__eyebrow,
.otcs-top-banner__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.otcs-coupon-block__title,
.otcs-top-banner__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
}

.otcs-coupon-block__description,
.otcs-top-banner__text {
  margin-top: 16px;
  color: #444;
  line-height: 1.9;
}

.otcs-coupon-block__remaining,
.otcs-top-banner__remaining {
  display: inline-block;
  margin: 18px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.otcs-coupon-block__panel {
  margin-top: 24px;
}

.otcs-coupon-form__fields {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.otcs-coupon-form__input,
.otcs-coupon-form__button {
  height: 56px;
  border-radius: 16px;
  font-size: 16px;
}

.otcs-coupon-form__input {
  width: 100%;
  padding: 0 18px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.otcs-coupon-form__button,
.otcs-top-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #81D8D0;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.otcs-top-banner__button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  margin-top: 18px;
}

.otcs-coupon-form__message {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.otcs-coupon-form__message.is-error {
  color: #c0392b;
}

.otcs-coupon-form__message.is-success {
  color: #1e7c63;
}

.otcs-coupon-block.is-ended .otcs-coupon-block__panel {
  filter: grayscale(1);
  opacity: .7;
}

.otcs-coupon-block__ended {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.otcs-top-banner__link {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}

.otcs-top-banner__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

@media (max-width: 767px) {
  .otcs-coupon-block__inner,
  .otcs-top-banner__link {
    padding: 20px;
  }

  .otcs-coupon-block__title,
  .otcs-top-banner__title {
    font-size: 24px;
  }

  .otcs-coupon-form__fields,
  .otcs-top-banner__link {
    grid-template-columns: 1fr;
  }
}

.otcs-coupon-block__panel {
  position: relative;
}

.otcs-coupon-block__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(120, 120, 120, 0.55);
  border-radius: 16px;
}

.otcs-coupon-block__overlay[hidden] {
  display: none !important;
}

.otcs-coupon-block__overlay-inner {
  width: 100%;
  max-width: 440px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.otcs-coupon-block__overlay-text {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  color: #222;
}

.otcs-coupon-block.is-ended .otcs-coupon-form {
  filter: grayscale(1);
  opacity: 0.65;
}

.otcs-coupon-block.is-ended .otcs-coupon-form__input,
.otcs-coupon-block.is-ended .otcs-coupon-form__button {
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .otcs-coupon-block__overlay-text {
      margin: 0;
      font-size: 18px;
      line-height: 1.6;
      font-weight: 700;
      color: #222;
  }
}

.otcs-top-link-wrap {
  text-align: center;
  margin: 24px 0;
}

.otcs-top-link-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  background: #81D8D0;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.otcs-top-link-button:hover {
  opacity: 0.85;
}