.promotion-modal {
    box-sizing: border-box;
    width: min(1200px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #fff;
}

.promotion-modal:not([open]) {
    display: none;
}

.promotion-modal::backdrop {
    background: rgb(0 0 0 / 78%);
}

.promotion-modal__content {
    position: relative;
    padding-top: 52px;
}

.promotion-modal__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    object-fit: contain;
}

.promotion-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #242424;
    color: #fff;
    cursor: pointer;
}

.promotion-modal__close:hover {
    background: #454545;
}

.promotion-modal__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
