.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .custom-popup {
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .custom-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: 0 0;
    border: none;
    cursor: pointer;
  }
  .custom-popup-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .popup-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee
      url(https://storage.mlcdn.com/account_image/1399015/A9CKOSGU7QF0xRFAk8CnIpAlOgkGUwpVdeo6CcOp.png)
      no-repeat center center !important;
    background-size: cover !important;
    min-width: 250px;
    max-width: 500px;
    background: #eee;
    height: 560px;
  }
  
  .popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .popup-text {
    flex: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .popup-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
  }
  .popup-text .highlight {
    color: #c79a3b;
  }
  .popup-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .popup-form input[type="email"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .popup-form button {
    background: #000;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
  }

  .popup-mobile-only{
    display: none;
  }


  .footer-subscription-form {
      max-width: 650px;
      align-items: center;
      margin: auto;
      text-align: center;
  }
  .footer-subscription-form h2 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
  }
  .footer-subscription-form .highlight {
    color: #c79a3b;
  }
  .footer-subscription-form p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .footer-subscription-form button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* spacing between items */
  }
  
  .form-row input,
  .form-row button {
    flex: 1;
    min-width: 0; /* allow shrinking if needed */
  }
  
  .form-row input {
    flex-grow: 2
  }
  
  .form-row button {
    flex: 0 0 auto; /* prevent button from stretching */
  }
  .footer-subscription-form p.response-message {
    flex: 0 0 100%;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 600px) {
    .form-row {
      flex-direction: column;
    }
  
    .form-row input,
    .form-row button {
      width: 100%;
      padding: 12px !important;
      margin-bottom: 2px;
    }
  }

  @media only screen and (max-width: 600px) {
    .popup-image {
      height: 250px;
      overflow: hidden;
      
    }
    .popup-text h2 {
      font-size: 18px;
    }
    .popup-text p {
      font-size: 14px;
      display: none;
    }
    .popup-form button {
      font-size: 14px !important;
      padding: 6px !important;
    }
    .popup-mobile-only{
      display: inline-block;
    }
  }
  