/* 털보네 공통 스타일 — Figma 기준 */
/* 디자인 토큰(변수)은 css/tokens.css 에서 관리 */

body {
  font-family: var(--font);
  color: var(--mute-1);
  background: var(--white);
}

#total-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.main {
  flex: 1;
  width: 100%;
}

.main__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* LINE-BANNER */
.line-banner {
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.line-banner__inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
}

.line-banner__viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.line-banner__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.line-banner__slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
}

.line-banner__link {
  display: block;
  width: 100%;
  max-width: none;
}

.line-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
  vertical-align: middle;
}

.line-banner__text {
  line-height: 1.3;
}

.line-banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  opacity: 0.6;
}

.line-banner__arrow--prev {
  left: 0;
}

.line-banner__arrow--next {
  right: 0;
}

/* PC: 띠배너 1920 기준으로 채우고, 화살표는 양끝이 아닌 중앙 그래픽 양옆 */
@media (min-width: 1280px) {
  .line-banner {
    justify-content: center;
  }

  .line-banner__inner {
    max-width: 1920px;
    width: 100%;
    padding: 0;
  }

  .line-banner__slide {
    justify-content: center;
  }

  .line-banner__arrow--prev {
    left: calc(50% - 460px);
    right: auto;
    transform: translate(-100%, -50%);
  }

  .line-banner__arrow--next {
    left: calc(50% + 460px);
    right: auto;
    transform: translateY(-50%);
  }
}

/* HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  position: relative;
  z-index: 100;
}

.header-top {
  border-bottom: 1px solid var(--mute-6);
  background: rgba(255, 255, 255, 0.9);
}

.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 37px;
  font-size: 12px;
  color: var(--mute-3);
}

.util {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.util__item {
  display: flex;
  align-items: center;
  gap: 0;
}

.util__sep {
  width: 1px;
  height: 14px;
  background: var(--mute-6);
  margin: 0 9px;
  flex-shrink: 0;
}

.header-top__inner .util a {
  color: inherit;
  text-decoration: none;
}

.util a:hover {
  text-decoration: underline;
}

.util__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  margin-left: 6px;
  border-radius: 20px;
  background: var(--mute-1);
  color: var(--white);
  font-size: 12px;
  line-height: 1;
}

.header-logo {
  padding: 10px;
}

.header-logo__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 81px;
}

.header-logo__link img {
  width: 290px;
  height: auto;
}

.header-nav-wrap {
  border-top: 1px solid var(--mute-6);
  border-bottom: 1px solid var(--mute-6);
  background: rgba(255, 255, 255, 0.9);
  position: relative;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.header-nav__menu-btn {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--mute-7);
  display: none;
  align-items: center;
  justify-content: center;
}

.header-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
  font-size: 18px;
}

.header-nav__link:hover {
  text-decoration: underline;
}

.header-search {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  max-width: 100%;
  padding: 10px 20px;
  background: var(--mute-7);
  border-radius: 30px;
}

.header-search__placeholder {
  font-size: 14px;
  color: var(--mute-3);
}
.header-search__input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--mute-1);
  font-family: var(--font);
}
.header-search__input::placeholder {
  color: var(--mute-3);
}

.header-search__btn {
  flex-shrink: 0;
}

/* Mega menu */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--mute-7);
  border-top: 1px solid var(--mute-6);
  border-bottom: 1px solid var(--mute-6);
  padding: 40px 0 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.header-nav-wrap:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu__cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 16px;
  padding: 0 60px 0 152px;
  max-width: 1280px;
  margin: 0 auto;
}

.mega-menu__col {
  min-width: 70px;
}

.mega-menu__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--mute-1);
  margin: 0 0 20px;
  text-decoration: none;
  display: inline-block;
}

.mega-menu__title:hover {
  text-decoration: underline;
}

.mega-menu__subs {
  font-size: 16px;
  color: var(--mute-2);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
}

.mega-menu__rule {
  height: 1px;
  background: var(--mute-6);
  margin: 20px auto;
  max-width: 1060px;
  width: 100%;
}

.mega-menu__community {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 152px;
  flex-wrap: wrap;
}

.mega-menu__comm-head {
  font-size: 16px;
  font-weight: 500;
}

.mega-menu__comm-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--mute-2);
}

.mega-menu__comm-links a:hover {
  text-decoration: underline;
}

.mega-menu__dot {
  display: inline-flex;
  align-items: center;
}

/* Footer — mobile-first */
.site-footer {
  background: var(--mute-6);
  padding: 40px var(--container-px);
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1440px;
}

