.voohu-dl-modal {
    position: fixed;
    inset: 0;
    /* Stay above the selector comparison bar (2147483010). */
    z-index: 2147483640;
    display: none;
}

.voohu-dl-modal.is-open {
    display: block;
}

.voohu-dl-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.voohu-dl-modal__wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
}

.voohu-dl-modal__wrap .voohu-dl-modal__stage {
    pointer-events: auto;
}

.voohu-dl-modal__stage {
    width: 656px;
    height: 731px;
    transform-origin: center;
}

.voohu-dl-modal__box {
    width: 656px;
    height: 731px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    overflow: hidden;
    position: relative;
}

.voohu-dl-modal__header {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.voohu-dl-modal__logo {
    position: absolute;
    left: 66px;
    top: 83px;
    width: 188px;
    height: 54px;
    pointer-events: auto;
}

.voohu-dl-modal__logo-img {
    display: block;
    width: 188px;
    height: 54px;
}

.voohu-dl-modal__close {
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #666;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: absolute;
    right: 27px;
    top: 27px;
    pointer-events: auto;
}

.voohu-dl-modal__close:hover {
    background: #f0f0f0;
    color: #333;
}

.voohu-dl-modal__body {
    position: absolute;
    inset: 0;
    text-align: center;
}

.voohu-dl-modal__title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

.voohu-dl-modal__desc {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 27px;
    text-align: left;
}

.voohu-dl-modal__field {
    margin: 0;
    text-align: left;
}

.voohu-dl-modal__input {
    width: 100%;
    height: 60px;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.voohu-dl-modal__input::placeholder {
    color: #999;
}

.voohu-dl-modal__input:focus {
    outline: none;
    border-color: #D71318;
}

.voohu-dl-modal__btn {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 8px;
    background: #D71318;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.voohu-dl-modal__btn:hover {
    background: #c01014;
}

.voohu-dl-modal__disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-left: 20px;
}

.voohu-dl-modal__success {
    display: none;
}

.voohu-dl-modal__success.is-visible {
    display: block;
}

.voohu-dl-modal__form.is-hidden {
    display: none;
}

.voohu-dl-modal__ok {
    width: 243px;
    height: 243px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voohu-dl-modal__ok img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.voohu-dl-modal--lock {
    overflow: hidden;
}

/* Preserve the existing product-detail modal geometry exactly. */
.voohu-dl-modal__form,
.voohu-dl-modal__success {
    position: absolute;
    left: 0;
    top: 0;
    width: 656px;
    height: 731px;
}

.voohu-dl-modal__form {
    padding: 0;
}

.voohu-dl-modal__form .voohu-dl-modal__title {
    position: absolute;
    left: 68px;
    top: 177px;
    width: 532px;
}

.voohu-dl-modal__form .voohu-dl-modal__desc {
    position: absolute;
    left: 68px;
    top: 280px;
    width: 520px;
}

.voohu-dl-modal__form form {
    position: absolute;
    left: 68px;
    top: 346px;
    width: 520px;
}

.voohu-dl-modal__form .voohu-dl-modal__field:nth-child(1) {
    margin-bottom: 20px;
}

.voohu-dl-modal__form .voohu-dl-modal__field:nth-child(2) {
    margin-bottom: 40px;
}

.voohu-dl-modal__form .voohu-dl-modal__disclaimer {
    position: absolute;
    left: 68px;
    top: 599px;
    width: 520px;
    text-align: left;
}

.voohu-dl-modal.is-success .voohu-dl-modal__logo {
    display: none;
}

.voohu-dl-modal__success .voohu-dl-modal__ok {
    position: absolute;
    left: 207px;
    top: 82px;
}

.voohu-dl-modal__success .voohu-dl-modal__title {
    position: absolute;
    left: 50%;
    top: 360px;
    width: 532px;
    font-size: 28px;
    text-align: center;
    transform: translateX(-50%);
}

.voohu-dl-modal__success .voohu-dl-modal__desc {
    position: absolute;
    left: 50%;
    top: 420px;
    width: 532px;
    text-align: center;
    transform: translateX(-50%);
}

.voohu-dl-modal__success #voohuDlBtnClose {
    position: absolute;
    left: 68px;
    top: 526px;
    width: 520px;
}

/* The shared script scales this fixed Figma canvas by both viewport axes. */
