@import url('https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* ============================================================
   CROCINI — 럭셔리 가죽 브랜드 스타일시트
   섹션 순서:
     1) 변수, 리셋
     2) 공통 유틸리티
     3) 네비게이션
     4) 히어로
     5) 마퀴 (흐르는 텍스트)
     6) 스탯 섹션
     7) 머티리얼 섹션 (비대칭 그리드)
     8) 헤리티지
     9) 풀블리드 장인정신
    10) 컨택트
    11) 푸터
    12) 스크롤 애니메이션
    13) 반응형 (모바일)
   ============================================================ */


/* ============================================================
   1) 디자인 변수 + 리셋
   ============================================================ */
:root {
  /* 컬러 — 가죽 장인 브랜드 톤 */
  --color-black:  #1C1410;       /* 다크 에스프레소 (순수 블랙 대신) */
  --color-beige:  #EDE6DB;       /* 따뜻한 탄 베이지 */
  --color-cream:  #F7F3ED;       /* 내추럴 아이보리 */
  --color-brown:  #3E2723;       /* 다크 초콜릿 브라운 */
  --color-gold:   #A67C52;       /* 앤틱 브론즈 골드 (깊은 톤) */
  --color-white:  #FFFDF9;       /* 웜 화이트 */
  --color-muted:  #7A6E63;       /* 웜 그레이 (가죽 톤) */
  --color-accent: #8B5E3C;       /* 새들 브라운 (포인트) */

  /* 폰트 */
  --font-serif: 'Noto Sans KR', 'Pretendard', sans-serif;
  --font-sans:  'Noto Sans KR', 'Pretendard', sans-serif;

  /* 여백 */
  --section-padding: 160px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}


img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* ============================================================
   2) 공통 유틸리티
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}

/* 풀블리드 섹션처럼 어두운 배경 위 골드를 더 밝게 */
.section-eyebrow.gold {
  color: var(--color-gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-black);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
}


/* ============================================================
   3) 네비게이션
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 28px 0;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 16px 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}


.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-black);
  transition: color 0.4s ease;
  justify-self: center;
}
.navbar.scrolled .logo {
  color: var(--color-black);
}

/* 우측 클러스터 — 장바구니, 로그인/마이페이지 */
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-right .nav-cart-link,
.nav-right .nav-auth-link {
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: color 0.3s ease;
}
.nav-right a:hover { color: var(--color-gold); }

/* 메인 메뉴 — 햄버거로 토글되는 좌측 슬라이딩 드로어 */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 82vw;
  height: 100vh;
  height: 100svh;
  background-color: var(--color-cream, #f7f3ed);
  padding: 0;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;             /* navbar 위에 위치해서 닫기 X가 햄버거 자리에 정확히 보임 */
}
.nav-menu.open {
  transform: translateX(0);
}

/* 닫기 버튼 — 햄버거와 정확히 같은 위치/크기 */
.nav-close {
  position: absolute;
  top: 28px;
  left: 40px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transform-origin: center;
}
.nav-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-close { left: 16px; }
  .nav-menu-links a { padding-left: 24px; padding-right: 24px; }
}

.nav-menu-links {
  display: flex;
  flex-direction: column;
  padding-top: 110px;
}

.nav-menu-links a {
  font-size: 15px;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--color-black);
  padding: 18px 32px;
  /* 스태거 등장 애니메이션 — 닫혔을 땐 왼쪽으로 이동 + 투명 */
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s ease,
    color 0.2s ease;
}
.nav-menu.open .nav-menu-links a {
  opacity: 1;
  transform: translateX(0);
}
.nav-menu.open .nav-menu-links a:nth-child(1) { transition-delay: 0.18s, 0.18s, 0s, 0s; }
.nav-menu.open .nav-menu-links a:nth-child(2) { transition-delay: 0.28s, 0.28s, 0s, 0s; }
.nav-menu.open .nav-menu-links a:nth-child(3) { transition-delay: 0.38s, 0.38s, 0s, 0s; }

.nav-menu-links a:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--color-gold);
}
.nav-menu-links a.active {
  color: var(--color-gold);
}

/* 드로어 열렸을 때 배경 어둡게 (overlay) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* 햄버거 — 항상 표시 (좌측) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  justify-self: start;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: all 0.3s ease;
}
/* 햄버거 → X 변환 (열린 상태) */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   4) 히어로 — 거대한 타이포 + 풀스크린 가죽 배경
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;       /* iOS Safari 등 — 주소창 변동에 따른 잘림 방지 */
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.6)
  );
}

.hero-handbag-hotspot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 50%;
  z-index: 3;
  display: block;
  cursor: pointer;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 16px rgba(0, 0, 0, 0.45);
  padding: 0 24px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  font-weight: 400;
  margin-bottom: 36px;
  color: var(--color-gold);
  text-transform: uppercase;
}

/* 거대한 헤딩 — 화면을 꽉 채우는 느낌 */
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(80px, 18vw, 260px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0;
}

.hero-tagline {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 3px;
  opacity: 0.9;
  text-transform: uppercase;
  margin-top: 24px;
}

.hero-body {
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

.hero-cta {
  display: inline-block;
  margin-top: 44px;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.hero-cta:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

/* 히어로 필 배지 */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--color-gold);
}


/* 스크롤 인디케이터 */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-size: 10px;
  letter-spacing: 3px;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: var(--color-gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -50%; }
  100% { top: 100%; }
}


/* ============================================================
   5) 마퀴 — 좌우로 무한 흐르는 텍스트
   - track을 -50% 만큼 이동 = 두 번 반복된 콘텐츠가 자연스럽게 이어짐
   ============================================================ */
.marquee {
  background-color: var(--color-black);
  color: var(--color-cream);
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  width: max-content;        /* 콘텐츠 전체 너비를 인식 */
  animation: marquee 32s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: 4px;
  font-style: italic;
}
.marquee-track .dot {
  color: var(--color-gold);
  font-size: 0.4em;
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* 두 세트 중 한 세트 너비만큼 이동 */
}


/* ============================================================
   6) 스탯 섹션 — Bento Grid
   ============================================================ */
.stats {
  background-color: var(--color-cream);
  padding: 120px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 300px 230px;
  gap: 14px;
}

.bento-card {
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-dark {
  background: var(--color-black);
  color: var(--color-white);
  grid-column: 1;
  grid-row: 1 / 3;
}

.bento-light {
  background: var(--color-cream);
  border: 1px solid rgba(0, 0, 0, 0.07);
  grid-column: 2;
  grid-row: 1;
}

.bento-muted {
  background: var(--color-beige);
  grid-column: 3;
  grid-row: 1;
}

.bento-quote {
  background: var(--color-gold);
  grid-column: 2 / 4;
  grid-row: 2;
}

.bento-label {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-gold);
}
.bento-light .bento-label,
.bento-muted .bento-label {
  color: var(--color-muted);
}
.bento-quote .bento-label {
  color: rgba(0, 0, 0, 0.45);
}

