/* ============================================
   TRENVL PRODUCT PAGE - RENEWED CSS (No Swiper)
   ============================================ */
:root {
  --spa-primary: #1a1a2e;
  --spa-accent: #19aeff;
  --spa-bg: #ffffff;
  --spa-card-bg: #ffffff;
  --spa-text: #222222;
  --spa-text-light: #666666;
  --spa-border: #e8e8e8;
  --spa-radius: 16px;
  --spa-radius-sm: 10px;
  --spa-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --spa-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --spa-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --spa-max-width: 1200px;
}

.spa-page-cus-css.body_inner {
  max-width: var(--spa-max-width) !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* ========== Best Picks 캐러셀 (순수 CSS/JS) ========== */
.best-carousel {
  position: relative;
  margin-top: 40px;
  margin-bottom: 12px;
}

.best-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  /* overflow: hidden; */
  position: relative;
}

.best-carousel__item {
  display: block;
  text-decoration: none;
  border-radius: var(--spa-radius);
  overflow: hidden;
  position: relative;
  transition: var(--spa-transition);
}

.best-carousel__item:hover {
  transform: translateY(-4px);
  /* box-shadow: var(--spa-shadow-hover); */
}

.best-carousel__item .bc-img {
  width: 100%;
  aspect-ratio: 4 / 3.8;
  object-fit: cover;
  display: block;
  border-radius: var(--spa-radius);
  transition: transform 0.4s ease;
}

.best-carousel__item:hover .bc-img {
  transform: scale(1.04);
}

.best-carousel__item .bc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  border-radius: 0 0 var(--spa-radius) var(--spa-radius);
}

.best-carousel__item .bc-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.best-carousel__item .bc-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  height: 24px;
  width: auto;
}

/* 화살표 */
.best-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  /* box-shadow: var(--shadow-md); */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: var(--transition);
  border-style: solid;
  border-width: 1px;
  border-color: #dbdbdb;
  background-color: #ffffffcc;
}

.best-carousel__nav:hover {
  background: rgba(255, 255, 255, 0.6);
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16); */
}

.best-carousel__nav--prev {
  left: -20px;
  /* border-radius: 0 8px 8px 0; */
}

.best-carousel__nav--next {
  right: -20px;
  /* border-radius: 8px 0 0 8px; */
}

.best-carousel__nav::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(0, 0, 0, 0.55);
  border-right: 2px solid rgba(0, 0, 0, 0.55);
}

.best-carousel__nav:hover::after {
  border-color: rgba(0, 0, 0, 0.85);
}

.best-carousel__nav--next::after {
  transform: rotate(45deg);
  margin-left: -3px;
}

.best-carousel__nav--prev::after {
  transform: rotate(-135deg);
  margin-right: -3px;
}

/* 카운터 (ticket 스타일: 일시정지 + 캡슐) */
.best-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 20px;
}

.best-carousel__controls .bc-play-pause {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.best-carousel__counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 18px;
  border: 1px solid var(--spa-border);
  border-radius: 50px;
  font-size: 14px;
  color: var(--spa-text-light);
  background: var(--spa-bg);
}

.best-carousel__counter .bc-cur {
  font-weight: 700;
  color: var(--spa-primary);
}

/* ========== 중간 배너 ========== */
.mid-banner-ticket {
  margin: 10px 0 30px !important;
  border-radius: var(--spa-radius) !important;
  overflow: hidden !important;
}

.mid-banner-ticket a {
  display: block !important;
  position: relative !important;
  border-radius: var(--spa-radius) !important;
  overflow: hidden !important;
}

.mid-banner-ticket img {
  width: 100% !important;
  height: auto !important;
  border-radius: var(--spa-radius) !important;
}

.mid-banner-ticket .box-text {
  position: absolute !important;
  top: 50% !important;
  left: 40px !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
}

.mid-banner-ticket .title-box {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.mid-banner-ticket .des-box {
  font-size: 15px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* ========== 로딩 스피너 ========== */
.spa-loading-overlay {
  display: none;
  position: relative;
  width: 100%;
  min-height: 200px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  z-index: 50;
}

.spa-loading-overlay.active {
  display: flex;
}

.spa-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--spa-border);
  border-top-color: var(--spa-accent);
  border-radius: 50%;
  animation: spaSpinRotate 0.7s linear infinite;
}

