@charset "utf-8";

@font-face {
    font-family: 'SUIT Variable';
    src: url('../fonts/SUIT-Variable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-display: swap;
}

:root {
   --color-bg: #fff;
   
   --section-bg1: #F8F8F6;
   --section-bg2: #F5F4EF;
   --section-bg3: #EDF3F0;
   --section-bg4: #202224;
   
   --color-static1: #202224;
   --color-static2: #1F463B;
   --color-static3: #286B55;
   --color-static4: #DCE9E4;

   --color-border1: #EEEEEB;
   --color-border2: #DEDDD8;
   --color-border3: #C8C7C1;

   --color-font1: #202224;
   --color-font2: #414448;
   --color-font3: #686D72;
   --color-font4: #92989E;
   --color-font5: #B8BDC1;
   --color-font6: #FFFFFF;

   /* 상태 */
   --color-red: #D32F2F;
   --color-redbg: #FFEDEE;
   --color-white: #FFFFFF;
   --color-black: #000000;

   /* 알파용 RGB 토큰 */
   --rgb-static1: 32 34 36;
   --rgb-white: 255 255 255;
   --rgb-black: 0 0 0;

   /* 폰트 패밀리 */
   --font-family: 'SUIT Variable', -apple-system, BlinkMacSystemFont,
                  system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

   /* 폰트 크기 */
   --fs-60: clamp(2.25rem, 1.6rem + 2.2vw, 3.75rem);
   --fs-52: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
   --fs-48: clamp(1.875rem, 1.4rem + 1.6vw, 3rem);
   --fs-44: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
   --fs-40: clamp(1.625rem, 1.2rem + 1.3vw, 2.5rem);
   --fs-36: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
   --fs-32: clamp(1.375rem, 1.12rem + 0.9vw, 2rem);
   --fs-28: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
   --fs-24: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
   --fs-22: clamp(1.09375rem, 0.99rem + 0.4vw, 1.375rem);
   --fs-20: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
   --fs-18: clamp(1rem, 0.94rem + 0.2vw, 1.125rem);
   --fs-17: clamp(0.96875rem, 0.92rem + 0.18vw, 1.0625rem);
   --fs-16: clamp(0.9375rem, 0.9rem + 0.1vw, 1rem);
   --fs-15: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
   --fs-14: 0.875rem;
   --fs-13: 0.8125rem;
   --fs-12: 0.75rem;

   /* 간격 */
   --space-200: clamp(6.25rem, 3.75rem + 7.5vw, 12.5rem);
   --space-160: clamp(5rem, 3rem + 6vw, 10rem);
   --space-120: clamp(4rem, 2.5rem + 4.5vw, 7.5rem);
   --space-100: clamp(3.5rem, 2.2rem + 3.8vw, 6.25rem);
   --space-80: clamp(3rem, 2rem + 3vw, 5rem);
   --space-60: clamp(2.25rem, 1.6rem + 2vw, 3.75rem);
   --space-50: clamp(2rem, 1.5rem + 1.8vw, 3.125rem);
   --space-48: clamp(1.875rem, 1.4rem + 1.6vw, 3rem);
   --space-40: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
   --space-34: clamp(1.6rem, 1.3rem + 1vw, 2.125rem);
   --space-30: clamp(1.4375rem, 1.2rem + 0.8vw, 1.875rem);
   --space-28: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
   --space-24: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
   --space-20: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
   --space-18: clamp(1rem, 0.94rem + 0.2vw, 1.125rem);
   --space-16: clamp(0.9375rem, 0.9rem + 0.1vw, 1rem);
   --space-14: 0.875rem;
   --space-12: 0.75rem;

   /* 버튼 및 컴포넌트 크기 */
   --size-56: clamp(3rem, 2.7rem + 1vw, 3.5rem);
   --size-50: clamp(2.6rem, 2.325rem + 1vw, 3.125rem);
   --size-48: clamp(2.5rem, 2.2rem + 1vw, 3rem);
   --size-44: clamp(2.4rem, 1.95rem + 1vw, 2.75rem);
   --size-40: clamp(2.3rem, 1.7rem + 1vw, 2.5rem);

   /* 기타 */
   --header-height: 80px;
   --box-shadow: 0 6px 10px #A6A6A61A;
   --radius: 10px;
   --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
/* 필터 */
.filter-white {-webkit-filter: brightness(0) invert(1); filter: brightness(0) invert(1);}
.filter-black {-webkit-filter: grayscale(100%) brightness(0); filter: grayscale(100%) brightness(0);}

/* 글자색 · 굵기 유틸 */
.red-txt {color: var(--color-red) !important;}
.static2-txt {color: var(--color-static2) !important;}
.static3-txt {color: var(--color-static3) !important;}
.font2-txt {color: var(--color-font2) !important;}
.font3-txt {color: var(--color-font3) !important;}
.font6-txt {color: var(--color-font6) !important;}

.weight400 {font-weight: 400 !important;}
.weight500 {font-weight: 500 !important;}
.weight600 {font-weight: 600 !important;}
.weight700 {font-weight: 700 !important;}

/* 타이포그래피 */
.hero-tit {font-size: var(--fs-52); font-weight: 700; line-height: 1.31;}
.section-tit {font-size: var(--fs-44); font-weight: 600; line-height: 1.3;}
.sub-section-tit {font-size: var(--fs-28); font-weight: 600; line-height: 1.36;}
.card-tit {font-size: var(--fs-22); font-weight: 600; line-height: 1.36;}
.card-desc {font-size: var(--fs-15); font-weight: 400; line-height: 1.6;}
.body-large {font-size: var(--fs-18); font-weight: 600; line-height: 1.67;}
.body-medium {font-size: var(--fs-16); font-weight: 500; line-height: 1.5;}
.body-small {font-size: var(--fs-15); font-weight: 400; line-height: 1.47;}
.btn-txt {font-size: var(--fs-15); font-weight: 600; line-height: 1.33;}
.eyebrow {display: block; font-size: var(--fs-14); font-weight: 600; line-height: 1.43; letter-spacing: 1.7px;}

/* 버튼 */
.round-btn {column-gap: 8px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; min-height: var(--size-40); padding-inline: var(--space-16); border-radius: 999px; border: 1px solid transparent; font-size: var(--fs-15); font-weight: 600; line-height: 1.33; transition: background-color 0.2s, color 0.2s, border-color 0.2s; background-color: var(--color-border1); color: var(--color-font2);}
.square-btn {column-gap: 8px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; min-height: var(--size-48); padding-inline: var(--space-24); border-radius: var(--radius); border: 1px solid transparent; font-size: var(--fs-15); font-weight: 600; line-height: 1.33; transition: background-color 0.2s, color 0.2s, border-color 0.2s;}
.square-btn.small {min-height: var(--size-40); padding-inline: var(--space-16);}
.square-btn.large {min-height: var(--size-50); padding-inline: var(--space-28);}
.square-btn.full, .round-btn.full {width: 100%;}
.square-btn img, .round-btn img {flex: none; width: 16px; height: 16px;}
.ico-btn {width: var(--size-44); height: var(--size-44); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; transition: background-color 0.2s, color 0.2s, border-color 0.2s; background-color: var(--color-border1);}
.ico-btn img {width: var(--space-24); height: var(--space-24);}
.ico-btn.prev-btn img {transform: rotate(180deg);}
.txt-btn {position: relative; width: fit-content; transition: color 0.2s; display: flex; align-items: center; justify-content: center; column-gap: 4px; min-height: 44px; font-size: var(--fs-15); font-weight: 600; line-height: 1.33; color: var(--color-font1); text-decoration-thickness: 1px; text-underline-offset: 4px;}
.txt-btn img {flex: none; width: 14px; height: 14px;}
/* 화살표 아이콘 */
.square-btn .arrow, .round-btn .arrow {flex: none; width: 20px; height: 20px; transition: transform 0.2s;}
.main-btn .arrow, .green-btn .arrow, .white-line-btn .arrow {filter: brightness(0) invert(1);}

.txt-btn:disabled, .txt-btn.disabled {color: var(--color-font5); pointer-events: none;}
.round-btn:disabled, .round-btn.disabled,
.square-btn:disabled, .square-btn.disabled {border-color: var(--color-border2); background-color: var(--color-border2); color: var(--color-font4); pointer-events: none;}
.main-btn {background-color: var(--color-static1); color: var(--color-font6);}
.green-btn {background-color: var(--color-static2); color: var(--color-font6);}
.sub-btn {background-color: var(--section-bg3); color: var(--color-static3);}
.line-btn {border-color: var(--color-border3); background-color: transparent; color: var(--color-font1);}
.dark-line-btn {border-color: var(--color-static1); background-color: var(--color-white); color: var(--color-font1);}
.white-line-btn {border-color: var(--color-white); background-color: rgb(var(--rgb-black) / 0.2); color: var(--color-font6);}
.white-btn {background-color: var(--color-white); color: var(--color-font1);}
.kakao-btn {background-color: #FEE500; color: rgb(var(--rgb-black) / 0.85);}
.square-btn.kakao-btn img {width: 20px; height: 20px;}
.btn-list {display: flex; align-items: center; gap: 12px; flex-wrap: wrap;}
.ico-btn.transparent-btn {background-color: transparent; transition: opacity 0.2s;}

.ico-btn:disabled, .ico-btn.disabled {pointer-events: none;}
.ico-btn:disabled img, .ico-btn.disabled img {opacity: 0.3;}


.white-line-btn:focus-visible {outline-color: var(--color-white);}
.main-hero-section .main-btn:focus-visible {outline-color: var(--color-white);}

/* 점 목록 */
.dot-ul {display: flex; flex-direction: column; row-gap: 6px;}
.dot-ul > li {position: relative; padding-left: 12px;}
.dot-ul > li::before {content: ''; position: absolute; top: 0.7em; left: 2px; width: 3px; height: 3px; border-radius: 50%; background-color: currentColor;}

/* 탭 */
.tab-list {display: flex; border-bottom: 1px solid var(--color-border1);}
.tab-list .tab {position: relative; padding: var(--space-14) var(--space-24); font-size: var(--fs-15); font-weight: 600; color: var(--color-font3); line-height: 1.33; white-space: nowrap; transition: color 0.2s;}
.tab-list .tab::after {content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background-color: var(--color-static2); transform: scaleX(0); transition: transform 0.2s;}
.tab-list .tab.active {color: var(--color-static2);}
.tab-list .tab.active::after {transform: scaleX(1);}
.tab-list.full .tab {flex: 1 1 0;}
.tab-content {display: none; padding-top: var(--space-40);}
.tab-content.active {display: block;}

/* 알약 탭 */
.pill-tab-wrap {width: 100%; overflow: hidden;}
.pill-tab-list {display: flex; align-items: center;}
.pill-tab-list:not(.swiper-wrapper) {gap: 8px; flex-wrap: wrap;}
.pill-tab {flex-shrink: 0; width: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--space-18); border-radius: 999px; border: 1px solid var(--color-border2); background-color: var(--color-white); font-size: var(--fs-15); font-weight: 600; color: var(--color-font2); transition: background-color 0.2s, color 0.2s, border-color 0.2s;}
.pill-tab.active {border-color: var(--color-static1); background-color: var(--color-static1); color: var(--color-font6);}

/* 뱃지·상태 */
.badge-list {display: flex; gap: 8px; flex-wrap: wrap; align-items: center;}
.badge {display: inline-flex; align-items: center; padding-inline: var(--space-20); height: var(--space-40); border: 1px solid transparent; border-radius: 99px; font-size: var(--fs-15); font-weight: 600; line-height: 1.33; background-color: var(--color-border1); color: var(--color-font2);}
.badge.small {height: 24px; padding-inline: 8px;}
.badge.square {border-radius: var(--radius);}
.badge.main {background-color: var(--color-static3); color: var(--color-font6);}
.badge.sub {background-color: var(--section-bg3); color: var(--color-static3);}
.badge.dot {column-gap: 4px;}
.badge.dot::before {content: ''; flex: none; width: 4px; height: 4px; border-radius: 50%; background-color: currentColor;}
.badge.confirm {background-color: var(--color-static4); color: var(--color-static2);}
.badge.green {background-color: var(--color-static3); color: var(--color-font6);}
.badge.dark {background-color: var(--color-static1); color: var(--color-font6);}
.badge.line {border-color: var(--color-border2); background-color: var(--color-white); color: var(--color-font1);}
.badge.white-line {border-color: var(--color-white); background-color: rgb(var(--rgb-black) / 0.2); color: var(--color-font6);}
.badge.cancel {background-color: var(--color-redbg); color: var(--color-red);}
.badge.done {color: var(--color-font3);}
/* 텍스트형 상태 */
.state-txt {display: inline-flex; align-items: center; column-gap: 6px; font-size: var(--fs-15); font-weight: 600;}
.state-txt::before {content: ''; width: 6px; height: 6px; border-radius: 50%; background-color: currentColor;}
.state-txt.open {color: var(--color-static3);}
.state-txt.close {color: var(--color-font3);}

/* 폼 */
.input-wrap {width: 100%; display: flex; align-items: stretch; column-gap: var(--space-12);}
.input-wrap .custom-input {flex: 1 1 auto; min-width: 0;}
.input-wrap .square-btn {flex: none; min-height: 48px;}
.input-item {display: flex; flex-direction: column; row-gap: 8px; align-items: flex-start;}
.input-item + .input-item {margin-top: var(--space-24);}
.input-item-label {display: block; font-size: var(--fs-15); font-weight: 600; line-height: 1.47; color: var(--color-font2);}
.input-item-label.req::after {content: '*'; margin-left: 2px; color: var(--color-red);}
.custom-input, .custom-textarea, .custom-select {width: 100%; height: 48px; padding: 0 var(--space-20); border: 1px solid var(--color-border2); border-radius: var(--radius); background-color: var(--color-white); font-size: max(1rem, var(--fs-16)); color: var(--color-font1);}
.custom-textarea {resize: none; height: auto; min-height: 180px; padding: var(--space-20);}
.custom-input:focus, .custom-textarea:focus, .custom-select:focus {border-color: var(--color-static2);}
.custom-input::placeholder, .custom-textarea::placeholder {color: var(--color-font4);}
.custom-input:disabled, .custom-textarea:disabled, .custom-select:disabled {background-color: var(--color-border1); color: var(--color-font4);}
.custom-input.error, .custom-textarea.error, .custom-select.error {border-color: var(--color-red);}
.error-msg {margin-top: -4px; font-size: var(--fs-14); color: var(--color-red);}
.info-msg {margin-top: -4px; font-size: var(--fs-14); color: var(--color-font3);}
.custom-select {appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: calc(var(--space-20) + 28px); background-image: url(../img/select-arrow.svg); background-repeat: no-repeat; background-position: right var(--space-20) center; background-size: 20px 20px; cursor: pointer;}
.custom-select::-ms-expand {display: none;}

/* 드롭다운 */
.custom-dropdown {position: relative; width: 100%;}
.custom-dropdown-btn, .custom-datepicker-btn {display: flex; align-items: center; justify-content: space-between; column-gap: 8px; width: 100%; height: 48px; padding: 0 var(--space-20); border: 1px solid var(--color-border2); border-radius: var(--radius); background-color: var(--color-white); font-size: max(1rem, var(--fs-16)); color: var(--color-font1); text-align: left; transition: border-color 0.2s;}
.custom-dropdown-btn span, .custom-datepicker-btn span {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.custom-dropdown-btn img, .custom-datepicker-btn img {flex: none; width: 20px; height: 20px; transition: transform 0.2s;}
.custom-dropdown-btn:focus-visible, .custom-datepicker-btn:focus-visible,
.custom-dropdown-btn[aria-expanded="true"], .custom-datepicker-btn[aria-expanded="true"] {border-color: var(--color-static2);}
.custom-dropdown-btn[aria-expanded="true"] img {transform: rotate(180deg);}
.custom-dropdown-btn:disabled, .custom-datepicker-btn:disabled {background-color: var(--color-border1); color: var(--color-font4); pointer-events: none;}
.custom-dropdown.error .custom-dropdown-btn {border-color: var(--color-red);}
/* TODO: 디자인 미수령 - 시안 나오면 다시 수정 (드롭다운 목록 · 브레드크럼 목록과 동일) */
.custom-dropdown-menu {position: absolute; top: calc(100% + 8px); left: 0; z-index: 10; width: 100%; max-height: 280px; padding: 8px; border-radius: var(--radius); background-color: var(--color-white); box-shadow: var(--box-shadow); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; border: 1px solid var(--color-border1);}
.custom-dropdown.open .custom-dropdown-menu {opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.2s, transform 0.2s, visibility 0s;}
.custom-dropdown-option {display: block; width: 100%; padding: 8px 12px; border-radius: 6px; font-size: var(--fs-15); color: var(--color-font2); text-align: left; transition: background-color 0.2s, color 0.2s;}
.custom-dropdown-option[aria-current="true"] {color: var(--color-static2); font-weight: 600;}

/* 날짜 선택 */
.custom-datepicker {position: relative; width: 100%;}
.custom-datepicker .datepicker-panel {position: fixed; z-index: 250; max-width: calc(100vw - 32px); padding: var(--space-16); border-radius: var(--radius); background-color: var(--color-white); box-shadow: var(--box-shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; border: 1px solid var(--color-border1);}
.custom-datepicker.open .datepicker-panel {opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.2s, transform 0.2s, visibility 0s;}
.datepicker-panel .datepicker-head {display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;}
.datepicker-panel .datepicker-tit {font-size: var(--fs-16); font-weight: 600; color: var(--color-font1);}
.datepicker-panel .datepicker-nav {width: 36px; height: 36px; border-radius: 50%; background: url(../img/chevron-ico.svg) center / 14px no-repeat; transition: background-color 0.2s, opacity 0.2s;}
.datepicker-panel .datepicker-nav.prev {transform: rotate(180deg);}
.datepicker-panel .datepicker-nav:disabled {opacity: 0.25; pointer-events: none;}
.datepicker-panel .datepicker-table {width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center;}
.datepicker-panel .datepicker-table th {padding-block: 6px; font-size: var(--fs-13); font-weight: 500; color: var(--color-font3);}
.datepicker-panel .datepicker-table th:first-child {color: var(--color-red);}
.datepicker-panel .datepicker-table td {padding: 2px 0;}
.datepicker-panel .datepicker-day {width: 36px; height: 36px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: var(--fs-15); color: var(--color-font1); transition: background-color 0.2s, color 0.2s;}
.datepicker-panel .datepicker-day.sun {color: var(--color-red);}
.datepicker-panel .datepicker-day[aria-current="date"] {font-weight: 700; color: var(--color-static3); box-shadow: inset 0 0 0 1px var(--color-static4);}
.datepicker-panel .datepicker-day[aria-pressed="true"] {background-color: var(--color-static2); font-weight: 600; color: var(--color-font6); box-shadow: none;}
.datepicker-panel .datepicker-day:disabled {color: var(--color-font5); pointer-events: none;}
.datepicker-panel .datepicker-foot {display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--color-border1);}
.datepicker-panel .datepicker-txt-btn {min-height: 32px; padding-inline: 8px; border-radius: 6px; font-size: var(--fs-14); font-weight: 600; color: var(--color-font3); transition: background-color 0.2s, color 0.2s;}
.datepicker-panel .datepicker-txt-btn[data-dp-today] {color: var(--color-static2);}
.datepicker-panel .datepicker-txt-btn:disabled {color: var(--color-font5); pointer-events: none;}

/* 가로형 입력 */
.input-item.row {display: grid; grid-template-columns: 160px 1fr; align-items: start; column-gap: var(--space-16);}
.input-item.row .input-item-label {padding-top: 12px;}
.input-item.row .input-item-box {display: flex; flex-direction: column; row-gap: 8px;}

/* 검색 인풋 */
.custom-input.search-input {padding-inline: calc(var(--space-20) + 24px + 8px) var(--space-20); line-height: 1.5; background-image: url(../img/search-ico-gray.svg); background-repeat: no-repeat; background-position: left var(--space-20) center; background-size: 24px 24px; transition: border-color 0.2s;}
.custom-input.search-input::-webkit-search-cancel-button,
.custom-input.search-input::-webkit-search-decoration {-webkit-appearance: none; appearance: none;}
.custom-input.search-input:focus {border-color: var(--color-static2);}

/* 검색 자동완성 [data-search-suggest] */
/* TODO: 디자인 미수령 - 시안 나오면 다시 수정 (목록 · 브레드크럼 목록과 동일) */
.search-suggest-wrap {position: relative; width: 100%;}
.input-wrap .search-suggest-wrap {flex: 1 1 auto; min-width: 0;}
.search-suggest {position: absolute; top: calc(100% + 8px); left: 0; z-index: 10; width: 100%; max-height: 320px; padding: 8px; border-radius: var(--radius); background-color: var(--color-white); box-shadow: var(--box-shadow); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;}
.search-suggest-wrap.open .search-suggest {opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.2s, transform 0.2s, visibility 0s;}
.search-suggest [role="option"] {display: flex; align-items: center; justify-content: space-between; column-gap: 8px; padding: 8px 12px; border-radius: 6px; font-size: var(--fs-15); color: var(--color-font2); cursor: pointer; transition: background-color 0.2s, color 0.2s;}
.search-suggest [role="option"].active {background-color: var(--section-bg1); color: var(--color-static2);}
.search-suggest [role="option"][hidden] {display: none;}
.search-suggest mark {background: none; color: var(--color-static2); font-weight: 600;}
.search-suggest-sub {flex: none; font-size: var(--fs-13); color: var(--color-font3);}
.search-suggest-empty {padding: 8px 12px; font-size: var(--fs-14); color: var(--color-font3);}

/* 체크&라디오 공통 */
.check-item {display: inline-flex; align-items: center; gap: 8px; min-height: 44px;}
.check-item label {font-size: var(--fs-15); cursor: pointer;}
.check-list {display: flex; flex-wrap: wrap; column-gap: var(--space-24);}

/* 체크박스 */
.custom-checkbox {appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--color-border3); border-radius: 4px; background-color: var(--color-white); background-repeat: no-repeat; background-position: center; background-size: 12px 12px; cursor: pointer; transition: border-color 0.2s, background-color 0.2s;}
.custom-checkbox:checked {border-color: var(--color-static2); background-color: var(--color-static2); background-image: url(../img/check-ico-white.svg);}
.custom-checkbox:disabled {border-color: var(--color-border2); background-color: var(--color-border1); cursor: default;}
.custom-checkbox:checked:disabled {border-color: var(--color-border3); background-color: var(--color-border3);}
.custom-checkbox:disabled + label {color: var(--color-font4);}
.custom-checkbox:focus-visible {outline: 2px solid var(--color-static2); outline-offset: 2px;}

/* 체크박스 카드 */
.check-card-list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;}
.check-card-list.col3 {grid-template-columns: repeat(3, minmax(0, 1fr));}
.check-card {display: flex; align-items: center; column-gap: var(--space-20); padding: var(--space-20); border: 1px solid var(--color-border1); border-radius: var(--radius); background-color: var(--color-white); cursor: pointer; transition: border-color 0.2s, background-color 0.2s;}
.check-card .txt-wrap {display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; column-gap: 8px; min-width: 0;}
.check-card .check-card-tit {color: var(--color-font1);}
.check-card .check-card-price {flex: none; color: var(--color-font1);}
.check-card:has(.custom-checkbox:checked) {border-color: var(--color-static2); background-color: var(--section-bg3);}
.check-card:has(.custom-checkbox:disabled) {background-color: var(--color-border1); cursor: default;}
.check-card:has(.custom-checkbox:disabled) .txt-wrap * {color: var(--color-font4);}
/* 변형 2 */
.check-card.col .txt-wrap {flex-direction: column; align-items: flex-start; justify-content: flex-start;}
.check-card .check-card-desc {color: var(--color-font3);}

/* 라디오 */
.radio-list {display: flex; flex-wrap: wrap; column-gap: var(--space-24);}
.custom-radio {appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--color-border3); border-radius: 50%; background-color: var(--color-white); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;}
.custom-radio:checked {border-color: var(--color-static2); background-color: var(--color-static2); box-shadow: inset 0 0 0 4px var(--color-white);}
.custom-radio:disabled {border-color: var(--color-border2); background-color: var(--color-border1); cursor: default;}
.custom-radio:disabled + label {color: var(--color-font4);}
.custom-radio:focus-visible {outline: 2px solid var(--color-static2); outline-offset: 2px;}

