﻿@charset "UTF-8";

@import url("dialog.css?v=20261106"); /* 컴포넌트 스타일 파일 불러오기 */


html,
body,
div,
span,
object,
iframe,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main,
summary,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
form,
fieldset,
legend,
input,
label,
button,
textarea,
select,
textarea,
input,
data,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
time,
mark,
audio,
video,
a {
  margin: 0;
  padding: 0;
  border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body,
select,
input,
button,
textarea,
pre {
  letter-spacing: -0.06rem;
  font-size: 1.6rem;
  font-family: 'SpoqaHanSansNeo', 'Mulgun Gothic', -apple-system, BlinkMacSystemfont, AppleSDGothicNeo-Regular, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


strong,
b {
  font-weight: 700;
}

html {
  font-size: 62.5%;
  letter-spacing: -0.06rem;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'SpoqaHanSansNeo', 'Mulgun Gothic', -apple-system, BlinkMacSystemfont, AppleSDGothicNeo-Regular, sans-serif;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none; 
  padding-right: 2.4rem; 
}

div {
  font-family: 'SpoqaHanSansNeo', 'Mulgun Gothic', -apple-system, BlinkMacSystemfont, AppleSDGothicNeo-Regular, sans-serif;
}

html, button, input, select, textarea  {
  font-family: 'SpoqaHanSansNeo', 'Mulgun Gothic', -apple-system, BlinkMacSystemfont, AppleSDGothicNeo-Regular, sans-serif;
}

body {
  font-size: 1.6rem;
  line-height: 2.2rem;
  letter-spacing: -0.06rem;
  font-variant-numeric: tabular-nums;
  -webkit-text-size-adjust: 100%;
  color: #222;
  
}

@media (min-width: 1080px) {
  body { background: #f0e9e3; }
}

a:link, a:hover {
    text-decoration: none;
}

a {
  all: unset;
  display: inline;
  cursor: pointer;
}

ol,
ul,
li {
  list-style: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
}



button {
  background: none;
  border: none;
  padding: 0;
  letter-spacing: -0.06rem;
}

a {
  text-decoration: none;
  box-sizing: border-box;
  letter-spacing: -0.06rem;
}

.highlight-primary {
  color: var(--primary);
}

@font-face {
  font-family: 'SpoqaHanSansNeo';
  font-weight: 100;
  font-style: normal;
  src: url("fonts/SpoqaHanSansNeo-Thin.eot");
  src: url("fonts/SpoqaHanSansNeo-Thin.eot?#iefix") format("embedded-opentype"), url("fonts/SpoqaHanSansNeo-Thin.woff") format("woff"), url("fonts/SpoqaHanSansNeo-Thin.woff2") format("woff2");
}

@font-face {
  font-family: 'SpoqaHanSansNeo';
  font-weight: 300;
  font-style: normal;
  src: url("fonts/SpoqaHanSansNeo-Light.eot");
  src: url("fonts/SpoqaHanSansNeo-Light.eot?#iefix") format("embedded-opentype"), url("fonts/SpoqaHanSansNeo-Light.woff") format("woff"), url("fonts/SpoqaHanSansNeo-Light.woff2") format("woff2");
}

@font-face {
  font-family: 'SpoqaHanSansNeo';
  font-weight: normal;
  font-style: normal;
  src: url("fonts/SpoqaHanSansNeo-Regular.eot");
  src: url("fonts/SpoqaHanSansNeo-Regular.eot?#iefix") format("embedded-opentype"), url("fonts/SpoqaHanSansNeo-Regular.woff") format("woff"), url("fonts/SpoqaHanSansNeo-Regular.woff2") format("woff2");
}

@font-face {
  font-family: 'SpoqaHanSansNeo';
  font-weight: 500;
  font-style: normal;
  src: url("fonts/SpoqaHanSansNeo-Medium.eot");
  src: url("fonts/SpoqaHanSansNeo-Medium.eot?#iefix") format("embedded-opentype"), url("fonts/SpoqaHanSansNeo-Medium.woff") format("woff"), url("fonts/SpoqaHanSansNeo-Medium.woff2") format("woff2");
}

@font-face {
  font-family: 'SpoqaHanSansNeo';
  font-weight: 700;
  font-style: normal;
  src: url("fonts/SpoqaHanSansNeo-Bold.eot");
  src: url("fonts/SpoqaHanSansNeo-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/SpoqaHanSansNeo-Bold.woff") format("woff"), url("fonts/SpoqaHanSansNeo-Regular.woff2") format("woff2");
}



/* override */
@font-face {
  font-family: 'SpoqaHanSansNeo--override';
  font-weight: normal;
  font-style: normal;
  src: url("fonts/SpoqaHanSansNeo-Regular.eot");
  src: url("fonts/SpoqaHanSansNeo-Regular.eot?#iefix") format("embedded-opentype"), url("fonts/SpoqaHanSansNeo-Regular.woff") format("woff"), url("fonts/SpoqaHanSansNeo-Regular.woff2") format("woff2");
}

 
:root {
      /* 색상시스템 */
      --gray-100: #f7f7f7;
      --gray-200: #eee;
      --gray-300: #e5e5e5;
      --gray-400: #d5d5d5;
      --gray-500: #ccc;
      --gray-600: #bbb;
      --gray-700: #999;
      --gray-800: #666;
      --gray-900: #333;
      --secondary: #222;

      
      --primary-100: #FFF5F2;
      --primary-200: #FFD5C9;
      --primary-300: #FF9679;
      --primary-400: #CFC6C3;
      --primary: #ff5b2c;

      --point-blue: #6275F4;
      --point-green: #34D7A9;
      --point-red: #FF0066;
      --point-primary: #FF9679;


      /* 폰트 크기 시스템 */
      --head-sm: 2.2rem;
      --head-md: 2.4rem;
      --head-lg: 3.2rem;
      
      --body-xxs: 1.2rem;
      --body-xs: 1.3rem;
      --body-sm: 1.4rem;
      --body-md: 1.6rem;
      --body-lg: 1.8rem;
      --body-xl: 2.0rem;
      --body-xxl: 2.2rem;

      --weight-thin: 100;
      --weight-reg: 400;
      --weight-bold: 700;

      --line-tight: 1.6rem;
      --line-normal: 2.2rem;
      --line-loose: 2.6rem;
      
}

/* 버튼 시스템 */
    /* 1. 기본 버튼 */
    .btn {
      display: inline-flex;
      justify-content: center;
      line-height: var(--line-normal);
      align-items: center;
      padding: 0 1.4rem;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s, color 0.3s;
    }

    /* 2. 크기, 폰트사이즈 */
    .btn--sm { 
      height: 4rem; 
      font-size: var(--body-sm);
      font-weight: 500;
    }

    .btn--md { 
      height: 4.8rem; 
      font-size: var(--body-md);
      font-weight: var(--weight-reg);
    }

    .btn--lg { 
      height: 5.6rem; 
      font-size: var(--body-lg);
      font-weight: var(--weight-bold);
    }

    /* 3. 형태 */
    .btn { 
      border-radius: 0.8rem; 
    } 
    .btn--rounded { 
      border-radius: 999rem; 
    }

    /* Primary -fill */
    .btn--primary {
      background-color: var(--primary);
      color: #fff;
    }
    .btn--primary:hover { 
      background-color: #e94c21; 
    }
    .btn--primary:active { 
      background-color: var(--primary); 
    }
    .btn--primary:disabled {
      background-color: #ede8e7;
      color: var(--gray-600);
      cursor: not-allowed;
    }

    /* Secondary -fill */
    .btn--secondary {
      background-color: var(--secondary);
      color: #fff;
    }
    .btn--secondary:hover { 
      background-color: #000; 
    }
    .btn--secondary:active { 
      background-color: var(--secondary); 
    }
    .btn--secondary:disabled {
      background-color: var(--gray-200);
      color: var(--gray-600);
      cursor: not-allowed;
    }
    
    /* light gray -fill */
    .btn--lightgray {
      background-color: var(--gray-200);
      color: var(--gray-900);
    }
    .btn--lightgray:hover { 
      background-color: var(--gray-300); 
    }
    .btn--lightgray:active { 
      background-color: var(--gray-200); 
    }
    .btn--lightgray:disabled {
      background-color: var(--gray-200);
      color: var(--gray-600);
      cursor: not-allowed;
    }

    /* Stroke -primary */
    .btn--stroke-p {
      background-color: #fff;
      color: var(--primary);
      border: 1px solid var(--primary-300);
    }
    .btn--stroke-p:hover {
      border: 1px solid #ffc1b0;
    }
    .btn--stroke-p:active {
      border: 1px solid var(--primary-300);
    }
    .btn--stroke-p:disabled {
      color: var(--gray-500);
      border: 1px solid var(--gray-300);
      cursor: not-allowed;
    }

    /* Stroke - seconary */
    .btn--stroke-s {
      background-color: #fff;
      color: var(--secondary);
      border: 1px solid var(--gray-800);
    }
    .btn--stroke-s:hover {
      border: 1px solid var(--gray-700);
    }
    .btn--stroke-s:active {
      border: 1px solid var(--gray-800);
    }
    .btn--stroke-s:disabled {
      color: var(--gray-500);
      border: 1px solid var(--gray-300);
      cursor: not-allowed;
    }

    /* Stroke - gray */
    .btn--stroke-g {
      background-color: #fff;
      color: var(--gray-800);
      border: 1px solid var(--gray-500);
    }
    .btn--stroke-g:hover {
     border: 1px solid var(--gray-600);
    }
    .btn--stroke-g:active {
      border: 1px solid var(--gray-600);
    }
    .btn--stroke-g:disabled {
      color: var(--gray-500);
      border: 1px solid var(--gray-300);
      cursor: not-allowed;
    }

    /* Stroke fill -primary */
    .btn--sf-p {
      background-color: #fff;
      color: var(--secondary);
      border: 1px solid var(--gray-300);
    }
    .btn--sf-p:hover {
      border: 1px solid var(--gray-300);
    }
    .btn--sf-p:active {
      border: 1px solid var(--gray-300);
    }
    .btn--sf-p:disabled {
      color: var(--gray-700);
      border: 1px solid var(--gray-400);
      cursor: not-allowed;
      opacity: 0.5;
    }

    .btn--sf-p.is-active {
      background-color: var(--primary-100);
      color: var(--primary);
      border: 1px solid var(--primary-300);
    }

    /* Stroke fill -filter */
    .btn--sf-filter {
      background-color: #fff;
      color: var(--gray-800);
      border: 1px solid var(--gray-400);
    }
    .btn--sf-filter:hover {
      border: 1px solid var(--gray-400);
    }
    .btn--sf-filter:active {
      border: 1px solid var(--gray-400);
    }
    .btn--sf-filter:disabled {
      color: var(--primary-400);
      border: 1px solid var(--gray-300);
      cursor: not-allowed;
      opacity: 0.5;
    }

    .btn--sf-filter.is-active {
      background-color: var(--primary-100);
      color: var(--primary);
      border: 1px solid var(--primary-300);
    }

    /* Stroke fill -primary */
    .btn--sf-select {
      background-color: #fff;
      color: var(--gray-800);
      border: 1px solid var(--gray-300);
    }
    .btn--sf-select:hover {
      border: 1px solid var(--gray-300);
    }
    .btn--sf-select:active {
      border: 1px solid var(--gray-300);
    }
    .btn--sf-select:disabled {
      color: var(--gray-700);
      border: 1px solid var(--gray-400);
      cursor: not-allowed;
      opacity: 0.5;
    }

    .btn--sf-select.is-active {
      background-color: var(--primary);
      color: #fff;
      border: 1px solid var(--primary);
    }



/* 하단 네비바 */

#navBar {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  z-index: 10;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav-bar__item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.nav-bar__item:nth-child(1) .nav-bar__anchor::before {
  background-image: url("../resources/images/icon/icon-nav-home-off.svg");
}

.nav-bar__item:nth-child(1) .nav-bar__anchor[aria-current='page']::before {
  background-image: url("../resources/images/icon/icon-nav-home-on.svg");
}

.nav-bar__item:nth-child(2) .nav-bar__anchor::before {
  background-image: url("../resources/images/icon/icon-nav-area-off.svg");
}

.nav-bar__item:nth-child(2) .nav-bar__anchor[aria-current='page']::before {
  background-image: url("../resources/images/icon/icon-nav-area-on.svg");
}

.nav-bar__item:nth-child(3) .nav-bar__anchor::before {
  background-image: url("../resources/images/icon/icon-nav-mypoint-off.svg");
}

.nav-bar__item:nth-child(3) .nav-bar__anchor[aria-current='page']::before {
  background-image: url("../resources/images/icon/icon-nav-mypoint-on.svg");
}

.nav-bar__item:nth-child(4) .nav-bar__anchor::before {
  background-image: url("../resources/images/icon/icon-nav-hipass-off.svg");
}

.nav-bar__item:nth-child(4) .nav-bar__anchor[aria-current='page']::before {
  background-image: url("../resources/images/icon/icon-nav-hipass-on.svg");
}

.nav-bar__item:nth-child(5) .nav-bar__anchor::before {
  background-image: url("../resources/images/icon/icon-nav-setting-off.svg");
}

.nav-bar__item:nth-child(5) .nav-bar__anchor[aria-current='page']::before {
  background-image: url("../resources/images/icon/icon-nav-setting-on.svg");
}

.nav-bar__anchor {
  position: relative;
  display: block;
  position: relative;
  padding: 4.4rem 1rem 2rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gray-600);
  font-weight: var(--weight-bold);
}

.nav-bar__anchor::before {
  content: '';
  position: absolute;
  top: 1.2rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 2.4rem;
  height: 2.4rem;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.nav-bar__anchor[aria-current='page'] {
  color: #ff5b2c;
}

.nav-bar__anchor .icon--new {
  position: absolute;
  top: 1.2rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 2.4rem;
  padding: 0 0 0 2.4rem;
  margin: 0;
}

.nav-bar__anchor .icon--new::before {
  left: auto;
  right: 0;
}

.btn--icon .icon--new,
.btn--icon .icon--new-white,
.btn--icon .icon--new-primary {
  position: absolute;
  right: 0;
  top: 0;
}


.icon--new {
  position: relative;
  overflow: hidden;
  width: 0.4rem;
  height: 0.4rem;
  display: inline-block;
  padding: 0 0 0 0.4rem;
  margin: 0 0 0 0.2rem;
  font-size: 0.1rem !important;
  color: transparent;
}

.icon {
  display: inline-block;
  vertical-align: top;
}


.blank-h40 {
  display: block;
  height: 40px;
}

.blank-h32 {
  display: block;
  height: 32px;
}

.blank-h24 {
  display: block;
  height: 24px;
}

.blank-h16 {
  display: block;
  height: 16px;
}

.blank-h8 {
  display: block;
  height: 8px;
}

.row-line {
  width: 100%;
  height: 1px;
  background-color: var(--gray-300);
}

.sub-wrapper {
  /*padding: 0 0 6rem;*/
  background-color:#fff;
}

.map-wrapper {
  padding: 0;
}


.region-wrapper {
  padding: 0;
}

.benefit-wrap {
  padding: 0 2rem 6rem;
}




.sub-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 6.4rem;
  background-color: #fff;
  
}


.sub-header.scrolled::after {
  opacity: 1; 
}

.sub-header__side {
  width: 8.8rem; 
  display: flex;
  align-items: center;
}

.sub-header__side.left {
  justify-content: flex-start;
  padding-left: 2rem;
 
}

.sub-header__side.right {
  justify-content: flex-end; 
  gap: 2rem;
  width: 8.8rem;
  padding-right: 2rem;
}

.sub-header__title {
  flex: 1;
  text-align: center;
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  line-height: var(--line-normal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.no-header-line .sub-header::after {
  display: none !important;
}

.sub-header.line-visible::after {
  opacity: 1;
}

.sub-header::after,
.sub-noback-header::after {
  content: "";
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background-color: var(--gray-200);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.sub-header.scrolled::after,
.sub-noback-header.scrolled::after {
  opacity: 1;
}

.sub-noback-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 6.4rem;
}

.sub-noback-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 0.1rem 0 var(--gray-200);
  opacity: 0; 
  transition: opacity 0.2s ease;
  pointer-events: none;
   z-index: -1
}

.sub-noback-header.scrolled::after {
  opacity: 1; /* 스크롤 시만 보여짐 */
}

.sub-noback-header__side {
  width: 8.8rem; 
  display: flex;
  align-items: center;
}

.sub-noback-header__side.left {
  justify-content: flex-start;
  padding-left: 2rem;
 
}

.sub-noback-header__side.right {
  justify-content: flex-end; 
  gap: 2rem;
  width: 8.8rem;
  padding-right: 2rem;
}

.sub-noback-header__title {
  flex: 1;
  text-align: center;
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  line-height: var(--line-normal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-header {
  justify-content: space-between;
}

.location-header .sub-header__side.left {
  flex: 1;
  width: auto;
  min-width: 0;
}

.location-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--body-lg);
  color: var(--secondary);
  text-decoration: none;
}

.header-location {
  width: 2.2rem;
  height: 2.2rem;
}

.header-arrow {
  width: 2rem;
  height: 2rem;
}

.icon-btn {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; 
}

.icon-btn.has-dot::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -3px;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.heart-btn {
  width: 2.4rem;
  height: 2.4rem;
  background: url('../resources/images/icon/shop_heart_off.svg') no-repeat center / contain;
  border: none;
  cursor: pointer;
}
  .heart-btn.on {
  background-image: url('../resources/images/icon/shop_heart_on.svg');

}

/* 하이패스- 최대사용버튼 */

.point-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 5.6rem;
  padding: 0 2rem;
  border-radius: 0.8rem;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

/* “최대사용” 버튼 기본 */
.point-btn--max {
  background-color: var(--primary-100);
  color: var(--primary);
  border-color: var(--primary-300);
}

/* Hover */
.point-btn--max:hover {
  background-color: #fff;
  border-color: var(--primary-300);
}

/* Active */
.point-btn--max:active {
  background-color: #fff;
  border-color: var(--primary-300);
}





.custom-input {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      outline: none;
      vertical-align: middle;
    }
    
/* 체크박스 */
    .checkbox {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: var(--body-md);
      color: var(--gray-800);
    }
 

    .custom-checkbox {
      width: 2.4rem;
      height: 2.4rem;
      background-image: url(../resources/images/icon/check_default.png);
      background-size: cover;
      border: none;
      cursor: pointer;
      margin: 0;
    }

    .custom-checkbox:checked {
      background-image: url(../resources/images/icon/check_checked.png);
    }

    /* 라디오 버튼 */
    .custom-radio {
      appearance: none;
      -webkit-appearance: none;
      width: 2.4rem;
      height: 2.4rem;
      background: url(../resources/images/icon/radio_check.png) no-repeat center/cover;;
      border: none;
      cursor: pointer;
      margin: 0;
    }


    .custom-radio:checked {
      background-image: url(../resources/images/icon/radio_checked.png);
    }

    /* bottom modal */
  .bottom-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;;
    flex-direction: column;
    justify-content: flex-end; 
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    }

.bottom-modal > * {
    z-index: 1;
    position: relative;
}

  .bottom-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .bottom-modal__container {
    position: sticky;
    max-width: 440px;
    background: #fff;
    border-radius: 1.6rem 1.6rem 0 0;
    padding: 3rem 2.4rem 4rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    width:100%;
    margin:0 auto;
  }

  .bottom-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .bottom-modal.active .bottom-modal__overlay {
    opacity: 1;
  }

  
 .bottom-modal.active .bottom-modal__container {
    transform: translateY(0%);
  }

  .bottom-modal.is-closing .bottom-modal__container {
  transform: translateY(100%);
}

  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modal-title {
    font-size: var(--body-xl);
    font-weight: var(--weight-bold);
  }

  .modal-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }


  /* 인풋 */
