@font-face {
    font-family: 'SUIT-Light';
    src: url('/fonts/SUIT-Light-2185e45eb4f33131c2b92d63f16042f0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SUIT-Regular';
    src: url('/fonts/SUIT-Regular-8bae3ed6724cbc8b2803c1d6868c6f9c.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 메인 슬라이드 배너 */
.main_banner {
  position: relative;
  max-width: 1580px;
  width: 100%;
  height: 694px;
  overflow: hidden;
  z-index: 1;
}

.main_banner .swiper {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main_banner .swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main_banner .swiper .swiper-wrapper .swiper-slide {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.main_banner .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 영상 배너 스타일 */
.main_banner .swiper .swiper-wrapper .swiper-slide .video-banner {
  width: 100%;
  height: 100%;
  position: relative;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-video-pc {
  display: block;
  width: 100%;
  height: 100%;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-video-mobile {
  display: none;
  width: 100%;
  height: 100%;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* PC와 모바일 이미지 표시 규칙 */
.main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc {
  display: block;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
  display: none;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-content-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
  position: relative;
  top: -50%;
  left: 5%;
  transform: translateY(50%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 90%;
  margin-bottom: 2rem;
  z-index: 3;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  hyphens: auto;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  max-width: 100%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  hyphens: auto;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-link-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-link-btn .material-icons {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-link-btn:hover .material-icons {
  transform: translateX(4px);
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls {
  position: relative;
  bottom: 2px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 3;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls .autoplay-progress {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  border-radius: 2px;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls .autoplay-progress .autoplay-progress-bar {
  width: 0%;
  height: 100%;
  /* background: #fff; */
  background: var(--point-color);
  transition: width 0s;
}

.main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls .swiper-pagination {
  position: relative;
  font-size: 20px;
  color: #fff;
  text-align: left;
  margin-top: 7px;
}

.main_banner .swiper .swiper-button-prev {
  color: #fff;
  top: 65.7%;
  left: 27%;
  margin-left: 20px;
  display: none;
  z-index: 5;
}

.main_banner .swiper .swiper-button-next {
  color: #fff;
  top: 65.7%;
  left: 32%;
  display: none;
  z-index: 5;
}

/* 메뉴 섹션 */
.main-menu-section {
  max-width: 1580px;
  width: 100%;
  padding: 25px 40px 0;
  position: relative;
  z-index: 10;
}

/* 메뉴 카드 스와이퍼 */
.menu-cards-swiper-container {
  position: relative;
  z-index: 20;
}

.menu-cards-swiper {
  position: relative;
  z-index: 20;
}

.menu-cards-swiper .swiper-slide {
  width: auto;
  height: auto;
}

.main-menu-card {
  width: 200px;
  height: 200px;
  min-width: 140px;
  background: linear-gradient(135deg, #F9F6FF 0%, #F0EBFF 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  padding: 0 10px;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.05) 0%, rgba(138, 43, 226, 0.1) 100%);
  opacity: 0;
  border-radius: 18px;
}

.main-menu-card.active {
  border: 2px solid var(--point-color);
}

.main-menu-card.active::before {
  opacity: 1;
}

.main-menu-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

.main-menu-card:hover {
  border: 2px solid var(--point-color);
}

.main-menu-card:hover::before {
  opacity: 1;
}

.main-menu-card:hover img {
  transform: scale(1.1);
}


/* 카테고리 영역 */
.category-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 20px;
  padding-top: 30px;
  position: relative;
  z-index: 15;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, #F9F6FF 0%, #F0EBFF 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(138, 43, 226, 0.1);
  position: relative;
  z-index: 16;
}

.category-header:hover {
  background: linear-gradient(135deg, #F0EBFF 0%, #E8E0FF 100%);
}

.category-main {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.category-main-items {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  max-width: calc(100vw - 200px);
  flex: 1;
  min-width: 0;
}

.category-main-link {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-main-link:hover {
  background: var(--point-color);
  color: white;
}

.category-main-link.active {
  background: var(--point-color);
  color: white;
  border-color: var(--point-color);
}

.category-toggle-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(138, 43, 226, 0.2);
  flex-shrink: 0;
  margin-left: 15px;
}

.category-toggle-area:hover {
  background: rgba(255, 255, 255, 0.9);
}

.category-toggle-icon {
  display: flex;
  align-items: center;
}

.category-toggle-icon .material-symbols-outlined {
  font-size: 20px;
  color: var(--point-color);
}

.category-section.collapsed .category-toggle-icon {
  transform: rotate(0deg);
}

.category-section:not(.collapsed) .category-toggle-icon {
  transform: rotate(180deg);
}

.category-content {
  max-height: 400px;
  overflow: hidden;
  position: relative;
  z-index: 15;
}

/* .category-section.collapsed .category-content {
  max-height: 0;
} */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #f5f5f5;
}

.category-item {
  background: #fff;
  transition: all 0.3s ease;
}

.category-item:hover {
  background: #F9F6FF;
}

.category-link {
  font-family: 'SUIT-Regular', sans-serif;
  display: block;
  padding: 18px 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.category-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--point-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.category-link:hover {
  color: var(--point-color);
  background: #F9F6FF;
}

.category-link:hover::before {
  width: 80%;
}

.category-link.active {
  color: var(--point-color);
  background: #F9F6FF;
}

.category-link.active::before {
  width: 80%;
}

/* 기존 메뉴 리스트 스타일 제거 */
.main-menu-cards {
  display: none;
}

.scroll-menu-scroll-wrap {
  display: none;
}

.main-menu-list-wrap {
  display: none;
}

.main-menu-list {
  display: none;
}

/* 시술 예약 */
.treatment-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 50px;
  margin-bottom: 100px;
  padding: 0 40px;
}

.treatment-wrap {
  display: flex;
  width: 100%;
}

.treatment-list-wrap {
  flex: 2;
  padding: 0 24px 24px 32px;
}

.treatment-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.treatment-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px solid #eee;
  padding-bottom: 18px;
}

.treatment-info {
  flex: 1;
}

.treatment-title {
  font-family: 'SUIT-Light', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.treatment-desc {
  font-family: 'SUIT-Light', sans-serif;
  font-size: 14px;
  color: #888;
}

.treatment-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.treatment-price {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-right: 8px;
}

.treatment-price .percent {
  color: var(--danger);
  margin-right: 6px;
  margin-left: 6px;
  font-size: 13px;
}

.treatment-price .discount-price {
  color: var(--danger);
  margin-right: 6px;
}

.treatment-price .line-through {
  text-decoration: line-through;
  color: #888;
  font-size: 14px;
}

.treatment-review-btn,
.treatment-detail-btn,
.treatment-add-btn {
  background: #fff;
  border: 1px solid var(--point-color);
  color: var(--point-color);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.2s, color 0.2s;
}

.treatment-review-btn {
  background: #f8f4ff;
  border-color: #e6d9ff;
  color: #8b5cf6;
}

.treatment-review-btn:hover {
  background: #e6d9ff;
  color: #7c3aed;
}

.treatment-add-btn {
  background: var(--point-color);
  color: #fff;
}

.treatment-add-btn:hover {
  background: #7c5ec8;
}

.treatment-cart-wrap {
  flex: 1;
  background: #f5f0fa;
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-height: 500px;
  max-height: calc(100vh - 200px);
  box-sizing: border-box;
  position: sticky;
  top: 200px;
}

.treatment-cart-list {
  width: 100%;
  margin-bottom: 24px;
  flex: 1 1 auto;
  overflow-y: auto;
}

.treatment-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ede6f7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #222;
}

.treatment-cart-item .item-inner-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.treatment-cart-item button {
  background: none;
  border: none;
  color: var(--point-color);
  font-size: 18px;
  cursor: pointer;
}

.treatment-cart-total {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #595857F2;
  margin-bottom: 12px;
}

.treatment-cart-sum {
  color: var(--danger);
  font-size: 20px;
  font-weight: 700;
}

.treatment-cart-reserve {
  width: 100%;
  background: var(--point-color);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.treatment-cart-reserve:hover {
  background: var(--point-color-hover);
}

.treatment-cart-show {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: var(--point-color);
  color: #fff;
  border: none;
  padding: 16px 0;
  display: none;
}

.treatment-cart-close {
  display: none;
}

.cart-backdrop {
  display: none;
}

/* 상세보기 모달 */
.treatment-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-detail-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.treatment-detail-modal .modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  max-width: 1092px;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.treatment-detail-modal .modal-content::-webkit-scrollbar {
  display: none;
}

.treatment-detail-modal .modal-close {
  position: sticky;
  top: 0;
  right: 0;
  display: block;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 3;
}

.detail-content {
  margin-top: -46px;
}

/* 로딩 스타일 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  padding: 40px 20px;
}

.loading-content {
  text-align: center;
}

.loading-spinner-container {
  margin-bottom: 20px;
}

.loading-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: #28a745;
  animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-top-color: #ffc107;
  animation-delay: 0.4s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: #666;
}

.loading-message {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.loading-dots .dot {
  width: 8px;
  height: 8px;
  background-color: #007bff;
  border-radius: 50%;
  animation: dotPulse 1.4s ease-in-out infinite both;
}

.loading-dots .dot:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 중간 카테고리 섹션 */
.middle-category-section {
  padding: 0 40px;
  margin-bottom: 20px;
}

.middle-category-section:not([style*="display: none"]) {
  display: block !important;
}

.middle-category-container {
  max-width: 1580px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  z-index: 15;
}

.middle-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: #f5f5f5;
}

.middle-category-item {
  background: #fff;
  transition: all 0.3s ease;
}

.middle-category-item:hover {
  background: #F9F6FF;
}

.middle-category-card {
  display: block;
  padding: 18px 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  cursor: pointer;
}

.middle-category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--point-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.middle-category-card:hover {
  color: var(--point-color);
  background: #F9F6FF;
}

.middle-category-card:hover::before {
  width: 80%;
}

.middle-category-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.middle-category-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.middle-category-count {
  font-size: 12px;
  color: var(--point-color);
  font-weight: 500;
  background: rgba(138, 43, 226, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.swiper-pagination {
  color: #fff !important;
  font-size: 20px !important;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.swiper-pagination .swiper-pagination-current {
  color: #fff;
}

.swiper-pagination .swiper-pagination-total {
  color: rgba(255, 255, 255, 0.7);
}

.d-none {
  display: none !important;
}

.search-no-result {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.no-result-content {
  max-width: 400px;
}

.no-result-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.no-result-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.no-result-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.no-result-link {
  display: inline-block;
  background: var(--point-color, #8b5cf6);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.no-result-link:hover {
  background: var(--point-color-hover, #7c3aed);
  transform: translateY(-1px);
}

/* 에러 상태 스타일 */
.error-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-content {
  text-align: center;
  max-width: 400px;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.error-content p {
  color: #6c757d;
  font-size: 1rem;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.retry-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.retry-btn:hover {
  background: #0056b3;
}

/* 월 한정 이벤트 없음 메시지 스타일 */
.no-monthly-events {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  padding: 40px 20px;
}

.no-events-content {
  text-align: center;
  max-width: 400px;
}

.no-events-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.no-events-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.no-events-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.no-events-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.no-events-popular-btn,
.no-events-new-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.no-events-popular-btn {
  background: var(--point-color);
  color: white;
}

.no-events-popular-btn:hover {
  background: #7c3aed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.no-events-new-btn {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #e9ecef;
}

.no-events-new-btn:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


@media (max-width: 1024px) {
  .treatment-item {
    flex-direction: column;
  }

  .treatment-meta {
    margin-top: 20px;
    margin-left: auto;
  }

  .menu-cards-swiper {
    padding: 0 40px;
  }

  .main-menu-card {
    width: 180px;
    height: 180px;
  }
  
  .middle-category-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .main-menu-section {
    padding: 25px 16px 0 !important;
  }

  .menu-cards-swiper {
    padding: 0 30px;
  }

  .main-menu-card {
    width: 140px;
    height: 140px;
    font-size: 15px;
    gap: 15px;
  }

  .main-menu-card img {
    width: 40px;
    height: 40px;
  }

  /* 스와이퍼 네비게이션 버튼 모바일 */
  .menu-cards-next,
  .menu-cards-prev {
    width: 35px;
    height: 35px;
  }

  .menu-cards-next::after,
  .menu-cards-prev::after {
    font-size: 16px;
  }

  /* 카테고리 영역 모바일 */
  .category-header {
    padding: 16px 20px;
    flex-direction: row;
    gap: 15px;
    align-items: center;
  }

  .category-main {
    gap: 15px;
    min-width: 0;
  }

  .category-main-items {
    gap: 10px;
    max-width: calc(100vw - 120px);
    flex: 1;
    min-width: 0;
  }

  .category-main-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  .category-toggle-area {
    align-self: center;
    padding: 6px 10px;
    margin-left: 10px;
    flex-shrink: 0;
  }

  .category-toggle-icon .material-symbols-outlined {
    font-size: 18px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-link {
    padding: 14px 16px;
    font-size: 15px;
  }

  /* 배너 반응형 스타일 */
  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-content-container {
    padding-bottom: 8%;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
    left: 5%;
    max-width: 90%;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-description {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 100%;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-link-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    line-height: 18px;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls {
    left: 5%;
    gap: 1.5rem;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls .autoplay-progress {
    width: 150px;
  }

  /* 중간 카테고리 섹션 */
  .middle-category-section {
    padding: 0 15px;
  }
  
  .middle-category-container {
    border-radius: 12px;
  }
  
  .middle-category-card {
    padding: 16px 12px;
  }
  
  .middle-category-name {
    font-size: 13px;
  }

  /* 장바구니 영역 */
  .treatment-cart-wrap {
    display: none;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 2px 16px rgba(80, 60, 120, 0.10);
    background: #fff;
    padding: 0;
    left: 0;
    right: 0;
    min-height: 58px;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    z-index: 1000;
  }

  .treatment-cart-list {
    padding: 50px 16px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .treatment-cart-total {
    padding: 0 16px;
  }

  .treatment-cart-reserve {
    display: block;
    width: 93%;
    margin: 0 auto 10px;
    font-size: 16px;
    margin-top: 0;
    padding: 12px 0;
  }

  .treatment-cart-close {
    display: block;
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    width: 24px;
    height: 24px;
    font-size: 20px;
    z-index: 10;
    cursor: pointer;
  }

  .treatment-cart-wrap {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 2px 16px rgba(80, 60, 120, 0.10);
    background: #fff;
    min-width: 0;
    margin: 0 auto;
    z-index: 1000;
  }
  
  .treatment-layout {
    padding: 0 16px;
  }
  .treatment-list-wrap {
    padding: 0;
  }

  .cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  /* 상세보기 모달 */
  .treatment-detail-modal .modal-content {
    max-width: 98vw;
  }

  /* 검색 결과 영역 */
  .search-result-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .search-result-title {
    font-size: 20px;
  }
  
  .search-result-count {
    font-size: 16px;
  }
  
  .search-no-result {
    padding: 60px 20px;
  }
  
  /* 검색 결과가 없을 때 */
  .no-result-icon {
    font-size: 48px;
  }
  
  .no-result-content h3 {
    font-size: 18px;
  }
  
  .no-result-content p {
    font-size: 14px;
  }

  .no-monthly-events {
    min-height: 250px;
    padding: 30px 15px;
  }
  
  .no-events-icon {
    font-size: 40px;
    margin-bottom: 16px;
  }
  
  .no-events-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .no-events-content p {
    font-size: 13px;
    margin-bottom: 25px;
  }
  
  .no-events-actions {
    gap: 10px;
  }
  
  .no-events-popular-btn,
  .no-events-new-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .main-menu-section {
    padding: 20px 12px;
  }

  .menu-cards-swiper {
    padding: 0 25px;
  }

  .main-menu-card {
    width: 90px;
    height: 80px;
    font-size: 11px;
    gap: 8px;
    padding: 0 6px;
  }

  .main-menu-card img {
    width: 24px;
    height: 24px;
  }

  .main-menu-card div {
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  /* 스와이퍼 네비게이션 버튼 작은 모바일 */
  .menu-cards-next,
  .menu-cards-prev {
    width: 30px;
    height: 30px;
  }

  .menu-cards-next::after,
  .menu-cards-prev::after {
    font-size: 14px;
  }

  /* 카테고리 영역 작은 모바일 */
  .category-header {
    padding: 14px 16px;
    gap: 12px;
  }

  .category-main {
    gap: 12px;
    min-width: 0;
  }

  .category-main-items {
    gap: 8px;
    max-width: calc(100vw - 80px);
    flex: 1;
    min-width: 0;
  }

  .category-main-link {
    padding: 5px 10px;
    font-size: 12px;
  }

  .category-toggle-area {
    padding: 5px 8px;
    margin-left: 8px;
    flex-shrink: 0;
  }

  .category-toggle-icon .material-symbols-outlined {
    font-size: 16px;
  }

  .category-link {
    padding: 12px 16px;
    font-size: 13px;
  }

  /* 작은 모바일에서 배너 스타일 추가 조정 */
  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-content-container {
    padding-bottom: 6%;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec {
    left: 7%;
    max-width: 94%;
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-title {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-description {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .slide_dec .slide-link-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    line-height: 16px;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls {
    left: 7%;
    gap: 1rem;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-bottom-controls .autoplay-progress {
    width: 120px;
  }

    .main_banner .swiper .swiper-wrapper .swiper-slide .banner-pc {
    display: none;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-mobile {
    display: block;
  }

  /* 모바일에서 영상 배너 처리 */
  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-video-pc {
    display: none;
  }

  .main_banner .swiper .swiper-wrapper .swiper-slide .banner-video-mobile {
    display: block;
  }

  /* 중간 카테고리 섹션 */
  .middle-category-section {
    padding: 0 10px;
  }
  
  .middle-category-container {
    border-radius: 10px;
  }
  
  .middle-category-card {
    padding: 12px 8px;
  }
  
  .middle-category-name {
    font-size: 12px;
  }
  
  .middle-category-count {
    font-size: 11px;
    padding: 2px 8px;
  }

  /* 월 한정 이벤트가 없을 때 */
  .no-monthly-events {
    min-height: 200px;
    padding: 25px 10px;
  }
  
  .no-events-icon {
    font-size: 36px;
    margin-bottom: 14px;
  }
  
  .no-events-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .no-events-content p {
    font-size: 12px;
    margin-bottom: 20px;
  }
  
  .no-events-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .no-events-popular-btn,
  .no-events-new-btn {
    padding: 12px 16px;
    font-size: 12px;
    width: 100%;
  }
}