/* 칩 라디오 */
.radio-chip {position: relative; display: inline-flex;}
.radio-chip > input {position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0;}
.radio-chip > label {display: inline-flex; align-items: center; justify-content: center; min-width: 82px; min-height: 40px; padding: 0 var(--space-18); border: 1px solid var(--color-border2); border-radius: 999px; background-color: var(--color-white); font-size: var(--fs-15); font-weight: 500; color: var(--color-font1); line-height: 1.47; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s;}
.radio-chip > input:checked + label {border-color: var(--color-static2); background-color: var(--color-static2); color: var(--color-font6);}
.radio-chip > input:disabled + label {border-color: var(--color-border1); background-color: var(--color-border1); color: var(--color-font4); cursor: default;}
.radio-chip > input:focus-visible + label {outline: 2px solid var(--color-static2); outline-offset: 2px;}
/* 칩 목록 · 작은 칩 */
.radio-chip-list {display: flex; flex-wrap: wrap; gap: 12px;}
.radio-chip.small > label {min-width: 0; min-height: 36px; padding-inline: var(--space-16); border-color: var(--color-border1); font-size: var(--fs-15);}

/* 스위치 */
.custom-switch {appearance: none; flex: none; position: relative; width: 44px; height: 24px; margin: 0; border-radius: 999px; background-color: var(--color-font5); cursor: pointer; transition: background-color 0.2s;}
.custom-switch::after {content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background-color: var(--color-white); transition: transform 0.2s;}
.custom-switch:checked {background-color: var(--color-static2);}
.custom-switch:checked::after {transform: translateX(20px);}
.custom-switch:focus-visible {outline: 2px solid var(--color-static2); outline-offset: 2px;}

