  .theme-popup { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.8); z-index: calc( var(--z-index-menu) + 1 ); padding: var(--y-gap) var(--x-gap); animation: fadeIn 0.3s ease-in-out; } .theme-popup--show { display: flex; } .theme-popup__inner { position: relative; display: grid; align-items: center; background: #fff; border-radius: var(--border-radius); overflow: hidden; width: 100%; height: 100%; max-height: 80svh; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .theme-popup__image-wrapper { display: none; } .theme-popup__content { display: flex; align-items: center; flex-direction: column; padding: var(--y-gap) var(--x-gap); overflow: auto; max-height: 100%; } .theme-popup__close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; padding: 5px; min-width: unset; cursor: pointer; z-index: 1; } .theme-popup__close svg { fill: white; transition:fill var(--base-timing); } .theme-popup__close:hover svg, .theme-popup__close:focus svg { fill:var(--color-primary); } .theme-popup__footer { margin-top: auto; } .theme-popup__btn { width: 100%; } /* Keyframe fade animation for popup */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @media(min-width: 992px) { .theme-popup__inner { grid-template-columns: 42.6% 1fr; max-width: 61.875rem; max-height: 40.5625rem; } .theme-popup__image-wrapper { display: flex; height: 100%; width: 100%; overflow: hidden; position: relative; } .theme-popup__image { position: absolute; top: 0; left: 0; width: 100%; height: 100% !important; object-fit: cover; } .theme-popup__content { padding: 2rem; } } @media(min-width: 1440px) { .theme-popup__content { padding: 4.3rem 2rem; } }  