/**
* Custom Css like Tailwind CSS
* basic :  320px
* md : 425px
* lg : 640px
/**!*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    letter-spacing: -0.3px;
}

html {
    font-family: "Noto Sans KR" !important;
    margin: 0;
}

body{
    margin: 0;
}

body.modal-open {
    overflow: hidden; /* body의 스크롤을 완전히 막음 */
}

.hidden{
    display: none;
}

/* text */
.text-8{
    font-size: 8px;
}

.text-10{
    font-size: 10px;
}

.text-11{
    font-size: 11px;
}

.text-12{
    font-size: 12px;
}

.text-13{
    font-size: 13px;
}

.text-14{
    font-size: 14px;
}

.text-15{
    font-size: 15px;
}

.text-18{
    font-size: 18px;
}

.text-20{
    font-size: 20px;
}

.text-25{
    font-size: 25px;
}


.text-center{
    text-align: center;
}

.text-right{
    text-align: right;

}

.text-white{
    color: white;
}

.text-grey{
    color : #A1A1A1;
}

/* font */

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 500;
}

/* word-break */

.break-keep{
    word-break: keep-all;
}

/* flexbox */
.flex{
    display: flex;
}

.justify-center{
    justify-content: center;
}

.gap-5{
    gap: 0.313rem;
}

.gap-10{
    gap: 0.625rem;
}

.gap-20{
    gap: 1.25rem;
}

.gap-50{
    gap: 3.13rem;
}

.items-center{
    align-items: center;
}

/* padding */

.pl-5{
    padding-left: 0.313rem;
}

.pl-10{
    padding-left: 0.625rem;
}

.pb-5{
    padding-bottom: 0.313rem;
}

.pb-10{
    padding-bottom: 0.625rem;
}

.pb-15{
    padding-bottom: 0.938rem;
}

.pb-18{
    padding-bottom: 1.125rem;
}

.pb-20{
    padding-bottom: 1.25rem;
}

.pb-26{
    padding-bottom: 1.625rem;
}

.pb-30{
    padding-bottom: 1.875rem;
}

.pb-32{
    padding-bottom: 2rem;
}