/* 테이블 */
.table-wrap {width: 100%; padding: 10px; border: 1px solid var(--color-border1); border-radius: var(--radius); background-color: var(--color-white);}
.custom-table {width: 100%; border-collapse: separate; border-spacing: 0; text-align: left;}
.custom-table caption {margin-bottom: var(--space-12); font-size: var(--fs-16); font-weight: 600; text-align: left;}
.custom-table th, .custom-table td {padding: var(--space-20); border-bottom: 1px solid var(--color-border1); font-size: var(--fs-18); font-weight: 600; line-height: 1.67; color: var(--color-font1); vertical-align: middle;}
.custom-table thead th {border-bottom: 0; background-color: var(--section-bg3); font-size: var(--fs-22); line-height: 1.36; color: var(--color-static2);}
.custom-table thead th:first-child {border-radius: var(--radius) 0 0 var(--radius);}
.custom-table thead th:last-child {border-radius: 0 var(--radius) var(--radius) 0;}
.custom-table tbody tr:last-child > * {border-bottom: 0;}
.custom-table .center {text-align: center;}
/* 비교 표 */
.custom-table.compare-table {table-layout: fixed;}
.custom-table.compare-table tbody th {color: var(--color-static2);}
.custom-table.compare-table th .body-small {display: block; color: var(--color-font3);}
.custom-table .table-dot {display: inline-block; width: 14px; height: 14px; border-radius: 50%; background-color: var(--color-static3); vertical-align: middle;}
.custom-table .table-dash {color: var(--color-font4);}
/* 세로 헤더형 */
.custom-table.type-row th {width: 200px; background-color: var(--section-bg3); color: var(--color-static2);}
.custom-table.type-row tr:first-child th {border-top-left-radius: var(--radius);}
.custom-table.type-row tr:last-child th {border-bottom-left-radius: var(--radius);}
/* 동그라미 체크 목록 */
.check-circle-list {display: flex; flex-direction: column; row-gap: 10px;}
.check-circle-list li {display: flex; align-items: flex-start; column-gap: 8px;}
.check-circle-list li::before {content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; background: url(../img/check-circle-ico.svg) center / contain no-repeat;}