.input {
  display: flex;
  align-items: center;
  position: relative;
  padding: 1.6rem;
  height: 5.6rem;
  border: 1px solid var(--gray-400); /* default */
  border-radius: 1rem;
  background-color: #fff;
  font-family: 'SpoqaHanSansNeo', 'Mulgun Gothic', -apple-system, BlinkMacSystemfont, AppleSDGothicNeo-Regular, sans-serif;
  transition: border-color 0.2s;
  cursor: text;
}



.input--textarea {
  padding: 1.6rem;
}

.input__field {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  font-size: var(--body-md);
  line-height: var(--line-normal);
  color: var(--gray-900);
  outline: none;
  resize: none;
  box-sizing: border-box;
  resize: none;
}
.input__field--bold {
  font-weight: var(--weight-bold);
}

.input__search {
  flex: 1;
  width: 100%;
  border: none;
  background: none;
  font-size: var(--body-md);
  line-height: var(--line-normal);
  padding-left: 3.2rem;
  color: var(--gray-900);
  outline: none;
  resize: none;
}




/* 일반 인풋 */
.input__field::placeholder {
  color: var(--gray-600);
  opacity: 1;
}


.input:has(.input__field:focus) {
  border-color: var(--gray-800);
}


.input:has(.input__field:not(:placeholder-shown):not(:focus)) {
  border-color: var(--gray-400);
}


