﻿.page-popup-overlay {
    display: none !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
    box-sizing: border-box;
  }

  .page-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .page-popup-box {
    position: relative;
    max-width: 520px;
    width: 100%;
    transform: scale(0.9);
    transition: transform 0.35s ease;
  }

  .page-popup-overlay.is-active .page-popup-box {
    transform: scale(1);
  }

  .page-popup-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  .page-popup-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    color: #0d1b3e;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .page-popup-close:hover {
    background: #ffb81b;
    transform: scale(1.1);
  }

  @media (max-width: 480px) {
    .page-popup-close {
      top: -12px;
      right: 0;
    }
  }

