/*
 * 고객센터 — 2026-10-31 Figma «14.Customer Center»(509:18767) 새 판.
 *   ① 히어로 «고객 | 파트너» 탭 + 크기  ② 섹션 제목 20px + 오른쪽 «›»  ③ 문의 배너(cs-contact — _inc/customer-contact.php)
 *   ④ 반대편 고객센터 띠 20px · 화살표 14  ⑤ 검색 결과 없음 검색창 폭
 *   (앱 사본 — 배경 이미지는 WebP)
 *   고객센터 모든 화면(홈·목록·검색·결과없음·상세 × 회원/파트너)이 마지막에 싣는다.
 */

/* ① 히어로 ------------------------------------------------------------ */
.customer-center-page .customer-hero {
  gap: 120px;
  padding: 120px var(--spacing-lg);
  background: linear-gradient(-18.93deg, var(--brand-primary) 20.513%, var(--brand-primary-dark) 79.8%);
}

.customer-center-page--partner .customer-hero {
  background: linear-gradient(-17.83deg, var(--brand-primary) 19.737%, #83c5ee 80.263%);
}

.customer-hero__tabs {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--semantic-white);
  border-radius: 8px;
}

.customer-hero__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
}

.customer-hero__tab:first-child {
  padding: 10px 36px;
  border-right: 2px solid var(--semantic-white);
}

.customer-hero__tab.is-active {
  color: var(--brand-primary-dark);
  background: var(--semantic-white);
}

.customer-center-page .customer-hero__heading {
  gap: 0;
}

.customer-center-page .customer-hero__eyebrow,
.customer-center-page .customer-hero__title {
  color: var(--semantic-white);
}

.customer-center-page .customer-hero__eyebrow {
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  line-height: 28px;
}

.customer-center-page .customer-hero__title {
  font-size: 56px;
  line-height: 68px;
}

/* ② 섹션 제목 ------------------------------------------------------- */
.customer-center-page .customer-help,
.customer-center-page .customer-guide {
  padding: 80px var(--spacing-lg);
}

.customer-center-page .customer-help__inner,
.customer-center-page .customer-guide__inner {
  gap: 40px;
}

.customer-help__heading,
.customer-center-page .customer-guide__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.customer-center-page .customer-help__title,
.customer-center-page .customer-guide__title {
  color: var(--neutral-tx1-hero);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 28px;
}

.customer-center-page .cs-title-more {
  display: flex;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.customer-center-page .cs-title-more img {
  width: 5px;
  height: 10px;
  transform: rotate(180deg);
}

/* ③ 문의 배너 ------------------------------------------------------- */
.cs-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 64px;
  background: #fff url("../../images/customer/cs-contact-bg-member-pc.webp") center / cover no-repeat;
}

.cs-contact--partner {
  background: #050505 url("../../images/customer/cs-contact-bg-partner.webp") center / cover no-repeat;
}

.cs-contact__inner {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
}

.cs-contact__content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
  max-width: 600px;
}

.cs-contact__title {
  margin: 0;
  color: #444;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 28px;
}

.cs-contact--partner .cs-contact__title {
  font-size: 30px;
  line-height: 44px;
}

.cs-contact__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: #444;
  font-size: 14px;
  line-height: 20px;
}

.cs-contact__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-contact__item + .cs-contact__divider + .cs-contact__item {
  flex: 1 1 0;
  min-width: 330px;
}

.cs-contact__item a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.cs-contact__divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
}

.cs-contact--partner .cs-contact__divider {
  background: #aecef0;
}

/* 캐릭터 — 스프라이트(남녀)를 잘라 좌우 반전(Figma: rotate 180 + scaleY -1) */
.cs-contact__char {
  position: relative;
  flex: none;
  overflow: hidden;
  width: 212px;
  height: 219px;
  transform: scaleX(-1);
}

.cs-contact__char img {
  position: absolute;
  top: -0.13%;
  left: -132.54%;
  width: 238.07%;
  max-width: none;
  height: 99.95%;
}