.input:has(.input__field:disabled) {
  background-color: var(--gray-100);
  border-color: var(--gray-300);
  pointer-events: none;
}

.input__field:disabled {
  color: var(--gray-600);
  background: none;
  -webkit-text-fill-color: var(--gray-600);
  opacity: 1;
  cursor: not-allowed;
}

/* 검색 인풋 */
.input__search::placeholder {
  color: var(--gray-600);
  opacity: 1;
}


.input:has(.input__search:focus) {
  border-color: var(--gray-800);
}


.input:has(.input__search:not(:placeholder-shown):not(:focus)) {
  border-color: var(--gray-400);
}


.input:has(.input__search:disabled) {
  background-color: var(--gray-100);
  border-color: var(--gray-300);
  pointer-events: none;
}

.input__search:disabled {
  color: var(--gray-600);
  background: none;
  -webkit-text-fill-color: var(--gray-600);
  opacity: 1;
  cursor: not-allowed;
}

.input select.input__field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  font-size: var(--body-md);
  color: var(--gray-800);
  flex: 1;
  height: 100%;
  padding-right: 3.2rem; /* 아이콘 공간 확보 */
  cursor: pointer;
  background-color: transparent;
  z-index: 1;
}

/* 포인트 인풋 */

.point-input-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 3.2rem;
}

    /* 셀렉트 박스 */
