/* ---------------- COMMON ---------------- */

::selection {
    background-color:#EEECE8;
    color: #202124;
}

* {
    font-family: 'Pretendard Variable', sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #f5f4f1;
}

body > img{
    max-width: 860px;
    width: 100%;
    object-fit: contain;
}

.form-wrapper{
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #EEECE8;
    padding: 0 3.75rem;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 1rem;
    gap: 2.5rem;
    padding: 3.75rem;
}

.input-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.25rem;
}

.input-wrapper > p{
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: #202124;
    font-weight: 600;
}

.input-wrapper > p > span{
    color: #E62830;
}

.input-wrapper > input{
    width: 100%;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #202124;
    padding: 1.5rem 2rem;
    background-color: #F5F5F5;
    border: none;
    border-radius: 0.75rem;
}

.input-wrapper > input:focus{
    outline: 0.125rem solid #F2DB69;
}


.phone-wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 4fr 1fr 8fr 1fr 8fr;
    align-items: center;
    padding: 0px 2rem;
    background-color: #F5F5F5;
    border: none;
    border-radius: 0.75rem;
}

.phone-wrapper > input{
    width: 100%;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #202124;
    background-color: #F5F5F5;
    text-align: center;
    border: none;
    padding: 1.5rem 0;
}

.phone-wrapper > input:focus{
    outline: 0.125rem solid #F2DB69;
}

.phone-wrapper > span{
    text-align: center;
    font-weight: 1.75rem;
}

.skincare-options {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1.5rem;
}

.skin-option {
    cursor: pointer;
    display: inline-block;
    border-radius: 0.1rem;
    transition: all 0.2s ease;
}

.skin-option img {
    width: 100%;
    border-radius: 1rem;
    object-fit: contain;
}

/* 라디오 버튼 숨기기 */
.skin-option input {
    display: none;
}

/* 선택 시 비주얼 효과 */
.skin-option input:checked + img {
    outline: 0.125rem solid #f7ca2e; /* 노란색 강조 */
}

.region-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
}

.region-wrapper select {
    width: 100%;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #202124;
    padding: 1.5rem 2rem;
    background-color: #F5F5F5;
    border: none;
    border-radius: 0.75rem;
}

.region-wrapper select:focus{
    outline: 0.125rem solid #F2DB69;
}

.checkbox-wrapper{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper > input{
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #f7ca2e;
}

.checkbox-wrapper > label{
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    color: #767679;
}

.checkbox-wrapper > span{
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #767679;
    text-decoration: underline;
    cursor: pointer;

}


#form-submit{
    width: 100%;
        font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #202124;
    background-color: #f7ca2e;
    padding: 1.75rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

#form-submit:hover{
    color: #F2DB69;
    background-color: #202124;
}


@media screen and (max-width: 860px) {
    html{
        font-size: 1.86vw;
    };
}

@media screen and (max-width: 320px) {
        html{
        font-size: 6px;
    };
}