.popup
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    z-index: 2;
}

.popup__substrate
{
    display: grid;
    align-content: center;
    min-height: 100vh;
    padding: 1rem;
    background-color: rgba(0,0,0,.75);
}



.popup__box,
.popup__box_medium,
.popup__box_small
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
}
.popup__box
{
    max-width: calc(var(--limit) - 2 * var(--p-limit));
}
.popup__box_medium
{
    max-width: var(--limit-medium);
}
.popup__box_small
{
    max-width: var(--limit-small);
}



.popup__header
{}

.popup__content
{
    /*height: 96vh;*/
}

.popup__footer
{}

.popup__title
{}

.popup__close
{}


.popup__exit
{
    position: relative;
}
.popup__exit::after
{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    padding: .5rem;
    content: '\f00d';
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 1.75rem;
    cursor: pointer;
}





.price-popup header {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: black;
    margin-left: -2rem;
    width: calc(100% + 4rem);
    margin-top: -2rem;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}
.price-popup header span {
    margin: 0;
    color: white;
}
.price-popup-close {
    color: white;
    background: black;
    padding: 1em;
    height: 100%;
    width: auto;
}
.price-popup header button {
    background: none;
    width: 32px !important;
    height: 32px !important;
    padding: 0;
}
.price-popup {
    position: fixed;
    display: none;
    top: 0;
    left: 50%;
    background: darkgray;
    max-width: 700px;
    transform: translateX(-50%);
    height: 100%;
    overflow-y: scroll;
    width: 100%;
    z-index: 5;
}
.price-popup.show {
    display: block;
}
.price-popup main {
    background: unset;
}
.price-popup-wrapper {
    padding: 2em;
    background: white;
}
.price-popup-wrapper > div:first-child {
    display: flex;
    justify-content: space-between;
}
.price-popup-wrapper main {
    background: white !important;
}
.price-popup table {
    min-width: unset !important;
}