/* stat-num은 JS 카운트업용 — bento-num이 시각 스타일 담당 */
.bento-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(80px, 9vw, 140px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -4px;
  margin-bottom: 14px;
  color: var(--color-white);
}
.bento-light .bento-num,
.bento-muted .bento-num {
  color: var(--color-black);
}

.bento-desc {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}
.bento-light .bento-desc,
.bento-muted .bento-desc {
  color: var(--color-muted);
}

.bento-open-quote {
  font-family: var(--font-serif);
  font-size: 110px;
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 20px;
  left: 36px;
  pointer-events: none;
  user-select: none;
}

.bento-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-black);
  margin-bottom: 18px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.bento-cite {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.45);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
}


/* ============================================================
   7) 머티리얼 섹션 — 3종 시그니처 가죽 (비대칭 그리드)
   ============================================================ */
.materials {
  background-color: var(--color-beige);
  padding: var(--section-padding);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.materials-grid .material-card:nth-child(2) {
  margin-top: 0;
}

.material-card {
  display: block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.material-card:hover {
  transform: translateY(-6px);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--color-cream);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

/* 카드 좌상단 번호 (01, 02, 03) — 에디토리얼 트렌드 */
.card-number {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-white);
  z-index: 2;
  font-style: italic;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.material-card:hover .card-image img {
  transform: scale(1.1);
}


/* 호버 시 그라디언트 오버레이 (하단에서 올라오는 드라마틱한 효과) */
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.55s ease;
}
.material-card:hover .card-image::after {
  opacity: 1;
}

.card-info {
  padding: 28px 0 0;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--color-black);
  font-style: italic;
}

.card-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}

.card-link {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--color-black);
  font-weight: 500;
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.material-card:hover .card-link {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}


/* ============================================================
   8) 헤리티지 섹션
   ============================================================ */
.heritage {
  background-color: var(--color-cream);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* 배경 워터마크 숫자 — 에디토리얼 트렌드 */
.heritage::before {
  content: '40';
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(280px, 32vw, 500px);
  font-weight: 400;
  color: rgba(0, 0, 0, 0.032);
  line-height: 1;
  letter-spacing: -16px;
  pointer-events: none;
  user-select: none;
}

.heritage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.heritage-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.heritage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heritage-text {
  padding: 0 20px;
}
.heritage-text .section-title,
.heritage-text .section-eyebrow {
  text-align: left;
}
.heritage-text .section-title {
  margin-bottom: 36px;
  font-style: italic;
}

.heritage-desc {
  font-size: 16px;
  color: #444;
  margin-bottom: 44px;
  line-height: 1.8;
  font-weight: 300;
}

/* 라인 버튼 */
.btn-line {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-black);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-black);
  transition: all 0.3s ease;
  font-weight: 500;
}
.btn-line:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
  letter-spacing: 4px;       /* 호버 시 자간 살짝 벌어짐 */
}


/* ============================================================
   9) 풀블리드 장인정신 — 큰 이미지 + 텍스트 오버레이
   ============================================================ */
.fullbleed {
  position: relative;
  height: 90vh;
  height: 90svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.fullbleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* 살짝 어둡게 + 따뜻한 톤 */
  filter: brightness(0.85) sepia(0.15);
}

.fullbleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.5),
    rgba(26, 26, 26, 0.3),
    rgba(26, 26, 26, 0.6)
  );
}

.fullbleed-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 900px;
}

.fullbleed-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 32px;
  letter-spacing: -1px;
}
.fullbleed-title em {
  font-style: italic;
  color: var(--color-gold);
}

.fullbleed-desc {
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.8;
}


/* ============================================================
   10) 컨택트 섹션
   ============================================================ */
.contact {
  background-color: var(--color-beige);
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.contact-col {
  padding: 40px 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-col:first-child {
  border-left: none;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 500;
}

.contact-text {
  font-size: 15px;
  color: var(--color-black);
  line-height: 1.9;
  font-weight: 300;
}

/* 빠른 연결 액션 버튼 (KAKAO / FORM) */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 16px;
  background: var(--color-cream);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}
.contact-action:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  transform: translateY(-2px);
}
.contact-action:hover .contact-action-label,
.contact-action:hover .contact-action-text {
  color: var(--color-cream);
}
.contact-action-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--color-gold);
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact-action-text {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-black);
  font-weight: 500;
  transition: color 0.3s ease;
}

/* 온라인 문의 폼 */
.inquiry-form-wrap {
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 100px;
}
.inquiry-form-header {
  text-align: center;
  margin-bottom: 56px;
}
.inquiry-form-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  margin: 12px 0 16px;
}
.inquiry-form-desc {
  font-size: 14px;
  color: var(--color-muted);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}
.inquiry-label em {
  color: var(--color-gold);
  font-style: normal;
  margin-left: 2px;
}
.inquiry-field input,
.inquiry-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 12px 4px;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.inquiry-field textarea {
  min-height: 120px;
  font-family: var(--font-sans);
  line-height: 1.7;
}
.inquiry-field input:focus,
.inquiry-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}
.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.inquiry-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
}
.inquiry-submit-row button {
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.inquiry-submit-row button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.inquiry-status {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}
.inquiry-status.success { color: #2d7a3e; }
.inquiry-status.error   { color: #c0392b; }


/* ============================================================
   11) 푸터
   ============================================================ */
.footer {
  background-color: var(--color-brown);
  color: var(--color-beige);
  padding-top: 100px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 60px;
  padding-bottom: 80px;
}

.footer-brand {
  /* 첫 컬럼 (브랜드)은 살짝 다른 무드 */
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--color-gold);
  font-weight: 600;
}

.footer-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-text {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.75;
}

.footer-heading {
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: var(--color-gold);
  font-weight: 500;
}

.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.1);
  padding: 28px 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.6;
}


/* ============================================================
   12) 스크롤 애니메이션
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.4s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   13) 반응형 (모바일: 768px 이하)
   ============================================================ */
@media (max-width: 1024px) {
  /* 태블릿 — 머티리얼 그리드 비대칭 풀기 */
  .materials-grid .material-card:nth-child(2) {
    margin-top: 0;
  }

  /* Bento grid — 태블릿: 2열 */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 200px;
  }
  .bento-dark  { grid-column: 1; grid-row: 1 / 3; }
  .bento-light { grid-column: 2; grid-row: 1; }
  .bento-muted { grid-column: 2; grid-row: 2; }
  .bento-quote { grid-column: 1 / 3; grid-row: 3; }
}

