﻿@charset "UTF-8";
.event-popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: flex;
  align-items: flex-end; /* 화면 아래 정렬 */
  justify-content: center;
}

.event-popup {
  width: 100%;
  background-color: #fff;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
  display: block;
}

.event-popup__image img {
  width: 100%;
  display: block;
}


.event-popup__footer {
  display: flex;
  justify-content: space-between;
  background: #fff;
}

.event-popup__footer-btn {
  flex: 1;
  font-size: var(--body-sm);
  padding: 1.4rem 0;
  border: none;
  background: none;
  color: var(--gray-700);
  cursor: pointer;
}

.event-popup__footer-btn--close {
  border-left: 1px solid var(--gray-300);
  color: var(--secondary);
}

#wrapper {
  position: relative;  
  max-width:440px;
  margin : 0 auto;  
  background-color:#FFF;
  height:100%
}

/* header */
.mobile-header {  
  padding: 2.4rem 2rem;
  margin-top: -0.1rem;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
  
}

.mobile-header.scrolled {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  display: block;
  width: 9.2rem;  
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.icon-group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
}

.icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  padding: 0;
}

.icon:last-child {
  margin-right: 0;
}

.icon.search {
  background-image: url('../resources/images/icon/icon_search.svg');
}

.icon.heart {
  background-image: url('../resources/images/icon/icon_heart_on.svg');
}

.icon.bell {
  background-image: url('../resources/images/icon/icon_noti.svg');
  position: relative;
}

.icon.bell.has-dot::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 0.6rem;
    height: 0.6rem;
    background-color: var(--primary);
    border-radius: 50%;
}

/*.icon.bell::after {
  content: "";
  position: absolute;
  top: -2px;   
  right: -2px; 
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--primary);
  border-radius: 50%;
}*/

/* 카테고리 메뉴 */
.category-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.4rem 1rem;
  padding: 1.6rem 2rem 3.2rem;
  width: 100%;
  box-sizing: border-box;
}

.category-item {
  box-sizing: border-box;
  height: 8.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-repeat: no-repeat;
  background-size: 5.6rem 5.6rem;
  background-position: top center;
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  color: var(--gray-800);
}





.item-all      { background-image: url('../resources/images/category_all.png'); }
.item-thailand { background-image: url('../resources/images/category_thai.png'); }
.item-china    { background-image: url('../resources/images/category_ch.png'); }
.item-korea    { background-image: url('../resources/images/category_ko.png'); }
.item-vietnam  { background-image: url('../resources/images/category_viet.png'); }
.item-aroma    { background-image: url('../resources/images/category_aroma.png'); }
.item-swedish  { background-image: url('../resources/images/category_swedish.png'); }
.item-sports   { background-image: url('../resources/images/category_sport.png'); }
.item-dry      { background-image: url('../resources/images/category_dry.png'); }
.item-more     { background-image: url('../resources/images/category_more.png'); }
.item-romi    { background-image: url('../resources/images/category_romi.png'); }
.item-lotion  { background-image: url('../resources/images/category_lotion.png'); }
.item-foot   { background-image: url('../resources/images/category_foot.png'); }
.item-persnal      { background-image: url('../resources/images/category_persnal.png'); }

/* 메인 배너 */
.banner-wrapper {
  background-color: var(--gray-100);
  padding: 2rem 0;
   height: auto;
}


.banner-swiper {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0rem 2rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}




.banner-swiper .swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}


.banner-swiper .swiper-slide {
  flex: 0 0 100%;
  aspect-ratio: 2 / 1;
  border-radius: 1.6rem;
  overflow: hidden;
  
}

.banner-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.6rem;
}


.banner-pagination {
  text-align: center;
  margin-top: 1rem;
}


.banner-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  cursor: pointer;
  opacity: 1;
}


.banner-pagination .swiper-pagination-bullet-active {
  background-color: #333;
}

/* 이벤트 메뉴 */
.main-event-list {
  display: flex;
  justify-content: space-between;
  padding: 2.4rem 2rem 1.8rem;
  border-bottom: 0.1rem solid var(--gray-200);
  background: #fff;
}

.event-item {
  flex: 1;
  text-align: center;
  font-size: var(--body-sm);
  color: var(--secondary);
  position: relative;
}


.event-item::before {
  content: '';
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 1.2rem;
  background-size: cover;
  background-repeat: no-repeat;
}


.event-item.event::before {
  background-image: url('../resources/images/index_gift.png');
}

.event-item.quiz::before {
  background-image: url('../resources/images/index_quiz.png');
}

.event-item.check::before {
  background-image: url('../resources/images/index_check.png');
}

.event-item.fortune::before {
  background-image: url('../resources/images/index_lucky.png');
}

.event-item.coupon::before {
  background-image: url('../resources/images/index_coupon.png');
}

.event-item.roulette::before {
  background-image: url('../resources/images/index_roulette.svg');
}


.event-item::after {
  display: none;
}

.event-item.has-new::after {
  display: block;
  content: '';
  position: absolute;
  top: -0.3rem;
  left: 60%;
  transform: translateX(0.8rem);
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--primary);
  border-radius: 50%;
}


.reco-shops {
  width: 100%;
  margin-top: 4.8rem;
}


.reco-shops__header {
  padding: 0 2rem;
}



.reco-shops__scroll {
  margin-top: 2.4rem;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 1.2rem 0 2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
}


.reco-shops__scroll::-webkit-scrollbar {
  display: none;
}


.shop-card {
  flex: 0 0 auto;
  width: 160px; 
}


.shop-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; 
  border-radius: 1.6rem;
  overflow: hidden;
}

.shop-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.shop-card__body {
  margin-top: 1.6rem;
}