.site-footer__brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.site-footer__block {
  font-size: 14px;
  color: var(--mute-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.site-footer__line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__pipe {
  width: 1px;
  height: 14px;
  background: var(--mute-4);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 14px;
  color: var(--mute-3);
  margin-bottom: 12px;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__copy {
  font-size: 12px;
  color: var(--mute-3);
}

.site-footer__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--mute-6);
}

.site-footer__h {
  font-size: 18px;
  font-weight: 700;
}

.site-footer__sub {
  font-size: 14px;
  color: var(--mute-3);
}

/* 매장위치 — Figma node 52:2077 */
.site-footer__col--store .site-footer__head {
  border-bottom-color: #dddddd;
}

.site-footer__col--store .site-footer__sub {
  color: var(--mute-2);
}

.site-footer__store-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__store-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--mute-2);
  line-height: 1.8;
}

.site-footer__btn-more {
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px 10px;
  border: 1px solid var(--mute-4);
  font-size: 14px;
  color: var(--mute-1);
}

.site-footer__btn-more:hover {
  background: var(--white);
}

.site-footer__tel {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.site-footer__hours {
  font-size: 14px;
  color: var(--mute-3);
  line-height: 1.8;
}

.site-footer__acc-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.site-footer__acc-num {
  font-size: 14px;
  color: var(--mute-3);
}

/* Floating widgets */
.float-widgets {
  position: fixed;
  right: 23px;
  top: 277px;
  z-index: 90;
  width: 197px;
}

.float-widgets__recent {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 12px;
}

.float-widgets__recent-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  margin: 0;
  box-sizing: border-box;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.float-widgets__recent-chevron {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.float-widgets__recent.is-collapsed .float-widgets__recent-list {
  display: none;
}

.float-widgets__recent-list {
  padding: 0 10px 10px;
}

.float-widgets__recent-row {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.float-widgets__thumb img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

.float-widgets__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.float-widgets__name {
  color: var(--mute-1);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.float-widgets__price {
  font-size: 12px;
  color: var(--mute-3);
}

.float-widgets__sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: fixed;
  right: 23px;
  top: 616px;
  width: 60px;
}

.float-widgets__sns-btn {
  width: 52px;
  height: 52px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-widgets__sns-btn--naver {
  background: #33c854;
}

.float-widgets__sns-btn--ig {
  background: linear-gradient(225deg, #c833ad 19%, #f00 48%, #ffc300 85%);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.float-widgets__sns-btn--yt {
  background: #e43d3d;
}

.float-widgets__top {
  width: 34px;
  height: 34px;
  padding: 0;
}

/* 모바일·태블릿: 최근 본 상품 위젯 숨김, SNS 버튼은 우하단 고정 표시 */
@media (max-width: 1279px) {
  .float-widgets__recent {
    display: none;
  }

  .float-widgets__sns {
    position: fixed;
    right: 12px;
    bottom: 76px;
    top: auto;
    width: 40px;
    z-index: var(--z-float);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .float-widgets__sns-btn {
    width: 40px;
    height: 40px;
  }

  .float-widgets__top {
    width: 30px;
    height: 30px;
  }
}

/* Index — hero slider */
.hero-main {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: 650px;
  overflow: hidden;
  background: #111;
}

.hero-main__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-main__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-color: #111;
  overflow: hidden;
}

.hero-main__picture,
.hero-main__slide > .hero-main__slide-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-main__slide-img {
  object-fit: cover;
  object-position: center;
}

.hero-main__slide-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-main__tabs {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-main__tab {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.25s,
    transform 0.25s;
}

.hero-main__tab--active {
  background: var(--white);
  transform: scale(1.4);
}

.hero-main__arrows {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 3;
  pointer-events: none;
}

.hero-main__arrows button {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hero-main__arrows button:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .hero-main {
    height: 320px;
  }

  .hero-main__arrows button {
    width: 36px;
    height: 36px;
  }
}

/* ===== Mobile Header — mobile-first ===== */

/* header-top: 모바일에서 숨김 */
.header-top {
  display: none;
}

/* header-logo: 모바일 */
.header-logo {
  padding: 0;
  border-bottom: 1px solid var(--mute-6);
}

.header-logo__inner {
  min-height: 56px;
  justify-content: space-between;
  gap: 12px;
}

.header-logo__link img {
  width: 160px;
  height: auto;
}

/* header-nav: 모바일 — 카테고리 탭 */
.header-nav-wrap {
  border-top: 0;
  background: var(--white);
}

.header-nav {
  padding: 0;
  min-height: 48px;
  overflow-x: auto;
  gap: 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.header-nav__menu-btn {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
}

.header-nav__list {
  display: flex;
  flex: 0 0 auto;
  min-width: 100%;
  width: max-content;
  justify-content: space-around;
  gap: 0;
  font-size: 15px;
}

.header-nav__item {
  flex: 0 0 auto;
}

.header-nav__link {
  display: block;
  padding: 13px 14px 12px;
  white-space: nowrap;
  text-align: center;
}

.header-nav > .header-search {
  display: none;
}

.mobile-nav-panel__search {
  width: auto;
  margin: 0 20px 16px;
}

.mobile-nav-panel__search .header-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line-banner: 모바일 화살표 오버레이 */
.line-banner__arrow {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.line-banner__arrow--prev {
  left: 8px;
}
.line-banner__arrow--next {
  right: 8px;
}

/* PC 메가메뉴 모바일 숨김 */
.mega-menu {
  display: none;
}

/* ── 드로어 오버레이 ──────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
}

.mobile-nav-overlay.is-open {
  display: block;
}

/* body 스크롤 잠금 */
body.drawer-open {
  overflow: hidden;
}

/* ── 드로어 패널 (오른쪽 슬라이드) — transform + visibility ── */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 60px);
  max-width: 295px;
  height: 100%;
  background: var(--white);
  z-index: var(--z-drawer);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform var(--transition-slow),
    visibility var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.mobile-nav-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

/* 드로어 헤더 (X 버튼) */
.mobile-nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px 12px;
  flex-shrink: 0;
}

.mobile-nav-panel__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mute-1);
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 로그인 사용자 블록 */
.mobile-nav-panel__user {
  padding: 0 20px 20px;
  flex-shrink: 0;
}

.mobile-nav-panel__avatar {
  margin-bottom: 10px;
}

.mobile-nav-panel__name {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 4px;
}

.mobile-nav-panel__grade {
  font-size: var(--fs-base);
  color: var(--mute-3);
  margin-bottom: 12px;
}

.mobile-nav-panel__points {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
}

.mobile-nav-panel__points-label {
  color: var(--mute-2);
}

.mobile-nav-panel__points-val {
  font-weight: 700;
}

.mobile-nav-panel__points-btn {
  margin-left: auto;
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border: 1px solid var(--mute-4);
  color: var(--mute-2);
  white-space: nowrap;
}

/* 비로그인 인증 블록 */
.mobile-nav-panel__auth {
  padding: 12px 20px 20px;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-nav-panel__auth-link {
  font-size: var(--fs-base);
  color: var(--mute-1);
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-panel__auth-link:hover {
  text-decoration: underline;
}

/* 구분선 */
.mobile-nav-panel__rule {
  border: none;
  border-top: 1px solid var(--mute-6);
  margin: 0;
  flex-shrink: 0;
}

/* 섹션 */
.mobile-nav-panel__section {
  padding: 20px 20px 16px;
  flex-shrink: 0;
}

.mobile-nav-panel__section-title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin: 0 0 16px;
}

/* 카테고리 2컬럼 그리드 */
.mobile-nav-panel__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.mobile-nav-panel__cat-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-panel__cat-title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--mute-1);
  text-decoration: none;
  line-height: 1.3;
}

.mobile-nav-panel__cat-sub {
  font-size: var(--fs-base);
  color: var(--mute-3);
  text-decoration: none;
}

.mobile-nav-panel__cat-title:hover,
.mobile-nav-panel__cat-sub:hover {
  text-decoration: underline;
}

/* 커뮤니티 링크 */
.mobile-nav-panel__comm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-base);
}

.mobile-nav-panel__comm-link {
  color: var(--mute-2);
  text-decoration: none;
}

.mobile-nav-panel__comm-link:hover {
  text-decoration: underline;
}

.mobile-nav-panel__comm-dot {
  color: var(--mute-4);
}

/* 드로어 하단 로그아웃 링크 */
.mobile-nav-panel__footer-links {
  margin-top: auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--mute-6);
  font-size: var(--fs-base);
  color: var(--mute-3);
  flex-shrink: 0;
}

.mobile-nav-panel__footer-links a {
  color: var(--mute-2);
  text-decoration: none;
}

.mobile-nav-panel__footer-links a:hover {
  text-decoration: underline;
}

.mobile-nav-panel__footer-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--mute-4);
}

