.hide {
    display: none !important;
}

.cowboy-popup__overlay,
.cowboy-popup__Wanted,
.cowboy-popup__Best {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.70);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cowboy-popup__overlay.is-closing,
.cowboy-popup__Wanted.is-closing,
.cowboy-popup__Best.is-closing {
  opacity: 0;
}

.cowboy-popup__wanted {
  position: relative;
  width: 90vw;
  max-width: 420px;
  aspect-ratio: 3 / 4.2; /* super important */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.cowboy-popup__wanted.best-avis {
  background-image: url("./assets/img/azae_cowboy_popup_best_review.svg");
}

.cowboy-popup__wanted.palier {
  background-image: url("./assets/img/azae_cowboy_popup_palier.svg");
}

.cowboy-popup__close {
    position: absolute;
    right: -17px;
    top: -29px;
    font-size: 48px;
    background: none !important;
    border: none !important;
    color: #000 !important;
}

.cowboy-popup__content {
    position: absolute;
    inset: 12% 10%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cowboy-popup__wanted.palier .cowboy-popup__content {
  justify-content: initial;
  margin-top: 20%;
}

.cowboy-popup__content p {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

.cowboy-popup__content span {
  color: var(--cowboy-site-color);
}

@media(max-width: 450px){
  .cowboy-popup__content p {
    font-size: 22px;
  }
}

@media(max-width: 350px){
  .cowboy-popup__wanted.palier .cowboy-popup__content p {
    font-size: 18px;
  }
}