.shop-card__name {
  font-size: var(--body-lg);
  color: var(--secondary);
  font-weight: var(--weight-bold);
  line-height: var(--line-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


.shop-card__course {
  margin-top: 1.2rem;
  font-size: var(--body-sm);
  color: var(--gray-800);
  line-height: var(--line-normal);
  display: -webkit-box;
  -webkit-line-clamp: 1;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}




.shop-card__price {
  display: flex;
  flex-direction: column;
  margin-top: 0.4rem;
}

/* 원래 가격 */
.shop-card__price-original {
  font-size: var(--body-sm);
  color: var(--gray-700);
  text-decoration: line-through;
}

/* 혜택가 라인: 라벨 + 금액 가로배치 */
.shop-card__price-sale-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 혜택가 라벨 */
.shop-card__price-tag {
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* 할인가격 */
.shop-card__price-sale {
  font-size: var(--body-lg);
  color: var(--primary);
  font-weight: 700;
}

.shop-card__price-normal {
  font-size: var(--body-lg);
  color: var(--secondary);
  font-weight: 700;
}

.store-list-wrapper {
  padding: 4rem 2rem 0;
}

.store-list-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.4rem;
}

.index-title {
  font-size: var(--head-sm);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.store-location {
  display: flex;
  align-items: center;
  font-size: var(--body-sm);
  color: var(--gray-800);
  padding-bottom: 0.4rem;
  cursor: pointer;
}

.icon-location {
  width: 1.8rem;
  height: 1.8rem;
  background-image: url('../resources/images/icon/icon_compass.png');
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 0.2rem;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #F3F3F3;
  margin: 2rem 0;
}

.mycoupon-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;   
}

.mycoupon-date {
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.mycoupon-period {
  font-size: var(--body-sm);
  color: var(--primary);
}

  .modal-btn {
    display: block;
    width: 100%;
  margin-bottom: 1.2rem;
    
  }

.index-sub {
  font-size: var(--body-sm);
  color: var(--gray-800);
}


.store-list-wrap {
  padding: 0.8rem 2rem;
}

.store-list-cards {
   display: grid;
   grid-template-columns: 1fr;
   gap: 4.8rem 3.2rem;
}






/* 카드형 - 제휴점 */
.store-card {
  overflow: hidden;
  background: #fff;
}

.store-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.store-thumb img {
  border-radius: 1.6rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-badges {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  right: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  /*z-index: 1;*/
  align-items: flex-start;
}

.badges-left {
  display: flex;
 align-items: flex-start;
}

.badges-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.badge {
  display: inline-block;
  padding: 0.1rem 1rem;
  border-radius: 99rem;
  font-size: var(--body-xs);
  color: #fff;
}
.badge.first { background: var(--point-blue); }
.badge.fast { background: var(--point-red); }
.badge.event { background: var(--point-green); }
.badge.sale-coupon {background: var(--point-primary);}
.badge.hipass { 
    display: inline-block;
    min-width: 5.3rem;
    font-size: 1px;
    color: transparent;
    background-image: url("../resources/images/list_hipass.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: auto 1.1rem;
    vertical-align: top;
    height: 100%;
}

.badge-img {
  width: 4rem !important;
  height: 4rem !important;
  object-fit: contain;
  display: block;
  border-radius: 0 !important;
}

.store-info {
  padding: 1.6rem 0.4rem;
}

.store-title-box {
  margin-bottom: 1.2rem;
}

.store-name {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  margin-bottom: 0.6rem;
}

.store-desc {
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.store-desc p {
  display: flex;
  align-items: center; 
}
.store-course-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.course-name {
  margin-left: auto;
  padding-right: calc(0.8rem + 0.8rem); 
  text-align: left;
  height: 2.3rem;
  flex: 1;
  font-size: var(--body-sm);
  color: var(--gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-box {
  text-align: right;
  white-space: nowrap;
  min-width: 0.8rem;
}
.sale-percent {
  font-size: var(--body-md);
  color: var(--primary);
  font-weight: var(--weight-reg);
}
.origin-price {
  text-decoration: line-through;
  font-size: var(--body-sm);
  color: var(--gray-400);
  display: block;
}
.sale-price {
  font-size: var(--body-md);
  color: var(--gray-600);
  text-decoration: line-through;
  text-decoration-thickness: 0.1rem;
  text-decoration-color: var(--gray-600);
}



.price-offer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ‘최대 혜택가’ 태그 */
.price-offer .max-sale {
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.8rem 0.1rem;
  border-radius: 999rem;
  font-size: var(--body-xs);
  font-weight: var(--weight-reg);
}


/* 할인가 */
.price-offer .price-new {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  color: var(--primary);
  
}

.normal-price {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.store-sale-note {
  text-align: right;
  position: relative; 
  display: inline-block;
}

.sale-note-box {
  background-color: var(--gray-200);
  display: flex;
  padding: 0.2rem 0.4rem;
  font-size: var(--body-xs);
  font-weight: var(--weight-bold);
  color: var(--gray-800);
  white-space: nowrap;
  gap: 0.4rem;
  align-items: center;
  cursor: pointer;
}

.sale-note-box .note-icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-bottom: 0.2rem;
}
.max-sale-price {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--primary);
}

/* 레이어 기본은 앞서 준 .sale-note-layer 스타일 유지 */
.sale-note-layer {
  position: absolute;
  top: calc(100% + 0.6rem); /* 버튼 아래로 */
  right: 0;
  width: 31.2rem;
  border-radius: 1.6rem;
  padding: 2rem;
  border: 0.1rem solid var(--gray-500);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 1;
  background-color: #fff;
  display: none;
}

.sale-note-layer.is-open { display: block; }
/* 헤더 */
.sale-note-layer .layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.sale-note-layer .layer-title {
  margin: 0;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-800);
}

/* 닫기 버튼(아이콘은 경로만 채워줘) */
.sale-note-layer .layer-x {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: none;
  cursor: pointer;
  background-image: url("../resources/images/icon/xmark.svg"); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2rem;
}



.sale-note-layer .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--body-sm);
  margin-bottom: 1.2rem;
}

.sale-note-layer .price-row .label { color: var(--gray-800, #333); }
.sale-note-layer .price-row .value { color: var(--gray-900, #111); }

/* 빨간 강조 */
.sale-note-layer .accent-negative {
  color: var(--danger, #ff0000);
}

/* 회색 박스 상세내역 */
.sale-note-layer .breakdown {
  background: var(--gray-100);
  padding: 1.6rem 1.2rem;
}

.sale-note-layer .breakdown .break-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 0.4rem 0;
  font-size: var(--body-sm, 1.4rem);
  color: var(--gray-800, #333);
}

.sale-item-label {
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.sale-itme-value {
  font-size: var(--body-sm);
  color: var(--gray-800);
}

/* 합계 */
.sale-note-layer .total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 0.1rem solid var(--gray-200);
}

.sale-note-layer .total-label {
  font-weight: 800;
  font-size: var(--body-md);
  color: var(--secondary);
}

.sale-note-layer .total-value {
  font-size: var(--body-lg);
  font-weight: 800;
  color: var(--gray-900, #111);
}

/* 하단 주석 */
.sale-note-layer .note-text {
  margin-top: 0.8rem ;
  font-size: var(--body-xs);
  color: var(--gray-700);
}

.store-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: 0.8rem;
  padding: 1.4rem 1.6rem;
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-pin {
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  background-image: url('../resources/images/icon/list_pin.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  vertical-align: middle;
}

.meta-right {
  display: flex;
  gap: 1.6rem;
}
.meta-right strong {
  font-weight: bold;
}

.main-banner {
  display: block;
  width: 100%;
  aspect-ratio: 360 / 80; /* 비율 고정 (4.5:1) */
  overflow: hidden;
  margin-top: 4.8rem;
}

.main-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 비율 유지 + 꽉 채우기 */
}

/* 랭킹 섹션 전체 */
.section-ranking {
  width: 100%;
  padding: 4.8rem 2rem;
}

.section-ranking__inner {
  width: 100%;
}

/* 헤더 영역 */
.section-ranking__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-ranking__title-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-ranking__title {
  font-size: var(--body-lg);
  font-weight: 700;
  color: var(--gray-900);
}

.section-ranking__info-btn {
  border: none;
  background: none;
  padding: 0 0 0.3rem;
  display: flex;
  align-items: center;
}

.section-ranking__info-btn img {
  width: 2rem;
  height: 2rem;
}

.section-ranking__title-group .max-sale-layer {
  display: none !important;   
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 100%;
  transform: translateX(-50%);
  
  min-width: 28rem;
  max-width: 32rem;
  padding: 1.2rem 1.6rem;

  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  /*z-index: 1000;*/
}

/* 열림 상태 */
.section-ranking__title-group .max-sale-layer.is-open {
  display: block !important;
}


.section-ranking__header-more {
  border: none;
  background: none;
  padding: 0;
  font-size: var(--body-sm);
  color: var(--gray-700);
}

/* 본문 영역 */
.section-ranking__body {
  margin-top: 1.6rem;
}

/* 탭 */
.ranking-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.ranking-tabs__tab {
  flex: 0 0 auto;
  min-width: 5.6rem;
  padding: 1.2rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--gray-400);
  background: #fff;
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.ranking-tabs__tab.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  font-weight: var(--weight-bold);
  color: #fff;
}

/* 랭킹 리스트 */
.ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 개별 아이템 */
.ranking-item {
  display: flex;
  display: st;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

/* 좌측: 순위 + 텍스트 */
.ranking-item__left {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  flex: 1 1 auto;
   min-width: 0;   
}

.ranking-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;  
  gap: 0.2rem;         
}


/* 순위 배지 */
.ranking-item__badge {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  background: #fff;
  flex-shrink: 0;
  background: var(--gray-200); 
}

.ranking-item__badge--top {
  background: #FFECE6; 
  border-color: transparent;
  color: var(--secondary);
}

/* 텍스트 컨텐츠 */
.ranking-item__content {
  flex: 1 1 auto;
}


.ranking-item__name {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 메타 영역 (거리, 평점, 좋아요 등) */
.ranking-item__meta {
  margin-top: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: var(--body-xs);
  color: var(--gray-800);
}

.ranking-item__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ranking-item__meta-icon {
  width: 1.2rem;
  height: 1.2rem;
}

/* 가격 영역 */
.ranking-item__price {
  margin-top: 0.4rem;
  font-size: var(--body-sm);
  color: var(--secondary);
}

.ranking-item__price--benefit {
  color: var(--primary);
  font-weight: var(--weight-bold);
}

.ranking-item__price-strong {
  font-weight: 700;
}

/* 우측 썸네일 */
.ranking-item__thumb {
  flex-shrink: 0;
  width: 8rem; /* 디자인 보고 적당히 조절 */
  aspect-ratio: 1 / 1 ;
  border-radius: 1.6rem;
  overflow: hidden;
   flex-shrink: 0;   
}

.ranking-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 하단 버튼 */
.ranking-section__more-button {
  margin-top: 2.4rem;
  width: 100%;
  padding: 1.2rem 1.6rem;
  border-radius: 1.2rem;
  border: 1px solid var(--gray-800);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: var(--body-md);
  color: var(--secondary);
  font-weight: var(--weight-bold);
}

.ranking-section__more-button img {
  width: 1.6rem;
  height: 1.6rem;
}

.ranking-other-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 3.2rem 2rem;
}

/* 섹션 전체 배경 */
.section-promo {
  width: 100%;
  background: var(--gray-100);
  padding: 3.2rem 0 4.8rem;
}

.promo-title-inner {
  padding: 0 2rem;
}



/* 가로 스크롤 영역 */
.section-promo__scroll {
  margin-top: 1.6rem;
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.4rem; /* 살짝 여유 */

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
padding: 0 2rem;
  /* 스크롤바 숨기기 */
  scrollbar-width: none; /* Firefox */
}
.section-promo__scroll::-webkit-scrollbar {
  display: none; 
}


/* 카드 전체 클릭 영역 */
.promo-card {
  display: block;   
  width: 18rem;
  height: 18rem;
  border-radius: 2.4rem;
  overflow: hidden;
  flex-shrink: 0;
}

/* 이미지 1장 처리 (레티나 자동 대응) */
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 18rem 박스에 꽉 채우기 */
  display: block;
}


/* 섹션 전체 */
.section-review {
  width: 100%;
  padding: 4.8rem 0 0;
}

.section-review__inner {
  padding: 0 2rem;
}


/* 가로 스크롤 영역: 가로 100%, 양쪽 안 잘리게 패딩 */
.section-review__scroll {
  margin-top: 1.4rem;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: visible;

  /* 섹션 패딩과 맞춰서 전체 가로 100% 사용 */
  margin-left: -2rem;
  margin-right: -2rem;
  padding: 1rem 2rem 2rem;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /* 스크롤바 숨기기 */
  scrollbar-width: none; /* Firefox */
}
.section-review__scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, iOS */
}

/* 카드 */
.review-card {
  flex: 0 0 auto;
  width: 24rem; 
  background: #fff;
  border-radius: 2.4rem;
  box-shadow: 0.4rem 0.4rem 1.6rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 카드 상단: 작성자 */
.review-card__header {
  padding: 1.6rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-card__user-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-card__user-name {
  font-size: var(--body-xs);
  color: var(--secondary);

  max-width: 11rem;      
  white-space: nowrap;  
  overflow: hidden;      
  text-overflow: ellipsis; 
  display: inline-block;
}

.review-card__date {
  font-size: var(--body-xxs);
  color: var(--gray-600);
}

/* 이미지 + 그라데이션 + 후기 텍스트 */
.review-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.review-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 2rem 2rem;
  background: linear-gradient(
    to top,
    rgba(55, 48, 46, 0.7),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.05)
  );
  pointer-events: none;
}

/* 후기 텍스트 (2줄, 따옴표 항상 보이게) */
.review-card__text {
  position: relative;
  font-size: 1.7rem;
  font-weight: var(--weight-bold);
  line-height: 1.5;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;          
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;   
}

.review-card__quote {
  position: absolute;
  left: 2rem;   /* overlay 내부 좌측 패딩과 맞춤 */
  top: 8.5rem;    /* 텍스트보다 위에 자연스럽게 */

  width: 2rem;
  height: 1.6rem;
  background-image: url("../resources/images/review_text.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;
}
/* 카드 하단: 매장명 + 평점/좋아요 */
.review-card__bottom {
  padding: 2rem 1.6rem;
}

.review-card__shop-name {
  font-size: var(--body-md, var(--body-lg));
  /* body-md 토큰 없으면 body-lg 사용해도 됨 */
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  line-height: var(--line-normal);
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: var(--body-xxs);
  color: var(--gray-800);
}

.review-card__meta strong {
  font-weight: var(--weight-bold);
}

.faq-wrapper {
  padding: 2.8rem 2rem 0;
}

.faq-scroll {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 2.4rem 0 ;

  -ms-overflow-style: none;  /* IE & Edge */
  scrollbar-width: none;     /* Firefox */
}

.faq-scroll::-webkit-scrollbar {
  display: none;             /* Chrome, Safari, Opera */
}

.faq-item {
  flex: 0 0 auto;
  width: 11rem;
  text-align: center;
  scroll-snap-align: start;
}

.faq-item:first-child {
  padding-left: 2rem;  
  width: 13rem;
}

.faq-icon {
  width: 8.8rem;
  height: 8.8rem;
  margin: 0 auto;
  background-color: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-icon img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.faq-text {
  font-size: var(--body-sm);
  color: var(--gray-800);
  line-height: var(--line-normal);
  padding-top: 1.6rem;
}

/* 공지사항 */
.notice-bar {
  display: flex;
  align-items: center;
  padding: 1.9rem 2rem;
  background-color: var(--gray-800); 
  color: #fff;
  font-size: var(--body-sm);
  font-weight: var(--weight-reg);
  margin-top: 5.6rem;
  
}

.notice-label {
  margin-right: 1.6rem;
  flex-shrink: 0;
}

.notice-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* 푸터 */

.footer {
  width: 100%;
  background: var(--gray-100);
  padding: 4rem 2.4rem 11rem;
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.footer-inner {
  display: flex;
  flex-direction: column; 
  
}

.cs-time {
  font-weight: var(--weight-reg);
}

.footer-cs {
  width: 100%;
  background: #fff;
  border-radius: 1.6rem;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 4rem;
  color: var(--gray-800);
  font-size: var(--body-md);
}



.footer-link-wrap {
  display: flex;
  flex-direction: column;  
  gap: 1.6rem; 
  margin-bottom: 4rem;
}


.footer-links,
.footer-links-impor {
  flex-wrap: wrap;
  row-gap: .8rem;
  max-width: 100%;
}



.footer-links li {  
  font-size: var(--body-sm);
  position: relative;
  white-space: nowrap;
  padding:0 1.6rem;
}


.footer-links li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2rem;
  background-color: var(--gray-300); 
}

@media (max-width: 767px) {
  .footer-links {
    justify-content: flex-start;
    padding: 0 1.6rem;
  }
}

.footer-links-impor li {
  padding: 0 1.6rem;
  font-size: var(--body-sm);
  color: var(--secondary);
  font-weight: var(--weight-bold);
  position: relative;
  white-space: nowrap;
}


.footer-links-impor li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2rem;
  background-color: var(--gray-300); 
}

@media (max-width: 767px) {
  .footer-links-impor {
    justify-content: flex-start;
    
  }
}

.footer-biz-toggle {
  text-align: center;
  font-size: var(--body-md);
  color: var(--gray-600);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  
}

.footer-biz-toggle .biz-arrow {
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
}

.footer-biz-toggle.active .biz-arrow {
  transform: rotate(180deg);
}

.footer-biz-detail {
  width: 90%;
  margin: 0 auto;
  text-align: left;
  font-size: var(--body-xxs);
  line-height: 2;

  /* 기본은 없음 */
  padding-top: 0;
  margin-top: 0;
  border-top: none;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  position: relative;

  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.footer-biz-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: var(--gray-300);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-biz-detail.open {
  max-height: 200px;
  opacity: 1;
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-biz-detail.open::before {
  opacity: 1;
}

.footer-biz-detail strong {
  margin-right: 0.4rem; 
  font-weight: bold;
}


.footer-disclaimer {
  text-align: center;
  margin-top: 2.8rem;
  font-size: var(--body-xxs);
  color: var(--gray-800);
  line-height: 1.8;
}

.sns-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.4rem;
  gap: 1.2rem;           /* 아이콘 사이 간격 */
}

.sns-links__item {
  display: inline-flex;
  width: 6rem;        /* 아이콘 지름에 맞게 조정 */
  height: 6rem;
}

.sns-links__item img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;   /* 혹시 이미지에 여백 있어도 동그랗게 */
}

/* menu-more.html */
.menu-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 1rem;
  padding: 4rem 2rem 13rem;
  width: 100%;
  box-sizing: border-box;
}

/*@media (min-width: 768px) {
  .menu-wrap {
    grid-template-columns: repeat(10, 1fr);
  }
}*/

/* 배너 */
.local-banner {
     position: relative;
  width: 100%;
  height: 200px;    
  overflow: hidden;
  background: #000;
}

.promo-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      
  object-position: center;  
}


.promo-banner__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;   
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1.6rem;
}

.promo-banner__text {
  display: flex;
  flex-direction: column;  
  gap: 1.6rem;            
}

.promo-banner__title {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.promo-banner__tags {
  margin: 0;
  font-size: var(--body-sm);
  opacity: 0.9;
}

.promo-partner-list {
  padding: 4rem 2rem 0;
}

/* 리스트 전체 (필요하면 max-width 조정) */
.boss-partner-list {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem; 
   align-items: center;
}

/* 카드 박스 */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3.2rem;
  border-radius: 2.4rem;
  background-color: var(--gray-100);  /* 회색 박스 */
  max-width: 56rem;
}

/* 왼쪽 텍스트 영역 */
.partner-card__text {
  flex: 1 1 auto;
  min-width: 0; /* 긴 텍스트 줄바꿈용 */
}

.partner-card__title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.partner-card__desc {
  font-size: var(--body-md);
  line-height: 1.6;
  color: var(--gray-800);
}

/* 오른쪽 아이콘 영역 */
.partner-card__icon {
  flex-shrink: 0;
  margin-left: 1.6rem;
}

.partner-card__icon img {
  width: 4.8rem;
  height: 4.8rem;
  display: block;
}

.boss-steps-wrap{
 width: 100%;
 display: flex;
 justify-content: center;
}

.boss-steps {
  padding: 0 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
  max-width: 56rem;
}

/* 각 단계 줄 */
.boss-step {
  display: flex;
  position: relative; 
  
}

/* 세로 연결 라인 */
.boss-step::before {
  content: "";
  position: absolute;
  left: 0.3rem;         /* 블릿 정중앙 맞춤 (0.6rem/2) */
  top: 0.8rem;
  bottom: -4.3rem;      /* 다음 단계까지 연결될 여백 */
  width: 0.1rem;
  background: var(--gray-200);  /* 연한 주황 (#ff5b2c, 20% 불투명) */
}

/* 마지막 단계는 선 제거 */
.boss-step:last-child::before {
  display: none;
}

/* 왼쪽 블릿 */
.boss-step__bullet {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background-color: var(--primary);
  margin-top: 0.8rem;
  margin-right: 2.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;        /* 선 위로 오게 */
}

/* 오른쪽 텍스트 */
.boss-step__content {
  flex: 1 1 auto;
  min-width: 0;
}

.boss-step__title {
  font-size: var(--body-lg);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.boss-step__desc {
  font-size: var(--body-md);
  line-height: 1.6;
  color: var(--gray-800);
}


/* 리스트 전체 – 세로 나열 */
.hp-feature-list {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  align-items: center;
}

/* 개별 카드 */
.hp-feature-card {
  border-radius: 2.4rem;
  padding: 4.8rem 3.2rem;
  background-color: var(--card-bg, #f7f7f7);
  text-align: center;
  max-width: 56rem;
}

/* 이미지 영역 */
.hp-feature-card__image {
  margin-bottom: 3.2rem;
}

/* 이미지: 가로는 HTML에서 지정, 세로는 auto */
.hp-feature-card__image img {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 85%;  /* 컨테이너보다 크지 않게만 제한 */
}

/* 텍스트 영역 */
.hp-feature-card__title {
  font-size: var(--head-md);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.hp-feature-card__desc {
  font-size: var(--body-md);
  line-height: 1.4;
  color: var(--gray-800);
}


.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 8.8rem;
  text-align: center;
  background-repeat: no-repeat;
  background-size: 5.6rem 5.6rem;
  background-position: top center;
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  color: var(--gray-800);
  cursor: pointer;
}

/* 상단필터 */

.filter-scroll {
  position: sticky;
  /*top: 6.4rem;*/
  z-index: 1; /*100 -> 1*/
  background-color: #fff;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0 1.4rem 1.6rem;
  box-sizing: border-box;
}

.filter-fixed {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.filter-scrollable {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;

  -ms-overflow-style: none; /* IE */
  scrollbar-width: none;     /* Firefox */
}
.filter-scrollable::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.filter-divider {
  width: 0.1rem;
  height: 2rem;
  background-color: var(--gray-300);
  flex: 0 0 auto;
}

.filter-options {
  display: flex;
  gap: 0.6rem;
  flex: 1 0 auto;
  padding-right: 1.6rem;
}

.filter-options button {
  flex: 0 0 auto;
  padding: 1.6rem 1.4rem;
}

.filter-more-btn-wrap {
  position: relative;
  display: inline-block;
}

.filter-count-badge {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  background-color: #FF5722;
  color: white;
  font-size: 1.1rem;
  padding: 0.2rem 0.5rem;
  line-height: 1.2;
  text-align: center;
  border-radius: 0.8rem;
  z-index: 2;
}


.no-data-box {
  text-align: center;
  padding: 10rem 2rem;
  color: var(--gray-700);
}
.recent-search-nodata {
  text-align: center;
  padding: 1.6rem 0;
  color: var(--gray-700);
}

.no-data-box img {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.2rem;
}

.no-data-text {
  font-size: var(--body-md);
}
.no-data-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-800);
  margin: 4rem 0 0.8rem;
}

.no-data-desc {
  font-size: var(--body-md);
  color: var(--gray-700);
  line-height: 1.5;
}


/* category-filter.html */
.filter-group {
  padding: 3.2rem 2rem 5.6rem;
}

.filter-section {
  margin-bottom: 3.2rem;
}

.filter-title {
  font-size: var(--body-md);
  font-weight:var(--weight-bold);
  color: var(--gray-700);
  margin-bottom: 1.6rem;
}

.filter-title-reg {
  font-weight: var(--weight-reg);
}

.filter-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem; 
}

.filter-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  gap: 1.2rem;
  padding: 2rem 2rem 2.8rem;
  z-index: 999;
}

.filter-footer .btn {
  flex: 1;
  text-align: center;
}

.filter-footer .btn--lightgray {
  flex: 1; 
}

.filter-footer .btn--primary {
  flex: 2.5; 
}


/* ranking.html */


.ranking-section {
  padding: 3.2rem 2rem;
  background: var(--primary-100);
}

.ranking-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  position: relative;
}

.ranking-title-wrap .max-sale-layer {
  display: none !important;   
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  
  min-width: 28rem;
  max-width: 32rem;
  padding: 1.2rem 1.6rem;

  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  /*z-index: 1000;*/
}

/* 열림 상태 */
.ranking-title-wrap .max-sale-layer.is-open {
  display: block !important;
}


.ranking-title {
  font-size: var(--head-md);
  font-weight: 700;
}

.ranking-info-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.info-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  display: block;
}


.ranking-item-top {
  background: #fff;
  border-radius: 2.4rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.rank-badge {
  width: 4.8rem;
  flex-shrink: 0;
  text-align: center;
}

.medal-img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.rank-change {
  font-size: var(--body-xxs);
  font-weight: var(--weight-bold);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.3rem;
}

.rank-change.up .rank-num {
  color: var(--point-red); 
}

.rank-change.down .rank-num {
  color: var(--point-blue); 
}

.rank-icon {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.rank-change.new {
  color: var(--point-green); 
}

.ranking-info {
  flex: 1;
  padding: 0 2rem 0 1rem;
}

.store-name {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-bottom: 0.4rem;
  line-height: var(--line-normal);

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;     /* 표시할 줄 수 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.meta {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: var(--gray-800);
  gap: 0.8rem;
}

.wish { color: #999; }

.ranking-benefit {
  font-size: var(--body-sm);
  color: var(--primary);
  font-weight: var(--weight-bold);
  margin-top: 0.8rem;
}

.ranking-thumbnail {
  width: 9.6rem;
  height: 9.6rem;
  border-radius: 1.6rem;
  overflow: hidden;
  flex-shrink: 0;
}

.ranking-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* introduce.html */
.introduce-hero {
  background-color: #e4f5f9;
}

.introduce-partner {
  background-color: #FFF5F2;
}

.introduce-hero__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4.8rem 1.6rem 8rem;
  text-align: center;
  position: relative;
}

.introduce-hero__eyebrow {
  font-size: var(--body-lg);
  line-height: 1.5;
  color: #555;
  margin-bottom: 0.8rem;
}

.introduce-hero__title {
  font-size: 3.6rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.3rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.introduce-hero__image-wrap {
  max-width: 32rem;
  margin: 4rem auto 2rem;
  margin-bottom: -13rem; 
  
}

.introduce-hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.boss-partner__image-wrap {
  max-width: 36rem;
  margin: 4rem auto 2rem;
  margin-bottom: -13rem; 
  
}

.boss-partner__image {
  width: 100%;
  height: auto;
  display: block;
}


.introduce-text {
  background-color: #fff;
}

.introduce-text__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 8rem 1.6rem 2.4rem; 
  text-align: center;
}

.introduce-text__para {
  font-size: var(--body-md);
  line-height: 1.6;
  color: var(--secondary);
}

.introduce-text__sub {
  margin-top: 2.4rem;
  font-size: var(--head-sm);
  font-weight: var(--weight-bold);
  line-height: 1.4;
  letter-spacing: -0.15rem;
}

/* 전체 래핑 – 양쪽 2rem 여백 */
.introduce-feature-section {
  padding: 4rem 2rem;
  max-width: 56rem;    
  margin: 0 auto;
}

/* 각 블록 하나 */
.introduce-feature {
  margin-bottom: 8rem;
}


.introduce-feature__image {
  overflow: hidden;      
}


.introduce-feature__image img {
  display: block;    
  width: 100%;
  height: auto;     
  object-fit: cover;    
}

/* 텍스트 영역 */
.introduce-feature__text {
  text-align: center;
  padding-top: 3.2rem;
}

.introduce-feature__title {
  font-size: 2.6rem;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin-bottom: 2.4rem;
}

.introduce-feature__desc {
  font-size: var(--body-lg);
  line-height: 1.4;
  color: #555;
}

/* noti.html */

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--body-md);
  color: var(--gray-700);
  padding: 1.8rem 2rem;
}

.message-left,
.message-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.message-tab {
  color: var(--gray-600);
  text-decoration: none;
}

.message-tab.is-active {
  color: var(--gray-900);
}



.message-unread strong {
  font-weight: var(--weight-bold);
}

.dot {
  margin: 0 ;
  color: var(--gray-400);
}

.delete-all {
  color: var(--gray-700);
  text-decoration: underline !important;
  font-size: var(--body-md);
}

.notice-card {
  display: flex;
  width: 100%;
  align-items: flex-start;
  border-radius: 1.2rem;
  padding: 2.8rem 2rem; 
  gap: 1.2rem;
}

.notread {
  background-color: #F3F9FF;
}

.notice-icon {
  width: 3.2rem;
  height: 3.2rem;
  flex-shrink: 0;
}

.notice-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.notice-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--body-xs);
  color: var(--gray-700);
}