/* 회색 안내 알약 */
.note-pill {width: fit-content; padding: 8px var(--space-14); border-radius: 99px; background-color: var(--section-bg1); color: var(--color-font2);}

/* 테이블 안내문구 */
.table-desc {margin-top: var(--space-20); color: var(--color-font3);}

/* 게시판 목록 */
.board-top {display: flex; align-items: center; justify-content: space-between; column-gap: var(--space-40);}
.board-count {flex: none; color: var(--color-font3);}
.board-count strong {font-weight: inherit; color: var(--color-static2);}
.board-search {flex: 1 1 auto; max-width: 620px;}
.board-search .square-btn {padding-inline: var(--space-40);}
.board-table {width: 100%; margin-top: var(--space-30); border-collapse: collapse; table-layout: fixed; text-align: center;}
.board-table .board-col-type {width: 120px;}
.board-table .board-col-views {width: 130px;}
.board-table .board-col-date {width: 180px;}
.board-table thead th {height: 50px; padding: 0 var(--space-20); background-color: var(--section-bg1); font-weight: 500; color: var(--color-font3);}
.board-table td {padding: var(--space-24) var(--space-20); border-bottom: 1px solid var(--color-border1); color: var(--color-font3);}
.board-table .board-tit {text-align: left;}
.board-table tbody tr {position: relative;}
.board-table .badge.small {justify-content: center; min-width: 60px; height: 30px; padding-inline: 8px;}
.board-table .board-num {color: var(--color-font3);}
.board-table .board-tit a {display: block; overflow: hidden; color: var(--color-font1); text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s;}
.board-table .board-tit a::after {content: ''; position: absolute; inset: 0;}
.board-table .board-tit a:focus-visible {outline: 0;}
.board-table tbody tr:has(a:focus-visible) {outline: 2px solid var(--color-static2); outline-offset: -2px;}
.board-table .board-empty td {padding: 0;}

