.rc18-promo-code {
  margin: 8px 0 14px;
  padding: 14px;
  border: 1px solid #e8e6df;
  border-radius: 20px;
  background: #fbfaf7;
}

.rc18-promo-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rc18-promo-heading > div span,
.rc18-promo-heading > div strong {
  display: block;
}

.rc18-promo-heading > div span {
  margin-bottom: 3px;
  color: #8a8177;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
}

.rc18-promo-heading > div strong {
  color: #191713;
  font-size: 16px;
  font-weight: 650;
}

.rc18-promo-heading small {
  color: #8d877f;
  font-size: 11px;
  text-align: right;
}

.rc18-promo-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.rc18-promo-input {
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #ddd8cf;
  border-radius: 14px;
  background: #fff;
  color: #171512;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  outline: none;
}

.rc18-promo-input:focus {
  border-color: #171512;
  box-shadow: 0 0 0 2px rgba(23, 21, 18, .08);
}

.rc18-promo-apply {
  min-width: 78px;
  height: 46px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: #171512;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.rc18-promo-apply:disabled {
  opacity: .55;
}

.rc18-promo-message {
  min-height: 17px;
  margin: 8px 2px 0;
  color: #77716a;
  font-size: 11.5px;
  line-height: 1.4;
}

.rc18-promo-message[data-tone="success"] {
  color: #23643b;
}

.rc18-promo-message[data-tone="error"] {
  color: #a43e35;
}

.rc18-promo-summary {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ddd7cd;
}

.rc18-promo-summary[hidden] {
  display: none;
}

.rc18-promo-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #625d56;
  font-size: 12px;
}

.rc18-promo-summary > div strong {
  color: #201d19;
  font-size: 12px;
}

.rc18-promo-summary .rc18-promo-discount,
.rc18-promo-summary .rc18-promo-discount strong {
  color: #23643b;
}

.rc18-promo-code[data-applied="true"] {
  border-color: #cddfcf;
  background: #f8fbf7;
}

@media (max-width: 380px) {
  .rc18-promo-heading small {
    display: none;
  }

  .rc18-promo-entry {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .rc18-promo-apply {
    min-width: 0;
    padding: 0 10px;
  }
}


/* Social promo checkout typography follows the Guest Hub soft-charcoal rule. */
.rc18-promo-code,
.rc18-promo-heading strong,
.rc18-promo-summary > div strong {
  color: #5f5b55;
}

.rc18-promo-heading strong,
.rc18-promo-summary > div strong,
.rc18-promo-apply {
  font-weight: 520;
}

.rc18-promo-heading small,
.rc18-promo-message {
  color: #8a867f;
}