.notice-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-desc {
  width: 100%;
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: var(--line-loose);
}

.notice-footer {
  padding-top: 2.4rem;
  border-top: 1px solid var(--gray-300);
  text-align: center;
  font-size: var(--body-md);
  color: var(--gray-700);
}


/* search.html */
.search-wrap {
  padding: 0 2rem;
}



.input-wrap {
  padding: 0.4rem 2rem 2rem;
  background-color: #fff;
  position: sticky;
  top: 6.4rem;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}



    .search-title {
      font-size: var(--body-md);
      font-weight: var(--weight-bold);
      color: var(--gray-700);
      margin-bottom: 1.6rem;
    }

    .search-store-item {
      display: flex;
      gap: 1.6rem;
      margin-bottom: 1.6rem;
      align-items: center;
    }

    .search-store-item img {
      width: 5.4rem;
      height: 5.4rem;
      object-fit: cover;
      border-radius: 1.6rem;
      flex-shrink: 0;
    }

    .search-store-info {
      flex: 1;
      min-width: 0;
    }

    .search-store-name {
      font-size: var(--body-md);
      font-weight: var(--weight-bold);
      color: var(--gray-900);
    }

    .search-store-desc {
      font-size: var(--body-sm);
      color: var(--gray-700);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .search-keyword-list {
      display: flex;
      flex-direction: column;
      padding: 0 0 6.4rem;
    }

    .search-keyword-item {
      display: flex;
      align-items: center;
      font-size: var(--body-md);
      color: var(--gray-900);
      padding: 1.4rem 0;
    }

    .search-keyword-item .icon {
      width: 2rem;
      height: 2rem;
      margin-right: 1.2rem;
    }

    .search-recent-list {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .search-recent-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: var(--body-md);
      color: var(--gray-900);
    }

    .search-recent-left {
      display: flex;
      align-items: center;
    }

    .search-recent-left .icon {
      width: 1.8rem;
      height: 1.8rem;
      margin-right: 1.2rem;
    }

    .search-recent-right {
      display: flex;
      gap: 0.8rem;
      align-items: center;
      font-size: var(--body-sm);
      color: var(--gray-500);
    }

    .search-recent-right .search-remove-btn {
      width: 2rem;
      height: 2rem;
      background: url('../resources/images/icon/xmark_search.svg') no-repeat center / contain;
      border: none;
      cursor: pointer;
    }


    .search-wrap-result {
      padding: 0 2rem;
    }


    .store-slider-container {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
    }

    .store-swiper .swiper-slide {
      width: 100%;
      height: 100%;
    }

    .store-swiper .swiper-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .store-slider-pagination {
      position: absolute;
      bottom: 1.6rem;
      right: 1.6rem;
      background: rgba(0, 0, 0, 0.5);
      color: #fff;
      font-size: 1.1rem;
      line-height: var(--line-normal);
      padding: 0.3rem 0.8rem;
      border-radius: 99rem;
      z-index: 1;   /*10 -> 1*/
    }


    .store-info-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.6rem 2rem;
      font-size: 1.4rem;
      color: #555;
      border-bottom: 1px solid var(--gray-300);
    }

    .store-info-meta__left {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .pin-icon {
      width: 1.4rem;
      height: 1.4rem;
      flex-shrink: 0;
    }

    .store-info-meta__right {
      display: flex;
      align-items: center;
      gap: 1.6rem;
      font-size: 1.4rem;
    }

    .store-info-meta__right strong {
      font-weight: 700;
    }

    .store-info-meta__right .count {
      font-weight: 400;
    }

    .store-info-box {
      display: flex;
      flex-direction: column;
      padding: 2.4rem 2rem 4rem;
    }

    /* 자식박스 1 */
    .store-info-text {
      margin-bottom: 2.4rem;
    }

    .store-info-text .store-info-name {
      font-size: var(--head-sm);
      font-weight: var(--weight-bold);
      color: var(--secondary);
      margin-bottom: 0.4rem;
    }
    .store-info-text .store-desc {
      font-size: var(--body-sm);
      color: var(--gray-800);
    }

    /* 자식박스 2 */
    .hipass-promo {
      border: 1px solid var(--gray-700);
      border-radius: 1.6rem;
      padding: 2rem;
      text-align: center;
      margin-bottom: 1.6rem;
    }
    .promo-title {
      font-size: var(--body-md);
      color: var(--secondary);
      font-weight: var(--weight-bold);
      margin-bottom: 1.4rem;
    }
    .promo-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      background-color: #5D2DFC;
      color: #fff;
      font-size: var(--body-md);
      border: none;
      border-radius: 999px;
      padding: 1rem 2.4rem;
      width: 100%;
      cursor: pointer;
    }
    .promo-btn .arrow-icon {
      width: 1.4rem;
      height: 1.4rem;
      margin-top: 0.3rem;
    }

    /* 자식박스 3 */
    .hipass-info {
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-decoration: none;
      border-radius: 0.8rem;
      padding: 2rem;
      border: 1px solid var(--gray-300);
      margin-bottom: 0.8rem;
    }
    .hipass-left {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .hipass-logo {
      width: 7rem;
      height: 1.8rem;
      margin-top: 0.2rem;
    }
    .hipass-text {
      font-size: var(--body-md);
      color: var(--secondary);
    }
    .hipass-right {
      font-size: var(--body-sm);
      color: var(--gray-700);
    }

    .promo-list {
      border: 1px solid var(--gray-300);
      border-radius: 0.8rem;
      overflow: hidden;
    }

    .promo-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.7rem 2rem;
      /*border-bottom: 0.1rem solid var(--gray-200);*/
      font-size: var(--body-md);
    }

    .promo-item:last-child {
      border-bottom: none;
    }

    .promo-text {
      display: flex;
      gap: 0.4rem;
      align-items: baseline;
    }

    .highlight {
      font-weight: bold;
      color: var(--secondary);
    }

    .desc {
      font-weight: normal;
      color: var(--secondary);
    }

    .primary {
      color: var(--primary);
    }

    .promo-arrow-icon {
      width: 2.2rem;
      height: 2.2rem;
    }

    .info-divider {
      height: 0.6rem;
      background-color: var(--gray-100); 
    }


    .info-section {
      font-size: var(--body-md);
      display: flex;
      flex-direction: column;
      gap: 2.4rem;
      padding: 4rem 2rem;
    }

    .info-block {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      font-size: var(--body-md);
    }

    .info-title {
      font-weight: bold;
    }

    .info-text {
      color: var(--secondary); 
    }

    .info-list {
      list-style: disc;
      color: var(--gray-800);
      padding: 0;
      margin: 0;
    }

    .info-list li {
      position: relative;
      padding-left: 1rem;
      margin-bottom: 1rem;
      color: var(--gray-800);
      font-size: var(--body-md);
      line-height: var(--line-loose);
    }

    .info-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 1.2rem; /* 텍스트 높이에 맞게 조정 */
      width: 0.3rem;
      height: 0.3rem;
      border-radius: 50%;
      background-color: var(--gray-700);
      transform: translateY(-50%);
    }


    .program-section {
  background-color: var(--gray-100);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.program-title {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  margin: 0;
}

.program-benefit {
  position: relative;
  display: inline-block;
}

.benefit-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: none;
  border: none;
  font-size: var(--body-sm);
  cursor: pointer;
}

.program-benefit .benefit-layer {
  display: none !important;   
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 28rem;
  max-width: 32rem;
  padding: 1.2rem 1.6rem;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 0.8rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  /*z-index: 1000;*/
}

/* 열림 상태 */
.program-benefit .benefit-layer.is-open {
  display: block !important;
}

.benefit-desc {
  font-size: 1.3rem;
  color: var(--gray-800);
}

.sale-label {
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.program-icon {
  width: 1.6rem;
  height: 1.6rem;
}

.program-subinfo {
  display: inline-block; /* 핵심: 내용 크기만큼 박스 */
  background-color: #fff;
  border-radius: 99rem;
  padding: 0.4rem 1.6rem;
  font-size: var(--body-sm);
  color: var(--gray-800);
  text-align: center;
  margin: 0 auto; /* 가운데 정렬 */
}

.course-all-title {
  font-size: var(--body-md);
  color: var(--gray-700);
  text-align: center;
  font-weight: var(--weight-bold);
  margin-top: 1.6rem;
}

/* 개별 코스 박스 */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.course-card {
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* 라벨 영역 */
.course-labels {
  display: flex;
  gap: 0.4rem;
  width: 100%;
}

.label {
  font-size: var(--body-xxs);
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  line-height: 1;
  color: #fff;
}

.label--blue {
  background-color: var(--point-blue);
}

.label--green {
  background-color: var(--point-green);
}

.label--red {
  background-color: var(--point-red);
}

/* 코스 내용 영역 */
.course-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch; 
  width: 100%;
  gap: 1.2rem;
}

.course-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.course-left .course-title {
  font-weight: bold;
  font-size: var(--body-md);
  margin-bottom: 0.4rem;
}

.course-left .course-desc {
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.course-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  
}
.price-origin p + p {
  margin-top: 0;
}

.times {
  font-size: var(--body-xs);
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.original-price del {
  font-size: var(--body-sm);
  color: var(--gray-500);
}

.discount .percent {
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.4rem;
  font-size: var(--body-sm);
}

.discount .final-price {
  font-weight: bold;
  color: var(--secondary);
  font-size: var(--body-lg);
}

.course-right-group {
  display: flex;
  flex-direction: column;
  gap: 2.8rem; 
  align-self: flex-end; 
  text-align: right;
}


.partner-info {
  padding: 4rem 2rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.partner-title {
  font-size: var(--head-sm);
  font-weight: bold;
  color: var(--secondary);
}

.partner-subtext {
  font-size: var(--body-md);
  color: var(--gray-800);
  margin: 1.6rem 0 0.8rem;
}

.partner-address {
  font-size: var(--body-md);
  color: var(--secondary);
  margin-bottom: 2.4rem;
  
}

.partner-address .copy-link {
  margin-left: 0.4rem;
  font-size: var(--body-md);
  color: var(--point-blue);
  text-decoration: underline;
}

.map-box {
  position: relative;
  width: 100%;
  height: 22rem;
  background-color: var(--gray-200);
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  transform: translate(-50%, -100%);
}

.partner-subtitle {
  font-size: var(--body-xl);
  color: var(--gray-900);
  margin: 2.4rem 0;
}

.partner-description p {
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: var(--line-loose);
  margin-bottom: 1rem;
}

.partner-facility {
  padding: 2.4rem 2rem;
}


.facility-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem 1.6rem;
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 4rem;
}

.facility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--body-sm);
  
}

.facility-item img {
  width: 4rem;
  height: 4rem;
}

.facility-item.on span {
  color: var(--gray-800);
}

.facility-item.off span {
  color: var(--gray-400);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4rem 2rem 1.6rem;
}

.review-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  align-items: baseline;
}

.partner-title {
  font-size: var(--head-sm);
  font-weight: bold;
  color: var(--secondary);
}

.review-count {
  font-size: var(--body-md);
  color: var(--gray-800);
}

/* 말풍선 */
.point-bubble {
  background-color: var(--point-blue);
  color: #fff;
  font-size: var(--body-xs);
  font-weight: var(--weight-bold);
  padding: 0.2rem 1rem;
  border-radius: 999px;
  margin: 0 auto;
  transform: translateY(50%);
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.point-bubble::after {
  content: '';
  position: absolute;
  top: 100%; /* 말풍선 아래쪽 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.4rem solid transparent;
  border-right: 0.4rem solid transparent;
  border-top: 0.5rem solid var(--point-blue);
}

.review-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 버튼 */
.review-button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--secondary);
  color: #fff;
  font-size: var(--body-sm);
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
}

.btn-icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.8rem;
  margin-bottom: 0.2rem;
}


.rating-box {
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  padding: 3.2rem;
  margin: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rating-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: var(--body-md);
}

.rating-label {
  font-weight: var(--weight-bold);
  color: var(--gray-900);

}

.rating-stars {
  display: flex;
  gap: 0;
  margin-bottom: 0.4rem;
}

.rating-stars img {
  width: 2rem;
  height: auto;
  display: inline-block;
}

.rating-score {
  font-weight: var(--weight-bold);
  font-size: var(--head-md);
  color: var(--primary);
}


.review-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 4rem auto;
  box-sizing: border-box;
  background-color: var(--primary-100);
  padding: 4rem 0 !important;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  overflow: visible !important;
}

.review-swiper .swiper-slide {
 flex: 0 0 calc(100vw - 9rem) !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.bestreview-card {
  width: 100%;
  height: 28.2rem;
  background: #fff;
  border: 1px solid var(--primary-200);
  border-radius: 24px;
  padding: 32px;
  text-align: left;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  margin-bottom: 1.6rem;
}

  .bestreview-header {
    text-align: center;
  }

  .bestreview-title {
    font-size: var(--head-md);
    font-weight: var(--weight-bold);
    margin-bottom: 0.8rem;
  }

  .bestreview-desc {
    font-size: var(--body-md);
    color: var(--gray-800);
    margin-bottom: 3.2rem;
  }

 .bestreview-top {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    margin-bottom: 1.6rem;
  }

  .bestreview-user {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
  }

  .bestreview-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .bestreview-name {
    font-size: var(--body-md);
    font-weight: var(--weight-bold);
    margin: 0;
  }

  .bestreview-stars {
    font-size: 0;
  }

  .bestreview-stars img {
    width: 1.25rem;
    height: 1.2rem;
  }

  .bestreview-stars span {
    font-size: var(--body-sm);
    color: var(--primary);
    /*margin-left: 0.8rem;*/
    font-weight: var(--weight-bold);
    line-height: 1;
  }

  .bestreview-sub {
    font-size: var(--body-xs);
    color: var(--gray-800);
    margin: 0;
    line-height: 1;
  }

  .bestreview-text {
    font-size: var(--body-md);
    color: var(--gray-800);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

 

  .review-swiper .swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--secondary);
    opacity: 1;
    margin: 0;
    border-radius: 50%;
  }

  .review-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary);
  }

  .swiper-pagination {
    position: relative !important;
    bottom: auto !important;

  }


  .review-list-wrap {
  padding:2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.review-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.review-user {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.user-photo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.user-name {
  font-weight: var(--weight-bold);
  font-size: var(--body-md);
}

.review-date {
  font-size: var(--body-xs);
  color: var(--gray-600);
}

.review-more {
  cursor: pointer;
}

.review-more img {
  width: 2.8rem;
  height: 2.8rem;
}

.review-menu-wrapper {
  position: relative;
  display: inline-block;
}

.sale-popup {
  position: absolute;
  top: 100%;
  right: 0;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid var(--gray-500);
  border-radius: 1.6rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 12rem;
  z-index: 98;
}

.sale-popup.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



.review-popup {
  position: absolute;
  top: 100%;
  right: 0;
  padding: 2rem;
  background-color: #fff;
  border: 1px solid var(--gray-500);
  border-radius: 1.6rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 12rem;
  z-index: 98;
}

.review-popup.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.popup-item {
  display: block;
  width: 100%;
  font-size: var(--body-sm);
  color: var(--gray-900);
  background: none;
  border: none;
  text-align: center;
  cursor: pointer;
}

.review-popup hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 1.6rem 0;
}

.review-course {
  display: flex;
  flex-direction: column;
}

.course-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.review-label {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-600);
  flex-shrink: 0;
}