/* 게시판 상세 */
.board-view-head {display: flex; flex-direction: column; align-items: flex-start; padding-bottom: var(--space-40); border-bottom: 1px solid var(--color-border1);}
.board-view-head .badge + .sub-section-tit {margin-top: 12px;}
.board-view-info {display: flex; flex-wrap: wrap; column-gap: var(--space-30); row-gap: 4px; margin-top: 12px;}
.board-view-info div {display: flex; column-gap: 8px;}
.board-view-info dt {color: var(--color-font3);}
.board-view-content {max-width: 828px; margin-inline: auto; padding-block: var(--space-60); color: var(--color-font2); word-break: keep-all;}
.board-view-content > * {max-width: 760px; margin-inline: auto;}
.board-view-content > * + * {margin-top: 1.5em;}
.board-view-content > p:has(img:only-child) {max-width: none;}
.board-view-content > p:has(img:only-child) + * {margin-top: var(--space-60);}
.board-view-content img {display: block; max-width: 100%; height: auto; margin-inline: auto;}
.board-nav {border-top: 1px solid var(--color-border1);}
.board-nav li {display: flex; align-items: center; column-gap: var(--space-30); padding: var(--space-24) var(--space-20); border-bottom: 1px solid var(--color-border1);}
.board-nav-label {flex: none; display: flex; align-items: center; column-gap: 6px; color: var(--color-font3);}
.board-nav-label img {width: 16px; height: 16px;}
.board-nav .prev .board-nav-label img {transform: rotate(-90deg);}
.board-nav .next .board-nav-label img {transform: rotate(90deg);}
.board-nav-tit {overflow: hidden; min-width: 0; font-weight: 500; color: var(--color-font1); text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s;}
.board-nav-tit.none {font-weight: inherit; color: var(--color-font3);}