/* ── 하단 탭바 ──────────────────────────────────────────── */
.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  border-top: 1px solid var(--mute-6);
  display: flex;
  z-index: var(--z-header);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

.mobile-tab-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  color: var(--mute-3);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}

.mobile-tab-bar__item.is-active {
  color: var(--mute-1);
}

.mobile-tab-bar__icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.mobile-tab-bar__icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-tab-bar__badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  border-radius: var(--radius-full);
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 하단 탭바 공간 확보 + 가로 스크롤 방지 */
html {
  overflow-x: hidden;
}

body {
  padding-bottom: 60px;
  overflow-x: hidden;
}

/* Home sections — mobile-first */
.section-block {
  padding: 40px 0;
}

.section-block--alt {
  background: var(--mute-7);
  /* main__container 안에서도 배경이 화면 전체 폭으로 이어지도록 */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.home-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.home-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.home-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-card__img {
  display: block;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.home-news__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.home-news__list {
  border-top: 1px solid var(--mute-6);
}

.home-news__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--mute-6);
}

.home-news__row a {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-news__date {
  color: var(--mute-3);
  flex-shrink: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title p {
  font-size: 16px;
  color: var(--mute-3);
}

/* .product-card 기본 — max-width는 style.desktop.css에서 설정 */

.product-card__img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  background: var(--mute-7);
  border-radius: 10px;
}

.product-card__body {
  padding: 15px;
  text-align: center;
}

.product-card__meta {
  font-size: 14px;
  color: var(--mute-3);
  margin-bottom: 8px;
}

.product-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--mute-3);
}