@media (max-width: 768px) {

  :root {
    --section-padding: 90px 0;
  }
  .container {
    padding: 0 24px;
  }

  /* 네비 — 모바일에서 좌우 padding 살짝 줄임 */
  .nav-inner { padding: 0 16px; }
  .nav-right { gap: 16px; }
  .logo { font-size: 22px; letter-spacing: 1px; }

  /* 히어로 */
  .hero {
    min-height: 0;
  }
  .hero-title {
    letter-spacing: 0;
    line-height: 1;
  }
  .hero-tagline {
    font-size: 12px;
    letter-spacing: 2px;
  }

  /* 마퀴 */
  .marquee-track {
    gap: 36px;
    letter-spacing: 2px;
  }

  /* Bento grid — 모바일: 1열 */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  .bento-dark,
  .bento-light,
  .bento-muted,
  .bento-quote {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-card {
    padding: 36px 32px;
    min-height: 200px;
  }

  /* 머티리얼 — 3컬럼 → 1컬럼 */
  .materials-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* 헤리티지 */
  .heritage-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .heritage-text {
    padding: 0;
  }

  /* 풀블리드 */
  .fullbleed {
    height: 70vh;
    min-height: 480px;
  }

  /* 컨택트 — 3컬럼 → 1컬럼 */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-col {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px 0;
  }
  .contact-col:first-child {
    border-top: none;
    padding-top: 0;
  }

  /* 컨택트 액션 버튼 — 2컬럼 → 1컬럼 */
  .contact-actions {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .contact-action {
    padding: 22px 16px;
  }

  /* 문의 폼 — 2컬럼 → 1컬럼 */
  .inquiry-form-wrap {
    margin-top: 64px;
    padding-top: 56px;
  }
  .inquiry-form-title {
    font-size: 28px;
  }
  .inquiry-row {
    grid-template-columns: 1fr;
  }
  .inquiry-submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* iOS Safari 자동 줌 방지 — 입력란 16px 이상 강제 */
  .inquiry-field input,
  .inquiry-field textarea {
    font-size: 16px;
  }

  /* 푸터 — 4컬럼 → 1컬럼 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }

  /* 섹션 헤더 마진 줄이기 */
  .section-header {
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero-eyebrow {
    letter-spacing: 4px;
    font-size: 11px;
  }
  .nav-inner {
    padding: 0 12px;
  }
  .logo {
    font-size: 20px;
    letter-spacing: 1px;
  }
}


/* ============================================================
   ============================================================
   SHOP 페이지 전용 스타일
   ============================================================
   섹션 순서:
     S1) shop-page 바디 클래스 (네비를 항상 밝은 톤으로)
     S2) 페이지 헤더
     S3) 필터 탭
     S4) 제품 그리드 / 카드
     S5) 가격, 뱃지
     S6) 하단 CTA
     S7) Shop 반응형
   ============================================================ */


/* S1) shop-page — 네비를 항상 밝은 톤으로 강제 */
body.shop-page {
  background-color: var(--color-cream);
}

/* shop-page에서는 네비가 처음부터 크림 배경 + 검정 텍스트 */

.shop-page .navbar {
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.shop-page .logo,
.shop-page .nav-menu a {
  color: var(--color-black);
}
.shop-page .hamburger span {
  background-color: var(--color-black);
}

/* 현재 페이지 메뉴(active) 표시 — 골드 라인이 항상 보임 */
.nav-menu a.active {
  color: var(--color-gold);
}
.nav-menu a.active::after {
  width: 100%;
}


/* S2) 페이지 헤더 (네비 아래 첫 섹션) */
.shop-header {
  padding: 180px 0 80px;       /* 네비 가려지지 않도록 위쪽 padding 충분히 */
  text-align: center;
  background-color: var(--color-cream);
}

.shop-title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 400;
  line-height: 1;
  margin: 24px 0 32px;
  font-style: italic;
  color: var(--color-black);
  letter-spacing: -1px;
}

.shop-subtitle {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}


/* S3) 필터 탭 */
.filter-section {
  padding: 180px 0 60px;
  background-color: var(--color-cream);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

/* 필터 버튼 호버 */
.filter-btn:hover {
  color: var(--color-black);
}

/* 활성 필터 버튼 — 검정 텍스트 + 아래 라인 */
.filter-btn.active {
  color: var(--color-black);
}
.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.filter-btn.active::after {
  width: 30px;
}


/* shop 검색 / 정렬 컨트롤 */
.shop-controls {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.shop-search,
.shop-sort {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 8px 4px;
  outline: none;
  transition: border-color 0.2s ease;
}
.shop-search {
  width: 240px;
  max-width: 100%;
}
.shop-search:focus,
.shop-sort:focus {
  border-bottom-color: var(--color-black);
}
.shop-search::placeholder {
  color: var(--color-muted);
  letter-spacing: 2px;
}
.shop-sort {
  cursor: pointer;
  padding-right: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23000' fill='none' stroke-width='1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


/* S3-1) 로딩 / 에러 상태 */
.loading-state,
.error-state {
  text-align: center;
  padding: 100px 20px;
  color: var(--color-muted);
}

/* 돌아가는 원형 스피너 */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-beige);
  border-top-color: var(--color-gold);   /* 골드 부분이 돌아감 */
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-black);
  margin-bottom: 12px;
}
.error-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-muted);
}
.error-desc code {
  background: var(--color-beige);
  padding: 2px 8px;
  font-size: 13px;
  border-radius: 2px;
}

/* S4) 제품 그리드 */
.products {
  padding: 80px 0 140px;
  background-color: var(--color-cream);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4컬럼 */
  gap: 48px 32px;                          /* 세로 48 / 가로 32 */
}

/* 필터로 숨겨지는 카드 */
.product-card.hidden {
  display: none;
}

.product-card {
  position: relative;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-2px);
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 카드 이미지 */
.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: transparent;
  margin-bottom: 18px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease;
}

.product-link:hover .product-image img {
  transform: scale(1.03);
  opacity: 0.88;
}

/* 카드 정보 */
.product-info {
  text-align: left;
}

