:root {
  --ujpop-blue-dark: #086d9f;
  --uvapop-price-dark: #064f75;
  --uvapop-yellow: #ffd200;
  --uvapop-white: #ffffff;
  
  --ujpop-blue: #1088CA;
  --ujpop-font: "Neutro", "Bebas Neue", "Arial Narrow", Arial, sans-serif;
  --ujpop-font-first: "Bebas Neue", "Neutro", "Arial Narrow", Arial, sans-serif;

}


.uvapop__overlay,
.uvapop__overlay * {

  box-sizing: border-box;

}


.uvapop__overlay img {

  max-width: none;

}

.uvapop__overlay {

  position: fixed;

  inset: 0;

  z-index: 999999;

  display: none;

  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  padding: 20px;

  background: rgba(0, 0, 0, .80);

}


.uvapop__overlay.is-visible {

  display: flex;

}


.uvapop__dialog {

  position: relative;

  width: 760px;
  height: 512px;

  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);

  padding: 24px 40px;

  background: var(--ujpop-blue);

  border-radius: 17px;

  overflow: visible;

  outline: none;

}



.uvapop__frame {

  position: relative;

  width: 100%;
  height: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;
  justify-content: space-between;

  padding: 10px 20px 16px;

  border: 1px solid rgba(255, 255, 255, .95);

  border-radius: 16px;

  overflow: visible;

}

  .uvapop__price {
      color: var(--uvapop-yellow);
      font-family: var(--ujpop-font-first);
      font-size: 100px;
      height: 76px;
  }
  
  .uvapop__price-announcement {
      color: var(--uvapop-white);
      font-family: var(--ujpop-font);
      text-transform: uppercase;
      font-weight: 700;
      font-size: 16px;
      text-align: center;
  }
  
  
  span.uvapop__price {
      font-size: 70px;
      height: 56px;
      display: inline-block;
  }
  
  span.uvapop__price-announcement {
      font-size: 22px;
  }

.uvapop__offer-image {

  display: block;

  width: 145px;

  height: auto;
  object-fit: contain;

  flex: 0 0 auto;

}

.uvapop__price-box {
  width: 330px;
  height: 120px;
  flex: 0 0 103px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(105deg, #1188C3 0%, #0872A8 52%, #034F73 100%);
  border-radius: 13px;
  overflow: visible;
}

.uvapop__price-image {
  inset: 0;
  width: max-content;
  height: auto;
  object-fit: contain;
  object-position: center;
  z-index: 2;
  pointer-events: none;
}


/* =========================================================
   CUPOM
========================================================= */

.uvapop__coupon {
  position: relative;
  width: 280px;
  height: 79px;
  min-height: 79px;
  flex: 0 0 79px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--ujpop-font);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
  transition:
    transform .15s ease,
    filter .15s ease;
}


.uvapop__coupon:hover {

  transform: translateY(-1px);

  filter: brightness(1.05);

}


.uvapop__coupon:active {

  transform: translateY(1px) scale(.99);

}


.uvapop__coupon:focus {

  outline: none;

}


.uvapop__coupon:focus-visible {

  outline: 2px solid #fff;

  outline-offset: 3px;

  border-radius: 5px;

}


/* =========================================================
   CORPO DO CUPOM

   A borda superior/inferior fica contínua.
   O serrilhado lateral é criado separado para
   não cortar o conteúdo.
========================================================= */

.uvapop__coupon-body {

  position: relative;

  width: 223px;

  height: 79px;

  min-width: 0;

  flex: 1 1 auto;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding: 7px 5px 6px;

  border-top: 1px solid #fff;

  border-bottom: 1px solid #fff;

  background: transparent;

}


/* =========================================================
   SERRILHADO LATERAL

   Agora o recorte fica exatamente na borda,
   sem invadir o texto do cupom.

   O desenho é composto por pequenos círculos
   brancos sobre a linha vertical.
========================================================= */

.uvapop__coupon-body::before,
.uvapop__coupon-body::after {

  content: "";

  position: absolute;

  top: -1px;

  width: 10px;

  height: 81px;

  z-index: 10;

  pointer-events: none;

  background-image:
    radial-gradient(circle at center,
      #fff 0,
      #fff 4.6px,
      transparent 4.8px);

  background-size: 10px 13px;

  background-repeat: repeat-y;

}


/* =========================================================
   SERRILHADO ESQUERDO
========================================================= */

.uvapop__coupon-body::before {

  left: -5px;

  background-position:
    center center;

}


/* =========================================================
   SERRILHADO DIREITO
========================================================= */

.uvapop__coupon-body::after {

  right: -5px;

  background-position:
    center center;

}


/* =========================================================
   MÁSCARA ROSA SOBRE O CENTRO DOS CÍRCULOS

   Isso cria o efeito de "picote" no traço,
   deixando o branco apenas nas bordas.
========================================================= */

.uvapop__coupon::before,
.uvapop__coupon::after {

  content: "";

  position: absolute;

  top: 0;

  width: 9px;

  height: 79px;

  z-index: 11;

  pointer-events: none;

  background:

    radial-gradient(circle at center,
      var(--ujpop-blue) 0,
      var(--ujpop-blue) 3.7px,
      transparent 3.9px);

  background-size: 9px 13px;

  background-repeat: repeat-y;

}