@keyframes spaSpinRotate {
  to {
    transform: rotate(360deg);
  }
}

/* ========== 상품 리스트 영역 ========== */
.ticket-list {
  margin-top: 0 !important;
}

.ticket-tool {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  gap: 16px !important;
}

.ticket-tool-l h2,
.ticket-tool-l .ticket-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--spa-primary) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.ticket-tool-l .ticket-title span {
  color: var(--spa-accent) !important;
}

/* 검색바 */
.ticket-tool-r {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #f5f5f5 !important;
  border: 1px solid var(--spa-border) !important;
  border-radius: 50px !important;
  padding: 0px 16px !important;
  transition: var(--spa-transition) !important;
  min-width: 200px !important;
}

.ticket-tool-r:focus-within {
  border-color: var(--spa-accent) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(25, 174, 255, 0.1) !important;
}

.ticket-tool-r input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 14px !important;
  color: var(--spa-text) !important;
  width: 100% !important;
  padding: 4px 0 !important;
}

.ticket-tool-r .ticket-s-i {
  flex-shrink: 0 !important;
}

.ticket-tool-r .ticket-s-i img {
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
  transition: var(--spa-transition) !important;
}

/* ========== 카테고리 버튼 ========== */
.tiket-tool-b {
  margin-bottom: 24px !important;
}

.spa-page-cus-css .btn-gr-ticket {
  max-width: 100% !important;
  flex-wrap: wrap !important;
  height: auto !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-gr-ticket button {
  padding: 8px 20px !important;
  border: 1.5px solid var(--spa-border) !important;
  border-radius: 50px !important;
  background: var(--spa-bg) !important;
  color: var(--spa-text-light) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: var(--spa-transition) !important;
  white-space: nowrap !important;
}

.btn-gr-ticket button:hover {
  border-color: var(--spa-primary) !important;
  color: var(--spa-primary) !important;
  background: #f8f8f8 !important;
}

.btn-gr-ticket button.on {
  background: var(--spa-primary) !important;
  color: #ffffff !important;
  border-color: var(--spa-primary) !important;
  font-weight: 600 !important;
}

/* ========== 상품 카드 그리드 ========== */
.spa-page-cus-css .list-ticket-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  max-width: var(--spa-max-width) !important;
  margin: 0 auto !important;
  padding-bottom: 40px !important;
  height: auto !important;
}

.spa-page-cus-css .list-ticket-grid.dif {
  padding-bottom: 40px !important;
}

/* ========== 상품 카드 ========== */
.spa-page-cus-css .list-ticket-item {
  max-width: 100% !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  background: var(--spa-card-bg) !important;
  border-radius: var(--spa-radius) !important;
  overflow: hidden !important;
  transition: var(--spa-transition) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--spa-border) !important;
  height: auto !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.spa-page-cus-css .list-ticket-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--spa-shadow-hover) !important;
  border-color: #d0d0d0 !important;
}

.spa-page-cus-css .list-ticket-item .img_box {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--spa-radius) var(--spa-radius) 0 0 !important;
  box-sizing: border-box !important;
  background: #f0f0f0 !important;
  flex-shrink: 0 !important;
}

.spa-page-cus-css .list-ticket-item .img_box img.only_web {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-width: 100% !important;
  min-height: 200px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  float: none !important;
  transition: transform 0.4s ease !important;
}

.spa-page-cus-css .list-ticket-item .img_box img.only_mo {
  display: none !important;
}

.spa-page-cus-css .list-ticket-item:hover .img_box img.only_web {
  transform: scale(1.05) !important;
}

/* 카드 본문 */
.spa-page-cus-css .list-ticket-item .prd_name,
.spa-page-cus-css .list-ticket-item h3.prd_name {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--spa-text) !important;
  line-height: 1.45 !important;
  padding: 14px 14px 0 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 44px !important;
}

.spa-page-cus-css .list-ticket-item .prd_info {
  padding: 0 14px 0 !important;
  margin: 0 !important;
  margin-top: auto !important;
}

