.afp-widget .afp-discount-note {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 20px !important;
  overflow: hidden !important;
}

.afp-widget .afp-discount-note__main {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.afp-widget .afp-discount-note__content {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
  writing-mode: horizontal-tb !important;
}

.afp-widget .afp-discount-note__content strong,
.afp-widget .afp-discount-note__content span {
  display: block !important;
  margin: 0 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.afp-widget .afp-discount-note__action {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
}

.afp-widget .afp-discount-note__button.button,
.afp-widget .afp-discount-note__action .afp-note-link-button.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  border: 1px solid var(--afp-note-button-border, rgba(181,108,82,.20)) !important;
  background: var(--afp-note-button-bg, transparent) !important;
  color: var(--afp-note-button-text, var(--afp-accent, #b56c52)) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease !important;
  cursor: pointer !important;
}

.afp-widget .afp-discount-note__button.button:hover,
.afp-widget .afp-discount-note__button.button:focus-visible,
.afp-widget .afp-discount-note__action .afp-note-link-button.button:hover,
.afp-widget .afp-discount-note__action .afp-note-link-button.button:focus-visible {
  background: var(--afp-note-button-hover-bg, rgba(181,108,82,.06)) !important;
  color: var(--afp-note-button-hover-text, var(--afp-note-button-text, var(--afp-accent, #b56c52))) !important;
  border-color: var(--afp-note-button-hover-border, rgba(181,108,82,.24)) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(181,108,82,.10) !important;
  outline: none !important;
}

@media (max-width: 900px) {
  .afp-widget .afp-discount-note {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .afp-widget .afp-discount-note__action {
    justify-content: stretch !important;
  }

  .afp-widget .afp-discount-note__button.button,
  .afp-widget .afp-discount-note__action .afp-note-link-button.button {
    width: 100% !important;
  }
}
