@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

/* 
html {
    width: 100%;
} */

.bar-container {
    width: 100%;
    /* min-width: 320px; */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    position: relative;
    /* height: 100%; */
}

body {
    font-family: 'Pretendard';
    font-style: normal;
    color: #000;
    margin: 0;
    padding: 0;
}

/* 텍스트 조정 */
text {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

.h1-title, .h2-subtitle {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

.text-blue {
    color: var(--Brand-Primary, #5177FF);
}

.text-gray {
    color: var(--Label-Tertiary, #989BA2);
}

.text-red {
    color: lightcoral;
}

.text-underline {
    text-decoration: underline;
    text-decoration-color: #5177ff;
    text-decoration-thickness: 10px;
    text-underline-offset: -5px;
    text-decoration-skip-ink: none;
}
.text-underline-875 {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.text-underline-875::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 10px;
    background-color: #5177ff;
    width: 90%; /* 3.5글자 / 4글자 = 87.5% */
    pointer-events: none;
    z-index: -1;
}
.text-align-center {
    text-align: center;
}

.text-align-right {
    text-align: right;
}

/* 여백 조정 */
.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.pl-20 {
    padding-left: 20px;
}

.pl-30 {
    padding-left: 30px;
}


.pl-40 {
    padding-left: 40px;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 30px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pr-20 {
    padding-right: 20px;
}

.width-50 {
    width: 50%;
}

.width-100 {
    width: 100%;
}

.height-100 {
    height: 100%;
}

.border-radius-50 {
    border-radius: 50px;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.overflow-hidden {
    overflow: hidden;
}

.display-flex {
    display: flex;
}

.align-center {
    align-self: center;
}


.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

/* 구분선 */
.divider {
    border-top: 1px solid #000;
    margin: 20px 0;
}

.divider-block {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    height: 8px;
    background: var(--Line-Light, #F1F1F5);
    margin: 42px -50vw;
}

.divider-faded {
    width: 100%;
    height: 1px;
    background: var(--Line-Light, lightgray);
    margin: 20px 0;
}


.divider-faded-2 {
    width: 100%;
    height: 1px;
    background: var(--Line-Light, lightgray);
    margin: 32px 0;
}


/* 네비게이션 바 */
.navbar {
    position: fixed;
    width: 100%;
    height: 44px;
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0);
    /* 반투명 흰색 배경 */
    backdrop-filter: blur(10px);
    /* 배경 흐림 효과 */
    -webkit-backdrop-filter: blur(10px);
    /* Safari 지원 */
    z-index: 9;
    top: 0;
    /* padding-bottom: 50px; */
}

/* 
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    padding-bottom: 50px;
} */

.navbar-hamburger {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    cursor: pointer;
    align-self: center;
}

.navbar > a {
    align-self: center;
}

.navbar-logo {
    width: 60px;
    height: 25px;
    flex-shrink: 0;
    margin-left: 40px;
}

.navbar-icon {
    display: flex;
    gap: 0 20px;
    cursor: pointer;
    align-self: center;
}

.navbar-cart,
.navbar-person {
    width: 20px;
    height: 20px;
}

/* 사이드 바 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 300px;
    height: 100vh;
    background: var(--Label-White, #FFF);
    transition: transform 0.3s ease-in-out;
    z-index: 10;
    padding: 20px;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-close {
    display: none;
    /* 기본은 숨김 */
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    z-index: 11;
    /* 사이드바(11), 오버레이(10)보다 위 */
    background-color: transparent;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 28px;
    cursor: pointer;
}

.sidebar-button {
    display: flex;
    /* justify-content: space-around; */
    padding-top: 20px;
    gap: 20px;
}

.sidebar-button button {
    font-family: 'Pretendard';
}

.sidebar-login,
.sidebar-signup,
.sidebar-order,
.sidebar-sub {
    display: flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: 1px solid var(--Label-Primary, #000);
    color: var(--Label-Primary, #000);
    text-align: center;
    background-color: #fff;

    /* Caption/C1_Rg */

    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    /* 150% */
    letter-spacing: -0.3px;
}

.sidebar-login:active,
.sidebar-signup:active,
.sidebar-order:active,
.sidebar-sub:active {
    color: var(--Label-Primary, #fff);
    background-color: #000;
}


.sidebar-menu {
    list-style: none;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.sidebar-menu li {
    display: flex;
    justify-content: space-between;

    margin: 15px 0;
    color: var(--Label-Primary, #000);

    /* Body/B1_Rg */

    font-size: 16px;

    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.4px;
    cursor: pointer;
}

.sidebar-menu a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 400;
}

.sidebar-menu-bold a {
    color: var(--Label-Primary, #000);

    /* Body/B1_Sb */

    font-size: 16px;

    font-weight: 600;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.4px;
}

/* 고객센터 정보 */
.sidebar-footer {
    margin-top: 30px;
    font-size: 14px;
    color: #666;
}

.sidebar-contact {
    align-self: stretch;
    color: var(--Label-Primary, #000);

    /* Caption/C1_Rg */

    font-size: 12px;

    font-weight: 400;
    line-height: 18px;
    /* 150% */
    letter-spacing: -0.3px;
}

.sidebar-call {
    align-self: stretch;
    color: var(--Label-Primary, #000);

    /* Body/B3_Sb */

    font-size: 14px;

    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
    letter-spacing: -0.35px;
}

.sidebar-time {
    align-self: stretch;
    color: #666;

    /* Caption/C2_Rg */

    font-size: 11px;

    font-weight: 400;
    line-height: 16px;
    /* 145.455% */
    letter-spacing: -0.275px;
}

.sidebar-kakaotalk {
    flex-shrink: 0;
    padding-bottom: 3px;
    background: #fff / cover no-repeat;
}

/* 오버레이 배경 */
.overlay {
    position: fixed;
    /* absolute → fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* 어두운 배경 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 9;
    /* sidebar보다 높게 설정 (sidebar는 z-index: 10) */
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

#wrapper {
    margin: 85px auto 0;
    /* margin-top: 85px; */
}

#container_wr {
    max-width: 480px;
}

footer {
    width: 100%;
    height: 260px;
    flex-shrink: 0;
}

.footer {
    margin-top: 32px;
    background-color: #F1F1F5;
    padding-top: 24px;
}

.footer-text-contact {
    color: var(--Label-Primary, #000);

    font-size: 14px;

    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.28px;
}

.footer-text-call {
    color: var(--Label-Primary, #000);

    font-size: 18px;

    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.36px;
}

.footer-text-time {
    color: #666;

    font-size: 11px;

    font-weight: 400;
    line-height: 18px;
    /* 163.636% */
    letter-spacing: -0.22px;
}

.footer-text-detail {
    color: #666;

    font-size: 10px;

    font-weight: 400;
    line-height: 18px;
    /* 163.636% */
    letter-spacing: -0.22px;
}

.footer-text-company {
    color: var(--Label-Primary, #000);

    font-size: 11px;

    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.22px;
}

.footer_flex {
    display: flex;
    justify-content: left;
    gap: 8px;
}

.footer_link {
    gap: 10px;
}

.footer-link > a > img {
    width: 20px;
    height: 20px;
}

.faq-title {
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 479px) {
    .sidebar {
        width: 270px;
    }
    
    .sidebar-button {
        gap: 5px;
    }

    .sidebar-login,
    .sidebar-signup,
    .sidebar-order,
    .sidebar-sub {
        font-size: 13px;
    }
}

.page-title {
    color: var(--Label-Primary, #000);
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: -0.6px;
    text-align: center;
}

.mypagelist-title {
    font-size: 30px;
    text-align: center;
}

/* 기본 checkbox 숨김 */
input[type="checkbox"] {
  display: none;
}

/* 라벨 스타일 */
.custom-checkbox {
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

/* 체크 전 이미지 */
.custom-checkbox .checkbox-image {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('/img/new/checkbox_default.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/* 체크된 상태일 때 이미지 변경 */
input[type="checkbox"]:checked + label .checkbox-image {
  background-image: url('/img/new/checkbox_selected.svg');
}

.section-title {
    font-size: 20px;
    font-weight: 600;
}