.product-category {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-black);
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tagline {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.product-option {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 14px;
  font-weight: 300;
}


/* S5) 가격 / 뱃지 */

/* 가격 영역 */
.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

/* 정가 (취소선) */
.price-original {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 300;
}

/* 할인가 / 단일가 */
.price-sale {
  font-size: 15px;
  color: var(--color-black);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 가격 대신 "주문제작 문의" 표시 (Python 카드) */
.price-inquiry {
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 500;
  letter-spacing: 1px;
  font-style: italic;
}

/* 카드 좌상단 뱃지 (주문제작 / SIGNATURE / MADE TO ORDER) */
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  font-weight: 500;
  z-index: 2;
  text-transform: uppercase;
}

/* 골드 뱃지 (SIGNATURE, MADE TO ORDER 같은 강조용) */
.product-badge.gold {
  background-color: var(--color-gold);
  color: var(--color-black);
}

.product-badge.sold-out {
  background-color: rgba(0,0,0,0.75);
  color: #fff;
  top: auto;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 2px;
}

.product-card.is-sold-out .product-image img {
  opacity: 0.55;
  filter: grayscale(0.4);
}

/* 필터 결과 없음 메시지 */
.empty-message {
  text-align: center;
  font-size: 15px;
  color: var(--color-muted);
  padding: 80px 0;
}


/* S6) 하단 CTA */
.shop-cta {
  background-color: var(--color-black);
  color: var(--color-cream);
  padding: 140px 0;
  text-align: center;
}

.shop-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  margin: 24px 0;
  font-style: italic;
  letter-spacing: -0.5px;
}

.shop-cta-desc {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 44px;
  font-weight: 300;
}

/* 어두운 배경용 라인 버튼 (밝은 색 변형) */
.btn-line.light {
  color: var(--color-cream);
  border-bottom-color: var(--color-cream);
}
.btn-line.light:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}


/* S7) Shop 반응형 */
@media (max-width: 1024px) {
  /* 태블릿 — 4컬럼 → 3컬럼 */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* 모바일 — 3컬럼 → 2컬럼 */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .shop-header {
    padding: 140px 0 60px;
  }

  .filter-section {
    padding: 140px 0 40px;
  }
  .filter-tabs {
    gap: 0;
  }
  .filter-btn {
    padding: 12px 16px;
    font-size: 11px;
    letter-spacing: 2px;
  }

  .products {
    padding: 50px 0 90px;
  }

  .product-name {
    font-size: 16px;
  }
  .product-option {
    font-size: 11px;
  }

  .shop-cta {
    padding: 90px 0;
  }
}

@media (max-width: 480px) {
  /* 매우 작은 화면 — 2컬럼 유지하되 간격 더 줄이기 */
  .product-grid {
    gap: 28px 12px;
  }
  .product-badge {
    font-size: 9px;
    padding: 4px 8px;
  }
}


/* ============================================================
   주문제작 페이지 (custom-order.html)
   ============================================================ */
.container-narrow {
  max-width: 880px;
}

/* 히어로 */
.custom-hero {
  background: var(--color-cream);
  padding: 180px 0 100px;
  text-align: center;
}
.custom-hero-title {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 400;
  line-height: 1.05;
  margin: 24px 0 28px;
  color: var(--color-black);
}
.custom-hero-subtitle {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-muted);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
}

/* 제작 프로세스 */
.custom-process {
  padding: 100px 0;
  background: var(--color-beige);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  text-align: left;
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.process-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--color-gold);
  margin-bottom: 16px;
  font-weight: 400;
}
.process-step h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* 폼 섹션 */
.custom-form-section {
  padding: 120px 0;
  background: var(--color-cream);
}
.section-desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 16px;
  font-weight: 300;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.custom-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.custom-fieldset legend {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-black);
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  width: 100%;
  margin-bottom: 8px;
}

/* 모델 선택 카드 */
.model-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.model-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--color-muted);
  font-size: 14px;
}
.model-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.2s ease;
  overflow: hidden;
}
.model-card:hover {
  border-color: var(--color-black);
  transform: translateY(-2px);
}
.model-card.selected {
  border-color: var(--color-gold);
  border-width: 2px;
  background: var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-gold);
}
.model-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
}
.model-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.model-card-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.model-card-code {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-gold);
  font-weight: 500;
}
.model-card-name {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-black);
}

/* 폼 필드 */
.custom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.custom-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.custom-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}
.custom-label em {
  color: var(--color-gold);
  font-style: normal;
  margin-left: 2px;
}
.custom-field input,
.custom-field select,
.custom-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 12px 4px;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.custom-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%23888'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 24px;
  cursor: pointer;
}
.custom-field textarea {
  min-height: 120px;
  line-height: 1.7;
}
.custom-field input:focus,
.custom-field select:focus,
.custom-field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}
.custom-field input::placeholder,
.custom-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.custom-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}
.custom-submit-row button {
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.custom-submit-row button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.custom-status {
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.custom-status.success { color: #2d7a3e; }
.custom-status.error   { color: #c0392b; }

/* 모바일 */
@media (max-width: 768px) {
  .custom-hero { padding: 130px 0 70px; }
  .custom-hero-title { font-size: 52px; }
  .custom-hero-subtitle { font-size: 14px; }

  .custom-process { padding: 70px 0; }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-step {
    padding: 24px 0;
  }

  .custom-form-section { padding: 70px 0; }
  .custom-form { gap: 40px; }
  .custom-fieldset legend { font-size: 20px; }

  .model-cards { grid-template-columns: 1fr; }
  .custom-row  { grid-template-columns: 1fr; }

  .custom-submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* iOS Safari 자동 줌 방지 */
  .custom-field input,
  .custom-field select,
  .custom-field textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* 매우 작은 화면 — 히어로/모델카드 추가 축소 */
  .custom-hero-title { font-size: 42px; }
  .custom-form { gap: 32px; }
  .process-num { font-size: 32px; }
}


/* ============================================================
   Story 페이지 전용
   ============================================================ */

.story-manifesto {
  background: var(--color-black);
  padding: 160px 0;
  text-align: center;
}

.manifesto-quote {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}

.manifesto-quote > p {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-cream);
  font-style: italic;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.manifesto-quote cite {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--color-gold);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  display: block;
}

/* 장인 스토리 2열 — 순서 반전 (이미지 우측) */
.heritage-inner.reverse {
  direction: rtl;
}
.heritage-inner.reverse > * {
  direction: ltr;
}

/* 타임라인 */
.story-timeline {
  background: var(--color-cream);
  padding: var(--section-padding);
}

.timeline-list {
  max-width: 760px;
  margin: 80px auto 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  align-items: start;
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--color-gold);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  padding-top: 2px;
}

.timeline-content h4 {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-black);
  text-transform: uppercase;
}

.timeline-content p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.85;
  font-weight: 300;
}

/* 소재 탐색 링크 블록 */
.story-explore {
  background: var(--color-beige);
  padding: var(--section-padding);
}