.uvapop__coupon::before {

  left: 0;

}


.uvapop__coupon::after {

  right: 57px;

}


/* =========================================================
   TÍTULO DO CUPOM
========================================================= */

.uvapop__coupon-title {

  display: block;



  padding: 0;

  color: #fff;

  font-family: var(--ujpop-font);

  font-size: 18px;

  font-weight: 700;

  line-height: 1;

  text-align: center;

  text-transform: uppercase;

  white-space: nowrap;

}


/* =========================================================
   CÓDIGO DO CUPOM
========================================================= */

.uvapop__coupon-code {
  display: block;
  padding: 0;
  color: var(--uvapop-yellow);
  font-family: var(--ujpop-font-first);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}


/* =========================================================
   ÁREA CLIQUE PARA COPIAR
========================================================= */

.uvapop__copy-area {

  position: relative;

  width: 57px;

  height: 79px;

  min-width: 57px;

  flex: 0 0 57px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;

  padding: 0;

  border-top: 1px solid #fff;

  border-bottom: 1px solid #fff;

  border-left: 1px dashed rgba(255, 255, 255, .95);

  background: transparent;

}


/* =========================================================
   TEXTO CLIQUE PARA COPIAR
========================================================= */

.uvapop__copy-text {

  display: block;

  width: 48px;



  padding: 0;

  color: #fff;

  font-family: var(--ujpop-font);

  font-size: 8px;

  font-weight: 700;

  line-height: 1.05;

  text-align: center;

  text-transform: uppercase;

}


/* =========================================================
   ÍCONE DE CÓPIA
========================================================= */

.uvapop__copy-icon {

  position: relative;

  display: block;

  width: 18px;

  height: 18px;

  flex: 0 0 18px;

}


.uvapop__copy-icon::before,
.uvapop__copy-icon::after {

  content: "";

  position: absolute;

  width: 11px;

  height: 11px;

  border: 1px solid #fff;

  border-radius: 2px;

}


.uvapop__copy-icon::before {

  left: 1px;

  top: 1px;

}


.uvapop__copy-icon::after {

  left: 6px;

  top: 6px;

  background: var(--ujpop-blue);

}


/* =========================================================
   FEEDBACK
========================================================= */

.uvapop__coupon-feedback {

  position: absolute;

  z-index: 20;
  bottom: 4px;
  width: max-content;



  padding: 0;

  color: #fff;

  font-family: var(--ujpop-font);

  font-size: 8px;

  font-weight: 700;

  line-height: 1;

  text-transform: uppercase;

  opacity: 0;

  pointer-events: none;

  transition: opacity .2s ease;

}


.uvapop__coupon.is-copied .uvapop__coupon-feedback {

  opacity: 1;

}


/* =========================================================
   TEXTO ABAIXO DO CUPOM
========================================================= */

.uvapop__message.cta__message {
  font-size: 12px;
}

.texto__legal a {
      text-decoration: underline;
      color: #fff;
  }

.uvapop__message {

  display: block;

  width: 100%;



  padding: 0;

  color: #fff;

  font-family: var(--ujpop-font);

  font-size: 10px;

  font-weight: 700;

  line-height: 1.15;

  text-align: center;

  text-transform: uppercase;

  white-space: nowrap;

}


/* =========================================================
   CTA
========================================================= */

.uvapop__cta {

  width: 201px;

  height: 45px;

  min-height: 45px;

  flex: 0 0 45px;



  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 0;

  border-radius: 10px;

  background: var(--uvapop-yellow);

  color: var(--uvapop-price-dark);

  font-family: var(--ujpop-font);

  font-size: 22px;

  font-weight: 700;

  line-height: 1;

  text-align: center;

  text-transform: uppercase;

  text-decoration: none;

  cursor: pointer;

  box-shadow: 0 3px 0 rgba(0, 0, 0, .12);

  transition:
    transform .15s ease,
    filter .15s ease,
    box-shadow .15s ease;

}


.uvapop__cta:hover {

  filter: brightness(1.05);

  transform: translateY(-1px);

  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);

}


.uvapop__cta:active {

  transform: translateY(1px);

  box-shadow: 0 1px 0 rgba(0, 0, 0, .12);

}


