/* =========================================================
   회원 공통 폼
   로그인, 회원가입, 아이디 찾기, 비밀번호 찾기에서 공통 사용
========================================================= */
.member-page {
  width: 100%;
  padding: 75px 20px 110px;
}

.member-inner {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.member-title {
  margin: 0 0 34px;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.06em;
  text-align: center;
}


/* 입력 항목 */
.form-group + .form-group {
  margin-top: 10px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #222;
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;

  color: #222;
  background-color: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  outline: none;

  letter-spacing: -0.035em;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-input,
.form-select {
  height: 47px;
  padding: 0 20px;
}

.form-textarea {
  min-height: 120px;
  padding: 15px 20px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #a4a4a4;
  opacity: 1;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: #bcbcbc;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-point);
  box-shadow: 0 0 0 3px rgba(204, 153, 0, 0.1);
}


/* 입력창 + 버튼 조합 */
.form-inline {
  display: flex;
  gap: 8px;
}

.form-inline .form-input {
  flex: 1;
  min-width: 0;
}

.form-side-button {
  flex: 0 0 auto;
  min-width: 105px;
  height: 47px;
  padding: 0 16px;

  color: #333;
  background-color: #fff;
  border: 1px solid #bdbdbd;
  border-radius: 14px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.form-side-button:hover,
.form-side-button:focus-visible {
  color: #fff;
  background-color: var(--color-point);
  border-color: var(--color-point);
}


/* 설명 및 오류 문구 */
.form-help {
  margin: 7px 0 0;
  color: #888;
  line-height: 1.45;
}

.form-message {
  display: none;
  margin: 7px 0 0;
  line-height: 1.45;
}

.form-message.is-visible {
  display: block;
}

.form-message--error {
  color: #e52323;
}

.form-message--success {
  color: #07845d;
}


/* 오류 상태 */
.form-group.is-error .form-input,
.form-group.is-error .form-select,
.form-group.is-error .form-textarea {
  border-color: #e52323;
  box-shadow: 0 0 0 3px rgba(229, 35, 35, 0.08);
}


/* 체크박스 */
.form-check {
  display: inline-flex;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.form-check input {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
}

.form-check__box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 31px;
  height: 31px;
  margin-right: 12px;

  color: #fff;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.form-check__box svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-check input:checked + .form-check__box {
  background-color: var(--color-point);
  border-color: var(--color-point);
}

.form-check input:focus-visible + .form-check__box {
  outline: 2px solid rgba(204, 153, 0, 0.3);
  outline-offset: 2px;
}

.form-check__text {
  display: flex;
  flex-direction: column;
  padding-top: 1px;
}


/* 공통 버튼 */
.form-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 56px;
  padding: 0 20px;

  border: 0;
  border-radius: 13px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.form-button:hover,
.form-button:focus-visible {
  box-shadow: 0 8px 20px rgba(85, 62, 0, 0.15);
  transform: translateY(-2px);
}

.form-button--dark {
  color: #fff;
  background-color: #252525;
}

.form-button--dark:hover,
.form-button--dark:focus-visible {
  background-color: var(--color-point);
}

.form-button--point {
  color: #fff;
  background-color: var(--color-point);
}

.form-button--point:hover,
.form-button--point:focus-visible {
  background-color: #ad8200;
}

.form-button--outline {
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
}

.form-button--outline:hover,
.form-button--outline:focus-visible {
  color: var(--color-point);
  border-color: var(--color-point);
}


/* 비활성 버튼 */
.form-button:disabled,
.form-side-button:disabled {
  color: #aaa;
  background-color: #eee;
  border-color: #ddd;
  box-shadow: none;
  cursor: default;
  transform: none;
}


/* 모바일 */
@media screen and (max-width: 768px) {
  .member-page {
    padding: 60px 20px 80px;
  }
}

@media screen and (max-width: 480px) {
  .member-page {
    padding: 60px 15px 55px;
  }

  .member-inner {
    max-width: 100%;
  }

  .form-input,
  .form-select {
    height: 47px;
    padding: 0 18px;
    border-radius: 13px;
  }

  .form-inline {
    gap: 7px;
  }

  .form-side-button {
    min-width: 92px;
    padding: 0 12px;
    border-radius: 13px;
  }
}


/* =========================================================
   로그인 페이지
========================================================= */
.login-page {
  display: flex;
  flex: 1;
  width: 100%;
}

.login-section {
  width: 100%;
  padding: 0px 20px 70px;
}

.login-inner {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}


/* =========================================================
   로그인 제목
========================================================= */
.login-title {
  margin: 0 0 34px;

  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.06em;
  text-align: center;
}


/* =========================================================
   로그인 입력 폼
========================================================= */
.login-form {
  width: 100%;
}

.login-field + .login-field {
  margin-top: 10px;
}

.login-input {
  display: block;

  width: 100%;
  height: 47px;
  padding: 0 20px;

  color: #222222;
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  outline: none;

  letter-spacing: -0.035em;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.login-input::placeholder {
  color: #a4a4a4;
  opacity: 1;
}

.login-input:hover {
  border-color: #bcbcbc;
}

.login-input:focus {
  border-color: var(--color-point);
  box-shadow: 0 0 0 3px rgba(204, 153, 0, 0.1);
}


/* =========================================================
   로그인 정보 기억하기
========================================================= */
.login-option {
  margin-top: 14px;
}

.login-check {
  display: inline-flex;
  align-items: flex-start;

  cursor: pointer;
  user-select: none;
}

.login-check input {
  overflow: hidden;
  position: absolute;

  width: 1px;
  height: 1px;

  clip: rect(0, 0, 0, 0);
}

.login-check__box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 31px;
  height: 31px;
  margin-right: 12px;

  color: #ffffff;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.login-check__box svg {
  width: 16px;
  height: 16px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-check input:checked + .login-check__box {
  color: #ffffff;
  background-color: var(--color-point);
  border-color: var(--color-point);
}

.login-check input:focus-visible + .login-check__box {
  outline: 2px solid rgba(204, 153, 0, 0.3);
  outline-offset: 2px;
}

.login-check__text {
  display: flex;
  flex-direction: column;

  padding-top: 1px;
}

.login-check__text strong {
  color: #333333;
  line-height: 1.35;
}

.login-check__text small {
  margin-top: 2px;
  line-height: 1.35;
}


/* =========================================================
   로그인 버튼
========================================================= */
.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 56px;
  margin-top: 36px;

  color: #ffffff;
  background-color: #252525;
  border: 0;
  border-radius: 13px;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
  background-color: var(--color-point);
  box-shadow: 0 8px 20px rgba(85, 62, 0, 0.16);
  transform: translateY(-2px);
}


/* =========================================================
   아이디·비밀번호 찾기
========================================================= */
.login-links {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 22px;
}

.login-links a {
  color: #333333;
  line-height: 1.4;

  transition: color 0.2s ease;
}

.login-links a:hover,
.login-links a:focus-visible {
  color: var(--color-point);
}

.login-links > span {
  display: block;

  width: 1px;
  height: 12px;
  margin: 0 18px;

  background-color: #e1e1e1;
}


/* =========================================================
   간편 로그인
========================================================= */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-top: 55px;
}

.social-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  height: 51px;

  border-radius: 8px;

  transition:
    filter 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-login-button:hover,
.social-login-button:focus-visible {
  filter: brightness(0.97);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.social-login-button--kakao {
  color: #191919;
  background-color: #fee500;
}

.social-login-button--naver {
  color: #ffffff;
  background-color: #03c75a;
}


/* 소셜 아이콘 */
.social-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.social-login-icon--kakao {
  width: 22px;
  height: 22px;

  color: #111111;
}

.social-login-icon--kakao svg {
  width: 100%;
  height: 100%;

  fill: currentColor;
}

.social-login-icon--naver {
  width: 22px;
  height: 22px;

  color: #ffffff;

  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}


/* =========================================================
   768px 이하
========================================================= */
@media screen and (max-width: 768px) {
  .login-section {
    padding: 0px 20px 100px;
  }

  .login-title {
    margin-bottom: 30px;
  }
}


/* =========================================================
   작은 모바일
========================================================= */
@media screen and (max-width: 480px) {
  .login-section {
    padding: 15px 15px 55px;
  }

  .login-inner {
    max-width: 100%;
  }

  .login-title {
    margin-bottom: 29px;
  }

  .login-input {
    height: 47px;
    padding: 0 18px;

    border-radius: 13px;
  }

  .login-submit {
    height: 56px;
    margin-top: 35px;
  }

  .login-links > span {
    margin: 0 14px;
  }

  .social-login {
    margin-top: 52px;
  }

  .social-login-button {
    height: 51px;
  }
}


/* =========================================================
   아주 작은 모바일
========================================================= */
@media screen and (max-width: 360px) {
  .login-links > span {
    margin: 0 10px;
  }

  .login-links a {
    font-size: 13px;
  }
}





/* =========================================================
   회원가입 약관 동의
========================================================= */
.join-agree-page .member-inner {
  max-width: 440px;
}

.member-heading {
  text-align: center;
}

.member-heading .member-title {
  margin-bottom: 8px;
}

.member-description {
  margin: 0;
  line-height: 1.5;
}


/* =========================================================
   회원가입 단계
========================================================= */
.join-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  margin: 28px 0 44px;
}

.join-step__item {
  position: relative;

  display: flex;
  align-items: center;
}

.join-step__item:not(:last-child)::after {
  content: "";

  position: absolute;
  left: calc(100% + 4px);

  width: 7px;
  height: 1px;

  background-color: #dddddd;
}

.join-step__item span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 29px;
  height: 29px;

  color: #777777;
  background-color: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 50%;

  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.join-step__item.is-active span {
  color: #ffffff;
  background-color: var(--color-point);
  border-color: var(--color-point);
}


/* =========================================================
   전체 약관 동의
========================================================= */
.agree-all {
  padding: 12px 20px;

  background-color: #f1f1f1;
  border-radius: 11px;
}

.agree-all__label {
  display: flex;
  align-items: center;
  width: 100%;
}

.agree-all .form-check__box {
  width: 32px;
  height: 32px;
  margin-right: 13px;

  border-radius: 9px;
}

.agree-all__text {
  color: #222222;
}


/* =========================================================
   개별 약관 목록
========================================================= */
.agree-list {
  margin-top: 13px;
}

.agree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-height: 42px;
  padding: 4px 10px;
}

.agree-item__check {
  align-items: center;
  flex: 1;
  min-width: 0;
}

.agree-item .form-check__box {
  width: 20px;
  height: 20px;
  margin-right: 9px;

  border-radius: 4px;
}

.agree-item .form-check__box svg {
  width: 13px;
  height: 13px;
}

.agree-item__text {
  min-width: 0;

  color: #333333;
  line-height: 1.45;
}

.agree-item__text strong {
  font-weight: 500;
}

.agree-view-button {
  flex: 0 0 auto;

  padding: 4px 0;

  color: #777777;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;

  line-height: 1.2;

  transition: color 0.2s ease;
}

.agree-view-button:hover,
.agree-view-button:focus-visible {
  color: var(--color-point);
}


/* 메시지 */
.agree-message {
  margin-left: 4px;
}


/* 다음 버튼 */
.agree-submit {
  margin-top: 28px;
}

.agree-submit:disabled {
  color: #b5b5b5;
  background-color: #f1f1f3;
  box-shadow: none;
  cursor: default;
  transform: none;
}


/* =========================================================
   약관 레이어 팝업
========================================================= */
.terms-modal {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 20px;

  transition:
    visibility 0.25s ease,
    opacity 0.25s ease;
}

.terms-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.terms-modal__dim {
  position: absolute;
  inset: 0;

  background-color: rgba(0, 0, 0, 0.52);
}

.terms-modal__dialog {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 600px;
  max-height: min(720px, calc(100vh - 60px));

  overflow: hidden;

  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);

  transform: translateY(20px) scale(0.98);

  transition: transform 0.25s ease;
}

