:root {
    --main: #5B1EA8;
    --main2: #342E37;
    --info: #FFD400;
    --warning: #C33131;
    --success: #3173C3;
    --text1: #111111;
    --text2: #555555;
    --text3: #8A8A8A;
    --border1: #D7D7D7;
    --border2: #E0E0E0;
    --bg1: #FFFFFF;
    --bg2: #EBEBEB;
    --bg3: #F5F5F5;
    --bg4: #F4F7FF;
    --modal-bg: rgba(0,0,0,0.7);
}
html, body {
    height: 100%;
}

body {
    font-family: 'Pretendard',sans-serif;
    line-height: 1.4;
    letter-spacing: -1.1%;
    font-weight: 500;
}

.tapButton {
    display: flex;
    gap: 30px;
}
.tapButton > li {
    color: var(--text1);
    padding: 4px 2px;
    cursor: pointer;
}
.tapButton > li.active {
    color: var(--main);
    border-bottom: 2px solid var(--main);
}

.giftPack {
    border-top: 1px solid var(--border1);
    border-bottom: 1px solid var(--border1);
    border-top-left-radius: 30px;
    padding-top: 36px;
    background-color: #ffffff;
    background-size: cover;
}

.giftPackHeader {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
}
.giftPackHeader > h3 {
    font-size: 18px;
}

.giftBrand {
    font-size: 14px;
    color: var(--text3);
}

.giftName {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.refreshButton > svg {
    transition: transform 0.3s;
}


.selectCheckbox {
    position: relative;
    display: block;
    float: left;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background-color: var(--bg1);
    border: 1px solid var(--border1);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.15), inset 0 -1px 1px rgba(0,0,0,0.15);
    transition: all 0.15s ease;
}
.selectCheckbox > svg {
    position: absolute;
    top: 3px;
    left: 3px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 17;
    stroke-dashoffset: 17;
    transform: translate3d(0, 0, 0);
}
.selectCheckbox + span {
    float: left;
    margin-left: 6px;
}
.checkboxWrap {
    user-select: none;
}
.checkboxWrap > label {
    display: inline-block;
    cursor: pointer;
}
.checkboxWrap input[type="checkbox"] {
    display: none;
    visibility: hidden;
}
.checkboxWrap input[type="checkbox"]:checked + .selectCheckbox {
    background-color: var(--main);
}
.checkboxWrap input[type="checkbox"]:checked + .selectCheckbox > svg {
    stroke-dashoffset: 0;
    transition: all 0.15s ease;
}


모달창
.modalWrap {
    position: relative;
}
.modalWrap{
    max-height: 100%;
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    transition: 0.3s;
}
.modalWrap.modalUp {
    bottom: 0;
}
.modalWrap.modalDown {
    bototm: -100%;
}
.modalBackground {
    position: fixed;
    width: 100%;
    min-width: 320px;
    max-width: 600px;
    margin: 0 auto;
    top: 52px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal {
    position: fixed;
    margin: 0 auto;
    top: 100%;
    right: 0;
    bottom: -100%;
    left: 0;
    width: 100%;
    min-width: 320px;
    max-width: 600px;
    box-sizing: border-box;
    z-index: 6;
    transition-duration: 0.3s;
}
.modal.modalUp {
    top: 82px;
    bottom: 120px;
    transition-delay: 0.2s;
}
.modal.modalDown {
    top: 100%;
    bottom: -100%;
}
.modalHandle {
    height: 75px;
    background-color: var(--bg1);
}
.modalHandle::before {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background-color: var(--text3);
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}
.modalContent {
    overflow-y: scroll;
    height: calc(100% - 75px);
}
.modalContent::-webkit-scrollbar {width: 5px;}
.modalContent::-webkit-scrollbar-thumb {
    background-color: #999;
    background-clip: padding-box;
    border: 15px solid transparent;
    border-right: 0;
    border-left: 0;
    border-radius: 5px;
}


/* 장바구니 상품 품절 */
.soldout {
    color: var(--text3);
}
.soldout img {
    filter: brightness(0.3);
}