/* Products list */
.page-head {
  padding: 50px 0 40px;
}

.page-head__hero {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-head__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.pl-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.pl-title-row h1 {
  font-size: 28px;
  font-weight: 700;
}

.pl-count {
  display: flex;
  gap: 5px;
  font-size: 18px;
}

.pl-count span:nth-child(odd) {
  color: var(--mute-3);
}

.pl-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.pl-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pl-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pl-filters .pl-filter-link {
  display: flex;
  width: 200px;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  font-family: Pretendard, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
  color: var(--mute-1, #333);
  background: var(--white, #fff);
  border: none;
  cursor: pointer;
}

.pl-filters .pl-filter-link.is-active {
  color: var(--WHITE, #fff);
  background: var(--mute-1, #333);
}

.pl-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: var(--mute-3);
}

.pl-sort .sep {
  width: 1px;
  height: 14px;
  background: var(--mute-6);
}

/* Product grid — mobile-first 2컬럼 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  display: block;
  max-width: none;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--mute-3);
}

.pagination a:hover,
.pagination .is-current {
  color: var(--mute-1);
  font-weight: 700;
}

.pagination__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--mute-6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mute-3);
  font-size: 12px;
}

.pagination__arrow:hover {
  border-color: var(--mute-4);
  color: var(--mute-1);
}

/* Product detail */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 50px 0;
  min-width: 0;
}

/* Grid 기본 min-width:auto 는 자식의 최소 콘텐츠 너비로 열이 팽창해 부모를 넘깁니다 */
.pd-layout > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: 1fr;
  }
}

.pd-gallery__main {
  aspect-ratio: 1;
  background: var(--mute-7);
  border-radius: 10px;
  overflow: hidden;
}

.pd-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-buy__badge {
  display: inline-block;
  background: #c00;
  color: var(--white);
  font-size: 12px;
  padding: 4px 8px;
  margin-bottom: 12px;
}

.pd-buy h1 {
  font-size: 22px;
  margin-bottom: 16px;
}

.pd-buy__price {
  font-size: 24px;
  font-weight: 700;
  color: #c00;
  margin-bottom: 20px;
}

.pd-buy__ship {
  font-size: 14px;
  color: var(--mute-3);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pd-select {
  margin-bottom: 16px;
}

.pd-select label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.pd-select select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--mute-6);
}

.pd-lines {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--mute-7);
  font-size: 14px;
}

.pd-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  border: 1px solid var(--mute-1);
  min-width: 140px;
}

.btn--primary {
  background: var(--mute-1);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--mute-1);
}

.pd-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid var(--mute-6);
  margin: 40px 0;
  padding-bottom: 16px;
}

.pd-tabs a {
  font-size: 16px;
  color: var(--mute-3);
}

.pd-tabs a.is-active {
  color: var(--mute-1);
  font-weight: 700;
}

.pd-detail-block {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute-2);
}

/* Cart */
.cart-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  padding: 40px 0 30px;
}

.cart-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--mute-3);
}

.cart-table {
  width: 100%;
  min-width: 960px;
  font-size: 14px;
}

.cart-table th,
.cart-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--mute-6);
  vertical-align: middle;
  text-align: center;
}

.cart-table th {
  background: var(--mute-7);
  font-weight: 500;
}

.cart-table .left {
  text-align: left;
}

.cart-product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.cart-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mute-6);
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--mute-7);
}

.cart-qty input {
  width: 48px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--mute-6);
  border-right: 1px solid var(--mute-6);
}

.cart-actions-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--mute-6);
  margin-top: 8px;
}

.cart-action-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}