.terms-modal.is-open .terms-modal__dialog {
  transform: translateY(0) scale(1);
}


/* 팝업 상단 */
.terms-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 68px;
  padding: 0 24px;

  border-bottom: 1px solid #eeeeee;
}

.terms-modal__title {
  margin: 0;

  color: #171717;
}

.terms-modal__close {
  position: relative;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  transition: background-color 0.2s ease;
}

.terms-modal__close:hover,
.terms-modal__close:focus-visible {
  background-color: #f3f3f3;
}

.terms-modal__close span {
  position: absolute;
  top: 17px;
  left: 8px;

  width: 20px;
  height: 2px;

  background-color: #222222;
  border-radius: 4px;
}

.terms-modal__close span:first-child {
  transform: rotate(45deg);
}

.terms-modal__close span:last-child {
  transform: rotate(-45deg);
}


/* 팝업 약관 내용 */
.terms-modal__content {
  flex: 1;
  min-height: 0;
  padding: 25px 26px;

  overflow-y: auto;
  overscroll-behavior: contain;

  color: #555555;
  line-height: 1.75;
}

.terms-document h3 {
  margin: 0 0 24px;

  color: #222222;
  font-size: 18px;
}

.terms-document h4 {
  margin: 22px 0 7px;

  color: #333333;
  font-size: 15px;
}