@media (max-width: 768px) {
  .story-manifesto { padding: 100px 0; }
  .manifesto-quote > p { font-size: clamp(24px, 6vw, 36px); }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .timeline-year { font-size: 24px; }
}


/* ============================================================
   소재 개별 페이지 (crocodile / ostrich / python)
   ============================================================ */

.mat-features {
  background: var(--color-beige);
  padding: var(--section-padding);
}

.mat-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  gap: 1px;
  margin-top: 80px;
}

.mat-feature {
  background: var(--color-beige);
  padding: 56px 48px;
}

.mat-feature-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 52px;
  color: var(--color-gold);
  font-weight: 400;
  margin-bottom: 24px;
  font-style: italic;
  line-height: 1;
}

.mat-feature h4 {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-black);
  text-transform: uppercase;
}

.mat-feature p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.85;
  font-weight: 300;
}

.mat-cta {
  background: var(--color-black);
  color: var(--color-cream);
  padding: 160px 0;
  text-align: center;
}

.mat-cta .section-eyebrow { color: var(--color-gold); }
.mat-cta .section-title   { color: var(--color-cream); }

.mat-cta-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245, 241, 234, 0.72);
  margin: 0 auto 52px;
  max-width: 520px;
  font-weight: 300;
}

.mat-cta-btns {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .mat-features-grid {
    grid-template-columns: 1fr;
  }
  .mat-feature {
    padding: 40px 28px;
  }
  .mat-cta {
    padding: 100px 0;
  }
  .mat-cta-btns {
    flex-direction: column;
    gap: 28px;
  }
  .mat-features-grid {
    margin-top: 48px;
  }
}

/* ============================================================
   회원 페이지 공통 (로그인 / 회원가입 / 마이페이지)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background: var(--color-cream);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--color-white);
  border: 1px solid rgba(201,169,97,0.2);
  padding: 56px 48px;
}

.auth-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 8px;
}

.auth-logo span {
  color: var(--color-gold);
  font-size: 11px;
  letter-spacing: 4px;
  display: block;
  margin-top: 4px;
}

.auth-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-field label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
}

.auth-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  background: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-black);
  outline: none;
  transition: border-color 0.2s;
}

.auth-field input:focus {
  border-color: var(--color-gold);
}

.auth-btn {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.auth-btn:hover { background: var(--color-brown); }
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-error {
  color: #c0392b;
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}

.auth-link {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-muted);
}

.auth-link a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 마이페이지 */
.mypage-wrap {
  min-height: 100vh;
  padding: 120px 40px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.mypage-greeting {
  margin-bottom: 60px;
}

.mypage-greeting .eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mypage-greeting h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-black);
}

.mypage-section {
  margin-bottom: 64px;
}

.mypage-section-title {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(201,169,97,0.3);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.mypage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mypage-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--color-muted);
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.mypage-table td {
  padding: 14px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--color-black);
  vertical-align: top;
}

.mypage-table .empty-row td {
  text-align: center;
  color: var(--color-muted);
  padding: 40px 0;
}

.mypage-msg-preview {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-muted);
}

.mypage-logout-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-muted);
  transition: all 0.2s;
}

.mypage-logout-btn:hover {
  border-color: var(--color-black);
  color: var(--color-black);
}

/* nav 로그인 링크 */
.nav-auth-link {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--color-gold) !important;
}

@media (max-width: 768px) {
  .auth-card { padding: 40px 28px; }
  /* iOS Safari 자동 줌 방지 — 입력란 16px 이상 강제 */
  .auth-field input { font-size: 16px; }
  .mypage-wrap { padding: 100px 20px 60px; }
  .mypage-table { font-size: 12px; }
  .mypage-table th,
  .mypage-table td { padding: 10px 8px; }
}

/* ============================================================
   위시리스트 하트 버튼
   ============================================================ */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  cursor: pointer;
  font-size: 17px;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.wishlist-btn:hover {
  color: #aaa;
  background: rgba(255,255,255,0.98);
  transform: scale(1.1);
}
.wishlist-btn.wishlisted { color: var(--color-gold); }
.wishlist-btn.wishlisted:hover { color: #b8862a; }

.cart-btn {
  position: absolute;
  top: 12px;
  right: 52px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  cursor: pointer;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.cart-btn:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.98);
  transform: scale(1.1);
}

/* 마이페이지 찜 목록 그리드 */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.wishlist-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.wishlist-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  margin-bottom: 12px;
}
.wishlist-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}
.wishlist-card:hover .wishlist-card-img img { transform: scale(1.04); }
.wishlist-card-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wishlist-card-price {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.wishlist-empty,
.wishlist-grid > .empty-state {
  text-align: center;
  grid-column: 1 / -1;
}
.wishlist-empty {
  padding: 40px 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ============================================================
   후기 (Reviews)
   ============================================================ */
.rv-login-prompt {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 32px;
}
.rv-login-prompt a { color: var(--color-gold); text-decoration: none; }

.rv-write {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #f0f0f0;
}

.rv-star-pick {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}
.rv-star-pick button {
  background: none;
  border: none;
  font-size: 26px;
  color: #ddd;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.12s;
}
.rv-star-pick button.hover,
.rv-star-pick button.active { color: var(--color-gold); }

.rv-textarea {
  width: 100%;
  border: 1px solid #e8e8e8;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  background: none;
}
.rv-textarea:focus { border-color: var(--color-black); }

.rv-submit {
  margin-top: 10px;
  padding: 11px 28px;
  background: var(--color-black);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.rv-submit:hover { background: var(--color-brown); }
.rv-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.rv-status { font-size: 12px; margin-top: 8px; }
.rv-status.error { color: #c0392b; }
.rv-status.success { color: #27ae60; }

.rv-item {
  padding: 22px 0;
  border-bottom: 1px solid #f5f5f5;
}
.rv-item:first-child { padding-top: 0; }

.rv-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rv-stars { font-size: 14px; letter-spacing: 1px; }
.rv-star-on { color: var(--color-gold); }
.rv-star-off { color: #e0e0e0; }

.rv-author {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-black);
}
.rv-date {
  font-size: 11px;
  color: var(--color-muted);
  margin-left: auto;
}
.rv-del {
  background: none;
  border: none;
  font-size: 11px;
  color: #ccc;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.rv-del:hover { color: #c0392b; }

.rv-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.85;
  color: #555;
}

/* ============================================================
   인덱스 리디자인 — 새 섹션들
   ============================================================ */

/* 히어로 오버레이 — 하단만 살짝 */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.28) 100%
  );
}

/* 스크롤 인디케이터 — 라인만 */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* STATEMENT */
.statement {
  padding: 140px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.statement-inner {
  max-width: 640px;
}
.statement-mark {
  font-size: 20px;
  color: var(--color-gold);
  letter-spacing: 8px;
  margin-bottom: 48px;
}
.statement-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--color-black);
  margin-bottom: 32px;
}
.statement-title em {
  font-style: italic;
  color: var(--color-gold);
}
.statement-body {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 48px;
}
.statement-link {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.statement-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* COLLECTION */
.collection {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.col-item {
  display: block;
  position: relative;
  overflow: hidden;
}
.col-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.col-item:hover .col-img img { transform: scale(1.04); }
.col-meta {
  padding: 24px 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #f0f0f0;
}
.col-item:first-child .col-meta { border-right: 1px solid #f0f0f0; }
.col-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-black);
  font-weight: 500;
}
.col-desc {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 300;
}

/* HERITAGE V2 */
.heritage-v2 {
  padding: 120px 0;
  border-bottom: 1px solid #f0f0f0;
}
.heritage-v2-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.heritage-v2-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.heritage-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h2-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 32px;
  font-weight: 500;
}
.h2-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-black);
  margin-bottom: 36px;
}
.h2-body {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 2;
  font-weight: 300;
  margin-bottom: 48px;
}
.h2-link {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.h2-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* QUOTE BAND */
.quote-band {
  padding: 80px 40px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.quote-band-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 300;
  color: var(--color-black);
  letter-spacing: 0.02em;
}
.quote-band-text em {
  font-style: italic;
}

/* CONTACT 업데이트 */
.contact-header {
  text-align: center;
  padding: 100px 0 60px;
}
.contact-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--color-black);
}

