/* Overlay */
#aliwppop-overlay {
  display: none;
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 40, 80, 0.33);
  transition: opacity 0.3s;
}

#aliwppop-popup {
  display: none;
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 250px;
  max-width: 94vw;
  background: #fff;
  box-shadow: 0 8px 32px rgba(40,40,60,0.25), 0 1.5px 10px rgba(40,40,60,0.08);
  z-index: 9999;
  border-radius: 5px;
  padding: 0;
  font-family: inherit;
  animation: popupSlideInRight 0.6s cubic-bezier(.23,1.15,.43,1.11);
}

@keyframes popupSlideInRight {
  0% { transform: translateX(80px) scale(0.95); opacity: 0;}
  100% { transform: translateX(0) scale(1); opacity: 1;}
}

.aliwppop-popup-outer {
  padding: 24px 24px 12px 24px;
}

.aliwppop-content {
  position: relative;
  background: none !important;
  color: #333 !important;
  box-shadow: none;
  padding: 0;
}

.aliwppop-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.aliwppop-desc {
  font-size: 13px;
  margin-bottom: 18px;
  color: #444;
}

.aliwppop-btn a {
text-decoration:none!important;}

.aliwppop-btn {
    display: block;
    width: 100%;
    background: #a50f0f !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border: none;
    padding: 5px 0 5px 0;
    border-radius: 5px;
    margin-top: 12px;
    text-align: center;
    cursor: pointer;
    transition:
        background 0.22s cubic-bezier(.4,0,.2,1),
        box-shadow 0.22s cubic-bezier(.4,0,.2,1),
        transform 0.22s cubic-bezier(.4,0,.2,1),
        color 0.18s;
    box-shadow: 0 3px 18px rgba(210,110,190,0.11);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Efeito gradiente, brilho e leve escala */
.aliwppop-btn:hover,
.aliwppop-btn:focus {
    background: linear-gradient(90deg, #db6ca2 0%, #ef2c2c 100%);
    color: #fff;
    box-shadow: 0 6px 32px rgba(239,44,44,0.22), 0 1px 8px rgba(210,110,190,0.09);
    transform: scale(1.045) translateY(-2px);
}

/* Efeito sutil de luz que varre o botão */
.aliwppop-btn::after {
    content: '';
    position: absolute;
    left: -60%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.18) 55%, rgba(255,255,255,0.0) 100%);
    transition: left 0.4s cubic-bezier(.3,.8,.7,1.1);
    pointer-events: none;
    z-index: 2;
}
.aliwppop-btn:hover::after {
    left: 105%;
}


.aliwppop-footer {
  font-size: .98rem;
  margin-top: 10px;
  color: #666;
}

.aliwppop-close {
  position: absolute;
  top: -25px;
  right: -24px;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 0;
  width: 35px;
  height: 35px;
  font-size: 1.65rem;
  font-weight: bold;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 101;
}
.aliwppop-close:hover {
  background: #db6ca2;
  color: #fff;
}

.aliwppop-loader {
  display: none;
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.76);
  z-index: 9000;
}

@media (max-width: 600px) {
  #aliwppop-popup {
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    width: 96vw;
    max-width: 100vw;
    border-radius: 13px 13px 0 0;
    padding: 0;
  }
  .aliwppop-popup-outer {
    padding: 16px 10px 8px 10px;
  }
  .aliwppop-close {
    top: 8px;
    right: 10px;
    width: 29px;
    height: 29px;
    font-size: 1.15rem;
    line-height: 26px;
  }
}

.aliwppop-thumb {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px 2px 2px 2px;
  margin-bottom: 16px;
  display: block;
  background: #eaeaea;
}

@media (max-width: 600px) {
  .aliwppop-thumb {
    height: 135px;
    border-radius: 13px 13px 0 0;
    margin-bottom: 11px;
  }
}


/**************/
@media (max-width: 600px) {
  #aliwppop-popup {
    left: 0;
    right: 0;
    bottom: 18px;
    width: 98vw;
    max-width: 97vw;
    border-radius: 18px;
    margin: 0 auto;
    box-shadow: 0 4px 28px rgba(0,0,0,0.11);
    padding: 0;
    z-index: 9999;
  }
  .aliwppop-popup-outer {
    padding: 0 !important;
  }
  .aliwppop-content.aliwppop-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 10px 13px 6px;
    background: #fff !important;
    border-radius: 4px;
    box-shadow: none;
    min-height: 96px;
    position: relative;
    border: 1px solid #ededed;
  }
  .aliwppop-card-wrap {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .aliwppop-thumb {
    width: 64px;
    min-width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 12px 0 0;
    background: #eaeaea;
    box-shadow: 0 2px 10px rgba(180,180,180,0.08);
    display: block;
  }
  .aliwppop-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .aliwppop-title {
    font-size: 1.01rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .aliwppop-desc {
    font-size: 0.91rem;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.28;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 98%;
  }
  .aliwppop-btn {
    background: #db2327 !important;
    color: #fff !important;
    border-radius: 11px;
    font-size: 1.06rem;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
    margin-top: 2px;
    width: 100%;
    max-width: 164px;
    box-shadow: 0 2px 8px rgba(210,80,80,0.11);
  }
  .aliwppop-footer {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
  }
  .aliwppop-close {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 26px;
    height: 26px;
    font-size: 1.1rem;
    border-radius: 0%;
    background: #fff;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(80,80,80,0.11);
  }
.aliwppop-close:hover {
    background: #FFF;
    color: #000;
}
  
}

a.aliwppop-btn.classe-danilo {
    text-decoration: none;
}