/* ==========================================================================
   index.css (메인페이지)
   - 반응형: PC 퍼스트
     PC     : 1100px 이상 (기본값)
     Tablet : @media (max-width: 1099px)
     Mobile : @media (max-width: 767px)
   ========================================================================== */

/* ==========================================================================
   공통 섹션 래퍼 (max-width 1280 + 좌우 여백 + 상단 96)
   ========================================================================== */
.section {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-96) var(--space-side) 0;
}

.section--center {
  align-items: center;
  justify-content: center;
}

.section__tit {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}

.section__tit--center {
  align-items: center;
  text-align: center;
}

/* ==========================================================================
   메인 배너
   ========================================================================== */

  .best-more[hidden] {
	display: none !important;
  }

.main-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 500px;
  overflow: hidden;
  /* 가로 스와이프를 배너 전환에 쓰므로, 브라우저의 가로 방향 제스처(뒤로가기 등)와
     겹치지 않게 세로 스크롤만 브라우저 기본 동작으로 남겨둔다 */
  touch-action: pan-y;
}

/* 배너 5장이 겹쳐 쌓여있다가 opacity 로만 전환되는 크로스페이드 방식.
   absolute 로 흐름에서 빼내 .main-banner__float 레이아웃에는 영향을 주지 않음 */
.main-banner__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.main-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.main-banner__slide.is-active {
  z-index: 1;
  opacity: 1;
}

/* HTML의 <img>가 배경을 담당 (LCP 우선순위 확보 목적, 위 main-banner 주석 참고) */
.main-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 배너 전체를 덮는 링크 — 슬라이드(z-index:0) 위, 문구·롤링 버튼(.main-banner__float) 아래 */
.main-banner__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 추가 */
.main-banner,
.main-banner__slide,
.main-banner__bg {
  cursor: pointer;
}

/* 추가 */
.banner-btn__arrow {
  cursor: pointer;
}

.main-banner__float {
  position: relative;
  z-index: 1;
  /* 클릭은 아래 .main-banner__link 로 통과시키고, 롤링 버튼만 다시 클릭 가능하게 한다 */
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max-width);
  padding: 0 var(--space-48) 36px;
}

.main-banner__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-24);
  padding-bottom: 120px;
  color: var(--text-primary);
}

.main-banner__tit {
  font-size: var(--fz-heading-xxl);
  font-weight: 300;
  line-height: var(--lh-heading);
}

.main-banner__tit strong,
.main-banner__tit b {
  font-weight: 600;
}

.main-banner__desc {
  padding-left: 2px;
  font-size: var(--fz-body-xl);
  font-weight: 400;
  line-height: var(--lh-body);
}

/* 작은 문구 2줄을 모든 화면에서 한 줄로 이어 붙임 (줄바꿈 br 숨김, br 앞의 공백이 단어 사이를 유지) */
.main-banner__br {
  display: none;
}

/* ----- 배너 롤링 버튼 ----- */
.banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  pointer-events: auto;
}

.banner-btn__arrow img {
  display: block;
  width: 15.6px;
  height: 15.6px;
}

.banner-btn__arrow--next img {
  transform: rotate(180deg);
}

.banner-btn__page {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fz-caption);
  line-height: var(--lh-body);
}

.banner-btn__page em {
  font-weight: 500;
  color: var(--base-white);
  font-style: normal;
}

.banner-btn__page > span {
  color: var(--border-default);
}

.banner-btn__bar {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
  width: 100%;
  padding-top: var(--space-96);
}

.intro__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  text-align: center;
  color: #000;
}

/* 공간이 부족할 때만 두 구간 사이에서 줄바꿈되도록.
   flex + flex-wrap 으로 구간을 통째로 하나의 단위처럼 줄바꿈. */
.intro__tit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.3em;
  font-size: var(--fz-heading-xl);
  font-weight: 400;
  line-height: var(--lh-heading);
}

.intro__tit strong {
  font-weight: 600;
}

.intro__desc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.3em;
  font-size: var(--fz-body-xl);
  font-weight: 400;
  line-height: var(--lh-tight);
}

/* ----- point-list ----- */
.point-list {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-32) 12px;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.point-list__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  max-width: 750px;
  padding: 0 var(--space-24);
}

.point-list__item {
  font-size: var(--fz-body-l);
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text-primary);
  white-space: nowrap;
  font-weight: 500;
}

.point-list__item strong {
  font-weight: 600;
  color: var(--brand-primary);
}