.review-content {
  font-size: var(--body-md);
  color: var(--gray-900);
  white-space: nowrap;        
  overflow: hidden;         
  text-overflow: ellipsis;   
  flex: 1;
}

.review-score {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.review-stars {
  font-size: 0; 
  margin-top: 0.7rem;
}
.review-stars img {
  width: 1.6rem;
  height: 1.6rem;
}

.score-number {
  color: var(--primary);
  font-weight: var(--weight-bold);
  font-size: var(--body-md);
}

.review-content-box {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.8rem;
}

.best-label {
    display: inline-block;
    background: #FFEEE9;
    color: #FF734D;
    font-size: var(--body-xs);
    padding: 0.4rem 1.2rem 0.3rem;
    border-radius: 0.8rem;
    font-weight: var(--weight-bold);
    width: 8.4rem;
}

.revisit-review-label {
    display: inline-block;
    background: #EDEFFF;
    color: var(--point-blue);
    font-size: var(--body-xs);
    padding: 0.4rem 1.2rem 0.3rem;
    border-radius: 0.8rem;
    font-weight: var(--weight-bold);
    width: 8.4rem;
}

.review-text {
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: var(--line-loose);
  margin-bottom: 1.2rem;
}

.review-next {
  display: inline-block;
  font-size: var(--body-md);
  color: var(--gray-900);
  line-height: 1;
  background-color: #FFEBE2;
  
}

/*포토후기*/
.review-images {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.review-images::-webkit-scrollbar {
    display: none;
}

.review-images img {
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 16px;
    /*background: url(<path-to-image>) lightgray 50% / cover no-repeat;*/
}
/*포토후기*/

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.keyword {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gray-100);
  padding: 0.8rem 1.2rem;
  font-size: var(--body-md);
  border-radius: 0.8rem;
}

.keyword img {
  width: 1.6rem;
  height: 1.6rem;
}

.review-answer {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.answer-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

.answer-text {
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: 1.6;
}

.report-box {
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  padding: 2rem;
  text-align: center;
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: 1.6;
}

.service-notice {
  font-size: var(--body-sm);
  color: var(--gray-600);
  line-height: var(--line-loose);
  padding: 4rem 2rem 6rem;
}

.store-button-group {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.4rem 2rem;
  display: flex;
  gap: 0.8rem;
  background-color: #fff;
  z-index: 10;
  box-sizing: border-box;
}

.hipass-icon {
  width: 6rem;
  height: 1.7rem;
  margin-right: 0.3rem;
  margin-top: 0.1rem;
}

.hipass-wrapper {
  position: relative;
  width: 100%;
}

.hipass-bubble {
  position: absolute;
  bottom: 110%;
  right: 0;
  transform: translateY(-0.4rem);
  background-color: #fff;
  color: var(--secondary);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: var(--body-xs);
  font-weight: bold;
  white-space: nowrap;
  border: 2px solid var(--primary-300);
}

.hipass-bubble::after {
  content: "";
  position: absolute;
  bottom: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0.7rem 0.7rem 0;
  border-style: solid;
  border-color: var(--primary-300) transparent transparent transparent;
}



.keyword-section {
  margin: 4rem 2rem;
  max-width: 100%; 
  box-sizing: border-box;
}

.keyword-title {
  font-size: var(--body-md);
  font-weight: bold;
  color: var(--gray-900);
  margin-bottom: 2.4rem;
}

.keyword-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.keyword-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
 
}

.badge-count {
  position: absolute;
  top: -1rem;
  right: 0;
  background-color: var(--primary);
  color: #fff;
  font-size: var(--body-sm);
  font-weight: bold;
  padding: 0.2rem 0.8rem;
  border-radius: 99rem;
  z-index: 1;
  transform: none;    
  white-space: nowrap; 
  display: flex;
  align-items: center;
}

.keyword-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem 0;
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  gap: 0.8rem;
}

.keyword-row img {
  width: 2rem;
  height: 2rem;
}


.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-modal.active {
  pointer-events: auto;
  opacity: 1;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 0;
}

.review-modal__container {
  position: relative;
  z-index: 1;
  background-color: #fff;
  border-radius: 1.6rem;
  width: 80%;
  padding: 2.4rem;
  box-sizing: border-box;

  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.review-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.review-modal__title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

.review-modal__close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.review-modal__close img {
  width: 2.4rem;
  height: 2.4rem;
}


.review-modal__divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0 0 2.4rem;

}

.review-modal__body {
  overflow-y: auto;
  flex: 1; /* 스크롤 영역을 최대한 채움 */
  min-height: 0; /* flex item overflow fix */
  background-color: #fff;
  scroll-behavior: smooth;
  box-sizing: border-box;
}


.review-modal__body::-webkit-scrollbar {
  width: 6px;
}


.review-modal__body::-webkit-scrollbar-track {
  background: transparent; /* 또는 원하는 색 */
}


.review-modal__body::-webkit-scrollbar-thumb {
  background-color: var(--gray-400);  /* 원하는 색상 변수 사용 가능 */
  border-radius: 999px;
}


.review-modal__body::-webkit-scrollbar-thumb:hover {
  background-color: var(--gray-600);
}

.review-modal__body.has-scroll {
  padding-right: 1.2rem; /* 스크롤 생겼을 때만 오른쪽 여백 */
}

.no-review {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
}

.no-review__text {
  color: var(--gray-700);
  font-size: var(--body-md);
  line-height: var(--line-loose);
}


.review-guide {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
  color: var(--gray-800);
}

.guide-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}

.review-guide-title {
  font-size: var(--body-xl);
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.guide-description {
  font-size: var(--body-md);
  color: var(--gray-800);
  text-align: left;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

.guide-group {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.guide-box {
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  padding: 3.2rem 2.4rem;
  text-align: left;
  margin: 0 auto;
  width: 100%;
}

.guide-title {
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  color: var(--gray-800);
  padding-bottom: 0.8rem;
}

.guide-list {
  font-size: var(--body-sm);
  color: var(--gray-800);
  padding-left: 0; 
  margin: 0;
}

.guide-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.guide-list li::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--gray-800);
  border-radius: 50%;
}

.guide-list-wrap {
  font-size: var(--body-md);
  color: var(--gray-800);
  padding-left: 0; 
  margin: 0;
}

.guide-list-wrap li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.guide-list-wrap li::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--gray-800);
  border-radius: 50%;
}

.guide-nodot {
  padding: 0;
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: 1.8;
}

.guide-line {
  position: relative;
  padding-left: 2.4rem;
  text-indent: -1.6rem;
}

.guide-line::before {
  display: none;
}

.sub-guide {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-left: 1.6rem;
  margin-bottom: 0.8rem;
}

.sub-dot {
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.8rem; /* 텍스트 줄과 수직 정렬 */
  background-color: var(--gray-800);
  border-radius: 50%;
  flex-shrink: 0;
}

.sub-text {
  font-size: var(--body-md);
  line-height: 1.8;
  color: var(--gray-800);
}

.write-rating-box {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: inherit;
  padding: 4rem 2rem;
  border-top: 1px solid var(--gray-200);
}

.write-rating-label {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

.write-rating-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
  font-size: 0;
}

.write-rating-stars img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
  display: block;
}

.write-rating-score {
  font-size: var(--head-lg);
  font-weight: 500;
  color: var(--primary);
}

.write-keyword {
  padding: 4rem 2rem;
}

.write-review {
  padding: 4rem 2rem 0;
}

.keyword-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.next-btn {
  margin: 2.4rem 0 3.2rem;
}


.course-wrap {
  margin-top: 1.6rem;
}


.checkbox-review-write {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: var(--body-md);
      color: var(--secondary);
      margin: 2.4rem 0 3.2rem;
    }
.checkbox-review-write span {
  font-size: var(--body-sm); 
  color: var(--gray-700); 
  text-decoration: underline;
  cursor: pointer;
}


.write-btn {
  padding: 0 2rem;
}

.coupon-warp {
  padding: 2.4rem 2rem 6rem; 
  display: flex;
  flex-direction: column;
  gap: 1.6rem; 
}


.content-desc {
  font-size: var(--body-md);
  color: var(--secondary);
}

.coupon-card {
  border: 1px solid var(--gray-300);
  border-radius: 1.6rem;
  padding: 2.6rem 2.4rem;
  background-color: #fff;
}

.coupon-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.frist-coupon-head {
  display: flex;
  flex-direction: column;
}

.coupon-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.6rem;
}

.coupon-type {
 font-size: var(--body-sm);
 color: var(--primary);
}

.coupon-type-used {
 font-size: var(--body-sm);
 color: var(--primary-200);
}

.coupon-title {
    font-size: var(--head-sm);
    font-weight: var(--weight-bold);
    color: var(--secondary);
}

.coupon-title-used {
    font-size: var(--head-sm);
    font-weight: var(--weight-bold);
    color: var(--gray-600);
}


.coupon-logo-wrap {
  background-color: var(--gray-100); 
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

.coupon-logo {
  height: 1.3rem;
  width: auto;
  display: block;
}

.coupon-desc {
  padding: 0;
  font-size: var(--body-md);
  color: var(--gray-800);
  margin: 1rem 0 2rem;
}

.coupon-desc li + li {
  margin-top: 0.6rem;
}

.coupon-desc li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: var(--body-md);
  color: var(--gray-800);
}

.coupon-desc li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--gray-700);
  font-size: var(--body-md);
  line-height: 1;
}

.coupon-desc-used {
  padding: 0;
  font-size: var(--body-md);
  color: var(--gray-600);
  margin: 1rem 0 2rem;
}

.coupon-desc-used li + li {
  margin-top: 0.6rem;
}

.coupon-desc-used li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: var(--body-md);
  color: var(--gray-600);
}

.coupon-desc-used li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--gray-600);
  font-size: var(--body-md);
  line-height: 1;
}

.frist-coupon-desc {
  padding: 0;
  font-size: var(--body-md);
  color: var(--gray-800);
  margin: 1rem 0 0;
}

.frist-coupon-desc li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: var(--body-md);
  color: var(--gray-800);
}

.frist-coupon-desc li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--gray-700);
  font-size: var(--body-md);
  line-height: 1;
}

.frist-coupon-used {
  padding: 0;
  font-size: var(--body-md);
  color: var(--gray-600);
  margin: 1rem 0 0;
}

.frist-coupon-used li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: var(--body-md);
  color: var(--gray-600);
}

.frist-coupon-used li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--gray-600);
  font-size: var(--body-md);
  line-height: 1;
}

.coupon-desc strong {
  font-weight: var(--weight-bold);
  color: var(--gray-800);
}

.coupon-volumn {
  font-size: var(--body-sm);
  color: var(--gray-900);
}


.coupon-download-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  gap: 0.8rem;
}

.download-icon {
  width: 2.4rem;
  height: 2.4rem;
}
.coupon-full-btn {
  width: 100%;
  height: 6.4rem;
  padding: 0 2.4rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: var(--primary);
  color: #fff;

  border: none;
  border-radius: 1.6rem;

  font-size: var(--body-md);
  font-weight: var(--weight-bold);

  cursor: pointer;
  transition: background-color .2s ease;
}

.coupon-full-btn .all-download-icon {
  width: 2.4rem;
  height: 2.4rem;
  filter: brightness(0) invert(1); /* 아이콘을 흰색으로 */
}

/* Hover */
.coupon-full-btn:hover {
  background-color: #e94c21;
}

/* Active */
.coupon-full-btn:active {
  background-color: #ff5b2c;
}

/* Disabled */
.coupon-full-btn:disabled {
  background-color: #ede8e7;
  color: #bdb8b7;
  cursor: not-allowed;
}

.coupon-full-btn:disabled .all-download-icon {
  filter: none;
  opacity: .4;
}

.bottom-btn-group {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  padding: 2.4rem 2rem;
  z-index: 100;
}

.eventpopup-wrap {
  padding: 0 2rem 6rem; 
  display: flex;
  flex-direction: column;
}

.event-popup-visual {
      text-align: center;
      padding: 0;
    }

    .event-popup-visual img {
      display: block;
      margin: 0 auto;
      width: 100%;
      height: auto;
    }

    .event-detail-box {
      background-color: #F7F3D9;
      padding: 3.2rem 3.2rem 1.6rem 3.2rem;
      font-size: var(--body-md);
    }

    .event-info-row {
      display: flex;
      margin-bottom: 1.6rem;
      
    }

    .event-info-label {
      flex: 0 0 8.5rem;
      color: var(--gray-700);
      font-weight: var(--weight-reg);
    }

    .event-info-text {
      flex: 1;
      font-weight: var(--weight-bold);
      color: var(--gray-800);
    }

    .event-info-sub {
      display: inline;
      margin-top: 0.4rem;
      font-weight: var(--weight-reg);
      color: var(--gray-800);
    }

    .report-reason-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 1.6rem;
      margin-bottom: 2rem;
    }

    .radio-label {
      display: flex;
      align-items: center;
      font-size: var(--body-md);
      color: var(--secondary);
      gap: 0.8rem; 
      cursor: pointer;
    }


    .region-selector {
        display: flex;
        height: calc(100vh - 6.4rem - 5.4rem - 8rem);
    height: calc(100dvh - 6.4rem - 5.4rem - 8rem);
  width: 100%;
}

    .region-selector.type-station {
  display: block;
}

.region-content-wrapper {
   height: 100vh;
      width: 100%;
}

.region-depth-wrapper {
  display: flex;
  height: 85vh;
  
}

.region-subway-wrapper {
  display: flex;
  height: 75vh;
  
}

.region-depth1 {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--gray-100);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  list-style: none;

}

.region-item {
  padding: 1.7rem 3rem;
  cursor: pointer;
  font-size: var(--body-md);
  color: var(--secondary);
  height: 5.6rem;
  text-align: left;
}

.region-item.is-active {
  background: #fff;
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.region-depth2 {
  flex: 1;
  width: 60%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}

.region-depth1::-webkit-scrollbar,
.region-depth2::-webkit-scrollbar {
  display: none;
}



    .region-selector.type-station { display: flex; flex-direction: column; } /* 기존 block */
    .region-content-wrapper { height: 100%; min-height: 0; flex: 1; width: 100%; }
    .region-content { height: 100%; }                 /* 신규 */
    .region-depth-wrapper  { display: flex; height: 100%; }   /* 기존 85vh */
    .region-subway-wrapper { display: flex; height: 100%; }   /* 기존 75vh */
    .region-depth1,
    .region-sub-list { padding-bottom: 0; }       





.region-sub {
  display: none;
}

.region-sub.is-active {
  display: block;
}

.region-title {
  padding: 1.7rem 3.2rem;
  height: 5.6rem;
  color: var(--secondary);
  font-size: var(--body-md);
}

.region-sub-list {
  display: flex;
  flex-direction: column;   /* 항목 간 간격 */
  list-style: none;
  font-size: var(--body-md);
  color: var(--gray-800);
}

.region-sub-item {
  padding: 1.7rem 3.2rem;
  cursor: pointer;
  font-size: var(--body-md);
  color: var(--secondary);
  height: 5.6rem;
  text-align: left;
}


.region-depth1,
.region-sub-list {
  padding-bottom: 20rem; /* 또는 더 크게 조정 */
}

.region-selector-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 2rem;
  background-color: #fff;
  border-bottom: 0.1rem solid var(--gray-300);
}

.region-btn {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  min-width: 5.6rem;
  min-height: 5.6rem;
  border-radius: 50%;
  background-color: var(--gray-100);
  border: 0.1rem solid var(--gray-100);
  color: var(--gray-700);
  font-size: var(--body-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.region-btn.is-active {
  border: 0.1rem solid var(--primary-300);
  background-color: var(--primary-100);
  color: var(--primary);
  font-weight: var(--weight-bold);
}

.search-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--gray-800);
  font-size: var(--body-md);
  margin-top: 10rem;
}

.search-guide__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.2rem;
}

.search-guide__text {
  font-weight: var(--weight-bold);
  display: block;
  line-height: var(--line-loose);
}

