.cm-popup-trigger{
  -webkit-appearance:none;
  appearance:none;
  border:0;
  cursor:pointer;
  font:inherit;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-weight:700;
  padding:11px 22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:170px;
  margin:8px auto;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.cm-popup-trigger:hover{transform:translateY(-1px)}
.cm-popup-trigger:focus-visible{outline:2px solid #111;outline-offset:3px}
.cm-popup-trigger.boton-ver{
  color:#fff;
  background:linear-gradient(180deg,#f4434f 0%,#cf1f32 100%);
  box-shadow:0 4px 14px rgba(207,31,50,.28), inset 0 1px 0 rgba(255,255,255,.28);
  border:1px solid #b7142b;
}
.cm-popup-trigger.boton-ver:hover{box-shadow:0 7px 18px rgba(207,31,50,.36), inset 0 1px 0 rgba(255,255,255,.28)}
.cm-popup-trigger.boton-coti{
  color:#cf1f32;
  background:#fff;
  border:2px solid #cf1f32;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.cm-popup-trigger.boton-coti:hover{
  background:#fff5f6;
  box-shadow:0 7px 16px rgba(0,0,0,.10);
}
.cm-popup-dialog{
  box-sizing:border-box;
  width:var(--cm-width,70%);
  max-width:min(980px,calc(100vw - 32px));
  max-height:90vh;
  margin:auto;
  padding:0;
  border:0;
  border-radius:18px;
  background:#fff;
  color:#222;
  overflow:auto;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.cm-popup-dialog:not([open]){display:none!important}
.cm-popup-dialog::backdrop{background:rgba(0,0,0,.65)}
.cm-popup-dialog[open]{animation:cm-popup-in .22s ease}
.cm-popup-inner{position:relative;padding:28px 28px 30px}
.cm-popup-inner h2{
  margin:0 48px 10px 0;
  font-size:clamp(24px,2.4vw,34px);
  line-height:1.15;
  color:#202020;
}
.cm-popup-inner > p{
  margin:0 40px 18px 0;
  color:#5e5e5e;
}
.cm-popup-close{
  position:absolute;
  right:14px;
  top:14px;
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f5f5f5;
  border:1px solid #e4e4e4;
  border-radius:999px;
  color:#333;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.cm-popup-close:hover{background:#ededed}
.cm-popup-body{min-width:0}
.cm-popup-body > p:first-child{margin-top:0!important;margin-left:0!important;text-align:right}
.cm-popup-body iframe,
.cm-popup-body embed,
.cm-popup-body object,
.cm-popup-body canvas{max-width:100%}
.cm-popup-body img{max-width:100%;height:auto}
@keyframes cm-popup-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:767px){
  .cm-popup-trigger{min-width:160px;padding:10px 18px;font-size:14px}
  .cm-popup-dialog{width:calc(100vw - 24px);border-radius:14px}
  .cm-popup-inner{padding:20px}
  .cm-popup-inner h2{margin-right:44px;font-size:24px}
}
@media(prefers-reduced-motion:reduce){
  .cm-popup-trigger,.cm-popup-dialog[open]{transition:none;animation:none}
}