.uvapop__cta:focus-visible {

  outline: 2px solid #fff;

  outline-offset: 3px;

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 800px) {

  .uvapop__overlay {

    padding: 12px;

    align-items: center;

  }


  .uvapop__dialog {

    width: min(760px, calc(100vw - 24px));

    height: auto;

    max-height: calc(100vh - 24px);

    padding: 16px;

    border-radius: 15px;

  }


  .uvapop__frame {

    height: auto;

    min-height: 0;

    padding: 14px 10px 22px;

  }


  .uvapop__offer-image {

    width: min(180px, 45vw);

    margin-bottom: 6px;

  }


  .uvapop__price-box {

    width: min(284px, 76vw);

    height: auto;

    aspect-ratio: 284 / 103;

    flex-basis: auto;

    margin-bottom: 18px;

  }


  .uvapop__coupon {

    width: min(280px, 80vw);

    height: 79px;

    min-height: 79px;

    flex-basis: 79px;

  }


  .uvapop__coupon-body {

    height: 79px;

  }


  .uvapop__copy-area {

    height: 79px;

    min-width: 53px;

    width: 53px;

    flex-basis: 53px;

  }


  .uvapop__coupon::after {

    right: 53px;

  }


  .uvapop__coupon-title {

    font-size: 14px;

  }


  .uvapop__coupon-code {

    font-size: 18px;

  }


  .uvapop__message {

    margin-top: 9px;

    font-size: 8px;

    white-space: normal;

  }


  .uvapop__cta {

    width: 190px;

    height: 44px;

    min-height: 44px;

    flex-basis: 44px;

    margin-top: 22px;

    font-size: 19px;

  }

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 480px) {

  .uvapop__overlay {

    padding: 8px;

  }


  .uvapop__dialog {

    width: calc(100vw - 16px);

    max-width: calc(100vw - 16px);

    max-height: calc(100vh - 16px);

    padding: 10px;

    border-radius: 13px;

  }


  .uvapop__frame {

    padding: 12px 6px 20px;

  }


  .uvapop__offer-image {

    width: 140px;

    margin-bottom: 5px;

  }


  .uvapop__price-box {

    width: min(245px, 86vw);

    margin-bottom: 16px;

  }


  .uvapop__coupon {

    width: min(250px, 88vw);

  }


  .uvapop__coupon-body {

    padding-left: 3px;

    padding-right: 3px;

  }


  .uvapop__coupon-title {

    font-size: 12px;

  }


  .uvapop__coupon-code {

    font-size: 16px;

  }


  .uvapop__copy-area {

    width: 48px;

    min-width: 48px;

    flex-basis: 48px;

  }


  .uvapop__coupon::after {

    right: 48px;

  }


  .uvapop__copy-text {

    width: 39px;

    font-size: 10px;

  }


  .uvapop__message {

    max-width: 270px;

    font-size: 7px;

  }


  .uvapop__cta {

    width: 175px;

    height: 42px;

    min-height: 42px;

    flex-basis: 42px;

    margin-top: 20px;

    font-size: 18px;

  }

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .uvapop__coupon,
  .uvapop__cta,
  .uvapop__coupon-feedback {

    transition: none;

  }

}



/* =========================================================
   AJUSTE FINAL - CONTORNO DO CUPOM
   Apenas o desenho externo do cupom foi alterado.
========================================================= */

.uvapop__coupon-body {
  border-top: 0;
  border-bottom: 0;
}

.uvapop__copy-area {
  position: relative;
  border-top: 0;
  border-bottom: 0;
  border-left: 1px dashed rgba(255, 255, 255, .98);
}

/* Remove o serrilhado interno antigo. */
.uvapop__coupon-body::before,
.uvapop__coupon-body::after {
  content: none !important;
}

/*
   Novo contorno externo:
   - linha superior e inferior continuas;
   - serrilhado apenas nas laterais externas;
   - mantem o interior totalmente transparente.
*/
.uvapop__coupon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20280%2079%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M10%20.75%20H269%20C272.3%20.75%20274%202.7%20274%205.5%20V7%20C282%207%20282%2015%20274%2015%20C282%2015%20282%2023%20274%2023%20C282%2023%20282%2031%20274%2031%20C282%2031%20282%2039%20274%2039%20C282%2039%20282%2047%20274%2047%20C282%2047%20282%2055%20274%2055%20C282%2055%20282%2063%20274%2063%20C282%2063%20282%2071%20274%2071%20V73.5%20C274%2076.3%20272.2%2078.25%20269%2078.25%20H10%20C6.8%2078.25%206%2076.3%206%2073.5%20V71%20C-2%2071%20-2%2063%206%2063%20C-2%2063%20-2%2055%206%2055%20C-2%2055%20-2%2047%206%2047%20C-2%2047%20-2%2039%206%2039%20C-2%2039%20-2%2031%206%2031%20C-2%2031%20-2%2023%206%2023%20C-2%2023%20-2%2015%206%2015%20C-2%2015%20-2%207%206%207%20V5.5%20C6%202.7%206.8%20.75%2010%20.75%20Z%27%20fill%3D%27none%27%20stroke%3D%27%23fff%27%20stroke-width%3D%271.5%27%20vector-effect%3D%27non-scaling-stroke%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.uvapop__coupon::after {
  content: none !important;
}

/* Pequenos recortes no topo e na base da divisoria pontilhada. */
.uvapop__copy-area::before,
.uvapop__copy-area::after {
  content: "";
  position: absolute;
  left: -7px;
  width: 13px;
  height: 7px;
  z-index: 12;
  pointer-events: none;
  background: var(--ujpop-blue);
}

.uvapop__copy-area::before {
  top: -1px;
  border: 1px solid #fff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.uvapop__copy-area::after {
  bottom: -1px;
  border: 1px solid #fff;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}