﻿/* 맘큐 배경 이미지 */
html.momq, html.pome {
    background-image: url("https://ykd2c-publicstorage-cgegcve2d6h9ekbg.a01.azurefd.net/remote/asset/images/main/main_bg.svg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 맘큐 사이드 배너 css */
.side_banner {
    position: fixed;
    top: 0;
    left: calc(50vw + 296px);
    width: 334px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    padding: 66px 0 94px;
    gap: 16px;
    display: none;
}

.logo_wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .logo_wrap img {
        width: 72px;
        height: 32px;
    }

    .logo_wrap p {
        font-size: 17px;
        font-weight: 700;
        letter-spacing: -0.34px;
        line-height: 140%;
        color: #414141;
    }

.bottom_section {
    display: flex;
    flex-direction: column;
    gap: 66px;
}

    .bottom_section .title {
        position: relative;
        padding-left: 12px;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: -0.26px;
        line-height: 140%;
        color: #d9272d;
    }

        .bottom_section .title::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 4px;
            transform: translateY(-50%);
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background-color: #d9272d;
        }

.benefit_wrap .desc {
    padding: 16px 0 20px 14px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 140%;
    color: #414141;
}

.benefit_wrap .welcome_wrap {
    margin-left: 14px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #fff;
}

    .benefit_wrap .welcome_wrap .welcome_item {
        padding: 20px 22px;
        display: flex;
        flex-direction: row;
        gap: 18px;
    }

        .benefit_wrap .welcome_wrap .welcome_item .items {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

            .benefit_wrap .welcome_wrap .welcome_item .items img {
                width: 40px;
                height: 40px;
            }

            .benefit_wrap .welcome_wrap .welcome_item .items .txt_box {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

                .benefit_wrap .welcome_wrap .welcome_item .items .txt_box .top_txt {
                    font-size: 12px;
                    font-weight: 400;
                    line-height: 130%;
                    letter-spacing: -0.6px;
                    color: #440707;
                }

                .benefit_wrap .welcome_wrap .welcome_item .items .txt_box .price_box {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 4px;
                }

                    .benefit_wrap .welcome_wrap .welcome_item .items .txt_box .price_box p {
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 130%;
                        letter-spacing: -0.7px;
                        color: #d9272d;
                    }

                    .benefit_wrap .welcome_wrap .welcome_item .items .txt_box .price_box span {
                        font-size: 14px;
                        font-weight: 700;
                        line-height: 130%;
                        letter-spacing: -0.7px;
                        color: #440707;
                    }

.benefit_wrap .btn_box button {
    width: 100%;
    height: 50px;
    background-color: #d9272d;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

    .benefit_wrap .btn_box button p {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -0.26px;
        color: #fff;
    }

    .benefit_wrap .btn_box button img {
        width: 6px;
        height: 11px;
    }

.download_box {
    padding: 16px 0 0 14px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

    .download_box .left_box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
        height: 108px;
        gap: 8px;
    }

        .download_box .left_box p {
            font-size: 20px;
            font-weight: 700;
            line-height: 140%;
            letter-spacing: -0.4px;
            color: #414141;
        }

        .download_box .left_box .download {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 12px;
        }

            .download_box .left_box .download button {
                cursor: pointer;
            }

            .download_box .left_box .download b {
                width: 1px;
                height: 16px;
                background-color: #414141;
            }

    .download_box .right_box {
        padding: 6px;
        background-color: #fff;
        border-radius: 12px;
        overflow: hidden;
    }

        .download_box .right_box img {
            width: 96px;
            height: 96px;
        }

@media screen and (max-width: 1240px) {
    body.momq .side_banner, body.pome .side_banner {
        display: none !important;
    }
}

@media screen and (max-height: 644px) {
    body.momq .side_banner, body.pome .side_banner {
        padding: 16px 0;
    }

    .bottom_section {
        gap: 16px;
    }
}

body.momq .side_banner, body.pome .side_banner {
    display: flex;
}

/*맘큐 레이아웃*/
body.momq,
body.momq header,
body.momq .fixed_bottom,
body.momq .kakao_btn,
body.momq .shadow_bottom_btn,
body.momq .lottie_box,
body.momq .common-popup,
body.momq #privacy-popup .popup-inner .btn_wrap,
body.momq #privacy-under14-popup.under14_popup,
body.momq #privacy-under14-popup .btn_wrap,
body.momq .children_bottom_btn {
    max-width: 440px !important;
}

body.pome {
    max-width: 440px !important;
}


/*달다방 레이아웃*/
body.mygf header,
body.mygf,
body.mygf .fixed_bottom,
body.mygf .kakao_btn,
body.mygf .shadow_bottom_btn,
body.mygf .lottie_box,
body.mygf .common-popup {
    max-width: 600px !important;
}

/* iOS Safari: input/select/textarea 폰트 16px 미만이면 포커스 시 자동 확대(zoom) 발생
   → 최소 16px로 고정
*/
:root {
    --form-font-size: 16px;
}

/* 일반 폼 요소 */
input,
select,
textarea {
    font-size: var(--form-font-size) !important;
}
.download_box .left_box .download button {
    background: transparent;
}