.custom-select {
  position: relative;
  width: 100%;
  font-size: 1.4rem;
}

.select-trigger {
  width: 100%;
  height: 5.6rem;
  padding: 0 4.4rem 0 1.6rem;
  border: 1px solid var(--gray-400);
  border-radius: 8px;
  background-color: #fff;
  text-align: left;
  position: relative;
  cursor: pointer;
  font-family: inherit;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 2.4rem;
  height: 2.4rem;
  background: url('../resources/images/icon/select_arrow.svg') no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.3s;
}

.custom-select.open .icon-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  border: 1px solid var(--gray-400);
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 10;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select.open .select-options {
  display: block;
}

.select-option {
  width: 100%;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: var(--body-md);
  color: var(--gray-800);
  cursor: pointer;
}

.select-option:hover {
  background-color: var(--gray-100);
}


/* 공통 아이콘 */
.input__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  
}

.input__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.input__icon--left {
  
  left: 1.6rem;
  pointer-events: none;
  
}

.input--icon-left {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.input.input--icon-left .input__field {
  padding-left: 2.8rem; /* 아이콘+좌우여백 합계만큼 */
}

/* 우측 아이콘 (클릭 가능한 경우 button 또는 span) */
.input__icon--right {
  right: 1.6rem;
  pointer-events: auto;
  border: none;
  cursor: pointer;
  padding-right: 2.4rem;
}

/* ===== 아이콘 사이즈 ===== */
.form-icon16 { width: 1.6rem; height: 1.6rem; }
.form-icon20 { width: 2rem; height: 2rem; }
.form-icon24 { width: 2.4rem; height: 2.4rem; }

/* ===== 커스텀 아이콘 ===== */
.icon-clear     { background-image: url('../resources/images/icon/xmark_fill.png'); }
.icon-search    { background-image: url('../resources/images/icon/input_search.svg'); }
.icon-eyeclose  { background-image: url('../resources/images/icon/eye_close.svg'); }
.icon-eyeopen   { background-image: url('../resources/images/icon/eye_open.svg'); }

/* select 기본 화살표 제거 */
select.input__field {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  padding-right: 2.4rem;
}

select::-ms-expand {
  display: none;
}

/* 서치 input 기본 아이콘 제거 */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}