.search-guide__text .sub {
  font-weight: var(--weight-reg);
  color: var(--gray-700);
  font-size: var(--body-md);
}

.address-list {
  list-style: none;
  margin: 0;
  padding: 0;
}


.address-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
}

.address-text {
  font-size: var(--body-md);
  color: var(--gray-900);
  text-align: left;
}

.arrow-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.point-box {
  display: flex;
  align-items: center;
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.point-icon {
  width: 2.6rem;
  height: 2.6rem;
}

.point-label {
  flex-grow: 1;
  margin-left: 0.4rem;
}

.point-value {
  font-weight: var(--weight-bold);
  color: #111;
}

.point-arrow-icon {
  width: 2rem;
  height: 2rem;
  margin-left: 0.4rem;
}

.hipass-benefit-box {
  background-color: #E3F4FB; 
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2.4rem;
}

.hipass-title {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  font-size: var(--head-sm);
  color: var(--secondary);
}

.hipass-logo {
  height: 2rem;
  width: auto;
  margin-right: 0.4rem;
  margin-bottom: 0.2rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hi-benefit-icon {
  width: 4.4rem;
  height: 4.4rem;
  margin-right: 1.2rem;
  padding: 0.9rem;
  background-color: #fff;
  border-radius: 1.6rem;
}

.benefit-icon {
  width: 4.4rem;
  height: 4.4rem;
  margin-right: 1.2rem;
  padding: 0.9rem;
  background-color: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 1.6rem;
}

.benefit-label {
  flex: 1;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: #111;
  display: flex;
  align-items: center;
}

.benefit-badge {
  background-color: var(--primary);
  color: #fff;
  border-radius: 99rem;
  padding: 0.4rem 1.4rem;
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.hi-benefit-badge {
  background-color: #632CFF;
  color: #fff;
  border-radius: 99rem;
  padding: 0.4rem 1.4rem;
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.benefit-box {
  background-color: #fff; 
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.benefit-box-list {
  display: flex;
  gap: 2.4rem;
  padding: 0 1.2rem;
  margin: 4rem 0;
  list-style: none;
  justify-content: space-between;
  flex-wrap: wrap;
}

.benefit-box-item {
  flex: 1;
  max-width: 100%;
  width: 8.8rem;
  height: 10.4rem;
  background-color: var(--gray-000, #f8f8f8);
  border-radius: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
}

.benefit-icon-1 {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  padding: 1.8rem;
  background-color: #E0BDF4;
  border-radius: 1.6rem;
}

.benefit-icon-2 {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  padding: 1.8rem;
  background-color: #F4DCC3;
  border-radius: 1.6rem;
}

.benefit-icon-3 {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  padding: 1.8rem;
  background-color: #9AEFCC;
  border-radius: 1.6rem;
}

.benefit-label-lg {
  font-size: var(--body-md);
  color: var(--gray-900);
}

.benefit-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.4rem 2rem;
  border: 1px solid var(--gray-400);
  border-radius: 1.2rem;
  text-decoration: none;
  color: var(--secondary);
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-top: 2.4rem;
}

.benefit-arrow {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.login-join-box {
  padding: 2rem 2.4rem 4rem;
  background-color: var(--primary-100);
  text-align: left;
}

.login-title {
  display: inline-block;
  font-size: var(--head-sm);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.login-desc {
  font-size: var(--body-sm);
  color: var(--gray-700);
  margin-bottom: 2rem;
}


.mypage-info-card {
  background-color: #fff;
  padding: 2.4rem 2.4rem;
  border-radius: 2.4rem;

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mypage-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mypage-label {
  font-size: var(--body-md);
  color: var(--secondary); 
}

.mypage-value {
  font-size: var(--body-md);
  color: var(--primary);
  margin-left: auto;             
  display: inline-flex;
  align-items: baseline;
}

.value-num {
  font-weight: var(--weight-bold);
  text-align: right;
}

.value-unit {
  width: 1.6rem;     
  margin-left: 0.2rem;
  font-weight: var(--weight-reg);
  text-align: center;
}

.update-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 2rem;
  height: 4rem;

  background-color: var(--primary-100);   /* 아주 연한 오렌지 */
  border: 1px solid var(--primary);
  border-radius: 99rem;        /* 완전 pill 형태 */

  color: var(--primary);
  font-size: var(--body-sm);
  font-weight: var(--weight-reg);

  cursor: pointer;
}

.grade-card {
  background-color: #fff;
  padding: 2.4rem;
  border-radius: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

/* --- 상단 등급 정보 --- */

.grade-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grade-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--body-md);
  color: var(--secondary);
  text-decoration: none;
}

.grade-link .arrow-icon {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
}


.grade-current-silver {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.grade-current-silver span {
  font-size: var(--body-lg);
  font-weight: var(--weight-reg);
  margin-left: 0.2rem;
  color: var(--secondary);
}

.grade-current-gold {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: #B08130;
}

.grade-current-gold span {
  font-size: var(--body-lg);
  font-weight: var(--weight-reg);
  margin-left: 0.2rem;
  color: #B08130;
}

.grade-current-basic {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--primary-300);
}

.grade-current-basic span {
  font-size: var(--body-lg);
  font-weight: var(--weight-reg);
  margin-left: 0.2rem;
  color: var(--primary-300);
}


.grade-bar-wrap {
  width: 100%;             
  margin: 0 auto;         
  display: flex;
  flex-direction: column;
  gap: 0.8rem;              
}

.grade-bar {
  width: 100%;
  height: 0.8rem;
  background-color: #eee;
  border-radius: 99rem;
  overflow: hidden;
}



.grade-bar__fill {
  height: 100%;
  border-radius: 99rem;
  transition: width .3s;
}

.grade-bar__fill.silver {
  width: 50%;        
  background-color: var(--gray-700);
}

.grade-bar__fill.gold {
  width: 50%;       
  background-color: #CCA45F;
  margin-left: auto;
}

/* --- 등급 labels --- */

.grade-labels {
  display: flex;       
}

.grade-labels .grade-label {
  flex: 1;              /* 각각 bar의 50% 차지 */
  text-align: center; 
  font-size: var(--body-sm);
  font-weight: var(--weight-reg);
}

.grade-labels .grade-label.active {
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

.grade-label.silver {
  color: var(--gray-500);        
}

.grade-label.silver.active {
  color: var(--gray-900);                 
  font-weight: var(--weight-bold);
}

.grade-label.gold {
  color: var(--gray-500); 
}

.grade-label.gold.active {
  color: #B08130;
  opacity: 1;
  font-weight: var(--weight-bold);              /* Gold 활성 */
}

.mypage-menu {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
}

.mypage-menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4rem 2rem;
  text-decoration: none;
  color: var(--gray-900);
  font-size: var(--body-lg);
  position: relative;
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.menu-label {
  font-weight: var(--weight-bold);
  position: relative;
}

/* 전체 영역 */
.membership-grade {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* 상단 등급 카드 */
.membership-grade__card {
  background-color: #fff;
  border-radius: 2.4rem;
  padding: 2.4rem;
  border: 0.1rem solid var(--gray-300);
  margin-top: 3.2rem;
}

/* 헤더 */
.membership-grade__header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.membership-grade__avatar {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.membership-grade__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 이미지 꽉 채움 */
  display: block;
}

.avatar-initial {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.membership-grade__greeting {
  font-size: var(--body-lg);
  color: var(--gray-900);
  margin-bottom: 0.1rem;
}

.membership-grade__current {
  font-size: var(--body-lg);
  color: var(--gray-900);
}

/* 등급 바는 기존 grade-bar-wrap 스타일 그대로 사용 */

/* meta 정보 */
.membership-grade__meta {
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: var(--body-md);
}

.membership-grade__meta .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.membership-grade__meta dt {
  color: var(--gray-900);
}

.membership-grade__meta dd {
  color: var(--gray-900);
}

/* 하단 안내 박스 */
.membership-grade__notice {
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  padding: 2.4rem;
}


.grade-notice-title {
  font-size: var(--body-md);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  font-weight: var(--weight-bold);
  color: var(--secondary);
  border-bottom: 1px solid var(--gray-200);
}

.notice-highlight {
  font-size: var(--body-sm);
  margin-bottom: 0.6rem;
  font-weight: var(--weight-reg);
  color: var(--secondary);
}

.grade-notice-desc {
  font-size: var(--body-sm);
  color: var(--gray-700);
}

/* 전체 영역 */
.membership-guide {
  padding: 4.8rem 2rem 0;
}

.membership-guide__title {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  margin-bottom: 1.6rem;
}

/* 탭 버튼 */
.membership-tabs {
  display: flex;
  gap: 0.8rem;
}

/* 공통 버튼 스타일 */
.membership-tab {
  width: calc((100% - 0.8rem) / 2);
  height: 4.8rem;
  padding: 0 2.4rem;
  border-radius: 99rem;
  border: 1px solid transparent;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 라벨 이미지 공통 */
.membership-tab .tab-label {
  height: 1.8rem;   /* 필요에 맞게 조절 */
  width: auto;
  display: none;
}

/* 기본은 off 이미지 보이게 */
.membership-tab .tab-label--off {
  display: block;
}

/* active일 때 on/off 토글 */
.membership-tab.active .tab-label--on {
  display: block;
}
.membership-tab.active .tab-label--off {
  display: none;
}

/* --- Silver 탭 색상 --- */

/* Silver 비활성 (두 번째 이미지 참고) */
.membership-tab--silver {
  background: #ffffff;
  border-color: var(--gray-300);
}

/* Silver 활성 (배경 진회색, 글자 흰색) */
.membership-tab--silver.active {
  background: var(--gray-700);
  border-color: var(--gray-700);
}

/* --- Gold 탭 색상 --- */

/* Gold 비활성 (흰 배경 + 옅은 골드 보더) */
.membership-tab--gold {
  background: #ffffff;
  border-color: #EFE8D8;
}

/* Gold 활성 (골드 배경, 글자 흰색) */
.membership-tab--gold.active {
  background: #CCA45F;
  border-color: #CCA45F;
}
/* 각 탭 내용 컨테이너 */
.membership-panel {
  display: none;
  margin-top: 2.4rem;
}

.membership-panel.active {
  display: block;
}

/* 라운드 박스 */
.membership-box {
  background: var(--gray-100);
  border-radius: 1.6rem;
  padding: 2rem 2.4rem;
  margin-bottom: 1.6rem;
}

.membership-box__title {
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  margin-bottom: 0.8rem;
}

.membership-box__desc {
  font-size: var(--body-md);
  line-height: 1.6;
  color: var(--secondary);
}

.membership-box__sm {
  font-size: var(--body-sm);
  line-height: 1.6;
  color: var(--gray-800);
}

.membership-box__desc.highlight {
  font-size: var(--head-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

/* 하단 안내 */
.membership-notice {
  font-size: var(--body-xs);
  color: var(--gray-700);
  line-height: 1.6;
  margin-top: 1.6rem;
  padding-left: 0; 
}

.membership-notice li {
  position: relative;
  padding-left: 1rem; 
}


.membership-notice li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;          
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: var(--gray-700);  
}
/* 빨간 점 표시 */
.mypage-menu-item.has-dot .menu-label::after {
  content: "";
  position: absolute;
  top: -0.1rem;
  right: -0.9rem;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--primary);
  border-radius: 50%;
}

/* 혜택 텍스트 */
.menu-benefit {
  margin-right: 0.8rem;
  font-size: var(--body-md);
  color: var(--primary);
}

/* 화살표 */
.menu-arrow {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  flex-shrink: 0;
}

.mypage-section {
  margin-top: 4rem;
}

.mypage-section-title {
  font-size: var(--body-md);
  color: var(--gray-600, #aaa);
  margin: 0 2rem 0.8rem;
}


.sub-menu-label {
  font-size: var(--body-md);
  position: relative;
}

/* 빨간 점 표시 */
.mypage-sub-item.has-dot .sub-menu-label::after {
  content: "";
  position: absolute;
  top: -0.1rem;
  right: -0.9rem;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--primary,);
  border-radius: 50%;
}

.mypage-sub-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  text-decoration: none;
  color: var(--gray-900);
  font-size: var(--body-lg);
  position: relative;
}

.mypage-version-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  text-decoration: none;
  color: var(--gray-900);
  font-size: var(--body-lg);
  position: relative;
}

.mypage-version-item .left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mypage-version-item .right {
  flex-shrink: 0;
}

.new-version {
  font-size: var(--body-sm);
  color: var(--primary);
  margin-right: 0.6rem;
}

.cs-box {
  background-color: #f9f9f9;
  border-radius: 1.6rem;
  padding: 2.4rem;
  text-align: center;
  margin: 4rem 2rem;
}

.cs-title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: 2.4rem;
  text-align: left;
}

.cs-time-wrap {
  margin-bottom: 2.4rem;
  text-align: left;
}

.cs-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cs-time {
  font-size: var(--body-md);
  color: var(--gray-800);
  margin: 0;
}

.cs-time strong {
  font-weight: var(--weight-bold, 700);
  margin-right: 0.4rem;
}

.cs-note {
  margin-top: 0.4rem;
  font-size: var(--body-md);
  color: var(--gray-800);
}

.cs-call-btn {
  display: inline-block;
  width: 100%;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--gray-800);
  background-color: #fff;
  border-radius: 0.8rem;
  font-size: var(--body-md);
  color: var(--gray-900);
  text-decoration: none;
  box-sizing: border-box;
}

.cs-call-btn strong {
  font-weight: var(--weight-bold);
  margin-right: 0.4rem;
}


.user-info-box {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.user-thumbnail {
  position: relative;
  width: 6.4rem;
  height: 6.4rem;
  flex-shrink: 0;
}

.user-image {
  width: 100%;
  height: 100%;
  border-radius: 2.4rem;
  object-fit: cover;
}

.sns-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #F6DE38;
  padding: 0.33rem;
  box-sizing: border-box;
}

.sns-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  padding: 0.33rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  right: 0;
}

.sns-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sns-kakao {
  background-color: #F6DE38;
  color: var(--secondary);
  
}

.sns-google {
  background-color: #f1f1f1;
  border: 1px solid #ccc;
}

.sns-apple {
  background-color: #000;
}

.sns-mail {
  background-color: var(--primary);
}

.user-text {
  flex: 1;
  min-width: 0;
}

.user-greeting {
  font-size: var(--head-sm);
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.mypage-user-name {
  display: flex;
  font-size: var(--head-sm);
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.user-id {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: var(--weight-bold);
}

.user-more {
  display: inline-flex;
  align-items: center;
  font-size: var(--body-sm);
  color: var(--gray-700);
  margin-top: 0.4rem;
  text-decoration: none;
}

.arrow-icon {
  width: 1.8rem;
  height: 1.8rem;
}

.mypage-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
}

.profile-image-wrap {
  position: relative;
  width: 8rem;
  height: 8rem;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 2.4rem;
  object-fit: cover;
}

.edit-icon {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  width: 3.2rem;
  height: 3.2rem;
  background-color: #fff;
  border: 1px solid var(--gray-500);
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.edit-icon img {
  width: 1.8rem;
  height: 1.8rem;
}

.user-nickname {
  margin-top: 1.6rem;
  font-size: var(--head-sm);
  font-weight: var(--weight-bold);
  max-width: 90%;
  text-align: center;
  line-height: var(--line-loose);
}

.sns-login-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.sns-icon-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #FEE500; /* 카카오 스타일 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sns-icon-circle img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.sns-login-text {
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.member-id {
  margin-top: 1.6rem;
  background-color: var(--gray-100);
  border-radius: 99rem;
  padding: 0.8rem 6rem;
  font-size: var(--body-sm);
  color: var(--gray-900);
}


.member-info {
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.member-info-title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 2.8rem;
}

.form-label {
  display: block;
  font-size: var(--body-md);
  color: var(--gray-800);
  margin-bottom: 0.8rem;
}

.radio-group {
  display: flex;
  gap: 2.8rem; 
  align-items: center;
  height: 2.4rem;
  margin-top: 2rem;
}

.mypage-radio-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* 수정 버튼 */
.form-group--submit {
  margin-top: 3.2rem;
}


.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center; 
}


.form-label-link {
  font-size: var(--body-sm);
  color: var(--gray-800); 
  text-decoration: underline !important;
  margin-bottom: 1rem;
}

.mypage-sub {
  margin-top: 1rem;
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.input-row {
  display: flex;
  gap: 0.8rem; /* 인풋과 버튼 사이 여백 */
  margin-bottom: 1.2rem;
}

.input--flex {
  flex: 1;
}

.account-actions {
  display: flex;
  justify-content: center;
  gap: 3.2rem; 
  margin-top: 3.2rem;
}

.action-link {
  font-size: var(--body-md);
  color: var(--gray-700);
  text-decoration: underline !important;
}


.withdrawal-warning {
  padding: 2rem;
  font-size: 1.4rem;
  color: #333;
}

.withdrawal-title {
  font-size: 2.8rem;
  margin-bottom: 1.6rem;
  line-height: 1.3;
}

.withdrawal-desc p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: var(--body-md);
  color: var(--gray-800);
}

.withdrawal-desc strong {
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.withdrawal-info-list {
  margin: 3.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 1.2rem;
  padding: 2.4rem 2.4rem;
}

.info-label {
  font-size: var(--body-md);
  color: var(--secondary);
}

.info-value {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--primary);
}

.info-value .unit {
  margin-left: 0.4rem;
  color: var(--secondary);
  font-weight: var(--weight-bold);
}

.withdrawal-form {
  display: flex;
  flex-direction: column;
  margin: 0 2rem;
  font-size: var(--body-md);
  color: #333;
}

.form-title {
  font-weight: var(--weight-bold);
  font-size: var(--body-md);
}

.reason-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.reason-list label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 400;
  color: #333;
}


.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: var(--body-md);
  color: var(--secondary);
}

.withdrawal-btn {
  width: 100%;
  padding: 1.4rem;
  background-color: #000;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
}

.profile-select-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem 2.4rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 3.2rem 2.4rem;
}

.profile-select-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.profile-select-grid a:hover {
  transform: scale(1.05);
}

.profile-select-grid img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
}

.profile-card {
  flex: 1 1 calc(25% - 3.2rem);
  min-width: 8rem;
  max-width: 20rem;
  box-sizing: border-box;
  text-align: center;
}

.logout-complete {
  text-align: center;
  padding: 18rem 2rem;
}

.logout-icon {
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 1.6rem;
}

.logout-message {
  font-size: var(--head-sm);
  font-weight: var(--weight-bold);
  color: var(--primary); 
  margin-bottom: 0.8rem;
}

.logout-subtext {
  font-size: var(--body-md);
  color: var(--gray-800);
  margin-bottom: 8rem;
}

.mypoint-box {
  padding: 2.4rem;
  background: #fff;
}

.mypoint-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.mypoint-box__title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--gray-700);
}