.point-list__line {
  width: 1px;
  height: 19.5px;
  background: var(--border-default);
}

/* ==========================================================================
   Occasion 리스트
   ========================================================================== */
.occa-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24) var(--space-12);
  width: 100%;
  padding: 0 var(--space-16);
}

/* ==========================================================================
   카테고리 메뉴 리스트
   ========================================================================== */
.catemenu {
  position: relative;
}

.catemenu-list {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

/* 스와이프 힌트 화살표 : 클릭 불가, "더 있음"을 알려주는 시각적 넛지만 담당.
   PC 에서는 리스트가 잘리지 않아 항상 숨김. Tablet · Mobile 에서 리스트가 실제로
   스크롤 가능할 때만 JS(has-scroll)로 노출하고, 맨 끝까지 스크롤하면 JS(is-end)가
   숨겨서 "더 볼 게 없다"는 걸 알려줌 */
.catemenu__hint {
  display: none;
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 2;
  width: 15px;
  height: 15px;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.2s ease;
  animation: catemenu-hint-nudge 1.4s ease-in-out infinite;
}

.catemenu__hint img {
  display: block;
  width: 100%;
  height: 100%;
  /* 원본은 흰색 stroke 라 옅은 회색 느낌을 내기 위해 반전 후 opacity 로 흐리게 처리 */
  filter: invert(1);
  transform: rotate(180deg);
}

@keyframes catemenu-hint-nudge {
  0%, 100% {
    transform: translate(0, -50%);
  }
  50% {
    transform: translate(4px, -50%);
  }
}

/* ==========================================================================
   베스트 상품
   ========================================================================== */
.best {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-32);
  width: 100%;
}

.best__list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}

.menuchip-list {
  display: flex;
  gap: var(--space-8);
  width: 100%;
  overflow-x: auto;
}

.best-container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: var(--space-32);
  width: 100%;
}

/* 탭 패널 : .best-container 의 첫 번째 컬럼(3fr)을 차지하는 래퍼.
   비활성 패널은 HTML 의 hidden 속성으로만 감추므로 여기서 display 를 지정하지 않음
   (지정하면 hidden 의 기본 display:none 을 덮어써서 전부 보이게 됨).
   min-width:0 은 그리드 아이템이 내용 폭 때문에 컬럼을 밀어내지 않도록 하는 안전장치 */
.best-panel {
  min-width: 0;
}

.product-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px var(--space-12);
  padding-bottom: var(--space-32);
}


/* ----- 멤버십 배너 ----- */
.membership-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background: url('../../images/common/banner/membership-banner.png') center / cover no-repeat;
  overflow: hidden;
}

.membership-banner__desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  width: 100%;
  padding: 40px var(--space-32);
}

.membership-banner__tit {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  color: var(--base-white);
}


.membership-banner__tit-heading {
  font-size: 24px;
  font-weight: 500;
  line-height: var(--lh-heading);
}

.membership-banner__desc-txt {
  font-size: var(--fz-body-s);
  line-height: var(--lh-tight);
}

.rolling-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.2px solid var(--base-white);
  border-radius: 30px;
}

.rolling-btn img {
  width: 27px;
  height: 27px;
}

/* rolling-btn-icon.svg 원본은 왼쪽을 가리키므로, 오른쪽 방향이 필요하면 180deg 회전*/
.rolling-btn--right img {
  transform: rotate(180deg);
}

/* 베스트 더보기 버튼 : PC 는 맨 아래(best-more--desktop),
   Tablet·Mobile 은 상품카드와 멤버십배너 사이(best-more--tablet)에 위치 */
.best-more--tablet {
  display: none;
}

/* ==========================================================================
   Why 99FLOWER
   ========================================================================== */
.why {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-48);
  width: 100%;
  max-width: var(--container-max-width);
  margin: var(--space-24) auto 0;
  padding: var(--space-96) var(--space-side) 0;
}

.why__info {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: var(--space-48);
  min-width: 375px;
}

.why__tit {
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
}

.why__heading {
  font-size: var(--fz-heading-l);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
}

.why__heading strong {
  font-weight: 600;
}

.why__point {
  display: flex;
  align-items: flex-end;
  gap: var(--space-48);
  width: 100%;
}

.why__point-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.why__point-num {
  font-size: var(--fz-label-badge);
  font-weight: 700;
  line-height: var(--lh-body);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.why__point-num--primary {
  color: var(--brand-primary);
}

.why__point-label {
  font-size: var(--fz-body-xs);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text-secondary);
}

