/* ================== ORIGINAL POPUP CSS ================== */
.left-sec-popup, .right-sec-popup {
  padding-left: 15px;
  padding-right: 15px;
  float: left;
}

.addr h3, .right-content-popup h2 {
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.close-popup {
  position: absolute;
  top: -12px;
  right: -15px;
  width: 30px;
  height: 30px;
  background: #000;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 50px;
  -webkit-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
  -moz-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
  box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
}

.elegant-modal, .mask {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left: 0;
}

.mask {
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8);
  z-index: 999;
  transition: .7s;
}

.elegant-modal {
  width: 956px;
  height: 400px;
  z-index: 999;
  background-color: #fff;
  -webkit-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
  -moz-box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
  box-shadow: 0 9px 15px -5px rgba(0, 0, 0, .46);
  margin: 0 auto;
  text-align: center;
  right: 0;
}

.active {
  visibility: visible;
  opacity: 1;
  transition: .2s;
}

.active + .elegant-modal {
  visibility: visible;
  opacity: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.left-sec-popup { width: 398px; }
.right-sec-popup { width: 557px; }

.left-popup-img img {
  width: auto;
  height: 400px;
  float: left;
}

.right-content-popup { padding: 20px 20px 20px 0; }

.right-content-popup h2 {
  font-size: 22px;
  text-align: center;
  line-height: 30px;
  margin-top: 10px;
}

.c-red { color: red; }

.know-more, .know-more:hover { color: #fff; }

.right-content-popup p {
  font-size: 14px;
  text-align: center;
  line-height: 20px;
}

.fs-18 { font-size: 18px !important; }

.mt-20, .popup-form-w { margin-top: 30px; }

.addr h3 {
  font-size: 18px;
  text-align: left;
  line-height: 25px;
  font-style: italic;
  margin-top: 10px;
}

.no-padding { padding: 0 !important; }

.addr-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 100px;
}

.addr-details ul li {
  list-style: none;
  display: block;
  width: 100%;
  padding-left: 25px;
  position: relative;
  text-align: left;
}

.addr-details ul li i {
  position: absolute;
  left: 0;
  top: 3px;
}

.plb-15 {
  padding-left: 10px;
  border-right: 1px solid gray;
  margin-right: 10%;
}

.know-more {
  padding: 6px 15px;
  background: red;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  border-radius: 5px;
}

.display-none { display: none !important; }

.blink-btn {
  position: fixed;
  left: auto;
  top: 20%;
  right: -60px;
  color: #fff !important;
  padding: 15px 25px;
  transform: rotate(90deg);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  background-color: #e53935;
  z-index: 99;
  text-decoration: none !important;
}

.blink-btn a { color: #fff !important; }

.blink { animation: blinker 1s linear infinite; }

.c:hover { background-color: #fec10e; }

@keyframes animate {
  0%   { opacity: 0; transform: rotate(45deg) translate(-20px, -20px); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(20px, 20px); }
}

@-webkit-keyframes ripple {
  0%   { opacity: 1; -webkit-transform: scale(0); transform: scale(0); }
  100% { opacity: 0; -webkit-transform: scale(1); transform: scale(1); }
}

@keyframes ripple {
  0%   { opacity: 1; -webkit-transform: scale(0); transform: scale(0); }
  100% { opacity: 0; -webkit-transform: scale(1); transform: scale(1); }
}

.blink-btn .ripple {
  position: absolute;
  width: 160px;
  height: 160px;
  z-index: -1;
  left: auto;
  top: -53px;
  opacity: 0;
  border-radius: 100px;
  -webkit-animation: 1.8s infinite ripple;
  animation: 1.8s infinite ripple;
  right: 6px;
  margin: 0 auto;
}

.blink-btn .ripple:nth-child(2) {
  animation-delay: .3s;
  -webkit-animation-delay: .3s;
}

.blink-btn .ripple:nth-child(3) {
  animation-delay: .6s;
  -webkit-animation-delay: .6s;
}

.pinkBg { background-color: #ca2127 !important; }

@keyframes blinker { 50% { opacity: 0; } }

@media (max-width: 1366px) {
  .elegant-modal { top: 30%; }
}

@media (max-width: 992px) {
  .left-popup-img, .left-sec-popup { display: none; }
  .right-content-popup { padding: 20px 20px 30px; }
  .right-sec-popup { width: 100%; }
  .elegant-modal { width: 90%; height: auto; }
}

@media (max-width: 767px) {
  .addr { max-width: 300px; margin: 0 auto; }
  .addr h3 { font-weight: 600; font-size: 17px; }
  .plb-15 { padding-left: 0; border-right: 0 solid gray; margin-right: 0; }
  .elegant-modal { top: 40%; width: 90%; height: auto; }
  .right-content-popup h2 {
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    line-height: 25px;
    margin-bottom: 10px;
    text-transform: uppercase;
    margin-top: 10px;
  }
  .fs-18 { font-size: 16px !important; }
  .addr-details ul { list-style: none; padding: 0; margin: 0; min-height: auto; }
}

/* ================== NITROPACK-SAFE POPUP VISIBILITY ================== */

/* Popup is VISIBLE by default (no JS needed → works with cached HTML) */
.mask {
  visibility: visible;
  opacity: 1;
}

.elegant-modal {
  visibility: visible;
  opacity: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hide popup completely if user already closed it before
   (JS adds .popup-closed to <html> when localStorage flag is set) */
html.popup-closed .mask,
html.popup-closed .elegant-modal {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}