.mypoint-box__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.mypoint-box__link img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.mypoint-box__amount {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2.4rem;
}

.mygift-box__amount {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2.4rem;
}

.mypoint-icon {
  width: 2.6rem;
  height: 2.6rem;
}

.mypoint-number {
  font-size: 2.8rem;
  margin-left: 0.8rem;
}

.mygift-number {
  font-size: 2.8rem;
  margin-left: 0.8rem;
}

.mypoint-expire-box {
  background: var(--gray-100);
  border-radius: 1.6rem;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.expire-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.expire-text {
  font-size: var(--body-md);
  color: var(--secondary);
}

.expire-date {
  color: var(--gray-600);
  margin-left: 0.4rem;
}

.expire-amount {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.expire-amount-delete {
  font-size: var(--body-lg);
  font-weight: var(--weight-reg);
  color: var(--secondary);
}

.mypage-tab-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 2rem;
  border-bottom: 0.1rem solid var(--gray-300);
  position: relative;
}

.mypage-tab-list {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mypage-tab-item {
  font-size: var(--body-md);
  color: var(--gray-600);
  padding: 1.6rem;
  position: relative;
  cursor: pointer;
}

.mypage-tab-item.active {
  color: var(--secondary);
  font-weight: var(--weight-bold);
}

.mypage-tab-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 0.2rem;
  background-color: var(--secondary);
}

.period-select {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-size: var(--body-sm);
  color: var(--gray-900);
  cursor: pointer;
  padding-bottom: 1.6rem;
}

.mapage-list-wrap {
  padding: 1.6rem 2rem;
}

.mypoint-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mypoint-item {
  display: flex;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.2rem 0;
 }

.mypoint-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mypoint-type {
  font-size: var(--body-xxs);
  font-weight: var(--weight-bold);
}

.mypoint-title {
  font-size: var(--body-md);
  color: var(--secondary);
}

.mypoint-date {
  font-size: var(--body-sm);
  color: var(--gray-600);
}

.mypoint-right {
  display: flex;
  align-items: center; 
  justify-content: flex-end;
}

.mypoint-right .mypoint-amount {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

/* 적립일 때 색상 */
.mypoint--save .mypoint-type {
  color: #ff5e29;
}
.mypoint--save .mypoint-amount {
  color: #ff5e29;
}

/* 사용일 때 색상 */
.mypoint--use .mypoint-type {
  color: #4766f9;
}
.mypoint--use .mypoint-amount {
  color: #4766f9;
}


.range-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.range-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 0;
}

.range-link {
  font-size: var(--body-md);
  color: var(--gray-700);
  text-decoration: none;
}

.range-item.active .range-link {
  font-weight: bold;
  color: #000;
}

.check-icon {
  width: 1.4rem;
  height: 1.4rem;
}

/* 상단 */
.point-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 2rem;
  border-bottom: 0.1rem solid var(--gray-300);
}

.point-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--body-md);
  margin-top: 0.4rem;
}

.usepoint-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.2rem;
}

.point-title {
  font-weight: 400;
  color: var(--gray-600);
}

.point-amount {
  font-size: var(--body-xl);
  font-weight: 700;
  color: var(--primary); 
}

.status-button {
  font-size: var(--body-sm);
  color: var(--gray-900);
  padding: 0.8rem 1.6rem;
  background-color: var(--gray-100);
  border-radius: 99rem;
  border: 0.1rem solid var(--gray-300);
  cursor: pointer;
}


/* 제품 카드 */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 4rem 2.4rem;
  padding: 3.2rem 2.4rem;
  margin: 0;
  list-style: none;
}

.product-card {
  text-align: center;
}

.product-image {
  border: 1px solid var(--gray-200);
  border-radius: 1.6rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-name {
  margin-top: 1.6rem;
  font-size: var(--body-md);
  color: var(--secondary);
  text-align: left;
}

.product-price {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-top: 0.8rem;
  color: var(--secondary);
  letter-spacing: 0;
  text-align: left;
}


.product-detail {
  text-align: center;
  padding: 2rem;
}

.prod-detail-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.prod-detail-image img {
  width: 75%;
  height: auto;
  display: block;
}


.prod-detail-name {
  margin-top: 2rem;
  font-size: var(--body-xl);
  color: var(--secondary);
  text-align: left;
}

.prod-detail-price {
  font-size: var(--body-lg);
  font-weight: bold;
  margin-top: 0.4rem;
  color: var(--secondary);
  text-align: left;
}

.divider {
  margin: 2.4rem 0;
  border: none;
  height: 0.1rem;
  background-color: var(--gray-200);
}

.terms-agree {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.terms-text {
  font-size: var(--body-md);
  color: var(--secondary);
}

.terms-link {
  color: var(--gray-700);
  font-size: var(--body-sm);
  text-decoration: underline !important;
  margin-left: 0.8rem;
}

.apply-wrap {
  padding: 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.apply-card {
  background-color: var(--gray-100); 
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.apply-info {
  display: flex;
  gap: 1.6rem;
}

.apply-thumb {
  flex-shrink: 0;
  width:7.2rem;
  height: 7.2rem;
  border-radius: 0.8rem;
  overflow: hidden;
}

.apply-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apply-details {
  flex: 1;
}

.apply-details p {
  margin-bottom: 0.6rem;
}

.product-title {
  font-size: var(--body-md);
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.prod-price {
  color: var(--primary);
  font-size: var(--body-lg);
  letter-spacing: 0;
  font-weight: bold;
  padding-bottom: 0.8rem;
}

.product-info {
  line-height: 1.6;
  font-size: var(--body-sm);
  color: var(--gray-800);
}

.mycoupon-wrap {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mycoupon-guide {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.2rem;
}

.v-line {
  width: 0.1rem;
  height: 1.2rem;    
  background: var(--gray-400);
}

.put-coupon-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--body-sm);
  color: var(--gray-800);
  font-weight: var(--weight-bold);
}

.mycoupon-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.mycoupon-link img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}


.coupon-box {
    display: block;
    border: 0.1rem solid var(--gray-300);
    border-radius: 1.6rem;
    padding: 3.2rem 2.4rem;
    box-sizing: border-box;
    background: var(--point-white);
    width: 100%;
    height: 100%;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.6rem;
}

.coupon-title {
    font-size: var(--head-sm);
    font-weight: var(--weight-bold);
    color: var(--secondary);
}

.coupon-title-used {
    font-size: var(--head-sm);
    font-weight: var(--weight-bold);
    color: var(--gray-600);
}

.coupon-headerpup- img {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
}

.my-coupon-desc {
    padding: 0;
    list-style: none;
    font-size: var(--body-md);
    color: var(--gray-800);
    line-height: 1.6;
    margin-top: auto;
}

.my-coupon-desc li::before {
    content: '·';
    margin-right: 0.6rem;
    color: var(--gray-800);
}

.my-coupon-desc strong {
    font-weight: var(--weight-bold);
}

.my-coupon-desc-used {
    padding: 0;
    list-style: none;
    font-size: var(--body-md);
    color: var(--gray-600);
    line-height: 1.6;
    margin-top: auto;
}

.coupon-period {
    font-size: var(--body-sm);
    color: var(--gray-700);
}

.coupon-period-used {
    font-size: var(--body-sm);
    color: var(--gray-600);

}


.voucher-detail {
  padding: 2rem;
}

.voucher-box {
  border: 0.1rem solid var(--gray-300);
  border-radius: 1.6rem;
  padding: 3.2rem 2.4rem 2.4rem;
  margin-bottom: 2.4rem;
  text-align: center;
  background-color: #fff;
}

.voucher-title {
  font-size: var(--head-sm);
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 1.6rem;
}

.voucher-partner {
  font-size: var(--body-md);
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.voucher-partner strong {
  font-weight: bold;
  color: var(--gray-800);
}

.voucher-period {
  font-size: var(--body-sm);
  color: var(--gray-800);
  margin-bottom: 0.2rem;
}

.voucher-remaining {
  font-size: var(--body-sm);
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 3.2rem;
}

.coupon-guide-wrap {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.likeshop-wrap {
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
  padding: 3.2rem 2rem;
}

.watchshop-wrap {
   display: flex;
  flex-direction: column;
  gap: 5.6rem;
  padding: 1.6rem 2rem;
}

.card-vert {
  display: flex;
  flex-direction: column;
  border-radius: 1.6rem;
  background: #fff;
  gap: 1.6rem;
}

.card-vert-top {
  display: flex;
  gap: 1.6rem;
  width: 100%;
}

.card-vert-image-wrap {
  position: relative;
  width: 13.2rem;
  height: 17.6rem;
  flex-shrink: 0;
}

.card-vert-image {
  width: 100%;
  height: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
}

.card-vert-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 3rem;
  height: 3rem;
}

.card-vert-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.card-vert-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-vert-labels {
  display: flex;
  gap: 0.4rem;
}

.card-label {
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 99rem;
  padding: 0.5rem 1rem;
  color: #fff;
}

.card-label.firstpay {
  background-color: var(--point-blue);
}

.card-label.rush {
  background-color: var(--point-red);
}

.card-label.event {
  background-color: var(--point-green);
}
.card-label.sale-coupon {
  background-color: var(--point-primary);
}

.card-vert-close {
  background: none;
  border: none;
  padding: 0;
}

.card-vert-title {
  font-size: var(--body-lg);
  font-weight: bold;
  color: var(--gray-900);
}

.card-vert-desc {
  font-size: var(--body-sm);
  color: var(--gray-800);
  line-height: 1.4;
}

.card-vert-price {
   display: flex;
  flex-direction: column;
  align-items: flex-end; 
  text-align: right;
  margin-top: 0.8rem;
  min-width: 0;
  gap: 0.6rem;
}
.card-course {
  display: block;
  font-size: var(--body-xs);
  color: var(--gray-800);
  line-height: 1;
  white-space: nowrap;     
  overflow: hidden;        
  text-overflow: ellipsis;
  width: 100%;
  min-width: 0;
}

.card-vert-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.card-vert-price-box .original {
  font-size: var(--body-sm);
  color: var(--gray-600);
  letter-spacing: 0;
  text-decoration: line-through;
}

.card-vert-price-box .discount {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.card-vert-benefit {
  font-size: var(--body-xs);
  color: var(--gray-800);
  padding: 0 0.4rem;
  background-color: var(--gray-200);
}

.card-vert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--body-sm);
  color: var(--gray-800);
  border-radius: 0.8rem;
  border: 0.1rem solid var(--gray-300);
  padding: 1.4rem 1.6rem;
}

.sale-price-vert {
  font-size: var(--body-sm);
  color: var(--gray-600);
  text-decoration: line-through;
  text-decoration-thickness: 0.1rem;
  text-decoration-color: var(--gray-600);
}

.price-offer .max-sale-vert {
  background: var(--primary);
  color: #fff;
  padding: 0.1rem 0.8rem;
  border-radius: 999rem;
  font-size: var(--body-xxs);
  font-weight: var(--weight-reg);
}

.sale-percent-vert {
  font-size: var(--body-sm);
  color: var(--primary);
  font-weight: var(--weight-reg);
}

.price-offer .price-new-vert {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--primary);
  
}

.normal-price-vert {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}


.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-meta-wrap {
 display: flex;
 align-items: center;     /* 세로 가운데 정렬 */
  gap: 1.2rem;  
}

.icon-14 {
  width: 1.4rem;
  height: 1.4rem;
}

.all-delete {
  display: flex;
  justify-content: flex-end;
  padding: 1.6rem 2rem 0;
}

.all-delete-link {
  display: flex;
  align-items: center;
  font-size: var(--body-sm);
  color: var(--gray-800);
  text-decoration: underline !important;
}
.myreser-wrap {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.reser-card {
  border-radius: 1.6rem;
  overflow: hidden;
  border: 0.1rem solid var(--gray-200);
  background: #fff;
}

.reser-card__head {
  background-color: var(--gray-100);
  padding: 2.4rem;
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 1.6rem;
}

.reser-close-btn {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 2.4rem;
  height: 2.4rem;
  background: url('../resources/images/icon/xmark_fill.svg') no-repeat center / contain;
  border: none;
  cursor: pointer;
}

.store-thumbnail {
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 1.6rem;
  object-fit: cover;
  flex-shrink: 0;
}

.reser-store-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.reser-label {
  display: inline-block;
  font-size: var(--body-xs);
  font-weight: var(--weight-bold);
  line-height: 1;
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  background-color: #fff;
  border: 1px solid;
  width: fit-content;
}

.status-prepare {
  color: var(--primary);
  border-color: var(--primary);
}

.status-confirmed {
  color: #fff;
  background-color: var(--primary);
}

.status-progress {
  color: #fff;
  background-color: #29C9D2;
}

.status-done {
  color: #fff;
  background-color: var(--secondary);
}

.status-cancel {
  color: #fff;
  background-color: var(--gray-500);
}

.reser-store-name {
  font-size: var(--body-xl);
  font-weight: bold;
  color: var(--gray-900);
}

.reser-card__body {
  padding: 2.4rem;
  background: #fff;
}

.reser-info {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-row {
  display: grid;
  grid-template-columns: 6.4rem 1fr;
  gap: 1rem;
  align-items: center;
  font-size: var(--body-md);
  color: var(--secondary);
}

.info-row dt {
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray-600);
}

.info-row dd {
  margin: 0;
  text-align: left;
  line-height: 1.5;
  white-space: normal;     /* ✅ 줄바꿈 허용 */
  word-break: break-word;
}

.info-row dd strong {
  font-weight: bold;
  color: var(--secondary);
}

.reser-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}

.cancel-memo {
  color: var(--primary);
  font-weight: var(--weight-bold);
}

.review-wrap {
  position: relative;
  width: fit-content;
  width: 100%;
  margin: 1.2rem auto 0;
}

.point-bubble--review {
  left: 65%;
}

.myreser__head {
  background-color: var(--gray-100);
  padding: 3.2rem 2.4rem;
  display: flex;
  align-items: center;
  position: relative;
  gap: 1.6rem;
}

.myreser-date {
  font-size: var(--body-lg);
  color: var(--secondary);
}




.step-wrapper {
      padding: 4rem 3rem;
      width: 100%;
      box-sizing: border-box;
    }

    .step-list {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .step-item {
      position: relative;
      text-align: center;
      flex: 1;
    }

    /* 선: dot 뒤에 */
    .step-item::before {
      content: '';
      position: absolute;
      top: 9%; 
      left: 0;
      right: 0;
      height: 0.1rem;
      background-color: var(--gray-300);
      z-index: 0;
      transform: translateY(-50%);
    }


    .step-item:first-child::before {
      left: 50%;
    }


    .step-item:last-child::before {
      right: 50%;
    }

    /* 동그라미 점 */
    .step-dot {
      width: 0.9rem;
      height: 0.9rem;
      border-radius: 50%;
      background-color: var(--gray-300);
      margin: 0 auto 8px;
      position: relative;
      z-index: 1; /* 선보다 위 */
    }

    /* 활성화된 dot */
    .step-item.active .step-dot {
      background-color: var(--primary);
    }

    /* 텍스트 */
    .step-label {
      font-size: var(--body-md);
      color: var(--gray-700);
      margin-top: 1.2rem;
    }

    .step-item.active .step-label {
      color: var(--primary);
      font-weight: var(--weight-bold);
    }


.reser-detail-title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-bottom: 1.6rem;
}

.reser-detail-box {
  border-radius: 1.6rem;
  border: 0.1rem solid var(--gray-200);
  padding: 2.4rem;
  font-size: var(--body-md);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.reser-detail-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.status-label {
  font-weight: var(--weight-bold);
  color: var(--gray-700);
}

.info-row.is-multiline {
  align-items: flex-start;
  
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.option-course {
  padding: 0 0 0.4rem;
}

.option-item .option-label {
  font-size: var(--body-md);
  color: var(--secondary);
}

.option-item .option-label {
  color: var(--secondary);
}

.cost-item .cost-price {
  color: var(--secondary);
  white-space: normal;
  max-width: 70%;
  letter-spacing: 0;
}

.option-item .cost-price {
  color: var(--secondary);
  white-space: normal;
  max-width: 70%;
  letter-spacing: 0;
}

.cost-item .cost-value {
  color: var(--secondary);
  white-space: normal;
  max-width: 70%;
  letter-spacing: 0;
}

.cost-item.total .cost-price,
.cost-item.total-final .cost-price {
  font-weight: var(--weight-bold);
}

.cost-item.total-final .cost-price {
  font-size: var(--body-xl);
}


.cost-item.discount .cost-price,
.cost-item.minus .cost-price {
  color: #FF0000;
  font-weight: var(--weight-bold);
  margin-bottom: 0.6rem;
}

.cost-item.sub-discount .cost-label,
.cost-item.sub-discount .cost-price {
  color: var(--gray-700);
  font-size: var(--body-md);
}

.cost-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 1.2rem;
}

.payment-info.is-multiline {
  align-items: flex-start;
}
.payment-info .cost-price {
  text-align: right;
  color: var(--gray-700);
}

.cost-label-b {
  font-weight: var(--weight-bold);
}

.cost-label-fee {
  color: #FF0000;
}

.reser-info-wrap {
  padding: 0 2rem;
}

.cost-price-final {
  font-size: var(--head-md);
  font-weight: var(--weight-bold);
}


.textarea-wrapper {
  margin: 0 0 2.4rem;
}

.custom-textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.2rem;
  font-size: var(--body-md);
  resize: none;
  box-sizing: border-box;
  color: var(--gray-900);
  background-color: #fff;
}

.cancel-policy-text {
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.check-wrapper {
  margin-bottom: 2.4rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: var(--body-md);
  color: var(--gray-900);
  cursor: pointer;
}

.section-guide {
  font-size: var(--body-md);
  color: var(--gray-800);
  margin-bottom: 2rem;
  text-align: center;
}


.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4.8rem;
  margin: 2rem;
  padding-bottom: 6rem
}

.event-card {
  flex: 1 1 calc(100% ); /* 기본 2열 */
  max-width: calc(100% );
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/*@media (min-width: 768px) {
  .event-card {
    flex: 1 1 calc(50% - 1.3rem);
    max-width: calc(50% - 1.3rem);
  }
}

@media (min-width: 1024px) {
  .event-card {
    flex: 1 1 calc(33.3% - 1.5rem);
    max-width: calc(33.3% - 1.5rem);
  }*/
}
.event-thumb .event-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

/* 종료된 카드에만 오버레이 보이기 */
.event-card.is-end .event-thumb .event-overlay {
  opacity: 1;
}
.event-thumb {
  position: relative;
  width: 100%;
  padding-top: 50%; 
  overflow: hidden;
}

.event-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.6rem;
  object-fit: cover;
}



.event-status {
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  padding: 0.4rem 1rem;
  border-radius: 0.8rem;
  white-space: nowrap;
  height: 100%;
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  width: 5.8rem;
}

.badge-progress {
  background-color: var(--primary);
  color: #fff;
}

.badge-end {
  background-color: var(--gray-500);
  color: #fff;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.event-text {
  flex: 1;
}

.event-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.event-date {
  font-size: var(--body-sm);
  color: var(--gray-700);
}

.full-image {
  display: block;
  width: 100%;
  height: auto;
}

.no-event-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 0;
  text-align: center;
}