/* FOOTER 업데이트 */
.footer {
  background: var(--color-black);
}
.footer-top {
  padding: 80px 0 60px;
}

/* 반응형 */
@media (max-width: 768px) {
  .statement { padding: 80px 24px; }
  .statement-title { font-size: 52px; }
  .collection { grid-template-columns: 1fr; }
  .col-item:first-child .col-meta { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .heritage-v2-inner { grid-template-columns: 1fr; gap: 48px; }
  .heritage-v2 { padding: 80px 0; }
  .quote-band { padding: 60px 24px; }
}


/* ============================================================
   MINIMAL HOME — m-* 섹션
   ============================================================ */

.m-section {
  padding: 100px 48px;
  max-width: 720px;
  margin: 0 auto;
}

/* 브랜드 소개 */
.m-intro {
  padding-top: 140px;
}

/* 컨택트 페이지 첫 섹션 — navbar 높이 보정 */
.m-contact-page {
  padding-top: 160px;
}
.m-serif-lg {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 40px;
  color: var(--color-black);
}
.m-serif-lg em {
  font-style: italic;
}
.m-body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 2;
  color: #555;
}

/* 공통 레이블 */
.m-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 40px;
}

/* 컬렉션 링크 */
.m-collection {
  border-top: 1px solid #f0f0f0;
}
.m-links {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.m-collection-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 12px 0;
  transition: opacity 0.2s;
}
.m-collection-link:hover {
  opacity: 0.5;
}
.m-collection-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-black);
}
.m-collection-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #999;
}
.m-divider {
  width: 1px;
  background: #f0f0f0;
  margin: 0 40px;
  flex-shrink: 0;
}

/* 인용 */
.m-quote {
  border-top: 1px solid #f0f0f0;
  text-align: left;
}
.m-serif-md {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--color-black);
}
.m-serif-md em {
  font-style: italic;
}

/* 컨택트 */
.m-contact {
  border-top: 1px solid #f0f0f0;
}
.m-contact-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}
.m-contact-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-black);
  border: 1px solid var(--color-black);
  padding: 12px 24px;
  transition: background 0.2s, color 0.2s;
}
.m-contact-btn:hover {
  background: var(--color-black);
  color: #fff;
}

/* 문의 폼 */
.m-form {
  border-top: 1px solid #f0f0f0;
  padding-bottom: 160px;
}
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
}
.inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 500;
}
.inquiry-label em {
  color: var(--color-gold);
  font-style: normal;
}
.inquiry-field input,
.inquiry-field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
  letter-spacing: 0.02em;
}
.inquiry-field input:focus,
.inquiry-field textarea:focus {
  border-color: var(--color-black);
}
.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: #ccc;
}
.inquiry-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.inquiry-status {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #888;
}
.btn-line {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-black);
  background: transparent;
  border: 1px solid var(--color-black);
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-line:hover {
  background: var(--color-black);
  color: #fff;
}

/* 철학 */
.m-philosophy {
  border-top: 1px solid #f0f0f0;
}
.m-phil-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.m-phil-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.m-phil-key {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: #bbb;
  letter-spacing: 0.04em;
  min-width: 48px;
  padding-top: 2px;
}
.m-phil-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 10px;
}

/* 타임라인 */
.m-timeline {
  border-top: 1px solid #f0f0f0;
}
.m-tl-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.m-tl-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.m-tl-year {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: #bbb;
  letter-spacing: 0.04em;
  min-width: 48px;
  padding-top: 2px;
}

/* m-* 모바일 반응형 */
@media (max-width: 640px) {
  .m-section {
    padding: 80px 24px;
  }
  .m-contact-page {
    padding-top: 140px;
  }
  .m-intro {
    padding-top: 100px;
  }
  .m-links {
    flex-direction: column;
  }
  .m-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .m-collection-link {
    padding: 24px 0;
  }
  .inquiry-row {
    grid-template-columns: 1fr;
  }
  .m-contact-links {
    flex-direction: column;
  }
  .m-form {
    padding-bottom: 100px;
  }
}

/* ============================================================
   체크아웃 / 결제
   ============================================================ */
