.geo-popup-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 9999;
}

.geo-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.geo-popup-content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  max-width: 900px;
  width: 95%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow: hidden;
  position: relative;
  font-family: system-ui, sans-serif;
}

.geo-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 2;
}

.geo-popup-columns {
  display: flex;
  flex-direction: row;
  width: 100%;
}

/* Green background image */
.geo-popup-left {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 100%;
  position: relative;
}

.geo-popup-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 180px;
  background: #fff;
  padding: 6px;
  border-radius: 6px;
  z-index: 2;
}

/* Right panel */
.geo-popup-right {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.geo-popup-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #007a5e;
  margin-bottom: 0.5rem;
  border-left: 3px solid #007a5e;
  padding-left: 0.5rem;
  font-weight: 600;
}

.geo-popup-title {
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #111;
}

.geo-popup-flags {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.geo-popup-flags img {
  height: auto;
  width: 60px;
}

.geo-popup-note {
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.25rem;
}

.geo-popup-shipping {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 1.25rem;
}

/* Form */
.geo-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.geo-popup-names {
  display: flex;
  gap: 0.75rem;
}

.geo-popup-form input {
  padding: 0.65rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: auto;
}

.geo-popup-form input.fname, 
.geo-popup-form input.lname {
  width: 50%;
}

.geo-popup-form button {
  padding: 0.75rem;
  background-color: #007a5e;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.geo-popup-form button:hover {
  background-color: #005e48;
}

.geo-popup-confirmation {
  display: none;
  font-size: 1rem;
  padding-top: 1rem;
  color: #007a5e;
  font-weight: 600;
  text-align: left;
}

.geo-popup-confirmation.show {
  display: block;
}

/* Default: hide mobile badge on large screens */
.geo-popup-badge-mobile {
  display: none;
  max-height: 25px;
  /* margin-top: 0.5rem; */
}

/* ============================= */
/* 📱 MOBILE layout — up to 767px */
/* ============================= */
/* Base styles remain unchanged — scroll down for mobile rules */

@media (max-width: 767px) {
  .geo-popup-columns {
    flex-direction: column;
  }

  /* 🔒 Hide left visual block entirely */
  .geo-popup-left,
  .geo-popup-badge {
    display: none !important;
  }

  .geo-popup-right {
    padding: 1.5rem;
    width: 97%;
  }

  .geo-popup-names {
    flex-direction: column;
  }

  .geo-popup-title {
    font-size: 1.3rem;
  }

  .geo-popup-flags img {
    width: 50px;
  }

  .geo-popup-close {
    top: 10px;
    right: 10px;
    color: #333;
    mix-blend-mode: normal;
  }
  .geo-popup-form input {
    width: 85% !important;
  }
  .geo-popup-form button {
  width: 91%;
  }
  .geo-popup-badge-mobile {
    display: inline-block;
    /* margin-left: 0.75rem; */
    vertical-align: middle;
  }

  .geo-popup-flags {
    align-items: center;
  }

  .geo-popup-flags img {
    vertical-align: middle;
  }
  img.geo-popup-badge-mobile {
    height: auto;
    min-width: 90px;
  }
}

/* ============================= */
/* 📱 MOBILE layout — up to 375px */
/* ============================= */
/* Base styles remain unchanged — scroll down for mobile rules */

@media (max-width: 375px) {
      .geo-popup-form input {
        width: 84% !important;
    }
}