/* 페이지네이션 */
.pagination {display: flex; align-items: center; justify-content: center; column-gap: 12px; margin-top: var(--space-40);}
.pagination-list {display: flex; align-items: center; column-gap: 12px;}
.pagination-num, .pagination-arrow, .pagination-ellipsis {display: flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; border-radius: 99px; font-size: var(--fs-15); color: var(--color-font3); transition: background-color 0.2s, color 0.2s;}
.pagination-num {padding-inline: 4px;}
.pagination-num[aria-current="page"] {background-color: var(--color-static2); font-weight: 600; color: var(--color-font6);}
.pagination-arrow img {width: 16px; height: 16px;}
.pagination-arrow.prev img {transform: rotate(180deg);}
.pagination-arrow.disabled {opacity: 0.3;}
.pagination-num:focus-visible, .pagination-arrow:focus-visible {outline: 2px solid var(--color-static2); outline-offset: 2px;}

/* 모달 */
.modal {position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background-color: rgb(var(--rgb-black) / 0.5);}
.modal.active {display: flex;}
.modal .modal-inner {position: relative; width: 100%; max-width: 480px; max-height: 84vh; overflow-y: auto; padding: var(--space-40); background-color: var(--color-white); border-radius: var(--radius);}
.modal .modal-tit {margin-bottom: 12px;}
.modal .modal-close-btn {position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;}
.modal .modal-close-btn::before, .modal .modal-close-btn::after {content: ''; position: absolute; top: 50%; left: 12px; right: 12px; height: 2px; background-color: var(--color-font1);}
.modal .modal-close-btn::before {transform: rotate(45deg);}
.modal .modal-close-btn::after {transform: rotate(-45deg);}

/* 목록으로 버튼 */
.list-btn-wrap {display: flex; justify-content: center; margin-top: var(--space-60);}
.list-btn-wrap .square-btn img {width: 20px; height: 20px;}

/* 빈 상태 공통 */
.empty-msg {padding: var(--space-40) 0; font-size: var(--fs-16); line-height: 1.5; color: var(--color-font3); text-align: center;}
.empty-msg[hidden] {display: none;}