.checkout-wrap {
  padding: 140px 0 100px;
  min-height: 80vh;
  background: var(--color-cream);
}
.checkout-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin: 8px 0 56px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.checkout-section-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-black);
}
.checkout-field {
  margin-bottom: 18px;
}
.checkout-field .field-error {
  font-size: 12px;
  color: #c44;
  margin-top: 6px;
}
.checkout-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 6px;
}
.checkout-field label em {
  color: var(--color-gold);
  font-style: normal;
}
.checkout-field input,
.checkout-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  border: 1px solid #ddd;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.checkout-field input:focus,
.checkout-field textarea:focus { border-color: var(--color-black); }
.checkout-field input[readonly] { background: #f8f8f8; cursor: default; }

.postal-row {
  display: flex;
  gap: 8px;
}
.postal-row input { flex: 1; }
.postal-btn {
  padding: 0 18px;
  border: 1px solid var(--color-black);
  background: var(--color-black);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.postal-btn:hover { background: var(--color-brown); }

.checkout-summary {
  position: sticky;
  top: 100px;
  padding: 28px;
  background: #fff;
  border: 1px solid #eee;
}
.checkout-product {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}
.checkout-product:has(> div:nth-child(2)) {
  flex-direction: column;
  gap: 0;
}
.checkout-product img {
  width: 80px;
  height: 100px;
  object-fit: contain;
  background: #fff;
}
.checkout-product-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 4px;
}
.checkout-product-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.checkout-product-opt {
  font-size: 12px;
  color: var(--color-muted);
}
.checkout-amount-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 13px;
  margin-bottom: 8px;
  color: #555;
}
.checkout-amount-row.total {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-black);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 24px;
  border-top: 1px solid #eee;
}
.checkout-pay-btn {
  width: 100%;
  padding: 16px;
  background: var(--color-black);
  color: var(--color-cream);
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 16px;
}
.checkout-pay-btn:hover:not(:disabled) { background: var(--color-brown); }
.checkout-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.checkout-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 10px;
  text-align: center;
}

/* 결제 결과 페이지 */
.payment-result {
  padding: 160px 0 120px;
  min-height: 80vh;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: #fff;
  border: 1px solid #eee;
}
.payment-icon {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  color: #c0392b;
  margin-bottom: 24px;
}
.payment-icon.success { color: var(--color-gold); }
.payment-card h1 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.payment-msg {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}
.payment-msg code {
  font-family: monospace;
  font-size: 12px;
  color: var(--color-muted);
}
.payment-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-link {
  display: block;
  padding: 14px 28px;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.payment-link.primary {
  background: var(--color-black);
  color: var(--color-cream);
}
.payment-link:hover {
  background: var(--color-black);
  color: var(--color-cream);
}
.payment-link.primary:hover { background: var(--color-brown); }

/* 마이페이지 주문 내역 */
.order-table-wrap { overflow-x: auto; }
.mypage-order-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.order-status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-radius: 2px;
}
.order-status.paid      { background: #e8f4ec; color: #1e7a3c; }
.order-status.pending   { background: #fff8e0; color: #a78400; }
.order-status.failed,
.order-status.cancelled { background: #fbe9e7; color: #8b2e22; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
  .checkout-summary { position: static; }
}

/* ==========================================================
   토스트 알림 시스템
   ========================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #fff;
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px);
  animation: toastIn 0.3s ease forwards;
  max-width: 360px;
  text-align: center;
}
.toast.toast-success { background: #2d7a4f; }
.toast.toast-error   { background: #c0392b; }
.toast.toast-out {
  animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(20px); }
}

/* ==========================================================
   페이지 페이드인 (visibility:hidden 대체)
   ========================================================== */
body[style*="visibility:hidden"] {
  visibility: visible !important;
}
.page-fade-in {
  animation: pageFadeIn 0.3s ease;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==========================================================
   스켈레톤 로딩
   ========================================================== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
.skeleton-card {
  height: 380px;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================
   빈 상태 UI
   ========================================================== */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}
.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state-title {
  font-family: var(--font-sans);
  font-size: 24px;
  margin-bottom: 8px;
}
.empty-state-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 24px;
}
.empty-state-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.empty-state-btn:hover {
  background: var(--color-black);
  color: var(--color-cream);
}

/* ==========================================================
   주문 타임라인
   ========================================================== */
.order-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 8px 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #ddd;
  z-index: 1;
}
.timeline-step.active .timeline-dot {
  background: var(--color-black);
  border-color: var(--color-black);
}
.timeline-step.completed .timeline-dot {
  background: #2d7a4f;
  border-color: #2d7a4f;
}
.timeline-label {
  font-size: 11px;
  margin-top: 6px;
  color: rgba(0,0,0,0.4);
}
.timeline-step.active .timeline-label,
.timeline-step.completed .timeline-label {
  color: var(--color-black);
  font-weight: 500;
}
.timeline-line {
  flex: 1;
  height: 2px;
  background: #ddd;
}
.timeline-line.completed {
  background: #2d7a4f;
}

/* ==========================================================
   포커스 스타일 (접근성)
   ========================================================== */
:focus-visible {
  outline: 2px solid #4a90d9;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #4a90d9;
  outline-offset: 2px;
}

/* 스킵 네비게이션 */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-black);
  color: #fff;
  padding: 12px 20px;
  z-index: 99999;
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
}
.skip-nav:focus {
  top: 16px;
}

/* ==========================================================
   카카오 로그인 버튼
   ========================================================== */
.kakao-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #FEE500;
  color: #000;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.kakao-btn:hover {
  background: #f0d900;
}
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.auth-divider span {
  padding: 0 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(0,0,0,0.4);
}

/* 네이버 로그인 버튼 */
.naver-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #03C75A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 10px;
}
.naver-btn:hover {
  background: #02b351;
}

/* ==========================================================
   모바일 접근성 강화 — 30~40대 여성 타겟
   최소 폰트 14px, 터치 영역 44px, 가격 강조
   ========================================================== */

/* 전역 최소 폰트 크기 보장 (모바일) */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
  }

  /* 10~12px → 13px 최소 보장 */
  .product-category,
  .product-option,
  .section-eyebrow,
  .filter-btn,
  .shop-search,
  .shop-sort,
  .order-status,
  .timeline-label,
  .mypage-msg-preview {
    font-size: 13px !important;
  }

  /* 네비게이션 링크 */
  .nav-menu a {
    font-size: 16px;
    padding: 14px 24px 14px 24px;
  }

  /* 필터 버튼 — 터치 영역 44px 보장 */
  .filter-btn {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 14px !important;
  }

  /* 위시리스트 하트 — 44px 터치 영역 */
  .wishlist-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  /* 모든 버튼/링크 최소 터치 영역 */
  button,
  .auth-btn,
  .kakao-btn,
  .naver-btn,
  .empty-state-btn,
  a.product-link {
    min-height: 44px;
  }

  /* 상품 가격 강조 */
  .product-price {
    font-size: 16px;
    font-weight: 500;
  }
  .price-original {
    text-decoration: line-through;
    color: rgba(0,0,0,0.4);
    font-size: 13px;
  }
  .price-sale {
    color: #c0392b;
    font-weight: 600;
  }

  /* 상품명 가독성 */
  .product-name {
    font-size: 16px;
    line-height: 1.4;
  }

  /* 입력 필드 크기 */
  input, select, textarea {
    font-size: 16px !important; /* iOS 줌 방지 */
    min-height: 44px;
    padding: 12px;
  }

  /* 체크아웃 필드 라벨 */
  .checkout-field label,
  .auth-field label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  /* 마이페이지 테이블 가독성 */
  .mypage-table th,
  .mypage-table td {
    font-size: 13px;
    padding: 12px 8px;
  }
}