.terms-document h4:first-of-type {
  margin-top: 0;
}

.terms-document p {
  margin: 0;

  line-height: 1.75;
}


/* 팝업 하단 */
.terms-modal__footer {
  padding: 16px 24px 20px;

  border-top: 1px solid #eeeeee;
}

.terms-modal__confirm {
  height: 50px;
}


/* 팝업이 열렸을 때 본문 스크롤 방지 */
body.terms-modal-open {
  overflow: hidden;
}


/* =========================================================
   모바일
========================================================= */
@media screen and (max-width: 480px) {
  .join-step {
    margin-top: 25px;
    margin-bottom: 38px;
  }

  .agree-all {
    padding: 11px 15px;
  }

  .agree-item {
    align-items: flex-start;
    min-height: 44px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .agree-item__check {
    align-items: flex-start;
  }

  .agree-item .form-check__box {
    margin-top: 1px;
  }

  .agree-item__text {
    padding-right: 4px;
  }

  .agree-view-button {
    margin-top: 2px;
  }

  .terms-modal {
    align-items: flex-end;
    padding: 0;
  }

  .terms-modal__dialog {
    max-width: none;
    max-height: 88vh;

    border-radius: 17px 17px 0 0;

    transform: translateY(100%);
  }

  .terms-modal.is-open .terms-modal__dialog {
    transform: translateY(0);
  }

  .terms-modal__header {
    min-height: 62px;
    padding: 0 20px;
  }

  .terms-modal__content {
    padding: 22px 20px;
  }

  .terms-modal__footer {
    padding: 14px 20px 20px;
  }
}



/* =========================================================
   회원가입 정보입력 페이지
========================================================= */
.join-form-page .member-inner {
  max-width: 440px;
}

.join-form-page .join-step {
  margin-bottom: 46px;
}

.join-form {
  width: 100%;
}

.join-form-group + .join-form-group {
  margin-top: 34px;
}


/* 필수 표시 */
.form-required {
  color: #f04444;
}


/* =========================================================
   이메일 중복확인
========================================================= */
.join-form-page .form-inline {
  align-items: stretch;
}

.join-email-check {
  min-width: 96px;

  color: #ffffff;
  background-color: var(--color-point);
  border-color: var(--color-point);
}

.join-email-check:hover,
.join-email-check:focus-visible {
  background-color: #ad8200;
  border-color: #ad8200;
}

.join-email-check:disabled {
  color: #ffffff;
  background-color: #f1f1f3;
  border-color: #f1f1f3;
}


/* =========================================================
   입력 상태 문구
========================================================= */
.form-status {
  display: flex;
  align-items: center;
  gap: 5px;

  margin: 8px 0 0;

  line-height: 1.4;
}

.form-status--default {
  color: #999999;
}

.form-status--success {
  color: #16815e;
}

.form-status--error {
  color: #e52323;
}

.form-status.is-success {
  color: #16815e;
}

.form-status.is-error {
  color: #e52323;
}


/* =========================================================
   비밀번호 입력
========================================================= */
.password-field {
  position: relative;
}

.password-field + .password-field {
  margin-top: 10px;
}

.password-field .form-input {
  padding-right: 50px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  color: #aaaaaa;
  border-radius: 50%;

  transform: translateY(-50%);

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-active {
  color: var(--color-point);
  background-color: #fff8e6;
}

.password-toggle svg {
  width: 20px;
  height: 20px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   PASS 본인인증
========================================================= */
.pass-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 47px;

  color: #ffffff;
  background-color: #f04444;
  border: 0;
  border-radius: 13px;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.pass-auth-button:hover,
.pass-auth-button:focus-visible {
  background-color: #dc3535;
  box-shadow: 0 7px 18px rgba(240, 68, 68, 0.2);
  transform: translateY(-2px);
}

.pass-auth-button.is-complete {
  background-color: #16815e;
}


/* =========================================================
   읽기 전용 입력창
========================================================= */
.join-form-page .form-input[readonly] {
  color: #777777;
  background-color: #fafafa;
  cursor: default;
}


/* 가입하기 */
.join-submit {
  margin-top: 43px;
}

.join-submit:disabled {
  color: #b5b5b5;
  background-color: #f1f1f3;
  box-shadow: none;
  cursor: default;
  transform: none;
}

.join-form-message {
  margin-top: 15px;
}


/* =========================================================
   모바일
========================================================= */
@media screen and (max-width: 480px) {
  .join-form-page .join-step {
    margin-bottom: 42px;
  }

  .join-form-group + .join-form-group {
    margin-top: 31px;
  }

  .join-email-check {
    min-width: 90px;
    padding: 0 10px;
  }

  .join-submit {
    margin-top: 40px;
  }
}



/* =========================================================
   회원가입 완료 페이지
========================================================= */
.join-complete-page .member-inner {
  max-width: 440px;
}

.join-complete-page .join-step {
  margin-top: 28px;
  margin-bottom: 0;
}


/* =========================================================
   가입 완료 내용
========================================================= */
.join-complete-content {
  display: flex;
  align-items: center;
  flex-direction: column;

  padding-top: 88px;
  text-align: center;
}

.join-complete-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 150px;
  height: 150px;
}

.join-complete-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.join-complete-message {
  margin: 34px 0 0;

  color: #222222;
  line-height: 1.5;
  letter-spacing: -0.035em;
}

.join-complete-button {
  width: 185px;
  height: 49px;
  margin-top: 16px;

  border-radius: 11px;
}


/* =========================================================
   태블릿
========================================================= */
@media screen and (max-width: 768px) {
  .join-complete-content {
    padding-top: 72px;
  }

  .join-complete-image {
    width: 140px;
    height: 140px;
  }
}


/* =========================================================
   모바일
========================================================= */
@media screen and (max-width: 480px) {
  .join-complete-page .join-step {
    margin-top: 25px;
  }

  .join-complete-content {
    padding-top: 65px;
  }

  .join-complete-image {
    width: 125px;
    height: 125px;
  }

  .join-complete-message {
    margin-top: 28px;
  }

  .join-complete-button {
    width: 185px;
    height: 48px;
  }
}



/* =========================================================
   마이페이지
========================================================= */
.mypage-page .mypage-inner {
  max-width: 440px;
}

.mypage-page .member-heading {
  margin-bottom: 42px;
}


/* =========================================================
   회원 정보 목록
========================================================= */
.mypage-info-list {
  border-top: 0;
}

.mypage-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 72px;
  padding: 0 2px;

  border-bottom: 1px solid #eeeeee;
}

.mypage-info-label {
  flex: 0 0 auto;

  color: #222222;
  line-height: 1.4;
}

.mypage-info-value {
  min-width: 0;

  color: #222222;
  line-height: 1.4;
  text-align: right;
}

.mypage-account {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.mypage-account__naver {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 15px;
  height: 15px;

  color: #ffffff;
  background-color: #03c75a;

  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}


/* 비밀번호 수정 버튼 */
.mypage-password-button {
  color: #ff2d2d;
  background-color: transparent;
  border: 0;

  line-height: 1.4;

  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.mypage-password-button:hover,
.mypage-password-button:focus-visible {
  color: var(--color-point);
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* =========================================================
   하단 버튼
========================================================= */
.mypage-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;

  margin-top: 52px;
}

.mypage-action-button {
  width: 128px;
  height: 49px;

  border-radius: 11px;
}

.mypage-actions .form-button--outline {
  color: #222222;
  border-color: #999999;
}


/* =========================================================
   비밀번호 변경 레이어
========================================================= */
.password-modal {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  position: fixed;
  inset: 0;
  z-index: 3100;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 20px;

  transition:
    visibility 0.25s ease,
    opacity 0.25s ease;
}

.password-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.password-modal__dim {
  position: absolute;
  inset: 0;

  background-color: rgba(0, 0, 0, 0.52);
}

.password-modal__dialog {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 500px;

  overflow: hidden;

  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);

  transform: translateY(20px) scale(0.98);

  transition: transform 0.25s ease;
}

.password-modal.is-open .password-modal__dialog {
  transform: translateY(0) scale(1);
}


/* 팝업 상단 */
.password-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 68px;
  padding: 0 24px;

  border-bottom: 1px solid #eeeeee;
}

.password-modal__title {
  margin: 0;
  color: #171717;
}

.password-modal__close {
  position: relative;

  width: 36px;
  height: 36px;

  border-radius: 50%;

  transition: background-color 0.2s ease;
}

.password-modal__close:hover,
.password-modal__close:focus-visible {
  background-color: #f3f3f3;
}

.password-modal__close span {
  position: absolute;
  top: 17px;
  left: 8px;

  width: 20px;
  height: 2px;

  background-color: #222222;
  border-radius: 4px;
}

.password-modal__close span:first-child {
  transform: rotate(45deg);
}

.password-modal__close span:last-child {
  transform: rotate(-45deg);
}


/* 팝업 본문 */
.password-modal__body {
  padding: 27px 24px 24px;
}

.password-modal-group + .password-modal-group {
  margin-top: 21px;
}

.password-modal-group .form-label {
  margin-bottom: 9px;
}

.password-change-status {
  margin-top: 12px;
}


/* 팝업 하단 */
.password-modal__footer {
  padding: 0 24px 24px;
}

.password-change-submit {
  height: 52px;
}

.password-change-submit:disabled {
  color: #aaaaaa;
  background-color: #eeeeef;
  box-shadow: none;
  cursor: default;
  transform: none;
}


/* 팝업 열렸을 때 본문 스크롤 방지 */
body.password-modal-open {
  overflow: hidden;
}


/* =========================================================
   모바일
========================================================= */
@media screen and (max-width: 480px) {
  .mypage-page .member-heading {
    margin-bottom: 34px;
  }

  .mypage-info-row {
    min-height: 68px;
  }

  .mypage-actions {
    gap: 12px;
    margin-top: 45px;
  }

  .mypage-action-button {
    width: calc(50% - 6px);
    max-width: 135px;
  }

  .password-modal {
    align-items: flex-end;
    padding: 0;
  }

  .password-modal__dialog {
    max-width: none;

    border-radius: 17px 17px 0 0;

    transform: translateY(100%);
  }

  .password-modal.is-open .password-modal__dialog {
    transform: translateY(0);
  }

  .password-modal__header {
    min-height: 62px;
    padding: 0 20px;
  }

  .password-modal__body {
    padding: 24px 20px 21px;
  }

  .password-modal__footer {
    padding: 0 20px 20px;
  }
}





/* =========================================================
   물품거래후기 페이지
========================================================= */
.review-page {
  width: 100%;
}

.review-section {
  width: 100%;
  padding: 0px 0 110px;
}


/* =========================================================
   페이지 제목
========================================================= */
.review-heading {
  text-align: center;
}

.review-heading h1 {
  margin: 0;

  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.06em;
}

.review-heading p {
  margin: 8px 0 0;
  line-height: 1.5;
}


/* =========================================================
   후기 검색
========================================================= */
.review-search {
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 520px;
  height: 48px;

  margin: 37px auto 58px;
  padding: 0 11px 0 23px;

  background-color: #ffffff;
  border: 1.5px solid var(--color-point);
  border-radius: 50px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.review-search:focus-within {
  border-color: #ad8200;
  box-shadow: 0 5px 18px rgba(204, 153, 0, 0.12);
}

.review-search__input {
  flex: 1;
  min-width: 0;
  height: 100%;

  color: #222222;
  background-color: transparent;
  border: 0;
  outline: 0;
}

.review-search__input::placeholder {
  color: #777777;
  opacity: 1;
}

.review-search__input::-webkit-search-cancel-button {
  display: none;
}

.review-search__button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  color: #111111;
  border-radius: 50%;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.review-search__button:hover,
.review-search__button:focus-visible {
  color: var(--color-point);
  background-color: #fff8e6;
}

.review-search__button svg {
  width: 23px;
  height: 23px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   후기 목록
========================================================= */
.review-list {
  width: 100%;
}

.review-item {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;

  padding: 48px 0;

  border-bottom: 1px solid #e5e5e5;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.review-item:first-child {
  padding-top: 0;
}

.review-item.is-hidden {
  display: none;
}

.review-item.is-revealing {
  animation: reviewFadeUp 0.48s ease both;
}

@keyframes reviewFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   상품 요약
========================================================= */
.review-item__summary {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.review-item__image {
  flex: 0 0 auto;

  width: 110px;
  height: 110px;

  overflow: hidden;

  background-color: #f1f1f1;
  border-radius: 9px;
}

.review-item__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.review-item:hover .review-item__image img {
  transform: scale(1.045);
}

.review-item__product {
  flex: 1;
  min-width: 0;
  margin-left: 30px;
}

.review-item__product h2 {
  margin: 7px 0 0;

  color: #111111;
  line-height: 1.35;
}

.review-item__meta {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 5px;
}

.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-rating__stars {
  color: #e60012;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1px;
}

.review-rating strong {
  color: #111111;
}

.review-item__difference {
  margin: 11px 0 0;

  color: #333333;
  line-height: 1.55;
}

.review-item__difference strong {
  color: #ff8800;
}


/* =========================================================
   후기 상세 내용
========================================================= */
.review-item__content {
  min-height: 196px;
  padding: 27px 38px;

  background-color: #f7f8fa;
  border-radius: 11px;
}

.review-price-info {
  margin: 0;
}

.review-price-info > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;

  min-height: 29px;
}

.review-price-info dt {
  color: #333333;
}

.review-price-info dd {
  margin: 0;

  color: #222222;
}

.review-price-info__sale {
  color: #ef1111 !important;
}

.review-item__text {
  margin: 14px 0 0;

  color: #3f3f3f;
  line-height: 1.85;
  letter-spacing: -0.025em;
}


/* =========================================================
   더보기
========================================================= */
.review-more-area {
  display: flex;
  align-items: center;
  flex-direction: column;

  margin-top: 55px;
}

.review-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;

  min-width: 130px;
  height: 49px;
  padding: 0 21px;

  color: #222222;
  background-color: #ffffff;
  border: 1px solid #999999;
  border-radius: 10px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.review-more-button:hover,
.review-more-button:focus-visible {
  color: #ffffff;
  background-color: var(--color-point);
  border-color: var(--color-point);
  box-shadow: 0 8px 18px rgba(94, 69, 0, 0.13);
  transform: translateY(-2px);
}

.review-more-button__arrow {
  width: 8px;
  height: 8px;

  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;

  transform: rotate(45deg) translateY(-2px);
}

.review-complete-message {
  margin: 0;
}


/* =========================================================
   검색 결과 없음
========================================================= */
.review-empty {
  padding: 75px 20px;

  text-align: center;

  background-color: #f8f8f8;
  border-radius: 10px;
}

.review-empty p {
  margin: 0;
  color: #222222;
}

.review-empty span {
  display: block;
  margin-top: 7px;
}


/* =========================================================
   1024px 이하
========================================================= */
@media screen and (max-width: 1024px) {
  .review-item {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 23px;
  }

  .review-item__image {
    width: 95px;
    height: 95px;
  }

  .review-item__product {
    margin-left: 20px;
  }

  .review-item__content {
    padding: 25px 28px;
  }
}


/* =========================================================
   820px 이하
========================================================= */
@media screen and (max-width: 820px) {
  .review-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .review-item__summary {
    width: 100%;
  }

  .review-item__image {
    width: 105px;
    height: 105px;
  }

  .review-item__content {
    min-height: 0;
  }
}


/* =========================================================
   768px 이하
========================================================= */
@media screen and (max-width: 768px) {
  .review-section {
    padding: 58px 0 100px;
  }

  .review-search {
    margin-top: 31px;
    margin-bottom: 45px;
  }

  .review-item {
    padding: 38px 0;
  }

  .review-item__content {
    padding: 23px 24px;
  }
}


/* =========================================================
   작은 모바일
========================================================= */
@media screen and (max-width: 520px) {
  .review-section {
    padding-top: 0px;
  }

  .review-search {
    height: 48px;
    margin-bottom: 38px;
    padding-left: 18px;
  }

  .review-item {
    gap: 20px;
    padding: 32px 0;
  }

  .review-item__image {
    width: 88px;
    height: 88px;
  }

  .review-item__product {
    margin-left: 15px;
  }

  .review-item__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .review-rating__stars {
    font-size: 15px;
  }

  .review-item__difference {
    margin-top: 8px;
  }

  .review-item__content {
    padding: 21px 18px;
  }

  .review-price-info > div {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .review-item__text {
    line-height: 1.75;
  }

  .review-more-area {
    margin-top: 43px;
  }
}


/* =========================================================
   아주 작은 모바일
========================================================= */
@media screen and (max-width: 380px) {
  .review-item__summary {
    align-items: flex-start;
  }

  .review-item__image {
    width: 76px;
    height: 76px;
  }

  .review-item__product {
    margin-left: 12px;
  }
}





/* =========================================================
   파트너 마이페이지
========================================================= */
.partner-mypage-page {
  width: 100%;
}

.partner-mypage-page .partner-mypage-inner {
  max-width: 570px;
}

.partner-mypage-page .member-heading {
  margin-bottom: 68px;
}


/* =========================================================
   파트너 프로필 요약
========================================================= */
.partner-profile-summary {
  display: flex;
  align-items: center;

  width: 100%;
  padding: 0 3px;
}

.partner-profile-summary__image {
  flex: 0 0 auto;

  width: 56px;
  height: 56px;

  overflow: hidden;

  background-color: #eeeeee;
  border-radius: 7px;
}

.partner-profile-summary__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.partner-profile-summary__content {
  min-width: 0;
  margin-left: 16px;
}

.partner-profile-summary__content h2 {
  margin: 0;

  color: #111111;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.partner-profile-rating {
  display: flex;
  align-items: center;
  gap: 3px;

  margin-top: 5px;
}

.partner-profile-rating__star {
  color: #099ce7;
  font-size: 17px;
  line-height: 1;
}

.partner-profile-rating strong {
  color: #222222;
}


/* =========================================================
   파트너 마이페이지 메뉴
========================================================= */
.partner-mypage-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;

  margin-top: 31px;
}

.partner-mypage-card {
  position: relative;

  display: flex;
  align-items: center;

  min-width: 0;
  min-height: 108px;
  padding: 18px 24px;

  background-color: #fffdfa;
  border: 1px solid #e7d8b7;
  border-radius: 8px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.partner-mypage-card:hover,
.partner-mypage-card:focus-visible {
  border-color: var(--color-point);
  box-shadow: 0 10px 25px rgba(76, 55, 7, 0.09);
  transform: translateY(-3px);
}


/* 메뉴 아이콘 */
.partner-mypage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: 55px;
  height: 55px;

  color: #ffffff;
  background-color: var(--color-point);
  border-radius: 50%;
}

.partner-mypage-card__icon svg {
  width: 31px;
  height: 31px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* 메뉴 내용 */
.partner-mypage-card__content {
  display: flex;
  flex-direction: column;

  min-width: 0;
  margin-left: 17px;
}

.partner-mypage-card__content strong {
  color: #171717;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.partner-mypage-card__content > span {
  display: block;

  margin-top: 5px;

  line-height: 1.55;
  letter-spacing: -0.03em;
}

.partner-mypage-card__links {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;

  color: #333333;
}

.partner-mypage-card__links i {
  display: block;

  width: 1px;
  height: 12px;

  background-color: #bbbbbb;
}


/* 카드 화살표 */
.partner-mypage-card__arrow {
  display: none;

  position: absolute;
  top: 50%;
  right: 19px;

  width: 9px;
  height: 9px;

  color: #aaaaaa;

  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;

  transform:
    translateY(-50%)
    rotate(45deg);
}


/* =========================================================
   로그아웃
========================================================= */
.partner-mypage-logout {
  display: flex;
  justify-content: center;

  margin-top: 185px;
}

.partner-logout-button {
  width: 128px;
  height: 49px;

  border-radius: 11px;
}


/* =========================================================
   768px 이하
========================================================= */
@media screen and (max-width: 768px) {
  .partner-mypage-page .member-heading {
    margin-bottom: 52px;
  }

  .partner-mypage-menu {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .partner-mypage-card {
    min-height: 100px;
  }

  .partner-mypage-card__arrow {
    display: block;
  }

  .partner-mypage-logout {
    margin-top: 110px;
  }
}


/* =========================================================
   작은 모바일
========================================================= */
@media screen and (max-width: 480px) {
  .partner-mypage-page .member-heading {
    margin-bottom: 42px;
  }

  .partner-profile-summary__image {
    width: 52px;
    height: 52px;
  }

  .partner-profile-summary__content {
    margin-left: 13px;
  }

  .partner-mypage-menu {
    margin-top: 28px;
  }

  .partner-mypage-card {
    min-height: 94px;
    padding: 16px 18px;
  }

  .partner-mypage-card__icon {
    width: 50px;
    height: 50px;
  }

  .partner-mypage-card__icon svg {
    width: 27px;
    height: 27px;
  }

  .partner-mypage-card__content {
    margin-left: 14px;
    padding-right: 22px;
  }

  .partner-mypage-card__content > span br {
    display: none;
  }

  .partner-mypage-logout {
    margin-top: 80px;
  }

  .partner-logout-button {
    width: 100%;
    max-width: 180px;
  }
}




/* =========================================================
   파트너 프로필 상세페이지
========================================================= */
.partner-profile-page {
  width: 100%;
}

.partner-profile-section {
  width: 100%;
  padding: 0px 20px 60px;
}

.partner-profile-inner {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.partner-profile-heading {
  margin-bottom: 48px;
  text-align: center;
}


/* =========================================================
   업체 대표 이미지
========================================================= */
.partner-profile-cover {
  width: 100%;
  aspect-ratio: 1.8 / 1;

  overflow: hidden;

  background-color: #eeeeee;
  border-radius: 12px;
}

.partner-profile-cover img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.partner-profile-cover:hover img {
  transform: scale(1.025);
}


/* =========================================================
   업체 기본정보
========================================================= */
.partner-company-summary {
  margin-top: 26px;
  padding: 0 12px;
}

.partner-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  min-height: 28px;
  padding: 0 10px;

  color: #ffffff;
  background-color: #0aa8ec;
  border-radius: 4px;
}

.partner-verified-badge__icon {
  display: inline-flex;

  width: 17px;
  height: 17px;
}

.partner-verified-badge__icon svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-company-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 14px;
}

.partner-company-summary__head h2 {
  margin: 0;

  color: #111111;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.partner-company-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  flex: 0 0 auto;
}

.partner-company-rating span {
  color: #ffd000;
  font-size: 21px;
  line-height: 1;
}

.partner-company-rating strong {
  color: #111111;
}

.partner-company-location {
  display: flex;
  align-items: center;
  gap: 7px;

  margin: 12px 0 0;
}

.partner-company-location span {
  display: inline-flex;

  width: 18px;
  height: 18px;

  color: #aab4c1;
}

.partner-company-location svg {
  width: 100%;
  height: 100%;

  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.3;
}


/* =========================================================
   탭
========================================================= */
.partner-profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  margin-top: 43px;

  border-bottom: 1px solid #dddddd;
}

.partner-profile-tab {
  position: relative;

  height: 57px;

  color: #999999;
  background-color: transparent;
  border: 0;

  transition: color 0.2s ease;
}

.partner-profile-tab::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;

  height: 2px;

  background-color: transparent;

  transition: background-color 0.2s ease;
}

.partner-profile-tab:hover,
.partner-profile-tab:focus-visible {
  color: #222222;
}

.partner-profile-tab.is-active {
  color: #111111;
}

.partner-profile-tab.is-active::after {
  background-color: #111111;
}


/* =========================================================
   탭 콘텐츠
========================================================= */
.partner-profile-panel {
  padding: 38px 12px 0;
}

.partner-profile-panel[hidden] {
  display: none;
}

.partner-profile-panel.is-active {
  animation: partnerPanelFade 0.35s ease both;
}

@keyframes partnerPanelFade {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   업체 소개
========================================================= */
.partner-introduction h3 {
  margin: 0;

  color: #222222;
}

.partner-introduction__text {
  margin-top: 25px;

  color: #555555;
  line-height: 2;
}

.partner-introduction__text p {
  margin: 0;
}

.partner-profile-edit {
  display: flex;
  justify-content: center;

  margin-top: 65px;
}

.partner-profile-edit__button {
  width: 125px;
  height: 48px;

  border-radius: 10px;
}


/* =========================================================
   파트너 리뷰
========================================================= */
.partner-review-list {
  width: 100%;
}

.partner-review-item {
  padding: 32px 0;

  border-bottom: 1px solid #e5e5e5;
}

.partner-review-item:first-child {
  padding-top: 10px;
}

.partner-review-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.partner-review-item__summary {
  flex: 1;
  min-width: 0;
}

.partner-review-item__summary h3 {
  margin: 0;

  color: #222222;
}

.partner-review-item__meta {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-top: 12px;
}

.partner-review-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.partner-review-rating span {
  color: #0aa8ec;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 1;
}

.partner-review-rating strong {
  color: #0aa8ec;
}

.partner-review-item__image {
  flex: 0 0 auto;

  width: 100px;
  height: 100px;

  overflow: hidden;

  background-color: #eeeeee;
  border-radius: 9px;
}

.partner-review-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 리뷰 금액 */
.partner-review-price {
  margin: 28px 0 0;
  padding: 17px 20px;

  background-color: #f7f7f7;
  border-radius: 10px;
}

.partner-review-price > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 34px;
}

.partner-review-price dt {
  color: #555555;
}

.partner-review-price dd {
  margin: 0;

  color: #555555;
  text-align: right;
}

.partner-review-price__sale {
  color: #0aa8ec !important;
}


/* =========================================================
   모바일
========================================================= */
@media screen and (max-width: 768px) {
  .partner-profile-section {
    padding-top: 0px;
  }

  .partner-profile-inner {
    max-width: 600px;
  }
}

@media screen and (max-width: 520px) {
  .partner-profile-section {
    padding: 43px 15px 100px;
  }

  .partner-profile-heading {
    margin-bottom: 38px;
  }

  .partner-profile-cover {
    border-radius: 10px;
  }

  .partner-company-summary {
    padding: 0 5px;
  }

  .partner-company-summary__head {
    align-items: flex-start;
  }

  .partner-profile-tabs {
    margin-top: 35px;
  }

  .partner-profile-tab {
    height: 53px;
  }

  .partner-profile-panel {
    padding: 31px 5px 0;
  }

  .partner-introduction__text {
    margin-top: 20px;
    line-height: 1.85;
  }

  .partner-profile-edit {
    margin-top: 48px;
  }

  .partner-review-item {
    padding: 28px 0;
  }

  .partner-review-item__head {
    gap: 16px;
  }

  .partner-review-item__image {
    width: 88px;
    height: 88px;
  }

  .partner-review-item__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .partner-review-price {
    margin-top: 23px;
    padding: 15px 16px;
  }
}



/* =========================================================
   파트너 정보수정 페이지
========================================================= */
.partner-profile-edit-page {
  width: 100%;
}

.partner-profile-edit-page .partner-profile-edit-inner {
  max-width: 540px;
}

.partner-profile-edit-heading {
  margin-bottom: 48px;
  text-align: center;
}

.partner-edit-form {
  width: 100%;
}


/* =========================================================
   대표 이미지 변경
========================================================= */
.partner-edit-cover {
  position: relative;

  width: 100%;
  aspect-ratio: 1.8 / 1;

  overflow: hidden;

  background-color: #eeeeee;
  border-radius: 12px;
}

.partner-edit-cover img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.partner-edit-cover__button {
  position: absolute;
  top: 17px;
  right: 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 96px;
  height: 34px;
  padding: 0 15px;

  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 18px;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.partner-edit-cover__button:hover,
.partner-edit-cover__button:focus-visible {
  background-color: var(--color-point);
  transform: translateY(-2px);
}

.partner-image-message {
  margin: 8px 0 0;
}


/* =========================================================
   정보 섹션
========================================================= */
.partner-edit-section {
  margin-top: 32px;
  padding-top: 29px;

  border-top: 1px solid #e5e5e5;
}

.partner-edit-section--basic {
  margin-top: 23px;
  padding-top: 0;

  border-top: 0;
}

.partner-edit-section__title {
  display: block;

  margin: 0 0 20px;

  color: #222222;
  line-height: 1.4;
  letter-spacing: -0.04em;
}


/* 정보 목록 */
.partner-edit-info-list {
  margin: 0;
}

.partner-edit-info-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  align-items: center;
  gap: 22px;

  min-height: 50px;
}

.partner-edit-info-row dt,
.partner-edit-info-row dd {
  margin: 0;
}

.partner-edit-info-row dd {
  color: #333333;
  text-align: right;
  word-break: keep-all;
}

.partner-edit-info-row--address {
  align-items: flex-start;

  padding: 16px 0;
}

.partner-edit-info-row--address dd {
  line-height: 1.55;
}


/* =========================================================
   소개글
========================================================= */
.partner-introduction-textarea {
  min-height: 255px;

  line-height: 1.8;
  border-radius: 12px;
}

.partner-text-count {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 8px;
}

.partner-text-count strong {
  color: var(--color-point);
}


/* =========================================================
   비밀번호
========================================================= */
.partner-password-confirm-group {
  margin-top: 31px !important;
}

.partner-password-status {
  margin-top: 9px;
}


/* =========================================================
   안내 문구
========================================================= */
.partner-edit-notice {
  margin: 43px 0 0;

  line-height: 1.65;
}

.partner-edit-notice a {
  color: #1687d9;
  font-weight: 700;
}

.partner-edit-form-message {
  margin-top: 12px;
}


/* =========================================================
   저장 버튼
========================================================= */
.partner-edit-submit-area {
  display: flex;
  justify-content: center;

  margin-top: 37px;
}

.partner-edit-submit {
  width: 125px;
  height: 49px;

  border-radius: 10px;
}


/* =========================================================
   모바일
========================================================= */
@media screen and (max-width: 520px) {
  .partner-profile-edit-heading {
    margin-bottom: 38px;
  }

  .partner-edit-cover {
    border-radius: 10px;
  }

  .partner-edit-cover__button {
    top: 12px;
    right: 12px;

    min-width: 88px;
    height: 32px;
  }

  .partner-edit-section {
    margin-top: 27px;
    padding-top: 25px;
  }

  .partner-edit-info-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 15px;

    min-height: 47px;
  }

  .partner-edit-info-row--address {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .partner-introduction-textarea {
    min-height: 220px;
  }

  .partner-edit-notice {
    margin-top: 36px;
  }

  .partner-edit-submit-area {
    margin-top: 32px;
  }

  .partner-edit-submit {
    width: 100%;
    max-width: 180px;
  }
}



/* =========================================================
   파트너 매입내역 리스트
========================================================= */
.partner-purchase-list-page {
  width: 100%;
}

.partner-purchase-list-section {
  width: 100%;
  padding: 0px 0 60px;
}


/* =========================================================
   제목
========================================================= */
.partner-purchase-list-heading {
  text-align: center;
}

.partner-purchase-list-heading h1 {
  margin: 0;

  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.06em;
}

.partner-purchase-list-heading p {
  margin: 8px 0 0;

  line-height: 1.5;
}


/* =========================================================
   매입 목록
========================================================= */
.partner-purchase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  margin-top: 20px;
}

.partner-purchase-item {
  min-width: 0;
  padding: 36px 0;

  border-bottom: 1px solid #dddddd;
}

.partner-purchase-item:nth-child(odd) {
  padding-right: 34px;
}

.partner-purchase-item:nth-child(even) {
  padding-left: 34px;
}

.partner-purchase-item__link {
  display: flex;
  align-items: center;

  min-width: 0;

  transition: transform 0.22s ease;
}

.partner-purchase-item__link:hover,
.partner-purchase-item__link:focus-visible {
  transform: translateY(-3px);
}


/* 상품 이미지 */
.partner-purchase-item__image {
  flex: 0 0 auto;

  width: 110px;
  height: 110px;

  overflow: hidden;

  background-color: #eeeeee;
  border-radius: 10px;
}

.partner-purchase-item__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.partner-purchase-item:hover .partner-purchase-item__image img {
  transform: scale(1.045);
}


/* 상품 내용 */
.partner-purchase-item__content {
  flex: 1;
  min-width: 0;

  margin-left: 20px;
}

.partner-purchase-item__content h2 {
  margin: 0;

  overflow: hidden;

  color: #111111;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.partner-purchase-item__date {
  margin: 8px 0 0;

  color: #ff4b4b;
  line-height: 1.4;
}

.partner-purchase-item__price {
  display: block;

  margin-top: 10px;

  color: #111111;
  line-height: 1.3;
  white-space: nowrap;
}


/* =========================================================
   하단 마이페이지 버튼
========================================================= */
.partner-purchase-list-bottom {
  display: flex;
  justify-content: center;

  margin-top: 58px;
}

.partner-purchase-list-button {
  width: 128px;
  height: 49px;

  border-radius: 10px;
}


/* =========================================================
   1024px 이하
========================================================= */
@media screen and (max-width: 1024px) {
  .partner-purchase-item:nth-child(odd) {
    padding-right: 22px;
  }

  .partner-purchase-item:nth-child(even) {
    padding-left: 22px;
  }

  .partner-purchase-item__image {
    width: 96px;
    height: 96px;
  }

  .partner-purchase-item__content {
    margin-left: 16px;
  }
}


/* =========================================================
   768px 이하
========================================================= */
@media screen and (max-width: 768px) {
  .partner-purchase-list-section {
    padding: 58px 0 100px;
  }

  .partner-purchase-list {
    grid-template-columns: 1fr;

    margin-top: 46px;
  }

  .partner-purchase-item,
  .partner-purchase-item:nth-child(odd),
  .partner-purchase-item:nth-child(even) {
    padding: 28px 0;
  }

  .partner-purchase-item__image {
    width: 105px;
    height: 105px;
  }
}


/* =========================================================
   작은 모바일
========================================================= */
@media screen and (max-width: 520px) {
  .partner-purchase-list-section {
    padding-top: 0px;
  }

  .partner-purchase-list {
    margin-top: 38px;
  }

  .partner-purchase-item {
    padding: 24px 0;
  }

  .partner-purchase-item__image {
    width: 88px;
    height: 88px;
  }

  .partner-purchase-item__content {
    margin-left: 14px;
  }

  .partner-purchase-item__content h2 {
    white-space: normal;
  }

  .partner-purchase-item__date {
    margin-top: 6px;
  }

  .partner-purchase-item__price {
    margin-top: 8px;
  }

  .partner-purchase-list-bottom {
    margin-top: 45px;
  }

  .partner-purchase-list-button {
    width: 100%;
    max-width: 180px;
  }
}