.cart-action-bar__left label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.cart-action-bar__sep {
  width: 1px;
  height: 14px;
  background: var(--mute-6);
  flex-shrink: 0;
}

.cart-action-btn {
  font-size: 14px;
  color: var(--mute-2);
  padding: 0;
}

.cart-action-btn:hover {
  text-decoration: underline;
}

.cart-action-bar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mute-2);
}

.cart-action-bar__right strong {
  color: var(--mute-1);
}

.cart-action-bar__right .cart-bar-eq {
  font-weight: 700;
  font-size: 16px;
  color: var(--mute-1);
}

.cart-totals {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  margin: 40px auto;
  border-top: 1px solid var(--mute-3);
  border-bottom: 1px solid var(--mute-3);
  text-align: center;
}

.cart-totals__col {
  padding: 20px 10px;
}

.cart-totals__col--final {
  font-weight: 700;
}

.cart-totals__label {
  display: block;
  font-size: 14px;
  color: var(--mute-2);
  margin-bottom: 12px;
}

.cart-totals__value {
  font-size: 18px;
  font-weight: 700;
}

.cart-totals__value--final {
  font-size: 20px;
  color: var(--mute-1);
}

.cart-totals__op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--mute-3);
  border-left: 1px solid var(--mute-6);
  border-right: 1px solid var(--mute-6);
}

.cart-bottom-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  margin-top: 40px;
}

.cart-bottom-btns .btn {
  width: 300px;
  max-width: 100%;
  padding: 10px 24px;
  border-radius: 3px;
}

.btn--wide-gray {
  background: var(--mute-3);
  color: var(--white);
  border-color: var(--mute-3);
}

/* Checkout header */
.chk-header {
  border-bottom: 1px solid var(--mute-6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  background: var(--white);
}

.chk-header__back {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chk-header__logo {
  display: block;
}

.chk-header__logo img {
  width: 130px;
  height: auto;
}

.chk-page-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 20px 0 0;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Checkout */
.checkout-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.checkout-page h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 32px;
}

.chk-section {
  background: var(--white);
  border: 1px solid var(--mute-6);
  padding: 24px;
  margin-bottom: 20px;
}

.chk-section h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.chk-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.chk-tabs button {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--mute-6);
  background: var(--mute-7);
}

.chk-tabs button.is-active {
  background: var(--white);
  border-color: var(--mute-1);
  font-weight: 700;
}

.find-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.find-subtabs button {
  flex: 1;
  min-width: 90px;
  padding: 10px 8px;
  font-size: 13px;
  border: 1px solid var(--mute-6);
  background: var(--mute-7);
}

.find-subtabs button.is-active {
  background: var(--white);
  border-color: var(--mute-1);
  font-weight: 700;
}

.find-result-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--mute-6);
  background: var(--mute-7);
  font-size: 14px;
  line-height: 1.6;
}

.find-result-card__row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.find-result-card__row:last-child {
  margin-bottom: 0;
}

.find-result-card__label {
  flex: 0 0 4.5em;
  color: var(--mute-2);
  font-size: 13px;
}

.find-result-card__summary {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--mute-6);
  font-weight: 600;
}

.find-pw-plain {
  margin-top: 12px;
  padding: 14px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--white);
  border: 1px dashed var(--mute-1);
}

.chk-field {
  margin-bottom: 14px;
}

.chk-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--mute-2);
}

.chk-field input,
.chk-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mute-6);
}

.chk-pay-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.chk-pay-tabs button {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--mute-6);
  background: var(--mute-7);
  font-size: 14px;
}

.chk-pay-tabs button.is-active {
  background: var(--mute-6);
  color: var(--mute-1);
  border-color: var(--mute-4);
  font-weight: 700;
}

.chk-order-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mute-6);
  align-items: flex-start;
}

.chk-order-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.chk-final-bar {
  background: var(--mute-7);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-top: 12px;
  border-top: 1px solid var(--mute-3);
}

.chk-final-bar .chk-final-amount {
  font-size: 20px;
  font-weight: 700;
}

.chk-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 61px;
  background: var(--mute-1);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.chk-pay-btn .chk-pay-price {
  font-size: 20px;
}

.chk-notices {
  margin-top: 20px;
  padding: 0 4px;
}

.chk-notices li {
  font-size: 12px;
  color: var(--mute-3);
  line-height: 1.6;
  padding-left: 12px;
  position: relative;
}

.chk-notices li::before {
  content: "·";
  position: absolute;
  left: 0;
}

.chk-savings-info {
  font-size: 13px;
  color: var(--mute-3);
  margin-bottom: 10px;
  line-height: 1.6;
}

.chk-savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--mute-6);
}