/* ----- 토글 아코디언 ----- */
.why__list {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  min-width: 300px;
  padding-bottom: var(--space-64);
}

.toggle {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: var(--space-24) 0;
  border-bottom: 1px solid var(--border-default);
}

.why__list .toggle:last-child {
  border-bottom: 0;
}

/* 제목 h3 가 버튼을 감싸는 구조 — 글자 스타일은 h3 가 갖고,
   버튼은 그 안에서 "제목 텍스트 + 아이콘" 가로 배치만 담당 */
.toggle__tit {
  width: 100%;
  font-size: var(--fz-body-l);
  font-weight: 500;
  line-height: var(--lh-body);
  color: var(--text-primary);
}

.toggle__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
  width: 100%;
  font-weight: inherit;
  text-align: left;
}

/* 아이콘을 오른쪽 끝으로 밀어내고, 제목이 길면 아이콘 앞에서 줄바꿈되도록 */
.toggle__txt {
  flex: 1;
}

.toggle.is-open .toggle__tit {
    font-size: var(--fz-body-l);
  font-weight: 600;
  color: var(--brand-primary);
}

/* toggle-btn(use=open) 을 열림 상태에서 45deg 회전시켜 use=close 모양(X)을 재현 */
.toggle__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url('../../images/common/icon/icon-toggle-open.svg') center / 10px 10px no-repeat;
  transition: transform 0.2s ease;
}

.toggle.is-open .toggle__icon {
  transform: rotate(45deg);
}

.toggle__desc {
  display: none;
  padding-right: 30px;
  font-size: var(--fz-body-xs);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text-primary);
}

.toggle.is-open .toggle__desc {
  display: block;
}

/* ==========================================================================
   수상 내역
   ========================================================================== */
.awards {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-48);
  border-top: 1px solid var(--border-default);
}

/* PC·Tablet 에서는 레이아웃에 관여하지 않고 자식(.awards__item 등)이
   .awards 의 직계 flex 아이템인 것처럼 동작하게 함 (Mobile 에서만 실제 트랙으로 전환) */
.awards__track {
  display: contents;
}

/* JS 가 모바일 무한 롤링용으로 복제한 항목 : PC·Tablet 에서는 숨겨서
   기존처럼 3개만 노출되게 함 (모바일에서만 아래에서 다시 보이게 전환).
   .awards__clone 단독으로는 .awards__line 복제본(자체 display 지정 없음)에는 충분하지만,
   .awards__item 복제본은 .awards__item 의 display:flex(소스 순서상 더 뒤)에 밀리므로
   .awards__item.awards__clone 조합으로 명시도를 높여 별도로 덮어씀 */
.awards__clone {
  display: none;
}

.awards__item.awards__clone {
  display: none;
}

.awards__item {
  display: flex;
  align-items: center;
  gap: 14.4px;
  width: 260px;
}

.awards__icon {
  width: 54px;
  height: 54px;
  object-fit: cover;
}

.awards__txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.awards__label {
  font-size: var(--fz-caption);
  font-weight: 500;
  line-height: var(--lh-tight);
}

.awards__name {
  font-size: var(--fz-label-title);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--text-secondary);
}

.awards__line {
  width: 1px;
  height: 34px;
  background: var(--border-default);
}

/* ==========================================================================
   콘텐츠 섹션 (비워두기)
   ========================================================================== */
.contents-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 353px;
  border-radius: 10px;
  background: var(--base-surface);
  font-size: var(--fz-heading-l);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--border-default);
}

/* 모바일 전용 줄바꿈 */
.br-mo {
  display: none;
}

/* ==========================================================================
   CS Center 이벤트 배너(.event-banner) — index 전용 배경(원데이특가)
   - .partners-list(2열 래퍼)와 .partners/.event-banner 기본 크기는 common.css에 있음
     (다른 페이지에서도 그대로 재사용). 이 페이지에는 배경 modifier만 남김
   ========================================================================== */
.partners-list .event-banner--oneday {
  background: url('../../images/common/banner/event-banner-oneday.png') center / cover no-repeat;
  /* cover 로 자르되 아래쪽을 기준으로 */
  background-position: bottom;
}



/* ==========================================================================
   Tablet (768px ~ 1099px)
   - 여백 / 폰트는 base.css 토큰이 자동 적용됨
   - 구조가 달라지는 부분만 재정의
   ========================================================================== */