.no-event-image {
  width: 10.4rem;
  height: auto;
  margin-bottom: 2.4rem;
}

.no-event-text {
  font-size: var(--body-md);
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.shop-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: calc(100% - 2.8rem); 
  box-sizing: border-box;
}

.shop-photo {
  width: 5.6rem;
  height: 5.6rem;
  min-width: 5.6rem;
  border-radius: 1.6rem;
}

.shop-name {
  font-weight: var(--weight-bold);
  font-size: var(--body-lg);
}

.shop-memo {
  font-size: var(--body-sm);
  color: var(--gray-800);
  max-width: 100%; 
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.4rem;
  max-width: 100%; 
  overflow-x: hidden;
}

.review-blind-overlay {
  position: absolute;
  inset: 0;
  color: #fff;
  inset: -4rem -2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  box-sizing: border-box;
  text-align: left;
  pointer-events: none;
}

.blind-box {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2.4rem;
  border-radius: 1.6rem;
  margin: 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;

}
.blind-title {
  font-weight: var(--weight-bold);
  font-size: var(--body-md);
}

.blind-reason {
  display: flex;
  gap: 1.2rem;
  color: #fff;
  font-size: var(--body-sm);
}

.reason-label-box {
  flex-shrink: 0;
  font-weight: var(--weight-bold);
  min-width: 6rem; 
}

.reason-content-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.reason-date {
  font-size: var(--body-xsm);
  opacity: 0.7;
}

.accordion-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.accordion-toggle {
  width: 100%;
  padding: 2.4rem 2rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 2rem;
  position: relative;
  box-sizing: border-box;
}

.membership-toggle {
  width: 100%;
  padding: 2.8rem 0;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 2rem;
  position: relative;
  box-sizing: border-box;
}

.membership-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.accordion-item.active .membership-content {
  padding: 0;
  max-height: 800px;
}

.accordion-text {
  display: flex;
  flex-direction: column;
}
.accordion-arrow {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  background-image: url('../resources/images/icon/select_arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2rem;
}

.accordion-item.active .accordion-content {
  padding: 0 2rem;
  max-height: 800px;
}

.accordion-title {
  font-size: var(--body-md);
  color: var(--secondary);
  line-height: 1.5;
}

.accordion-date {
  font-size: var(--body-sm);
  color: var(--gray-600); 
}

.accordion-label {
  font-size: var(--body-sm);
  color: var(--gray-600);
  font-weight: var(--weight-bold);
}

/* 답변 박스 (회색 라운딩) */
.accordion-answer {
  background-color: var(--gray-100);
  border-radius: 1.2rem;
  padding: 2.8rem 2.4rem;
  font-size: var(--body-md);
  color: var(--gray-900);
  line-height: 1.6;
}

.accor-divider {
  border: none;
  border-top: 0.1rem solid var(--gray-100);
  margin: 0 2rem;
}

.accordion-item.active + .accor-divider {
  display: none;
}

.faq-tab-wrap {
   position: sticky;     
  top: 6.4rem;             
  z-index: 101;          
  background-color: #fff; 
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2rem;
  border-bottom: 0.1rem solid var(--gray-300);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faq-tab-wrap::-webkit-scrollbar {
  display: none;
}

.faq-tab-list {
  display: inline-flex;
  gap: 2.4rem;
  list-style: none;
  padding-right: 2rem;
  margin: 0;
  min-width: max-content;
}

.faq-tab-item {
  font-size: var(--body-md);
  color: var(--gray-600);
  padding: 1.6rem 0;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.faq-tab-item.active {
  color: var(--secondary);
  font-weight: var(--weight-bold);
}

.faq-tab-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.2rem;
  background-color: var(--secondary);
}

.inquiry-status {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-100); /* 연한 회색 배경 */
  border-radius: 2rem;
  padding: 2rem 0;
  font-size: var(--body-md);
  margin: 2rem 2rem 0;
}

.inquiry-item {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}

.qna-label {
  color: var(--gray-700);
}

.qna-count {
  color: var(--secondary);
  font-weight: var(--weight-bold);
}

.qna-divider {
  width: 1px;
  height: 1.6rem;
  background-color: var(--gray-300);
}

.qna-list {
  list-style: none;
  
  margin: 0;
}

.qna-item {
  padding: 2rem 0 3.2rem;
  position: relative;
}

.qna-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qna-meta {
  display: flex;
  gap: 0.8rem;
  font-size: var(--body-sm);
}
.qna-meta .category {
  color: var(--gray-700);
  font-weight: var(--weight-bold);
}
.qna-meta .status {
  font-weight: var(--weight-bold);
  color: var(--point-blue);
}

.qna-meta .accept {
  font-weight: var(--weight-bold);
  color: var(--point-green);
}

.qna-item.is-answer .status {
  color: var(--secondary);
}

.btn-delete {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.qna-body {
  margin: 1.2rem 0 0;
  font-size: var(--body-md);
  line-height: 1.6;
  color: var(--gray-900);
}

.qna-date {
  font-size: var(--body-sm);
  color: var(--gray-600);
  margin-top: 0.4rem;
}

.qna-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: var(--gray-100);
  border-radius: 1.6rem;
  padding: 2.4rem;
  margin-top: 1.6rem;
  cursor: pointer;
}

.qna-toggle-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.toggle-label {
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

.toggle-date {
  font-size: var(--body-sm);
  color: var(--gray-600);
}

.toggle-arrow {
  width: 2.4rem;
  height: 2.4rem;
  transition: transform 0.3s ease;
}

.qna-item.open .toggle-arrow {
  transform: rotate(180deg);
}

.qna-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, transform 0.3s ease;
  font-size: var(--body-md);
  color: var(--secondary);
  line-height: 1.6;
  background-color: var(--gray-100);
  border-radius: 0 0 1.6rem 1.6rem;
  padding: 0 2.4rem;
  transform: translateY(-1.6rem);
}
.qna-item.open .qna-answer {
  max-height: 80rem;
  padding: 1.6rem 2.4rem 2.4rem;
  transform: translateY(-1.6rem);
}
.qna-wrap {
  padding: 0 2rem 10rem;
  min-height: calc(100vh - 32rem);
}

.massage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 기본: 2개 */
  gap: 1.6rem;
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.massage-item img {
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
  display: block;
  object-fit: cover;
}

/* 768px 이상: 3개 */
@media (min-width: 768px) {
  .massage-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1024px 이상: 4개 */
@media (min-width: 1024px) {
  .massage-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.massage-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.massage-img img {
  width: 100%;     
  height: auto;   
  display: block;
  max-width: 70rem;
  
}

.policy-list {
  list-style: none;
  padding: 1.6rem 0;
  margin: 0;
}

.policy-item {
  padding: 0;

}

.policy-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  font-size: var(--body-md);
  color: var(--secondary);
  text-decoration: none;
}

.policy-arrow {
  width: 2.4rem;
  height: 2.4rem;
}

.btn-wrap {
  padding: 0 2rem;
  bottom: 2.4rem;
  left: 0;
  width: 100%;
  z-index: 99;
}

.qna-write-title {
  display: block;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  padding-bottom: 1.6rem;
}

.qna-write-wrap {
  padding: 2rem;
}

.qna-btn-group {
  display: flex;
  gap: 0.8rem; 
  width: 100%;
  margin-top: 2.4rem;
}

.qna-btn-group .cancel-btn {
  flex: 1;
}

.qna-btn-group .submit-btn {
  flex: 2.5;
}

.invite-section {
  text-align: center;
}

.invite-visual {
 background-color: var(--primary-200);
}

.invite-title {
  font-size: 5rem;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  letter-spacing: -0.4rem;
  color: var(--secondary);
  padding-top: 3rem;
}



.invite-desc {
  font-size: var(--body-md);
  color: var(--gray-900);
  margin-top: 1.6rem;
  line-height: 1.6;
}

.invite-img-visual {
  display: block;
  width: 100%;
  padding: 3rem 3.2rem 4rem;
}

.invite-step {
  margin-top: 5.6rem;
  width: 100%;
  text-align: center;
}

.invite-step-label {
  display: inline-block;
  background-color: var(--secondary);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 99rem;
  font-size: var(--body-xs);
  font-weight: var(--weight-bold);
}

.invite-step-label2 {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 99rem;
  font-size: var(--body-xs);
  font-weight: var(--weight-bold);
}

.invite-step-desc {
  font-size: var(--body-md);
  color: var(--gray-900);
  margin-top: 1.6rem;
  line-height: 1.5;
}

.invite-img-guide {
  display: block;
  width: 100%;
  padding: 3rem 2.4rem 1rem;
  max-width: 70rem;
}

.invite-code-section {
  text-align: center;
  margin-top: 4.8rem;
}

.invite-mycode-box {
  background-color: var(--gray-100);
  padding: 4.8rem 2rem;
}

.invite-subtitle {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.invite-code-desc {
  font-size: var(--body-md);
  color: var(--gray-900);
  margin-bottom: 2.4rem;
}

.invite-code-display {
  display: inline-block;
  font-size: 3.2rem;
  font-weight: var(--weight-bold);
  padding: 2.4rem;
  border: 0.1rem solid var(--gray-300);
  border-radius: 1.6rem;
  background-color: #fff;
  margin-bottom: 1.6rem;
  width: 100%;
}

.invite-code-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}



/* 진한 회색 배경 아래 영역 */
.invite-friendcode-box {
  background-color: var(--gray-300);
  padding: 4.8rem 2rem;
}

.invite-friend-desc {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  margin-bottom: 2rem;
}

.icon-kakao {
  width: 2rem;
  height: 2rem;
  object-fit: cover;
  display: block;
  margin-right: 0.8rem;
}

.guide-wrap {
  padding: 3rem 2rem 0;
}

.partner-section {
  background-color: var(--primary-100);
  padding: 4rem 2rem;
}

.partner-header {
  text-align: center;
  margin-bottom: 4rem;
}

.partner-title-en {
  font-size: 5rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 100;
  letter-spacing: 0;
  color: var(--primary);
  margin-bottom: 3rem;
}

.partner-title-kr {
  font-size: var(--body-xl);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

.partner-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: #fff;
  border-radius: 1.6rem;
  padding: 2.4rem;
}

.partner-icon {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.partner-item-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}

.partner-item-desc {
  font-size: var(--body-md);
  color: var(--gray-800);
  line-height: 1.5;
}

.partner-wrap {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.partner-label {
  font-size: var(--body-md);
  color: var(--secondary);
  font-weight: var(--weight-bold);
  display: block;
  padding-bottom: 1rem;
}

.partner-input {
  padding: 0;
}

.form-row {
  display: flex;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.form-row .custom-select {
  flex: 1;
  min-width: 0; /* 긴 텍스트 줄바꿈 방지용 */
}

.checkbox-partner-write {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: var(--body-md);
      color: var(--secondary);
    }
.checkbox-partner-write span {
  font-size: var(--body-sm); 
  color: var(--gray-700); 
  text-decoration: underline;
  cursor: pointer;
}

.error-normal {
  font-size: var(--body-sm);
  color: var(--secondary);
  margin-top: 0.8rem;
}

.error-red {
  font-size: var(--body-sm);
  color: var(--primary);
  margin-top: 0.8rem;
}


.login-container {
  padding: 5.6rem 2rem 4.8rem;
  margin: 0 auto;
  position: relative;
}

.login-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
}

.login-close-btn img {
  width: 2.8rem;
  height: 2.8rem;
}

.login-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.login-logo img {
  height: 3rem;
}

.login-subtitle {
  margin-top: 0.4rem;
  font-size: var(--body-xxs);
  color: var(--gray-800);
}

.login-label {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  margin-bottom: 0.8rem;
  display: block;
  margin-top: 2.4rem;
}

.login-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2rem;
  font-size: var(--body-md);
  color: var(--gray-700);
}

.login-links a {
  color: inherit;
  text-decoration: none;
}

.login-divider {
  color: var(--gray-300);
}

.login-btn-group {
  padding: 0 2rem;
}


.sns-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  height: 5.6rem;
  border-radius: 1.2rem;
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  border: 1px solid var(--gray-200);
  background-color: #fff;
  cursor: pointer;
  padding: 0 2rem;
}

.login-sns-icon {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  left: 2rem;
}

.sns-label {
  text-align: center;
  flex: 1;
}

.sns-btn--kakao {
  background-color: #FEE500;
  border: none;
  color: var(--gray-900);
}

.sns-btn--apple {
  background-color: #fff;
  border: 1px solid var(--gray-300);
  color: var(--gray-900);
}

.sns-btn--google {
  background-color: #fff;
  border: 1px solid var(--gray-300);
  color: var(--gray-900);
}

.sns-btn--mail {
   background-color: var(--gray-200);
  color: var(--gray-900);
}

.login-join-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 7.8rem;
}