.cs-contact--partner .cs-contact__char {
  width: 267px;
  height: 230px;
}

.cs-contact--partner .cs-contact__char img {
  top: 4.27%;
  left: -2.05%;
  width: 182.2%;
  height: 91.81%;
}

/* ④ 반대편 고객센터 띠 --------------------------------------------- */
.customer-center-page .customer-partner-link {
  min-height: 0;
  gap: 0;
  padding: 60px max(var(--spacing-lg), calc((100% - 1280px) / 2));
  font-size: 20px;
  line-height: 28px;
}

.customer-center-page .customer-partner-link__arrow {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.customer-center-page .customer-partner-link__arrow img {
  width: 5px;
  height: 10px;
}

/* 태블릿 ------------------------------------------------------------ */
@media (max-width: 1439px) {
  .customer-center-page .customer-hero {
    gap: 80px;
    padding: 80px var(--spacing-lg);
  }
}

/* 모바일 ------------------------------------------------------------ */
@media (max-width: 767px) {
  .customer-center-page .customer-hero {
    gap: 48px;
    padding: 48px var(--spacing-lg);
    background: linear-gradient(-45.94deg, var(--brand-primary) 24.032%, var(--brand-primary-dark) 75.968%);
  }

  .customer-center-page--partner .customer-hero {
    background: linear-gradient(-45.94deg, var(--brand-primary) 24.032%, #83c5ee 75.968%);
  }

  .customer-hero__tabs {
    border-width: 1px;
  }

  .customer-hero__tab {
    padding: 6px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .customer-hero__tab:first-child {
    padding: 6px 24px;
  }

  .customer-center-page .customer-hero__eyebrow {
    font-size: 18px;
    line-height: 24px;
  }

  .customer-center-page .customer-hero__title {
    font-size: 24px;
    line-height: 34px;
  }

  .customer-center-page .customer-help,
  .customer-center-page .customer-guide {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .customer-center-page .customer-help__title,
  .customer-center-page .customer-guide__title {
    font-size: 14px;
    line-height: 20px;
  }

  .cs-contact {
    padding: 40px 20px;
  }

  .cs-contact--partner {
    padding: 40px;
  }

  .customer-center-page .customer-search__input {
    font-size: 14px;
    line-height: 20px;
  }

  .customer-center-page .customer-keywords__item {
    min-height: 0;
    padding: 6px 10px;
    border-width: 0.5px;
    font-size: 11px;
    line-height: 14px;
  }

  .cs-contact__inner {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    max-width: 600px;
  }

  .cs-contact__content {
    width: 100%;
    max-width: none;
  }

  .cs-contact--partner .cs-contact__content {
    gap: 24px;
  }

  .cs-contact__title {
    font-size: 14px;
    line-height: 20px;
  }

  .cs-contact--partner .cs-contact__title {
    font-size: 20px;
    line-height: 28px;
  }

  .cs-contact__contacts {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 12px;
    line-height: 16px;
  }

  .cs-contact__item {
    flex-direction: row;
    gap: 4px;
  }

  .cs-contact__item + .cs-contact__divider + .cs-contact__item {
    flex: none;
    min-width: 0;
  }

  .cs-contact__divider {
    display: none;
  }

  .cs-contact__char {
    width: 152px;
    height: 156px;
  }

  .cs-contact__char img {
    left: -143.05%;
  }

  .cs-contact--partner .cs-contact__char {
    width: 183px;
    height: 149px;
  }

  .cs-contact--partner .cs-contact__char img {
    top: 0.4%;
    left: -5.43%;
    width: 188.32%;
    height: 99.75%;
  }

  .customer-center-page .customer-partner-link {
    padding: 40px var(--spacing-lg);
    font-size: 14px;
    line-height: 20px;
  }
}

/* ⑤ 검색 결과 없음 — 검색창도 다른 결과 화면처럼 1280(예전 640) */
.no-results-content .search-results__search-area {
  width: 100%;
  max-width: 1280px;
}