.chk-info-box {
  background: var(--mute-7);
  border: 1px solid var(--mute-6);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--mute-2);
  margin-bottom: 12px;
  line-height: 1.6;
}

.chk-discount-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chk-discount-row input {
  flex: 1;
  max-width: 200px;
}

.chk-balance-txt {
  font-size: 13px;
  color: var(--mute-3);
  margin-top: 6px;
}

.chk-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.chk-info-table tr {
  border-bottom: 1px solid var(--mute-6);
}

.chk-info-table td {
  padding: 12px 0;
}

.chk-info-table td:last-child {
  text-align: right;
  font-weight: 700;
}

.chk-msg-field {
  margin-top: 20px;
}

.chk-msg-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--mute-2);
}

.chk-msg-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mute-6);
}

/* Order complete */
.oc-wrap {
  max-width: 560px;
  margin: 60px auto;
  padding: 48px 40px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.oc-wrap h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.oc-wrap > p {
  color: var(--mute-3);
  margin-bottom: 32px;
}

.oc-icon {
  width: 145px;
  height: 166px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-icon img {
  width: 145px;
  height: 166px;
  object-fit: contain;
}

.oc-table {
  text-align: left;
  border-top: 2px solid var(--mute-1);
  margin-bottom: 32px;
}

.oc-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mute-6);
  font-size: 15px;
}

.oc-row strong {
  font-weight: 700;
}

.oc-bank-note {
  font-size: 13px;
  color: var(--mute-3);
  line-height: 1.6;
  margin-top: 8px;
}

.oc-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.oc-actions .btn {
  flex: 1;
  min-width: 160px;
  border-radius: 3px;
}

.oc-actions .btn--ghost {
  border-color: var(--mute-3);
}

.oc-actions .btn--primary {
  background: var(--mute-1);
  border-color: var(--mute-1);
}

.oc-logo-foot {
  margin-top: 32px;
}

.oc-logo-foot img {
  width: 130px;
  height: auto;
  margin: 0 auto;
}

/* ============================================================
   JOIN PAGE (회원가입)
   ============================================================ */
.join-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* 인라인 행 (input + 버튼) */
.join-field-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.join-field-row input {
  flex: 1;
  min-width: 0;
}

.join-field-row .btn {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: 13px;
  min-width: auto;
  white-space: nowrap;
  height: 42px;
}

/* 유효성 메시지 */
.join-msg {
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.join-msg.ok {
  color: #297a29;
}
.join-msg.err {
  color: #c00;
}
.join-msg.info {
  color: var(--mute-3);
}

/* 필수/선택 뱃지 */
.req {
  color: #c00;
  font-size: 11px;
  margin-left: 2px;
}

.opt {
  color: var(--mute-3);
  font-size: 11px;
  margin-left: 2px;
}

/* 약관 영역 */
.join-terms {
  background: var(--mute-7);
  border: 1px solid var(--mute-6);
  padding: 20px;
  margin-bottom: 16px;
}

.join-terms-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--mute-6);
  cursor: pointer;
}

.join-terms-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

.join-terms-item label {
  cursor: pointer;
}

.join-terms-item.sub {
  margin-left: 24px;
  font-size: 13px;
  color: var(--mute-2);
}

.join-terms-item a {
  margin-left: auto;
  font-size: 12px;
  color: var(--mute-3);
  text-decoration: underline;
  white-space: nowrap;
}

/* 가입 버튼 */
.join-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: var(--mute-1);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.15s;
}

.join-submit-btn:disabled {
  background: var(--mute-4);
  cursor: not-allowed;
}

/* 약관 모달 */
.join-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.join-modal {
  background: var(--white);
  width: 100%;
  max-width: 460px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.join-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--mute-6);
}

.join-modal__head strong {
  font-size: 15px;
}

.join-modal__head button {
  font-size: 22px;
  color: var(--mute-2);
  line-height: 1;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.join-modal__body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mute-2);
}

/* 아이디/비밀번호 찾기 결과 박스 */
.find-result {
  margin-top: 16px;
  padding: 20px;
  background: var(--mute-7);
  border: 1px solid var(--mute-6);
  text-align: center;
}

.find-result--success {
  background: #f0f8f0;
  border-color: #b8d9b8;
}

.find-result__label {
  font-size: 12px;
  color: var(--mute-3);
  margin-bottom: 8px;
}

.find-result__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--mute-1);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.find-result--success .find-result__value {
  font-size: 16px;
  color: #297a29;
}

.find-result__note {
  font-size: 12px;
  color: var(--mute-3);
  margin-top: 4px;
}

/* 빈 장바구니 */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--mute-3);
  font-size: 16px;
}

