.open-time-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease; /* smooth overlay fade */
  z-index: 9999;
}

.open-time-overlay.active {
  visibility: visible;
  opacity: 1;
}

.open-time-box {
 
  max-width: 260px;
  text-align: center;
  position: relative;

  /* animation setup */
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.4s ease;
}

.open-time-overlay.active .open-time-box {
  transform: scale(1);
  opacity: 1;
}

.open-time-box img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
}

/* X button */
.close-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  background: red;
  border-radius:50% ;
  top: 8px;
  right: 12px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color:red;
  background-color: white;
  border: 1px solid red;
}