/* 가격 취소선 (데스크톱 포함) */
.price-original {
  text-decoration: line-through;
  opacity: 0.6;
}
.price-sale {
  color: #c0392b;
  font-weight: 500;
}

/* 결제 단계 인디케이터 */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-top: 20px;
}
.checkout-step {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(0,0,0,0.35);
  font-weight: 400;
}
.checkout-step.active {
  color: var(--color-black);
  font-weight: 600;
}
.checkout-step-arrow {
  color: rgba(0,0,0,0.2);
  font-size: 12px;
}

/* ==========================================================
   가죽 브랜드 텍스처 & 톤 강화
   ========================================================== */

/* 푸터 — 다크 브라운 배경 */
.footer {
  background-color: var(--color-brown) !important;
  color: var(--color-cream) !important;
}
.footer a {
  color: var(--color-gold) !important;
}

/* 섹션 구분 — 미세한 그라데이션 */
.shop-header,
.story-header {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-beige) 100%);
}

/* 상품 카드 호버 */

/* 골드 포인트 — 앤틱 브론즈 톤 */
.product-badge.gold {
  background: var(--color-gold);
  color: var(--color-white);
}

/* 네비바 스크롤 시 — 따뜻한 톤 */
.navbar.scrolled {
  background-color: rgba(247, 243, 237, 0.96) !important;
  box-shadow: 0 1px 0 rgba(62, 39, 35, 0.08);
}


/* CTA 버튼 — 다크 브라운 */
.auth-btn,
.empty-state-btn {
  border-color: var(--color-brown);
  color: var(--color-brown);
}
.auth-btn:hover,
.empty-state-btn:hover {
  background: var(--color-brown);
  color: var(--color-cream);
}

/* ==========================================================
   장바구니 페이지
   ========================================================== */
.cart-wrap {
  padding: 140px 0 100px;
  min-height: 70vh;
}
.cart-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  margin-bottom: 40px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 4px;
}
.cart-item-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-option {
  font-size: 13px;
  color: var(--color-muted);
}
.cart-item-price {
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0,0,0,0.15);
  background: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: var(--color-beige);
}
.qty-value {
  font-size: 15px;
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-muted);
  cursor: pointer;
  padding: 8px;
}
.cart-item-remove:hover {
  color: var(--color-black);
}
.cart-summary {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total {
  font-size: 18px;
}
.cart-total strong {
  font-size: 22px;
  margin-left: 12px;
}
.cart-checkout-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-brown);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.cart-checkout-btn:hover {
  opacity: 0.85;
}
.cart-loading {
  text-align: center;
  padding: 60px;
  color: var(--color-muted);
}
@media (max-width: 768px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }
  .cart-item-img {
    width: 80px;
    height: 80px;
  }
  .cart-summary {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }
  .cart-checkout-btn {
    text-align: center;
  }
}

/* 장바구니 네비 아이콘 + 뱃지 */
.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 리뷰 사진 */
.rv-image-upload {
  margin: 12px 0;
}
.rv-image-label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.rv-image-label:hover {
  border-color: var(--color-gold);
}
.rv-image-preview {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.rv-image-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.rv-images {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.rv-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.rv-images img:hover {
  opacity: 0.8;
}

/* ==========================================================
   라이트박스 (이미지 풀스크린 뷰어)
   ========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  padding: 20px;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* 쿠폰 입력 */
.checkout-coupon {
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.coupon-input-row {
  display: flex;
  gap: 8px;
}
.coupon-input-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  font-size: 14px;
  text-transform: uppercase;
}
.coupon-input-row button {
  padding: 10px 16px;
  background: var(--color-black);
  color: var(--color-cream);
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}
.coupon-result {
  font-size: 13px;
  margin-top: 8px;
}
.coupon-result.success { color: #2d7a4f; }
.coupon-result.error { color: #c0392b; }
.checkout-amount-row.discount span { color: #2d7a4f; }

/* 가격대 필터 */
.price-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.price-check {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  transition: border-color 0.2s, background 0.2s;
}
.price-check:has(input:checked) {
  border-color: var(--color-gold);
  background: rgba(166, 124, 82, 0.08);
}
.price-check input {
  display: none;
}
@media (max-width: 768px) {
  .price-filter {
    gap: 6px;
  }
  .price-check {
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* ============================================================
   회원가입 동의 체크박스
   ============================================================ */
.auth-consent {
  margin: 18px 0 12px;
  padding: 14px 16px;
  background: var(--color-cream);
  border-radius: 6px;
}
.consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  cursor: pointer;
  color: var(--color-black);
}
.consent-row input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--color-black);
  cursor: pointer;
}
.consent-row a { color: var(--color-accent); text-decoration: underline; }

/* ============================================================
   마이페이지 — 내 정보 편집
   ============================================================ */
.profile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.profile-edit-btn {
  background: transparent; border: 1px solid #ccc; color: #555;
  padding: 6px 14px; font-size: 12px; cursor: pointer; border-radius: 3px;
  letter-spacing: 0.5px; transition: all 0.15s;
}
.profile-edit-btn:hover { border-color: var(--color-black); color: var(--color-black); }

.profile-row { display: flex; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.profile-label { width: 100px; color: #888; }
.profile-value { color: var(--color-black); }
.profile-hint {
  margin-top: 14px; padding: 10px 14px; background: #fff8e6;
  border: 1px solid #f0d680; border-radius: 4px;
  font-size: 12px; color: #8a6d20; line-height: 1.5;
}

.profile-field { margin-bottom: 14px; }
.profile-field label { display: block; font-size: 12px; color: #888; margin-bottom: 6px; }
.profile-field input {
  width: 100%; padding: 10px 12px; border: 1px solid #ddd;
  border-radius: 3px; font-family: inherit; font-size: 14px; box-sizing: border-box;
}
.profile-field input:focus { outline: none; border-color: var(--color-black); }
.profile-error { color: #c0392b; font-size: 12px; margin: 8px 0; }
.profile-actions { display: flex; gap: 8px; margin-top: 4px; }
.profile-save-btn {
  background: var(--color-black); color: #fff; border: none;
  padding: 10px 20px; font-size: 13px; cursor: pointer; letter-spacing: 0.5px;
  font-family: inherit;
}
.profile-cancel-btn {
  background: transparent; border: 1px solid #ccc; color: #555;
  padding: 10px 20px; font-size: 13px; cursor: pointer;
  font-family: inherit;
}