/* 행 삭제 버튼 */
.btn-row-delete {
  background: none;
  border: none;
  color: var(--mute-3);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.btn-row-delete:hover {
  color: var(--mute-1);
}

/* 토스트 알림 */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mute-1);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-show {
  opacity: 1;
}
.toast.toast--err {
  background: #c00;
}

/* ============================================================
   인라인 스타일 통합 (반응형·유지보수용)
   ============================================================ */

/* ── checkout ── */
.chk-section__h2--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chk-btn-load-addr {
  font-size: 13px;
  font-weight: 400;
  color: #555;
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 5px 12px;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font);
}
.chk-addr-book-list {
  display: none;
  margin-bottom: 12px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}
.chk-addr-book-list.is-open {
  display: block;
}
.chk-addr-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.chk-btn-addr-search {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 14px;
  min-width: auto;
}
.chk-input-zip {
  max-width: 120px;
}
.chk-input-addr1 {
  margin-bottom: 8px;
}
.chk-ship-msg-custom {
  display: none;
  margin-top: 8px;
}
.chk-ship-msg-custom.is-open {
  display: block;
}
.chk-order-item__thumb {
  border-radius: 5px;
}
.chk-order-item__body {
  flex: 1;
}
.chk-order-item__opt {
  font-size: 13px;
  color: var(--mute-3);
  margin: 4px 0;
}
.chk-order-item__meta {
  font-size: 13px;
  margin-top: 8px;
}
.chk-order-item__price {
  text-align: right;
}
.chk-order-sum-line {
  text-align: right;
  margin-top: 12px;
  font-size: 13px;
  color: var(--mute-3);
}
.chk-btn-point-all {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  min-width: auto;
}
.chk-balance-txt--muted {
  color: var(--mute-3);
}
.chk-bank-info {
  margin-top: 16px;
  display: block;
}
.chk-bank-info.is-hidden {
  display: none;
}
.chk-bank-info__note {
  font-size: 12px;
  color: var(--mute-3);
}
.chk-kispg-info {
  display: none;
  margin-top: 16px;
}
.chk-kispg-info.is-active {
  display: block;
}
.chk-kispg-info__note {
  font-size: 12px;
  color: var(--mute-3);
}
.chk-earn-final-bar {
  margin-top: 0;
  border-top: none;
  border-bottom: 1px solid var(--mute-6);
}
.kispg-mask {
  display: none;
  position: fixed;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.kispg-mask.is-open {
  display: block;
}
.kispg-window {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.kispg-window.is-open {
  display: block;
}
.kispg-frame {
  width: 100%;
  height: 100%;
  border: none;
}
.pay-init-form {
  display: none;
}
.chk-addr-book-empty {
  padding: 12px 16px;
  font-size: 14px;
  color: #999;
}
.chk-addr-book-err {
  padding: 12px 16px;
  font-size: 14px;
  color: #e74c3c;
}
.addr-book-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: #fff;
  border: none;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
}
.addr-book-item__addr {
  color: #777;
  font-size: 13px;
}
.addr-book-item__def {
  color: #e43d3d;
  font-size: 12px;
}

/* ── products ── */
.products-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--mute-3);
}
.products-empty__link {
  display: inline-block;
  margin-top: 16px;
}
.product-card--grid-fluid {
  max-width: none;
}
.product-price--orig {
  text-decoration: line-through;
  color: var(--mute-3);
  font-size: 0.85em;
}