.px-16{
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-18{
    padding-left: 1.125rem;
    padding-right: 1.125rem;
}

.px-20{
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-22{
    padding-left: 1.375rem;
    padding-right: 1.375rem;
}

.px-24{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-26{
    padding-left: 1.625rem;
    padding-right: 1.625rem;
}

.px-32{
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-40{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.px-70{
    padding-left: 4.375rem;
    padding-right: 4.375rem;

}

.py-5{
    padding-top: 0.313rem;
    padding-bottom: 0.313rem;
}

.py-10{
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.py-12{
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-16{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-18{
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
}

.py-20{
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-24{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-30{
    padding-top: 1.875rem;
    padding-bottom: 1.875rem;
}

.py-32{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-40{
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* background */
.bg-black{
    background-color: black;
}

.mx-auto{
    margin: 0 auto;
}

/* custom*/
.blue_badge{
    border-radius: 9999px; background-color:#1C6EE8; padding: 2px 8px;
}

.badge{
    border:1px solid #000000;
    border-radius: 9999px; padding: 4px 12px;
}

.verify_button{
    width: 100%;
    padding: 1rem 3.4rem;
    border-radius: 5px;
    background: #001E4A;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

}

.basic_input{
    width: 100%;
    border :1px solid #D4D4D4;
    height: 31px;
    display: flex;
    padding: 0 10px;
    align-items: center;
    gap: 4px;
    align-self: stretch;
}

.basic_input:disabled{
    background-color: #F5F5F5;
}

.basic_img_size{
    width:135px;
    object-fit: contain;
}

.modal_bg {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with a slight opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Stack items */
}

.modal {
    overflow-y: auto; /* 모달 내용이 넘칠 경우에만 스크롤 가능 */
    background-color: white;
    margin: auto; /* Center the modal itself */
    position: relative;
    max-width: 100%;
    width: 640px; /* Adjust as needed */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: slide-up;
    animation-duration: 0.4s;
    -webkit-overflow-scrolling: touch; /* iOS에서 스크롤을 부드럽게 만듦 */
}

.modal .title {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    height: 75px;
    line-height: 300%;
    border-bottom: 1px solid #f5f5f5;
    padding: 0 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal .title img {
    position: absolute;
    display: block;
    left: auto;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
}

.modal .caution {
    width: 100%;
}

.store_autocomplete_results{
    border: 1px solid #d4d4d4;
    border-top: none;
}

.store_item{
    font-size:12px;
    padding: 10px 20px;
    border-bottom: 1px solid #d4d4d4;
}

.store_item:last-child{
    border-bottom: none;
}

.store_item:hover {
    background-color: #F5F5F5;
    cursor: pointer;
}

.tire-info {
    display: flex; /* 가로 정렬을 위해 flexbox 사용 */
    align-items: center; /* 세로 중앙 정렬 */
    text-align: left;
    padding: 15px 0px 10px 0px;
    font-size: 11px;
    font-weight: 500;
}

.tire-info > div:first-child{
    width: 8%;
}


.horizontal-line {
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin-left: 10px;
}

.qty-container{
    position: relative;
    display: inline-block;
}

.qty-container > input{
    box-sizing: border-box;
    padding-right: 30px;
}

.qty-container > .unit{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.basic_select{
    appearance: none;
    background: url(../images/select_arrow.svg) no-repeat 98.5% 50%;
}

.basic_select.arrow-95{
    appearance: none;
    background-image: url(../images/select_arrow.svg);
    background-repeat: no-repeat;
    background-position: 95% 50%;
}

@media (min-width: 425px) and (max-width:639px){

    .md\:gap-20{
        gap: 1.25rem;
    }

    .md\:text-12{
        font-size: 12px;
    }

    .md\:text-13{
        font-size: 13px;
    }

    .md\:text-14{
        font-size: 14px;
    }

    .md\:text-15{
        font-size: 15px;
    }

    .md\:text-16{
        font-size: 16px;
    }

    .md\:text-17{
        font-size: 17px;
    }

    .md\:pb-40{
        padding-bottom: 2.5rem;
    }

    .basic_input{
        height: 38px;
    }

    .basic_input::placeholder{
        font-size: 15px;
    }
}

@media screen and (min-width: 640px) {
    .max-width{
        width:640px;
        margin : 0 auto;
    }

    /* text */

    .lg\:text-14{
        font-size: 14px;
    }

    .lg\:text-15{
        font-size: 15px;
    }

    .lg\:text-16{
        font-size: 16px;
    }

    .lg\:text-18{
        font-size: 18px;
    }

    .lg\:text-20{
        font-size: 20px;
    }

    /* flexbox */

    .lg\:gap-32{
        gap: 2rem;
    }

    .lg\:gap-50{
        gap: 3.13rem;
    }

    /* padding */

    .lg\:pt-14{
        padding-top: 0.875rem;
    }

    .lg\:pb-10{
        padding-bottom: 0.625rem;
    }

    .lg\:pb-14{
        padding-bottom: 0.875rem;
    }

    .lg\:pb-40{
        padding-bottom: 2.5rem;
    }

    .lg\:pb-50{
        padding-bottom: 3.125rem;
    }

    .lg\:pl-7{
        padding-left: 0.438rem;
    }

    .lg\:pl-10{
        padding-left: 0.625rem;
    }

    .lg\:py-20{
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .lg\:py-24{
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .lg\:py-28{
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .lg\:px-32{
        padding-left: 2rem;
        padding-right: 2rem;
    }


    /* CUSTOM */
    .basic_img_size{
        width:227px;
    }

    .basic_input{
        height: 45px;
    }

    .basic_input::placeholder{
        font-size: 16px;
    }

    .blue_badge{
        padding:4px 12px;
    }

    .store_item{
        font-size:14px;
        padding: 14px 20px;
    }

    .agree_marketing{
        margin-right: 10px;
    }

    .tire-info{
        font-size: 14px;
    }

}