.spa-page-cus-css .list-ticket-item .prd_info .emo_social {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.spa-page-cus-css .list-ticket-item .prd_info .social {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.spa-page-cus-css .list-ticket-item .prd_info .social img {
  display: none !important;
}

.spa-page-cus-css .list-ticket-item .prd_info .social p {
  font-size: 13px !important;
  color: #999 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* 가격 */
.spa-page-cus-css .list-ticket-item .prd_price_ko {
  padding: 6px 14px 14px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}

.spa-page-cus-css .list-ticket-item .prd_price {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
}

.spa-page-cus-css .list-ticket-item .ko_m_price {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--gray-500) !important;
  margin-left: 2px !important;
}

.spa-page-cus-css .list-ticket-item .prd_price_thai {
  font-size: 12px !important;
  /* color: var(--spa-text-light) !important; */
}

.spa-page-cus-css .list-ticket-item .prd_no_price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0;
}

/* ========== 페이지네이션 ========== */
.prd_list_pagination {
  justify-content: center !important;
  padding: 20px 0 60px !important;
}

.prd_list_pagination__btn {
  display: flex;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 28px !important;
  background: var(--spa-bg) !important;
  border: 1.5px solid var(--spa-border) !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: var(--spa-transition) !important;
}

.prd_list_pagination__btn:hover {
  border-color: var(--spa-primary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.prd_list_pagination__btn svg {
  width: 18px !important;
  height: 18px !important;
}

.prd_list_pagination__btn__text {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--spa-text) !important;
}

.prd_list_pagination__btn__pages {
  font-size: 14px !important;
  color: var(--spa-text-light) !important;
}

.prd_list_pagination__btn__current {
  font-weight: 700 !important;
  color: var(--spa-primary) !important;
}

/* 태그 뱃지 */
.spa-page-cus-css .tag-red {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 2 !important;
  width: auto !important;
  height: 24px !important;
}

.prd_list_pagination.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   반응형 - 태블릿 (1024px 이하)
   ============================================ */
@media screen and (max-width: 1024px) {
  .spa-page-cus-css .list-ticket-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  .best-carousel__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .best-carousel__item .bc-img {
    aspect-ratio: 4 / 3;
  }
}

/* ============================================
   반응형 - 모바일 (850px 이하)
   ============================================ */
@media screen and (max-width: 850px) {
  .spa-page-cus-css.body_inner {
    padding: 0 16px !important;
  }

  .best-carousel__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .best-carousel__item .bc-title {
    font-size: 13px;
  }

  .best-carousel__item .bc-tag {
    height: 20px;
    top: 8px;
    left: 8px;
  }

  .best-carousel__nav {
    width: 4.48rem;
    height: 4.48rem;
  }

  .best-carousel__nav--prev {
    left: -2rem;
  }

  .best-carousel__nav--next {
    right: -2rem;
  }

  .best-carousel__nav::after {
    width: 8px;
    height: 8px;
  }

  .mid-banner-ticket .title-box {
    font-size: 18px !important;
    left: 20px !important;
  }

  .mid-banner-ticket .des-box {
    font-size: 13px !important;
  }

  .ticket-tool {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .ticket-tool-l h2,
  .ticket-tool-l .ticket-title {
    font-size: 22px !important;
  }

  .ticket-tool-r {
    width: 100% !important;
    min-width: unset !important;
  }

  .spa-page-cus-css .btn-gr-ticket {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scroll-behavior: smooth !important;
    gap: 8px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .spa-page-cus-css .btn-gr-ticket::-webkit-scrollbar {
    height: 4px !important;
  }

  .spa-page-cus-css .btn-gr-ticket::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12) !important;
    border-radius: 2px !important;
  }

  .spa-page-cus-css .btn-gr-ticket::-webkit-scrollbar-track {
    background: transparent !important;
  }

  .spa-page-cus-css .btn-gr-ticket button {
    flex: 0 0 auto !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
  }

  .spa-page-cus-css .list-ticket-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding-bottom: 20px !important;
  }

  .spa-page-cus-css .list-ticket-item .img_box {
    height: 160px !important;
  }

  .spa-page-cus-css .list-ticket-item .img_box img.only_web {
    height: 160px !important;
    min-height: 160px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_name,
  .spa-page-cus-css .list-ticket-item h3.prd_name {
    font-size: 13px !important;
    padding: 10px 10px 0 !important;
    min-height: 38px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_info {
    padding: 6px 10px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_info .social p {
    font-size: 12px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_price_ko {
    padding: 0 10px 10px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_price {
    font-size: 15px !important;
  }

  .spa-page-cus-css .list-ticket-item .ko_m_price {
    font-size: 11px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_no_price {
    font-size: 13px !important;
  }

  .prd_list_pagination {
    padding: 16px 0 40px !important;
  }

  .prd_list_pagination__btn {
    padding: 10px 20px !important;
  }

  .spa-page-cus-css .tag-red {
    height: 20px !important;
    top: 8px !important;
    left: 8px !important;
  }

  .ticket-tool-r .ticket-s-i img {
    width: 3rem !important;
    height: 3rem !important;
    opacity: 1 !important;
    transition: var(--spa-transition) !important;
  }
}

/* ============================================
   반응형 - 소형 모바일 (480px 이하)
   ============================================ */
@media screen and (max-width: 480px) {
  .spa-page-cus-css.body_inner {
    padding: 0 12px !important;
  }

  .best-carousel__track {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ticket-tool-l h2,
  .ticket-tool-l .ticket-title {
    font-size: 20px !important;
  }

  .spa-page-cus-css .list-ticket-grid {
    gap: 10px !important;
  }

  .spa-page-cus-css .list-ticket-item .img_box {
    height: 130px !important;
  }

  .spa-page-cus-css .list-ticket-item .img_box img.only_web {
    height: 130px !important;
    min-height: 130px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_name,
  .spa-page-cus-css .list-ticket-item h3.prd_name {
    font-size: 12px !important;
    padding: 8px 8px 0 !important;
    -webkit-line-clamp: 2 !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_info {
    padding: 4px 8px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_price_ko {
    padding: 0 8px 8px !important;
  }

  .spa-page-cus-css .list-ticket-item .prd_price {
    font-size: 14px !important;
  }
}

/* 접근성 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cursor-pointer-con img {
  cursor: pointer;
}

.select_tool {
  padding: 8px 16px;
  border: 1px solid #dbdbdb;
  border-radius: 32px;
}

.btnShowAll {
  padding-right: 32px;
  background: url(/images/ico/down_icon.png) no-repeat right 50% #fff;
  background-size: 16px 8px;
}

.btnShowAll.open_ {
  background: url(/images/ico/up_icon.png) no-repeat right 50% #fff;
  background-size: 16px 8px;
}

.main_category {
  margin-top: 70px;
}

.set {
  position: relative;
  display: block;
  margin: 0 auto;
}

.main_category ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.main_category ul li a {
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 27.5px;
  height: 55px;
  padding: 0 20px 0 7px;
  display: flex;
  align-items: center;
  gap: 0 10px;
}

img {
  object-fit: cover;
  max-width: 100%;
}

.main_category ul li a p {
  font-size: 16px;
}

@media (max-width: 850px) {
  .main_category {
    margin-top: 30px;
    padding: 0 16px 0 0;
    overflow: hidden;
    width: 100%;
  }

  .main_category.swiper {
    width: 100%;
  }

  .main_category .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
  }

  .main_category .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
  }

  .main_category ul li a {
    height: 45px;
    padding: 0 15px 0 5px;
    border-radius: 22.5px;
    gap: 0 8px;
  }

  .main_category ul li a img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }

  .main_category ul li a p {
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (min-width: 851px) {
  .main_category.swiper {
    overflow: visible;
  }

  .main_category .swiper-wrapper {
    transform: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: auto !important;
  }

  .main_category .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }
}

.medical-hero-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.medical-hero-swiper .swiper-slide {
  position: relative;
}

.medical-hero-swiper .mh-slide-link {
  display: block;
  position: relative;
  width: 100%;
}

.medical-hero-swiper img.mh-bg {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.medical-hero-swiper img.mh-bg.only_mo {
  display: none;
}

.medical-hero-swiper .mh-text {
  position: absolute;
  left: 39%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 777px;
  z-index: 2;
}

.medical-hero-swiper .mh-title {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 32px;
  line-height: 0.9;
  letter-spacing: -1px;
}

.medical-hero-swiper .mh-title span {
  font-size: 30px;
}

.medical-hero-swiper .mh-subtitle {
  font-size: 22px;
  font-weight: 300;
  color: #fff;
  line-height: 1.3;
  opacity: 0.8;
  letter-spacing: -1px;
}

.medical-hero-swiper .mh-desc {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  margin: 0;
}

/* progress bar + 페이지 카운터 (하단) */
.mh-pagination-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 100px 65px;
  background: #fff;
  justify-content: center;
}

.mh-progressbar {
  position: relative;
  flex: 1;
  height: 2px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
  max-width: 410px;
}

.mh-progressbar .swiper-pagination-progressbar-fill {
  background: var(--spa-primary, #1a1a2e);
}

.mh-counter {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  min-width: 40px;
  text-align: right;
}

/* ===== Best Picks — Peek Carousel (3 chính giữa + 2 bên phủ đen) ===== */
.best-carousel {
  position: relative;
  margin-top: 40px;
  margin-bottom: 12px;
}

.best-carousel__viewport {
  overflow: hidden;
  position: relative;
}

.best-carousel__track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

.best-carousel__item {
  position: relative;
  flex: 0 0 auto;
  display: block;
  text-decoration: none;
  border-radius: var(--spa-radius);
  overflow: hidden;
  transition: var(--spa-transition);
}

.best-carousel__item .bc-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.8;
  object-fit: cover;
  display: block;
  border-radius: var(--spa-radius);
  transition: transform 0.4s ease;
}

.best-carousel__item:not(.is-peek):hover .bc-img {
  transform: scale(1.04);
}

.best-carousel__item .bc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  border-radius: 0 0 var(--spa-radius) var(--spa-radius);
}

.best-carousel__item .bc-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.best-carousel__item .bc-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  height: 24px;
  width: auto;
}

/* 좌우 어두운 오버레이 + 화살표 (peek 상태에서만 표시) */
.best-carousel__item .bc-dim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.3s ease,
    background 0.3s ease;
  cursor: pointer;
  z-index: 3;
}

.best-carousel__item.is-peek .bc-dim {
  opacity: 1;
  pointer-events: auto;
}

.best-carousel__item.is-peek .bc-dim:hover {
  background: rgba(10, 10, 20, 0.7);
}

.best-carousel__item .bc-dim-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.best-carousel__item .bc-dim-arrow svg {
  width: 20px;
  height: 20px;
}

.best-carousel__item.is-peek-prev .bc-dim-arrow svg {
  transform: rotate(180deg);
}

/* 카운터 (기존과 동일) */
.best-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 20px;
}

.best-carousel__controls .bc-play-pause {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.best-carousel__counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 18px;
  border: 1px solid var(--spa-border);
  border-radius: 50px;
  font-size: 14px;
  color: var(--spa-text-light);
  background: var(--spa-bg);
}

.best-carousel__counter .bc-cur {
  font-weight: 700;
  color: var(--spa-primary);
}

@media screen and (max-width: 850px) {
  .best-carousel__item .bc-title {
    font-size: 13px;
  }
  .best-carousel__item .bc-tag {
    height: 20px;
    top: 8px;
    left: 8px;
  }
  .best-carousel__item .bc-dim-arrow {
    width: 36px;
    height: 36px;
  }
}

@media screen and (max-width: 850px) {
  .medical-hero-swiper img.mh-bg.only_web {
    display: none;
  }

  .medical-hero-swiper img.mh-bg.only_mo {
    display: block;
    height: 420px;
  }

  .medical-hero-swiper .mh-text {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .medical-hero-swiper .mh-title {
    font-size: 22px;
  }

  .medical-hero-swiper .mh-subtitle {
    font-size: 15px;
  }

  .medical-hero-swiper .mh-desc {
    font-size: 13px;
  }

  .mh-pagination-wrap {
    padding: 10px 20px;
  }
}
