body.no-overflow {
    overflow: hidden !important;
}

.product-iframe-container {
    background: url(../images/overlay.png) repeat 0 0;
    cursor: pointer;
    display: flex;
    height: calc(100vh + 2px);
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw + 2px);
    z-index: 100;
}

.product-iframe-wrapper {
    background-color: white;
    cursor: initial;
    border-radius: 20px;
    border: 14px solid rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    left: 50%;
    padding: 8px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(100% - 32px, 640px);
    z-index: 101
}

.product-iframe-wrapper.product-iframe-wrapper-360 {
    width: min(100% - 32px, 1048px);
}

.product-iframe-action {
    display: flex;
    margin-top: 6px;
}

.product-iframe-close {
    aspect-ratio: 1/1;
    background-color: transparent;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    position: relative;
    width: 24px;
}

.product-iframe-close:before, .product-iframe-close:after {
    background-color: black;
    border-radius: 2px;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 14px;
}

.product-iframe-close:before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.product-iframe-close:after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.product-iframe {
    aspect-ratio: 16/9;
    border: none;
    width: 100%;
}

.product-iframe-wrapper.product-iframe-wrapper-360 .product-iframe {
    aspect-ratio: 15/9;
}

.password-constraints, [class^='password-rule'] {
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.password-constraints {
    padding-left: 16px;
}

.password-constraints [class^='password-rule'] {
    color: red;
    position: relative;
}

.password-constraints [class^='password-rule']:before {
    content: '✘';
    font-size: 12px;
    left: -14px;
    margin-right: 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.password-constraints [class^='password-rule'].password-rule__is-valid {
    color: green;
}

.password-constraints [class^='password-rule'].password-rule__is-valid:before {
    content: '✔';
}