@media (max-width: 1099px) {
  /* 메인배너 좌우 여백 축소 (--space-48 토큰 = 36px) */
  .main-banner__float {
    padding-left: var(--space-48);
    padding-right: var(--space-48);
  }

  /* 작은 문구는 PC 에서만 xl, 태블릿·모바일은 l 유지 */
  .main-banner__desc {
    font-size: var(--fz-body-l);
  }

  /* Occasion : 3열 유지, 좌우 패딩 제거 + gap 축소 */
  .occa-list {
    gap: var(--space-24) var(--space-12);
    padding: 0;
  }

  /* 카테고리 : 가로 스크롤
     - 스크롤바는 숨기고 스와이프로만 이동
     - mask-image 로 오른쪽 끝을 페이드아웃시켜 "더 있다"는 느낌만 살짝 힌트
     - 오른쪽은 .section 의 기본 padding 을 상쇄해 0으로 (화면 끝까지 확장, 흐림 효과만 유지) */
  .catemenu-list {
    gap: 18px;
    width: 100%;
    margin-right: calc(-1 * var(--space-side));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
  }

  .catemenu-list::-webkit-scrollbar {
    display: none;
  }

  /* 스와이프를 시작해 왼쪽이 잘리기 시작하면 (JS 로 scrollLeft>4 일 때 토글) 왼쪽에도 페이드 */
  .catemenu-list.is-scrolled {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }

  /* 리스트가 실제로 스크롤 가능할 때만 힌트 노출, 맨 끝까지 스와이프하면 숨김 */
  .catemenu.has-scroll .catemenu__hint {
    display: flex;
  }

  .catemenu.has-scroll.is-end .catemenu__hint {
    display: none;
  }

  .catemenu-list .category-menu {
    flex: 0 0 auto;
    width: 90px;
  }

  /* 베스트 : 멤버십 배너가 카드 리스트 아래로 내려감*/
  .best-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  /* 더보기 버튼 위치 교체 : desktop 위치 숨기고, 카드-배너 사이 위치 노출 */
  .best-more--desktop {
    display: none;
  }

  .best-more--tablet {
    display: inline-flex;
    justify-self: center;
    width: auto;
  }

  .product-card-list {
    padding-bottom: 0;
  }

  /* Tablet 전용 배너 이미지 */
  .membership-banner {
    height: 200px;
    justify-content: center;
    background-image: url('../../images/common/banner/membership-banner_tablet.png');
    margin-top: 32px;
  }

  .membership-banner__desc {
    justify-content: center;
    padding: 0 var(--space-side);
  }

  /* 칩 : 가로 스크롤 대신 줄바꿈 */
  .menuchip-list {
    flex-wrap: wrap;
    gap: 8px var(--space-8);
    overflow-x: visible;
  }

  /* 수상 내역 : 아이콘/텍스트 세로 배치 */
  .awards {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-48);
    padding: var(--space-32);
  }

  .awards__item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: auto;
    min-width: 140px;
    text-align: center;
  }

  .awards__txt {
    align-items: center;
    white-space: normal;
  }
}

/* ==========================================================================
   Mobile (~767px)
   ========================================================================== */
@media (max-width: 767px) {
  .br-mo {
    display: inline;
  }

  /* .partners-list 모바일 레이아웃은 common.css로 이동함 */

  /* 멤버십 배너와 상품 / 버튼 간격 */
  .best-container {
    gap: var(--space-48);
  }

  /* ----- 메인 배너 : 모바일 3:4 세로 비율 ----- */
  .main-banner {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  /* 배너 사진 위에 문구가 바로 얹히다보니 사진에 따라 글씨가 묻혀서,
     하단에만 흰색 그라데이션을 깔아 대비를 확보한다 (문구 색이 어두운색이라
     배경을 밝혀야 대비가 살아남). 슬라이드(z-index:0)보다는 위,
     문구(.main-banner__float)보다는 아래 */
  .main-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  .main-banner__float {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-48) 36px;
  }

  .main-banner__text {
    gap: var(--space-12);
    padding-bottom: 30px;
  }

  .banner-btn {
    position: absolute;
    right: var(--space-48);
    bottom: 20px;
    gap: 6px;
    padding: 6px 12px;
  }

  .banner-btn__arrow img {
    width: 12px;
    height: 12px;
  }

  .banner-btn__page {
    gap: 6px;
    font-size: 12px;
  }

  /* ----- Intro ----- */
  .intro__tit {
    font-size: 23px;
    line-height: var(--lh-tight);
  }

  .intro__desc {
    font-size: var(--fz-body-l);
  }

  /* point-list : 가로 배치 유지, 텍스트만 2줄로 */
  .point-list {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }

  .point-list__inner {
    max-width: 800px;
    padding: 0 20px;
  }

  .point-list__item {
    font-size: var(--fz-body-m);
    letter-spacing: -0.02em;
  }


  /* ----- Occasion : 2열 ----- */
  .occa-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 6px;
  }

  /* ----- 카테고리 : 카드 70px 고정, gap 은 남는 공간을 균등 분배하되 최소 5px
     (카드 9개 기준 계산 — 화면이 넓어 다 들어가면 gap 이 벌어지고,
     안 들어가면 5px 로 줄어들며 overflow-x:auto 로 스크롤) ----- */
  .catemenu-list {
    gap: max(5px, calc((100% - 9 * 70px) / 8));
  }

  .catemenu-list .category-menu {
    width: 70px;
  }

  /* ----- 베스트 : 카드 세로 스택 (카드 자체는 가로형) ----- */
  .product-card-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 4px;
  }

  /* 패밀리멤버십 - 모바일 전용 이미지 사용*/
  .membership-banner {
    height: 130px;
    margin-top: 30px;
    background-image: url('../../images/common/banner/membership-banner_mobile.png');
  }

  /* 모바일 배너 폰트크기 조정 */
  .membership-banner__tit-heading{
    font-size: 17px;
  }