/* ── product detail ── */
.pd-stars {
  color: #f5a623;
}
.pd-select--qty-mt {
  margin-top: 8px;
}
.cart-qty--inline {
  display: inline-flex;
}
.pd-lines--hidden {
  display: none;
}
.pd-btn-wish {
  font-size: 1.4rem;
  padding: 0 14px;
}
.pd-fallback-note {
  font-size: 12px;
  color: var(--mute-3);
  margin-top: 8px;
}
.pd-detail-placeholder {
  color: var(--mute-3);
}
.pd-detail-images {
  display: grid;
  gap: 0;
  margin-top: 0;
}
.pd-detail-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.pd-tab-content--hidden {
  display: none;
}
.pd-reviews__summary--row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-1);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pd-reviews__score {
  font-size: 2.5rem;
  font-weight: 700;
}
.pd-reviews__stars-lg {
  color: #f5a623;
  font-size: 1.2rem;
}
.pd-reviews__count {
  font-size: 0.85rem;
  color: var(--mute-3);
}
.pd-reviews-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pd-review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-1);
}
.pd-review-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.pd-review-item__name {
  margin-left: 8px;
  font-weight: 600;
}
.pd-review-item__date {
  font-size: 0.8rem;
  color: var(--mute-3);
}
.pd-review-item__title {
  font-weight: 600;
  margin: 0 0 6px;
}
.pd-review-item__body {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
}
.pd-reviews__footnote {
  text-align: center;
  margin-top: 24px;
  color: var(--mute-3);
}
.pd-reviews__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--mute-3);
}
.pd-reviews__actions {
  margin-top: 32px;
  text-align: center;
}
.pd-reviews__login-hint {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--mute-3);
}
.pd-qna__top {
  text-align: right;
  margin-bottom: 16px;
}
.btn--pd-qna {
  font-size: 0.9rem;
}
.pd-qna-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pd-qna-item {
  border-bottom: 1px solid var(--line-1);
}
.pd-qna-item__row {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.pd-qna-item__main {
  flex: 1;
  min-width: 0;
}
.pd-qna-item__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.pd-qna-badge-secret {
  font-size: 0.75rem;
  background: var(--mute-2);
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
}
.pd-qna-item__title {
  font-weight: 600;
}
.pd-qna-item__text {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  color: var(--mute-2);
}
.pd-qna-item__meta {
  font-size: 0.8rem;
  color: var(--mute-3);
}
.pd-qna-status {
  font-size: 0.8rem;
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 12px;
}
.pd-qna-status--answered {
  background: #e8f5e9;
  color: #2e7d32;
}
.pd-qna-status--pending {
  background: #fff3e0;
  color: #e65100;
}
.pd-qna-answer {
  background: var(--bg-2, #f8f8f8);
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.pd-qna-answer__head {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--accent, #333);
}
.pd-qna-answer__date {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--mute-3);
  margin-left: 8px;
}
.pd-qna-answer__body {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
}
.pd-qna__footnote {
  text-align: center;
  margin-top: 24px;
  color: var(--mute-3);
}
.pd-qna__empty {
  text-align: center;
  padding: 60px 0;
  color: var(--mute-3);
}
.pd-qna__login-hint {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--mute-3);
}
.pd-guide-placeholder {
  color: var(--mute-3);
}

/* ── cart ── */
.cart-continue-btn {
  margin-top: 20px;
  display: inline-block;
}
.cart-row-link {
  color: inherit;
  text-decoration: none;
}
.cart-row-opt {
  font-size: 13px;
  color: var(--mute-3);
  margin: 4px 0;
}
.cart-label-row {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ── index (메인) ── */
.home-filter-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.home-filter-btn--wide {
  min-width: 100px;
}
.home-filter-btn--narrow {
  min-width: 80px;
}
.home-product-grid--contained {
  max-width: 1238px;
  margin: 0 auto;
}
.home-product-desc-inline {
  display: inline;
  vertical-align: middle;
}

/* ── join_agree ── */
.join-agree__term-consent--mb {
  margin-bottom: 12px;
}
.join-agree__term-consent-question--w {
  min-width: 250px;
}

/* ── mypage dashboard ── */
.mypage-dash-row {
  display: flex;
  align-items: center;
  gap: 26px;
}
.mypage-dash-muted {
  color: #999;
  font-size: 14px;
}
.mypage-wish-item--plain {
  text-decoration: none;
}

/* 공지·마이페이지 테이블 빈 상태 행 */
.table-row-empty-msg {
  justify-content: center;
  color: var(--mute-3);
}
.post-table__delete-link {
  color: #e44;
  text-decoration: none;
}
.review-list__item--empty {
  justify-content: center;
  color: var(--mute-3);
}

/* 이용약관 · 개인정보처리방침 */
.legal-page {
  padding: 40px 0 80px;
}

.legal-page__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--mute-1, #222);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mute-6, #eee);
}

.legal-page__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mute-1, #333);
}

.legal-doc p {
  margin-bottom: 1em;
}

.legal-doc p:last-child {
  margin-bottom: 0;
}

.legal-doc__list {
  margin: 0.5em 0 1em 1.25em;
  padding: 0;
  list-style: disc;
}

.legal-doc__list li {
  margin-bottom: 0.5em;
}

.legal-doc a {
  color: var(--accent, #2563eb);
  text-decoration: underline;
}

.legal-doc a:hover {
  text-decoration: none;
}

/* ── 모바일 공통 수정 (260422_mob_design_issues) ──────────── */
@media (max-width: 1279px) {
  /* Issue 8: product_detail — SNS 버튼을 구매버튼 바 위로 이동 */
  body.page-product-detail .float-widgets__sns {
    bottom: calc(76px + 60px);
  }

  /* Issue 12: 콘텐츠 없을 때 main 영역 최소 높이 */
  .main {
    min-height: calc(100vh - 200px);
  }
}