/* 공통 탭 */
.tab-menu {
  display: flex;
  position: sticky;
 /* top: 6.4rem;*/
  background-color: #fff;
  z-index: 9;
  width: 100%;

}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 1.6rem 0;
  font-size: var(--body-lg);
  color: var(--gray-700);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.tab-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background-color: var(--gray-200); /* 기본 연한 라인 */
}


.tab-item.active {
  color: var(--secondary);
  font-weight: var(--weight-bold);
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; 
  height: 0.2rem;
  background-color: var(--secondary);
}

/* 오버레이 */
.confirm-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 4rem 0;
  background-color: rgba(0, 0, 0, 0); 
  justify-content: center;
  align-items: flex-start;
  transition: background-color 0.3s ease;
  overflow-y: auto; 
}

/* 오버레이 열림 상태 */
.confirm-modal-overlay.show {
  display: flex;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 모달 컨텐츠 */
.confirm-modal-content {
  background: #fff;
  border-radius: 1.6rem;
  width: 100%;
  max-width: 40rem;
  margin: 0 2.4rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-40px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-height: 100%;
}

/* 열릴 때 효과 */
.confirm-modal-overlay.show .confirm-modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* 헤더 */
.confirm-modal-header {
  position: relative;
  padding: 2rem 2.4rem 0;
}

.confirm-modal-title {
  font-size: var(--title-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

.confirm-modal-close {
  position: absolute;
  top: 2rem;
  right: 2.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.confirm-modal-close img {
  width: 2.4rem;
  height: 2.4rem;
}

/* 메인 영역 (스크롤 대상) */
.confirm-modal-main {
  max-height: 80vh; 
  overflow-y: auto;
  padding: 2.4rem;
  box-sizing: border-box;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* 바디 내용 */
.confirm-modal-body {
  display: flex;
  flex-direction: column;
}

/* 푸터 */
.confirm-modal-footer {
  display: flex;
  flex-shrink: 0;
  padding: 2rem 2.4rem;
  background-color: #fff;
  gap: 0.8rem;
}

.confirm-modal-footer .modal-button {
  flex: 1;
}

.confirm-modal-footer .modal-button:only-child {
  flex: 1 1 100%;
}


.confirm-modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.confirm-modal-close img {
  width: 2.8rem;
  height: 2.8rem;
}

.confirm-modal-title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  margin: 0 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
}

.confirm-modal-description {
  font-size: var(--body-md);
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

.confirm-box {
  display: block;
  padding-bottom: 32px;
  font-size: 1.4rem;
  color: var(--gray-700);
}

.toast {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2c2c2c;
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: 1.2rem;
  font-size: var(--body-md);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  width: calc(100% - 4rem);
  bottom: 8rem;
  text-align:center;

}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 1080px) {
    .toast { width:400px;}
    }
    
/*/////////////////////////////*/


/* PC Layout : 1080px 이상에서 좌우 콘텐츠 노출 ----------------------------- */
.pc-side { display: none; }
@media (min-width: 1080px) {
  body { background: #f0e9e3; }
  .wrap { min-height: 100vh; }
  .pc-side {
    position: fixed;
    top: 50%;
    display: block;
    transform: translateY(-50%);
    text-align: center;
  }
  /* 앱 화면(440) 좌우 80px 간격 */
  .pc-side--left { right: calc(50% + 440px / 2 + 80px); width: 201px; }
  .pc-side--right { left: calc(50% + 440px / 2 + 80px); width: 220px; }

  .pc-side__character { width: 144px; height: 142px; margin: 0 0 27px 19px; }
  .pc-side__copy { font-size: 24px; line-height: 34px; letter-spacing: -1px; color: #ff7853; }

  .pc-side__app-icon { width: 94px; height: 93px; margin: 0 auto 37px; }
  .pc-side__title { font-size: 18px; line-height: 24px; color: #ff7853; margin-bottom: 13px; }
  .pc-side__store {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 16px;
    background: #ff7853;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: var(--grey-0);
  }
  .pc-side__store + .pc-side__store { margin-top: 8px; }
  .pc-side__store-logo { display: flex; align-items: center; }
  .pc-side__store-logo--google { gap: 6.59px; }
  .pc-side__store-logo--google img:first-child { width: 17.408px; height: 19.081px; }
  .pc-side__store-logo--google img:last-child { width: 83px; height: 16px; }
  .pc-side__store-logo--apple { gap: 7.22px; }
  .pc-side__store-logo--apple img:first-child { width: 16.951px; height: 20.985px; }
  .pc-side__store-logo--apple img:last-child { width: 67.837px; height: 14.202px; margin-top: 2.98px; }

  .pc-side__qr { margin-top: 24px; padding: 20px 12px 12px; border-radius: 16px; background: var(--grey-0); }
  .pc-side__qr-title { display: block; margin-bottom: 8px; color: #231916; }
  .pc-side__qr ul { display: flex; gap: 8px; }
  .pc-side__qr li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 94px;
    padding: 9px;
    font-size: 12.282px;
    line-height: 16px;
    letter-spacing: -0.44px;
    color: #292929;
  }
  .pc-side__qr li img { width: 76px; height: 76px; }
}
