 
.popup-subscribe::before,
.popup-subscribe::after,
.popup-subscribe * {
    box-sizing: border-box;
}

#popup-subscribe {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.672);
  z-index: 9999;
  place-content: center;
  place-items: center;
}
@media (max-width: 768px) {
    #popup-subscribe {
        text-align: center;
    }
}

.popup-content {
  background: #fff url('images/sbscr-img.png') no-repeat center right 20px;
  background-size: 162px;
  border-radius: 6px;
  min-height: 240px;
  border: 2px solid #FFDA05;
  max-width: 560px;
  width: 100%;
  padding: 32px;
  position: relative;
}
@media (max-width: 768px) {
    .popup-content {
        background: #fff;
        border: 1px solid #FFDA05;
    }
}

.popup-content--title {
    font-size: 28px;
    font-weight: bold;
    color: #141921;
    line-height: 1.3;
    padding-right: 150px;
    min-height: 120px;
}
@media (max-width: 768px) {
    .popup-content--title {
        padding-right: 0;
    }
}

#popup-subscribe-form {
    margin-top: 20px;
}
@media (min-width: 768px) {
    #popup-subscribe-form {
        display: grid;
        grid-template-columns: 1fr max-content;
        grid: 8px;
        align-items: center; 
    }
}

#popup-subscribe input {
    width: 100%;
    padding: 15px; 
    border: 1px solid #E8E8E8;
    border-radius: 3px;
    border-right: none;
    color: #000!important
}
#popup-subscribe input:focus {
    outline: none;
    border-color: #FFDA05;
}
@media (max-width: 768px) {
    #popup-subscribe input {
        margin-bottom: 14px;
    }

    #popup-subscribe button {
        width: 100%;
    }
}

#popup-subscribe button {
  background: #FFDA05;
  border-radius: 3px;
  color: #000;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  border: none;
  cursor: pointer;
}

#popup-close {
  position: absolute;
  right: 10px;
  top: 5px;
  width: 24px;
  height: 24px;
  background: url('images/mingcute_close-fill.svg') no-repeat center;
  background-size: 18px;
  cursor: pointer; 
}