/* 공통스와이퍼 */
.swiper-nav-btn {width: var(--size-56); height: var(--size-56); border: 1px solid var(--color-border1); position: absolute; top: 50%; z-index: 10; display: flex; transform: translateY(-50%); transition: opacity 0.2s, background-color 0.2s, border-color 0.2s; box-shadow: var(--box-shadow);}
.swiper-prev {left: 0;}
.swiper-next {right: 0;}
.swiper-nav-btn.swiper-button-lock,
.swiper-nav-btn.swiper-button-disabled {background-color: var(--color-white);}
.swiper-nav-btn.swiper-button-lock img,
.swiper-nav-btn.swiper-button-disabled img {opacity: 0.3;}

/* FAQ 아코디언 */
.faq-list {border-top: 1px solid var(--color-static2);}
.faq-item {border-bottom: 1px solid var(--color-border2);}
.faq-q {display: flex; align-items: center; column-gap: var(--space-30); padding: var(--space-20) 0; cursor: pointer; list-style: none;}
.faq-q::-webkit-details-marker {display: none;}
.faq-q::after {content: ''; flex: none; width: 20px; height: 20px; margin-left: auto; background: url(../img/select-arrow.svg) center / contain no-repeat; opacity: 0.5; transition: transform 0.6s var(--ease-out), opacity 0.2s;}
.faq-item[open] .faq-q::after {opacity: 1; transform: rotate(180deg);}
.faq-q .faq-mark {flex: none; width: 1em; color: var(--color-static2);}
.faq-q .faq-q-txt {flex: 1 1 auto; min-width: 0; color: var(--color-font1);}
.faq-q:focus-visible {outline: 2px solid var(--color-static2); outline-offset: 2px;}
.faq-a {padding: 0 calc(20px + var(--space-24)) var(--space-20) calc(var(--fs-28) + var(--space-20)); color: var(--color-font3);}
.faq-item[open] .faq-a {animation: faqOpen 0.7s var(--ease-out) 0.1s both;}
@keyframes faqOpen {from {opacity: 0; transform: translateY(-8px);}}

/* 영상 */
.video-box {position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background-color: var(--color-static1);}
.video-box iframe, .video-btn {position: absolute; inset: 0; width: 100%; height: 100%; border: 0;}
.video-btn img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out);}
.video-btn .play-ico {position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: var(--size-56); height: var(--size-56); border-radius: 50%; background-color: var(--color-white); box-shadow: var(--box-shadow); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out);}
.video-btn .play-ico::before {content: ''; margin-left: 3px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--color-static2);}
.video-btn:focus-visible {outline: 2px solid var(--color-static2); outline-offset: -2px;}

/* 스크롤 등장 */
[data-aos] {--aos-delay: 0s; transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);}
[data-aos].aos-animate {transition-delay: var(--aos-delay);}
[data-aos-delay="100"] {--aos-delay: 0.1s;}
[data-aos-delay="200"] {--aos-delay: 0.2s;}
[data-aos-delay="300"] {--aos-delay: 0.3s;}
[data-aos-delay="400"] {--aos-delay: 0.4s;}
[data-aos-delay="500"] {--aos-delay: 0.5s;}
[data-aos-delay="600"] {--aos-delay: 0.6s;}
[data-aos].aos-init:not(.aos-animate) {opacity: 0;}
[data-aos="fade-up"].aos-init:not(.aos-animate) {transform: translateY(32px);}
[data-aos="img-reveal"] img {transition: transform 1.8s var(--ease-out);}
[data-aos="img-reveal"].aos-animate img {transition-delay: var(--aos-delay);}
[data-aos="img-reveal"].aos-init:not(.aos-animate) img {transform: scale(1.08);}

/* 지점 */
/* 검색 */
.store-search {display: flex; column-gap: 20px;}
.store-search .input-wrap {flex: 1 1 auto; min-width: 0;}
.store-search .search-input {max-width: none; padding-inline: calc(var(--space-20) + 24px + 8px) var(--space-20); background-position: left var(--space-20) center;}
.store-search .custom-select, .store-search .custom-dropdown {flex: none; width: 200px;}
/* 카드 */
.store-card {display: flex; flex-direction: column; row-gap: 26px; height: 100%; padding: 20px; border: 1px solid var(--color-border1); border-radius: 20px; background-color: var(--color-white);}
.store-card .img-wrap {aspect-ratio: 360 / 250; border-radius: var(--radius); overflow: hidden; background-color: var(--section-bg1);}
.store-card .img-wrap img {width: 100%; height: 100%; object-fit: cover;}
.store-card .card-tit {color: var(--color-font1);}
.store-card .tit-wrap {display: flex; flex-direction: column; align-items: flex-start; row-gap: 8px;}
.store-info {display: flex; flex-direction: column; row-gap: 8px;}
.store-info > div {display: flex; align-items: center; justify-content: space-between; column-gap: 16px;}
.store-info dt {display: flex; align-items: center; column-gap: 10px; flex: none; color: var(--color-font3);}
.store-info dt img {width: 20px; height: 20px;}
.store-info dd {min-width: 0; text-align: right; color: var(--color-font1);}
.store-info dd a {color: inherit;}
.store-card .square-btn {width: 100%; margin-top: auto;}