.membership-banner__desc {
    padding: 0 16px;
  }

  /* 모바일에서는 폰트 크기만 축소 (문구는 PC와 동일) */
  .membership-banner__desc-txt {
    font-size: 12px;
  }

  /* 화살표 버튼 제거 */
  .membership-banner .rolling-btn {
    display: none;
  }

  /* 칩 : S 사이즈 */
  .menuchip-list {
    gap: 8px 6px;
  }

  .menuchip-list .chip {
    padding: 8px 16px;
  }

  /* ----- Why ----- */
  .why{margin:0 auto;} 
  
  .why__info,
  .why__list {
    min-width: 100%;
  }

  .why__point {
    gap: 24px;
  }


  /* ----- 수상 내역 : 아이콘+텍스트 가로 배열, 오른쪽으로 일정한 속도로 무한 스크롤
     (.awards__track 안 내용을 JS 가 한 번 더 복제해 이어붙이고,
      translateX 를 원본 콘텐츠 폭(-50%)만큼만 움직여 끊김 없이 반복) ----- */
  .awards {
    justify-content: flex-start;
    padding: var(--space-32) 0;
    overflow: hidden;
  }

  .awards__track {
    display: flex;
    align-items: center;
    gap: 0;         /* 변경 */
    flex-shrink: 0; /* 추가 */
    width: max-content;
    animation: awards-marquee 18s linear infinite;
  }

  .awards__item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    min-width: 0;
    flex-shrink: 0;
    text-align: left;
	margin-right: 40px; /* 추가 */
  }

  /* 복제된 항목(.awards__clone)은 모바일에서만 다시 노출, 원본과 동일한 row 레이아웃 */
  .awards__clone.awards__item {
    display: flex;
  }

  .awards__txt {
    align-items: flex-start;
    white-space: nowrap;
  }

  .awards__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .awards__line {
    display: none;
  }

}

 @keyframes awards-marquee {
	  from { transform: translate3d(0, 0, 0); }
	  to   { transform: translate3d(-50%, 0, 0); }
	}

  /* 모션 최소화 설정 사용자는 애니메이션 정지 */
  @media (prefers-reduced-motion: reduce) {
    .awards__track {
      animation: none;
    }

    .catemenu__hint {
      animation: none;
    }
  }

  .contents-empty {
    height: 220px;
  }

  /* 더보기 버튼 : Tablet 은 PC 와 동일한 L, 모바일만 S 사이즈.
     모바일에선 L/S 의 font-size(둘 다 14px)·weight(500)가 같아 padding 만 다르므로 이 한 줄로 충분 */
  .best-more--tablet {
    padding: 12px 24px;
  }

  /* 아코디언 토글 여백 축소 */
  .toggle {
    padding: 20px 0;
    gap: 10px;
  }

  /* ===== [삭제] 2026-09-18 / 전자계산서·현금영수증 팝업 모바일 전용 스타일 —
     js/common.js initReceiptModal() 과 함께 service-tab 이 common 으로 승격되면서
     css/common.css 로 이동함(2026-09-03 에 남긴 height 관련 수정 사유도 그대로 옮김).
     이 페이지에 남겨두면 common.css 와 같은 규칙이 중복된다 ===== */
}
