/* popper.css */
#shipping-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.78);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#shipping-modal-overlay.show {
  display: block;
  opacity: 1;
}

#shipping-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: white;
  padding: 55px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 520px;
  width: 92%;
  text-align: center;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 1.35em;
}

#shipping-modal.show {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}

#shipping-modal .modal-icon {
  font-size: 5.2rem;
  margin-bottom: 25px;
}

#shipping-modal h2 {
  font-size: 3.45rem;
  font-weight: bold;
  margin: 0 0 22px 0;
  color: #222;
  line-height: 1.1;
}

#shipping-modal p {
  font-size: 2.35rem;
  color: #333;
  line-height: 1.55;
  margin-bottom: 40px;
}

/* Button with perfectly centered text */
#shipping-modal button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0066cc;
  color: white;
  font-size: 2.45rem;
  font-weight: 700;
  padding: 18px 55px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
  min-width: 280px;
  height: 58px;           /* Fixed height for perfect centering */
  margin: 0 auto;
}

#shipping-modal button:hover {
  background: #ffcc00;
  color: #222;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.4);
}

#shipping-modal button:active {
  transform: translateY(1px);
}

/* Mobile */
@media (max-width: 600px) {
  #shipping-modal {
    padding: 45px 25px;
  }
  #shipping-modal h2 { font-size: 2.1rem; }
  #shipping-modal p { font-size: 1.25rem; }
  #shipping-modal button {
    font-size: 1.35rem;
    padding: 16px 50px;
    min-width: 240px;
    height: 55px;
  }
}