/* 호버 */
@media (hover: hover) {
    .board-nav a.board-nav-tit:hover {color: var(--color-static2);}
    .square-btn:hover .arrow, .round-btn:hover .arrow {transform: translateX(4px);}
    .main-btn:hover {background-color: var(--color-font2);}
    .green-btn:hover {background-color: var(--color-static3);}
    .sub-btn:hover {background-color: var(--color-static4);}
    .line-btn:hover {border-color: var(--color-font1); background-color: var(--color-border1);}
    .dark-line-btn:hover {background-color: var(--color-static1); color: var(--color-font6);}
    .white-line-btn:hover {background-color: rgb(var(--rgb-black) / 0.5);}
    .white-btn:hover {background-color: var(--color-border1);}
    .kakao-btn:hover {background-color: #F5DC00;}
    .txt-btn:hover {text-decoration: underline;}
    .dark-line-btn:hover .arrow {filter: brightness(0) invert(1);}
    .ico-btn.transparent-btn:hover {opacity: 0.7;}
    .tab-list .tab:hover {color: var(--color-font1);}
    .pill-tab:hover {border-color: var(--color-border3); color: var(--color-font1);}
    .custom-input.search-input:hover {border-color: var(--color-border3);}
    .search-suggest [role="option"]:hover {background-color: var(--section-bg1); color: var(--color-static2);}
    .check-card:not(:has(.custom-checkbox:checked)):not(:has(.custom-checkbox:disabled)):hover {border-color: var(--color-border3);}
    .custom-dropdown-btn:not([aria-expanded="true"]):hover, .custom-datepicker-btn:not([aria-expanded="true"]):hover {border-color: var(--color-border3);}
    .custom-dropdown-option:hover {background-color: var(--section-bg1); color: var(--color-static2);}
    .datepicker-panel .datepicker-nav:hover, .datepicker-panel .datepicker-txt-btn:hover {background-color: var(--section-bg1);}
    .datepicker-panel .datepicker-day:not([aria-pressed="true"]):hover {background-color: var(--section-bg1); color: var(--color-static2);}
    .check-item:hover .custom-radio:not(:checked):not(:disabled) {border-color: var(--color-font4);}
    .radio-chip > input:not(:checked):not(:disabled) + label:hover {border-color: var(--color-static2);}
    .faq-q:hover .faq-q-txt {color: var(--color-static2);}
    .faq-q:hover::after {opacity: 1;}
    .video-btn:hover img {transform: scale(1.04);}
    .video-btn:hover .play-ico {transform: translate(-50%, -50%) scale(1.08);}
    .store-card .img-wrap img {transition: transform 0.8s var(--ease-out);}
    .store-card:hover .img-wrap img {transform: scale(1.04);}
    .board-table tbody tr:hover .board-tit a {color: var(--color-static2);}
    .pagination-num:not([aria-current="page"]):hover, a.pagination-arrow:hover {background-color: var(--section-bg1); color: var(--color-font1);}
}

@media screen and (max-width: 1024px) {
    :root {--header-height: 64px;}
}

@media screen and (max-width: 768px) {
    .store-search {flex-wrap: wrap; row-gap: 12px;}
    .store-search .input-wrap {flex-basis: 100%;}
    .store-search .custom-select, .store-search .custom-dropdown {width: 100%;}

    /* 게시판 목록 */
    .board-top {flex-direction: column; align-items: stretch; row-gap: var(--space-16);}
    .board-search {max-width: none;}
    .board-search .square-btn {padding-inline: var(--space-20);}
    .board-table, .board-table tbody {display: block;}
    .board-table thead, .board-table colgroup {display: none;}
    .board-table {border-top: 1px solid var(--color-static2);}
    .board-table tbody tr {display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: var(--space-20) 0; border-bottom: 1px solid var(--color-border1);}
    .board-table td {padding: 0; border: 0; text-align: left;}
    .board-table .board-type {flex: none;}
    .board-table .board-num {min-width: 60px; text-align: center;}
    .board-table .board-tit {flex: 1 1 calc(100% - 70px); min-width: 0;}
    .board-table .board-views {flex-basis: auto; display: flex; column-gap: 4px;}
    .board-table .board-views::before {content: attr(data-label);}
    .board-table .board-date {flex: none;}
    .board-table .board-date::before {content: ''; display: inline-block; width: 1px; height: 10px; margin-right: 10px; background-color: var(--color-border2);}
    .board-table .board-empty {display: block; padding: 0;}
    .board-table .board-empty td {display: block;}
    .pagination, .pagination-list {column-gap: 6px;}

    :root {--header-height: 56px;}

    .tab-list {overflow-x: auto; scrollbar-width: none;}
    .tab-list::-webkit-scrollbar {display: none;}
    .tab-list .tab {flex-shrink: 0; padding-inline: var(--space-16);}

    .check-card-list, .check-card-list.col3 {grid-template-columns: minmax(0, 1fr);}

    .input-item.row {grid-template-columns: 1fr; row-gap: 8px;}
    .input-item.row .input-item-label {padding-top: 0;}

    /* 테이블 카드형 */
    .custom-table:not(.type-row), .custom-table:not(.type-row) tbody {display: block;}
    .custom-table:not(.type-row) thead {display: none;}
    .custom-table:not(.type-row) tr {display: flex; flex-wrap: wrap; row-gap: 10px; padding-bottom: var(--space-16); border-bottom: 1px solid var(--color-border1);}
    .custom-table:not(.type-row) tbody tr + tr {padding-top: var(--space-16);}
    .custom-table:not(.type-row) tbody tr:last-child {padding-bottom: 6px; border-bottom: 0;}
    .custom-table:not(.type-row) th, .custom-table:not(.type-row) td {width: 100%; padding: 0; border: 0;}
    /* 카드 제목 */
    .custom-table:not(.type-row) tbody th {padding: 12px var(--space-16); border-radius: var(--radius); background-color: var(--section-bg3); font-size: var(--fs-20); color: var(--color-static2);}
    .custom-table:not(.type-row) td {display: flex; align-items: flex-start; padding-inline: var(--space-16); font-size: var(--fs-18); line-height: 1.44; word-break: keep-all;}
    .custom-table:not(.type-row) td::before {content: attr(data-label); flex: none; width: 8em; margin-right: 12px; font-size: var(--fs-16); font-weight: 500; line-height: 1.625; color: var(--color-font3);}
    .custom-table td .table-dot {margin-top: 6px;}
    .note-pill {border-radius: var(--radius);}
    .custom-table.type-row th {width: 120px;}
    .custom-table.type-row th, .custom-table.type-row td {padding: var(--space-16) var(--space-12); font-size: var(--fs-18);}
}

/* 동작 줄이기 설정 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important;}
}
