#cdm-coupon,
#cdm-coupon * {
  box-sizing: border-box;
}
#cdm-coupon {
  position: fixed;
  inset: 0;
  width: 520px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: auto;
  background: #fff;
  color: #222;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 24px 80px rgb(0 0 0 / 25%);
}
#cdm-coupon:not([open]) { display: none; }
#cdm-coupon::backdrop {
  background: rgb(0 0 0 / 64%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
#cdm-coupon .cdm-coupon-hero {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 36px 24px;
  background: linear-gradient(rgb(0 0 0 / 45%), rgb(0 0 0 / 45%)), url('../assets/casa-do-mel/cupom-favo.jpg?v=202735-2') center / cover;
  color: #fff;
}
#cdm-coupon .cdm-coupon-badge {
  display: inline-block;
  padding: 3px 15px;
  border-radius: 30px;
  background: #fff;
  color: #222;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 18px;
}
#cdm-coupon #cdm-coupon-title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font: 700 28px/1.25 'Montserrat', 'Lato', Arial, sans-serif !important;
  letter-spacing: -.5px;
  text-transform: none;
}
#cdm-coupon #cdm-coupon-title strong { color: #ffcf44; font-weight: 800; }
#cdm-coupon .cdm-coupon-hero p { margin: 0; color: #fff; font-size: 16px; line-height: 24px; }
#cdm-coupon .cdm-coupon-body { position: relative; padding: 26px 30px 27px; }
#cdm-coupon #cdm-coupon-description { margin: 0 0 14px; color: #6b6b6b; font-size: 15px; line-height: 23px; }
#cdm-coupon .cdm-coupon-code-row {
  display: flex;
  width: 340px;
  max-width: 100%;
  min-height: 60px;
  margin: 0 auto;
  border: 2px dashed #222;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f7f3;
}
#cdm-coupon #cdm-coupon-code {
  display: block;
  width: 0;
  min-width: 0;
  flex: 1;
  height: auto;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #222;
  font: 700 21px/1.5 'Montserrat', 'Lato', Arial, sans-serif;
  letter-spacing: 2px;
  text-align: center;
  box-shadow: none;
}
#cdm-coupon .cdm-coupon-copy,
#cdm-coupon .cdm-coupon-close {
  appearance: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;
}
#cdm-coupon .cdm-coupon-copy {
  flex: 0 0 92px;
  padding: 12px 8px;
  background: #222;
  color: #fff;
  font: 700 12px/1.4 'Montserrat', 'Lato', Arial, sans-serif;
}
#cdm-coupon .cdm-coupon-copy:hover { background: #3c3c3c; }
#cdm-coupon .cdm-coupon-close {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: #fff;
  font: 300 30px/44px Arial, sans-serif;
}
#cdm-coupon :focus-visible { outline: 3px solid #ffcf44; outline-offset: -4px; }
#cdm-coupon .cdm-coupon-terms { margin: 13px 0 0; color: #929292; font-size: 11px; line-height: 18px; }
#cdm-coupon .cdm-coupon-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html.cdm-coupon-open { overflow: hidden; }
@media (max-width: 480px) {
  #cdm-coupon .cdm-coupon-body { padding: 24px 18px; }
  #cdm-coupon .cdm-coupon-hero { min-height: 190px; }
  #cdm-coupon #cdm-coupon-title { font-size: 26px !important; }
  #cdm-coupon #cdm-coupon-description { font-size: 14px; }
  #cdm-coupon #cdm-coupon-code { font-size: 18px; letter-spacing: 1.5px; padding: 10px 5px; }
  #cdm-coupon .cdm-coupon-copy { flex-basis: 86px; font-size: 11px; }
}
