@charset "UTF-8";

body {
    background: #ebeff2;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    line-height: 1;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, div,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, hr {
	margin: 0;
	padding: 0;
	border: 0;
    outline: none;
}

::selection { background: rgba(83,168,226); color: #fff; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul, li { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

a:hover,a:active,a:focus, a { text-decoration: none; }

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.upper {text-transform: uppercase;}
.active {z-index: 1;}
.txt_center {text-align :center;}
.txt_left {text-align :left;}
.txt_right {text-align :right;}

input {
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 0 !important;
}

select {
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: initial;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
}
select::-ms-expand { display: none }

button {
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 0;
}

a {
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 0;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: none !important;
    background-color: transparent;
    background-image: none;
    border-radius: 0;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
textarea {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background-color: rgba(24,90,157,0.05); }
::-webkit-scrollbar-thumb { background-color: rgba(83,168,226,0.43); border-radius: 4px; }
::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment {
    width: 6px;
    height: 6px;
    background: rgba(24,90,157,0.05);
}

#wrap {
    max-width: 390px;
    width: 100%;
    padding-bottom: 70px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
}
#top {
    max-width: 390px;
    width: 100%;
}
.header {
    width:100%;
    max-width:390px;
    display: flex;
    height:48px;
    align-items: center;
    position: fixed;
    left:0;
    right:0;
    top:0;
    margin: 0 auto;
    z-index: 3;
}
.header.whiteBg {
    background-color: #ffffff;
    box-shadow: 0 3px 3px rgba(0,0,0,0.05)
}
.header .bgOff{}
.header .bgOn{ display: none }
.header.whiteBg .bgOff{ display: none }
.header.whiteBg .bgOn{ display: block }
#top::before{
    content: '';
    position: relative;
    top:0;
    width:100%;
    height:48px;
    display: block;
}
.header.bg-white{ box-shadow: 0 3px 3px rgba(0,0,0,0.05) }
.header--cnt{
    width:90%;
    margin-left:auto;
    margin-right:auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position:relative;
}
.header--cnt--logo{
    width:100px; display: block;
}
.header--cnt--logo img{ width:100%; }
.header--cnt--tit{
    color:var(--black-color);
    font-size:16px;
    font-weight:var(--fontWeight-normal);
}
.header--back{
    width:24px;
    position: absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
}
.header--icon{
    width:24px;
    position: absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
}
.header--cnt--icon{
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width:25px;
}
.header--cnt--icon img{ width:100% }
.header--search{
    width:calc(100% - 35px);
    position: absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
}
.header--cnt--btn{
    width:24px;
    height:24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header--cnt--btn img{ width:100%; }
#cnt{
    min-height: 100vh;
}
#cnt2{
    min-height: calc(100vh - 245px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.btnTop{
    width:30px;
    height:30px;
    border-radius: 50%;
    /*backgtound-color:rgba(255,255,255,0.4) !important;*/
    position: fixed;
    bottom:80px;
    transform: rotate(180deg);
    right:calc(50% - 180px);
    z-index: 4;
    box-shadow: 0px -2px 10px rgba(0,0,0,0.09);
    background:rgba(255,255,255,0.8) url(/assets/images/icon/ic-selector-29b1bd9d37ffc4bb93a4d1296244cbf2.png) no-repeat;
    background-size: cover;
}
#footer{
    max-width:390px;
    width:100%;
    position: fixed;
    bottom:0;
    transform: translate3d(0%,0,0);
    z-index: 3;
    border:1px solid #ffffff;
}
#footer::before{
    /*content: '';*/
    /*width:100%;*/
    /*height:78px;*/
    /*display: block;*/
}
.footer{
    width:100%;
    background:#ffffff;
    padding:10px 0% 10px;
    box-shadow: 0 -4px 4px rgba(0,0,0,0.16);
    box-sizing: border-box;
}
.footer.shadowNone{ box-shadow: none; }
    .footer--cnt{
        display: flex;
        align-items: center;
        justify-content: space-around;
        max-width: 480px;
        width:100%;
    }
    .footer--item a{width:48px; display: block;}
    .footer--item a.w-full{ width:100%; }
    .footer--item a.btnType{ display: flex; }
    .footer--item a img{width:100%;}
    .footer--item .footer--item--img.on{ display: none; }
    .footer--item.on .footer--item--img.off{ display: none; }
    .footer--item.on .footer--item--img.on{ display: block; }
    .footer--item--share button:not(:first-child)::before{
        content: '';
        width:1px;
        height: 20px;
        background: #000000;
        display: block;
        position: absolute;
        top:0;
        left:0;
    }
    .footer--item--share button{
        text-align: center;
        display: block;
        position: relative;
    }
    .footer--item--share button img{ width:24px; }
    .footer--item--share button p{
        font-size:12px;
        font-weight: var(--fontWeight-medium);
        color:#000000;
        margin-top: 2px;
    }
    .footer--item--share--btn{
        width:24px;
        height:24px;
        margin: 0 auto;
        background-image: url('/assets/images/icon/ic-like-off-6e4b826f23044b745294d23bd44d48a3.png');
        background-repeat: no-repeat;
        background-size: contain;
    }
    .footer--item--share--btn.on{
        background-image: url('/assets/images/icon/ic-like-on-0d7551705bd2d1c5b5edfac26752b094.png');
    }
    .footer--total--block{
        font-size:14px;
        font-weight: var(--fontWeight-medium);
        color:var(--black2-color);
        letter-spacing: -0.35px;
    }
    .footer--total--price{
        font-size:18px;
        font-weight: var(--fontWeight-normal);
        color:var(--skyblue-color)
    }
.footer--msg{
    position: fixed;
    width:90%;
    max-width: 380px;
    left:50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 30;
    background:var(--darkGray2-color);
    padding: 10px 15px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
    font-size:16px;
    color:#ffffff;
    word-break: break-all;
    display: none;
}
.footerInfor{
    padding:20px 5%;
    box-sizing: border-box;
    text-align: left;
}
.footerInfor02{
    padding:20px 0%;
}
.footerInfor, .footerInfor a{
    letter-spacing: -0.8px;
    font-size:14px;
    line-height: 1.4;
    color: #4c4c4c;
}

@media screen and (max-width:480px){
    #wrap {
        max-width: 100%;
    }
    #top{
        max-width:100%;
    }
    .header {
        max-width: 100%;
    }
    #footer{
        max-width:100%;
    }
    .footer--cnt {
        max-width: 90%;
    }
    .footer--msg{
        max-width: 100%;
    }
    .modal--sec.bottom{
        max-width: 100vw;
    }
}

/* 버튼 로딩 처리 */
.button-loader {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    height: 20px;
    opacity: 0;
    animation: loader-fade-in 0.5s ease-in-out forwards;
}
@keyframes loader-fade-in {
    to {
        opacity: 1;
    }
}
.button-loader span {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    opacity: 0;
    animation: blink 1.4s infinite ease-in-out;
}
.button-loader span:nth-child(1) {
    animation-delay: 0s;
}
.button-loader span:nth-child(2) {
    animation-delay: 0.2s;
}
.button-loader span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes blink {
    0%, 80%, 100% {
        opacity: 0;
        transform: scale(0.4);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}