.login-bubble {
  position: absolute;
  top: -2.8rem; /* 버튼 위로 띄우기 */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  font-size: var(--body-xs);
  font-weight: var(--weight-bold);
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
}

.login-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 0.5rem solid transparent;
  border-right: 0.5rem solid transparent;
  border-top: 0.6rem solid var(--primary);
}

.login-btn {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cert-title-wrap {
  text-align: center;
  padding-bottom: 3.2rem;
}

.cert-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.cert-desc {
  font-size: var(--body-md);
  color: var(--secondary);
}
.cert-wrap {
  padding: 5.6rem 2rem;
}

.login-benefit-wrap {
  background-color: var(--primary-100);
  padding: 3.2rem 1.6rem;
  text-align: center;
  margin-bottom: 2.4rem;
}

.login-benefit-title {
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  margin-bottom: 2rem;
}

.login-benefit-image img {
  max-width: 80%;
  height: auto;
  display: inline-block;
}

.login-wrap {
  padding: 3.2rem 0;
}

.login-btn-wrap {
  padding: 0 2rem;
}

  .join-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .join-step-wrapper {
     width: 8rem;
      box-sizing: border-box;
      margin: 3.2rem 0 2.4rem;
      
    }

    .join-step-list {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .join-step-item {
      position: relative;
      text-align: center;
      flex: 1;
    }

    /* 선: dot 뒤에 */
    .join-step-item::before {
      content: '';
      position: absolute;
      top: 0.4rem; 
      left: 0;
      right: 0;
      height: 0.1rem;
      background-color: var(--gray-300);
      z-index: 0;
    }


    .join-step-item:first-child::before {
      left: 50%;
    }


    .join-step-item:last-child::before {
      right: 50%;
    }

    /* 동그라미 점 */
    .join-step-dot {
      width: 0.9rem;
      height: 0.9rem;
      border-radius: 50%;
      background-color: var(--gray-300);
      margin: 0 auto 0.8rem;
      position: relative;
      z-index: 1; /* 선보다 위 */
    }

    /* 활성화된 dot */
    .join-step-item.active .join-step-dot {
      background-color: var(--primary);
    }

.terms-wrap {
  padding: 2rem;
}

.terms-list {
  list-style: none;
  padding: 1.6rem;
  margin: 0;
  border: 1px solid var(--gray-200);
  border-radius: 1.6rem;
  overflow: hidden;
}

.terms-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem;
}

.terms-item:last-child {
  border-bottom: none;
}

.join-terms-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  text-decoration: none;
  color: var(--gray-900);
  font-size: var(--body-md);
}

.terms-arrow {
  width: 2rem;
  height: 2rem;
  margin-left: 0.8rem;
  flex-shrink: 0;
}

.terms-all {
  margin: 2.4rem 0 3.2rem;
  font-weight: var(--weight-bold);
}

.terms-submit {
  text-align: center;
}

.join-error {
  font-size: var(--body-sm);
  color: var(--primary);
  margin: 1rem 0 0;
}


.join-complete {
  text-align: center;
  padding: 4rem 2rem;
}
.join-btn-wrap {
  padding: 2rem;
  display: flex;
  gap: 0.8rem;
}

.join-btn-wrap .btn {
  flex: 1; 
}

.birth-select {
  margin-bottom: 2.8rem;
}

.birth-select .form-row {
  display: flex;
  gap: 0.8rem;
}

.birth-select .form-row .custom-select:nth-child(1) {
  flex: 1.5;
}

.birth-select .form-row .custom-select:nth-child(2),
.birth-select .form-row .custom-select:nth-child(3) {
  flex: 1;
}

/* 전체 배너 영역 */
.membership-banner {
  width: 100%;
  height: 16rem; /* 원하는 세로값 넣기 */
  background-color: var(--primary-100); /* 배경색 (이미지 참고) */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 내부 콘텐츠 wrapper */
.membership-banner__inner {
  text-align: center;
}

/* 영어 이미지 */
.membership-banner__image img {
  height: 4.8rem; 
  width: auto;
  display: block;
  margin: 0 auto;
}

/* 한글 텍스트 */
.membership-banner__subtitle {
  margin-top: 0.8rem;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--primary); 
}


.map-wrap {
  background-color: #eee;
  width: 100%;
  height: calc(100dvh - 6.4rem);
  position: relative;
  overflow: hidden;
}

.speech-bubble {
    position: absolute;
    /*display: inline-block;*/
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    /*max-width:max-contents;*/
    /*align-items: center;*/
    /*gap: 0.8rem;*/
    background-color: #fff;
    border-radius: 0.8rem;
    border: 0.1rem solid var(--gray-700);
    padding: 0.6rem 0.8rem;
    font-size: var(--body-md);
    /*font-weight: var(--weight-bold);*/
    color: #000;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.2rem;
  height: 0.7rem;
  background-color: var(--gray-700);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}


.bubble-shop {
    display: inline-flex;
    flex-direction: row;
    gap: 6px;
    width: max-content;
    font-weight: var(--weight-bold);
}

.bubble-badge {
  /*background-color: var(--gray-900);*/
  color: var(--primary);
  padding: 0.2rem 0rem;
  border-radius: 0.4rem;
  line-height: 1;
  white-space: nowrap;
}

.bubble-price {
    color: #333;
    /*font-weight: var(--weight-bold);*/
    white-space: nowrap;
    align-self: flex-start;
}

.speech-bubble.active {
  background-color: var(--primary);
  border: 0.1rem solid var(--primary);
  color: #fff;        
}

.speech-bubble.active::after {
  background-color: var(--primary);
  color: #fff;        
}

.speech-bubble.active .bubble-badge {
  /*background-color: #fff;*/
  color: #fff;
}

.speech-bubble.active .bubble-price {
  color: #fff;
}


.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 8rem;
  height: 100dvh;
  background: #fff;
  border-radius: 1.6rem 1.6rem 0 0;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(65%);
  transition: transform 0.3s ease;
  z-index: 1; /*10 -> 1*/
  display: flex;
  flex-direction: column;
  touch-action: none;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: border-box;
}

.drag-handle {
  width: 5rem;
  height: 0.5rem;
  background: #ccc;
  border-radius: 999px;
  margin: 1rem auto 1.6rem;
}

.sheet-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 0 2.4rem 25rem;
}

.sheet-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.sheet-memo {
  text-align: center;
  font-size: var(--body-sm);
  color: var(--gray-800);
  margin-bottom: 1.6rem;
}

#bottomSheet {
  position: sticky;
  bottom: 0;
  left: 0;
  max-width: 440px;
  z-index: 10; /* 충분히 높게 */
  touch-action: none; /* 드래그 충돌 방지 */
}

.bottom-memo {
  font-size: var(--body-sm);
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 1.6rem;
}

.bottom-shop-wrap {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.empty-store {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray-500); 
}

.empty-title {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-bottom: 0.4rem;
}

.empty-desc {
  font-size: var(--body-sm);
  color: var(--gray-800); 
}

.btn-my-location {
  position: absolute;
  top: 7.5rem; /* 상단 여백 */
  right: 1.6rem; /* 우측 여백 */
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 1; /*20 -> 1*/
  cursor: pointer;
}

.btn-my-location img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.btn-research {
  position: absolute;
  top: 2rem;         
  left: 50%;         
  transform: translateX(-50%); 
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  background-color: #fff;
  font-size: var(--body-sm);
  font-weight: var(--weight-bold);
  color: var(--gray-900);
  border: 1px solid #ddd;
  box-shadow: 0 0.2rem 0.4rem rgba(0,0,0,.1);
  cursor: pointer;
  z-index: 20;

  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-research .icon {
  display: inline-block;
  width: 1.8rem; 
  height: 1.8rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.my-add {
  position: absolute;
  top: 2rem; 
  left: 50%; 
  transform: translateX(-50%);
  border-radius: 3.2rem;
  padding: 1.1rem 2rem;
  background-color: #fff;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  font-size: var(--body-sm);
  max-width: 92vw; 
  white-space: nowrap;
  gap: 0.4rem;
} 

.my-add__icon {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}

.my-add__text {
  flex: 1;
  min-width: 0;   

  white-space: nowrap;     /* 한 줄로만 */
  overflow: hidden;
  text-overflow: ellipsis; /* … 처리 */
}
.route-panel {
  position: absolute;
  left: 50%;
  bottom: calc(max(2rem, env(safe-area-inset-bottom)) + 0rem); 
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;

  padding: 1rem 1.2rem;               
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 0.2rem 0.4rem rgba(0,0,0,.1);
  z-index: 30;
  width: calc(100% - 4rem);     
  max-width: 45rem;   
  overflow: hidden;  
}

/* 버튼(세그먼트) */
.route-btn {
  position: relative;
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;     
  min-height: 3.6rem;
  line-height: 1;
  font-size: var(--body-md);
  color: var(--gray-10);
  cursor: pointer;
  white-space: nowrap;
}

.route-btn:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.1rem;
  height: 1.6rem;   
  background-color: var(--gray-300); 
}


.store-popup {
  position: fixed;
  bottom: 120px;  
  left: 2rem;
  right: 2rem;
  margin: 0 auto;
  max-width: 400px;

  background: #fff;
  border-radius: 1.6rem;
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(2rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 1; 
  
}

.store-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.store-popup-inner {
  display: flex;
  padding: 2rem;
  gap: 1.6rem;
  position: relative;
  align-items: stretch;
}

.choice-store-thumb {
  width: 7.2rem;
  height: 9.6rem;
  aspect-ratio: 3 / 4;
  border-radius: 0.8rem;
  object-fit: cover;
  flex-shrink: 0;
}

.choice-store-info-wrap {
  display: flex;
  flex-direction: column;
  flex: 1; 
  min-width: 0;
  min-height: 9.6rem;
}



.choice-store-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 0.4rem;
}

.choice-store-name {
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  margin-bottom: 0.4rem;
}

.choice-store-desc {
  font-size: var(--body-sm);
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.choice-store-type {
  font-size: var(--body-sm);
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.choice-store-price {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.choice-store-badge {
  background: var(--primary);
  color:#fff;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.4rem 0.4rem;
  border-radius: 99rem;
  flex-wrap: nowrap;
  min-width: 5.2rem;
}

.price {
  min-width: 7.2rem;
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--primary);
}

.price-normal {
  min-width: 7.2rem;
  font-size: var(--body-lg);
  font-weight: var(--weight-bold);
  color: var(--secondary);
  display: inline-block;  
  white-space: nowrap; 
}


.store-close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  background: none;
  border: none;
  padding: 0;
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
}

.store-close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.timer {
  display: flex;
  justify-content: flex-end;
  font-size: var(--body-sm);
  color: var(--gray-800);
  margin-bottom: 0.6rem;
}

.timer-highlight {
  color: var(--primary);
  font-weight: var(--weight-bold);
}

.reser-detail-timer {
   display: flex;
  justify-content: space-between; /* 좌우 끝으로 배치 */
  align-items: center;
}





/* 하이패스 예약 */

.login-buttons {
  display: flex;
  gap: 1.6rem; /* 버튼 간격 */
  padding: 0;
}

/* 버튼 (50%씩 배분) */
.hipass-login-btn {
  width: calc((100% - 1.2rem) / 2); 
  border: 1px solid var(--gray-700);
  border-radius: 0.8rem;
  text-align: center;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* 아이콘 */
.login-btn__icon {
  width: 3.6rem;   
  height: auto;
  display: block;
}

/* 텍스트 */
.login-btn__text {
  font-size: var(--body-md);
  color: var(--secondary);
}


.member-join-text {
  text-align: center;
  padding: 2.4rem 0 0;
}

.join-desc {
  font-size: var(--body-md);
  color: var(--secondary);
}

.btn-row {
  display: flex;
  gap: 0.8rem; 
  padding: 2rem 2rem; 
}

.btn-row .btn {
  width: calc((100% - 1.2rem) / 2);  
  flex-shrink: 0;
}



.coupon-area {
  padding: 2.4rem 2rem;
}

/* 각 필드(할인쿠폰 / 추가 할인 쿠폰) 간격 */
.coupon-field {
  margin-bottom: 2.4rem;
}

.coupon-field:last-of-type {
  margin-bottom: 2rem;
}

/* 라벨 (할인쿠폰 / 추가 할인 쿠폰) */
.coupon-label {
  margin-bottom: 1.6rem;
  font-size: var(--body-md);
  font-weight: var(--weight-bold);
  color: var(--secondary);
}

/* 셀렉트 박스 감싸는 영역 */
.coupon-field-body {
  width: 100%;
}



.coupon-max-benefit {
  margin-bottom: 2.4rem;
}

.coupon-max-benefit .checkbox-coupon-write {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 1.6rem 1.8rem;
  border-radius: 1.2rem;
  text-decoration: none;
  background-color: var(--primary-100);   
  border: 1px solid var(--primary-200); 
}

/* 체크박스 오른쪽 텍스트 */
.coupon-max-benefit .checkbox-text {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.8rem;          
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--secondary);
}

.coupon-max-benefit .checkbox-text strong {
  color: var(--primary);               
  font-weight: var(--weight-bold);
  text-decoration: none;
}

.point-form-group {
  margin: 2.4rem 2rem;
}

.dis-point-label {
  align-items: center;
  display: flex;
  gap: 0.6rem; 
  font-size: 1.6rem;
  font-weight: var(--weight-reg);
  color: var(--gray-900);
  margin-bottom: 0.8rem;
  height: 2.1rem;
}

/* 사용가능 값 강조 */
.dis-point-label .avail {
  font-weight: var(--weight-bold);
  color: var(--gray-900);
}

/* 보유 포인트는 연한색 */
.dis-point-label .own {
  color: var(--gray-700);
}

/* / 구분자 */
.dis-point-label .divider {
  color: var(--gray-700);
  background-color: #fff;
  height: 2.1rem;
}

.pay-ing {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 90vh;
  width: 100%;
  gap: 1.6rem;

}
.pay-ing-text { 
  font-size: var(--head-sm);
  color: var(--primary);
  font-weight: var(--weight-bold);
}


/* 전체 화면 중앙 정렬 */
.pay-error-wrap {
  width: 100%;
  height: 90vh; /* 화면 전체 높이 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem; /* 모바일 여백 방지 */
  box-sizing: border-box;
}

/* 내부 박스 */
.pay-error-box {
  text-align: center;
}

/* 타이틀 */
.pay-error-title {
  font-size: var(--head-sm);
  font-weight: var(--weight-bold);
  color: var(--primary);
  margin-bottom: 1.6rem;
}

/* 설명 */
.pay-error-desc {
  font-size: var(--body-md);
  color: var(--secondary);
  margin-bottom: 2.4rem;
}

/* 버튼 */
.btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 3rem;
  background: var(--gray-900);
  color: #fff;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-weight: 500;
}


.message-header .select {
    position: absolute;
    top: 2.2rem;
    right: 0;
    width: 10.7rem;
}

/* 정렬 항목 */
.modal-body .sort-list {
    margin: 0;
    padding: 44px 0 0 10px;
    list-style: none;
}
.sort-item {
    position: relative;
    height: 53px;
    display: flex;
    align-items: flex-start;
    padding-top: 7px;
    color: #999;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    cursor: pointer;
}

.sort-item.selected {
    color: #222;
    font-weight: 600;
}

/* 체크 아이콘 */
.sort-item-check {
    position: relative;
    width: 14px;
    height: 14px;
    margin-left: 15px;
    margin-top: 1px;
}

.sort-item-check::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 9px;
    left: 3px;
    top: 0;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: rotate(45deg);
}


#wrapper {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  background-color: #FFF;
  /* 추가 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;   /* 구형 브라우저용 */
  min-height: 100dvh;  /* 모바일 주소창 높이 변화 대응 */
  height: auto;        /* 기존 height:100% 대체 */
}
#wrapper > main { flex: 1 0 auto; }  /* 남는 공간을 콘텐츠가 차지 */
#navBar { margin-top: auto; }        /* 혹시 main이 없는 페이지 대비 */