/* ═══════════════════════════════════════════
   아니아 — Global Styles
   Font: Tahoma (XP aesthetic)
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { overflow-x: hidden; }

#header-placeholder { height: 100px; }

body {
  font-family: 'Tahoma', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }

/* ── Ship cursor overlay (positioned by cursor.js) ── */
#ship-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: filter 0.15s;
  background: url('/assets/cursor.png') center/contain no-repeat;
}
#ship-cursor.glow {
  filter: brightness(1.4) drop-shadow(0 0 6px rgba(168,216,204,0.9));
}

/* ── Unified Site Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 100px;
  background: #fff;           /* 흰색 배경 */
  border-bottom: 1px solid #eee;
  padding: 0 40px;
}

/* Desktop: left nav links */
.nav-main-links {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-main-links a,
.nav-search-btn {
  color: #a8d8cc;             /* 페일 민트 */
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
}
.nav-main-links a:hover,
.nav-search-btn:hover { opacity: 0.65; }

/* Center logo */
.header-logo-link {
  flex-shrink: 0;
  margin: 0 48px;
  display: flex;
  align-items: center;
}
.header-logo-img { height: 70px; width: auto; object-fit: contain; }

/* Desktop: right user links */
.nav-user-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.nav-user-links a {
  color: #a8d8cc;             /* 페일 민트 */
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-user-links a:hover { opacity: 0.65; }

/* Hamburger: hidden on desktop */
.hamburger { display: none; background: none; border: none; color: #a8d8cc; font-size: 18px; padding: 0 4px; }

/* ── Hamburger Menu ── */
.hamburger-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 320px;
  background: #fff;
  border-left: 1px solid #e0e0e0;
  z-index: 9000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 24px 0;
}
.hamburger-overlay.open { transform: translateX(0); }
.hamburger-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 14px; color: #000;
}
.h-menu { margin-top: 32px; }
.h-menu-item {
  display: flex;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Tahoma', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  padding: 13px 28px;
  border-bottom: 1px solid #f0f0f0;
  justify-content: space-between;
}
.h-menu-item:hover { background: #f8f8f8; }
.h-sub { display: none; }
.h-sub.open { display: block; }
.h-sub a {
  display: block;
  font-family: 'Tahoma', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #555;
  padding: 10px 44px;
  border-bottom: 1px solid #f5f5f5;
  text-transform: uppercase;
}
.h-sub a:hover { color: #000; }
.h-divider { border: none; border-top: 1px solid #e0e0e0; margin: 8px 0; }

/* ── XP Popup ── */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10,36,106,0.25);
  backdrop-filter: blur(3px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.popup-window {
  width: 460px;
  background: #ece9d8;
  border: 2px solid #0a246a;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.8), inset -1px -1px 0 rgba(0,0,0,0.25), 4px 4px 16px rgba(0,0,0,0.45);
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: winPop 0.3s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}
@keyframes winPop {
  from { transform: translate(-50%,-50%) scale(0.85) translateY(-24px); opacity:0; }
  to   { transform: translate(-50%,-50%) scale(1)    translateY(0);     opacity:1; }
}
.popup-titlebar {
  background: linear-gradient(to bottom,#1163af 0%,#3b80ca 8%,#1d67b5 50%,#1558a6 51%,#1a5fa8 100%);
  height: 30px; padding: 0 4px 0 8px;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none; cursor: grab;
}
.popup-titlebar.grabbing { cursor: grabbing; }
.popup-title-label { color:#fff; font-size:12px; font-weight:bold; text-shadow:1px 1px 2px rgba(0,0,0,0.6); display:flex; align-items:center; gap:6px; }
.popup-chrome-btns { display:flex; gap:2px; }
.popup-chrome-btn {
  width:22px; height:22px; border:none;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; border-radius:2px;
}
.popup-chrome-btn.min, .popup-chrome-btn.max {
  background:linear-gradient(to bottom,#cadde8,#8fb3ce); color:#1a3a6a; border:1px solid #6a98bf;
}
.popup-chrome-btn.cls {
  background:linear-gradient(to bottom,#f1605e,#c52722); color:#fff; border:1px solid #8b1c1a; font-weight:bold;
}
.popup-chrome-btn:hover { filter:brightness(1.12); }
.popup-body { padding:20px 20px 14px; display:flex; align-items:flex-start; gap:18px; }
.popup-character {
  flex-shrink:0; filter:drop-shadow(2px 4px 6px rgba(0,0,0,0.18));
  animation:wobble 3.5s ease-in-out infinite; width:115px; height:auto;
  margin-top:19px;
}
@keyframes wobble {
  0%,100% { transform:rotate(0deg) translateY(0); }
  25%      { transform:rotate(-4deg) translateY(-2px); }
  75%      { transform:rotate(4deg) translateY(-2px); }
}
.popup-dialog { flex:1; padding-top:4px; }
.popup-bubble {
  background:#fff; border:1.5px solid #0a246a; border-radius:6px;
  padding:14px 16px; line-height:1.85;
  font-family:'Tahoma','Malgun Gothic',sans-serif;
  position:relative;
}
.popup-bubble::before { content:''; position:absolute; left:-15px; top:24px; border:8px solid transparent; border-right-color:#0a246a; }
.popup-bubble::after  { content:''; position:absolute; left:-12px; top:26px; border:6px solid transparent; border-right-color:#fff; }
.popup-warn { font-weight:bold; color:#c00; font-size:12px; letter-spacing:0.1em; display:block; margin-bottom:8px; }
.popup-main { font-size:15px; font-weight:bold; color:#0a246a; line-height:1.6; display:block; margin-bottom:10px; }
.popup-sub { font-size:12px; color:#444; display:block; border-top:1px dashed #aaa; padding-top:8px; line-height:1.7; }
.popup-footer { padding:10px 20px 14px; display:flex; justify-content:center; border-top:1px solid #b0a898; }
.popup-btn {
  min-width:90px; padding:4px 20px;
  font-family:'Tahoma','Malgun Gothic',sans-serif; font-size:12px;
  background:linear-gradient(to bottom,#f4f2ed,#dbd7cc);
  border:1px solid #888; border-bottom-color:#555; border-right-color:#555;
  box-shadow:inset 1px 1px 0 rgba(255,255,255,0.9);
}
.popup-btn.primary { font-weight:bold; border:2px solid #0a246a; }
.popup-btn:hover { background:linear-gradient(to bottom,#faf9f7,#e6e2d9); }


/* ── Home split layout ── */
.home-split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 100px); }

/* ── Hero Panel ── */
.hero-panel {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #d8d8d8;
  background-color: #b8dbd3;
  background-image: url('/assets/hero-moodboard.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
/* Grid overlay */
.hero-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,100,80,0.08) 1px,transparent 1px), linear-gradient(90deg,rgba(0,100,80,0.08) 1px,transparent 1px);
  background-size: 32px 32px; z-index: 1;
}
/* White wash to replicate opacity:0.22 on the old img (1 - 0.22 = 0.78 white overlay) */
.hero-panel::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.78); z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  height: calc(100vh - 100px);
  min-height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px 28px; text-align: center;
}
.hero-season {
  background: #000; color: #b8f0e0;
  font-size: 9px; letter-spacing: 0.2em; padding: 3px 14px; margin-bottom: 18px;
  font-family: 'Tahoma', sans-serif; display: inline-block;
}
.hero-character { width: min(212px, 54vw); height: auto; margin-bottom: 22px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.2)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-headline { font-size: 12.5px; line-height: 2; letter-spacing: 0.06em; color: #111; }
.hero-headline em { font-style: normal; color: #0a246a; font-weight: bold; }
.hero-sub { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.18); width: 100%; font-size: 10px; letter-spacing: 0.18em; color: #444; text-transform: uppercase; }

/* ── Product Grid ── */
.product-grid { padding: 24px; }
.product-grid.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-grid.cols-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.product-card { display: block; text-decoration: none; color: inherit; }
.product-card-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: #f0f0f0; display: block; }
.product-card-img.placeholder { display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 11px; }
.product-card-info { padding: 10px 0 0; }
.product-card-name { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.product-card-name-ko { font-size: 10px; color: #555; margin-top: 2px; }
.product-card-price { font-size: 11px; margin-top: 4px; }
.product-card-badge { display: inline-block; font-size: 8px; letter-spacing: 0.1em; background: #000; color: #fff; padding: 2px 6px; margin-top: 4px; }
.product-card-badge.sold { background: #888; }

/* ── Shop page ── */
.shop-page { max-width: 1200px; margin: 0 auto; padding: 32px 24px 80px; }
.filter-tabs { display: flex; gap: 0; border-bottom: 1px solid #000; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tab {
  font-family: 'Tahoma', sans-serif; font-size: 9.5px; letter-spacing: 0.1em;
  background: none; border: none; padding: 10px 18px; color: #888;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.filter-tab:hover { color: #000; }
.filter-tab.active { color: #000; border-bottom-color: #000; }

/* ── Product Layout: gallery(left) + sticky info(right) ── */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 460px;  /* full-bleed, COYSEIO 스타일 */
  align-items: start;
  min-height: calc(100vh - 100px);
}
/* Left: vertical image stack, 양쪽 1cm(38px) 여백 */
.product-gallery {
  padding: 0 38px;
}
.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.product-gallery-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f0f0f0;
}
/* Right: sticky info panel */
.product-info-panel {
  position: sticky;
  top: 100px;
  padding: 60px 48px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  border-left: 1px solid #f0f0f0;
}
.product-info-season { font-size: 9px; letter-spacing: 0.18em; color: #888; margin-bottom: 12px; text-transform: uppercase; }
.product-info-name { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.product-info-name-ko { font-size: 11px; color: #888; margin-bottom: 14px; }
.product-info-price { font-size: 14px; font-weight: 600; margin-bottom: 24px; letter-spacing: 0.02em; }
.size-label { font-size: 9px; letter-spacing: 0.12em; color: #888; text-transform: uppercase; margin-bottom: 10px; }
.size-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.size-btn { min-width: 40px; height: 34px; border: 1px solid #ccc; background: #fff; font-family: 'Tahoma', sans-serif; font-size: 10px; letter-spacing: 0.06em; cursor: pointer; }
.size-btn.selected { border-color: #000; background: #000; color: #fff; }
/* 버튼 가로 나란히 (BUY | ADD TO CART) — 동일 크기 보장 */
.buy-cart-row { display: flex; gap: 8px; margin-bottom: 8px; }
.buy-cart-row .buy-btn,
.buy-cart-row .cart-btn {
  flex: 1;
  width: 0;       /* flex가 너비를 결정 — base CSS의 width:100% 무력화 */
  min-width: 0;
  padding: 13px;
  margin-bottom: 0;
}
.buy-btn { width: 100%; padding: 13px; background: #000; color: #a8d8cc; border: none; font-family: 'Tahoma', sans-serif; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; cursor: pointer; }
.buy-btn:disabled { opacity: 0.5; cursor: default; }
.buy-btn:hover:not(:disabled) { background: #333; }
.buy-msg { font-size: 10px; color: #c00; margin-top: 6px; }
.buy-success { color: #006e2e; }
/* 아코디언 표 */
.accordion-body table { width: 100%; border-collapse: collapse; font-size: 10.5px; margin: 8px 0; }
.accordion-body table th,
.accordion-body table td { border: 1px solid #e0e0e0; padding: 7px 10px; text-align: left; line-height: 1.5; }
.accordion-body table th { background: #f8f8f8; font-weight: 600; }

/* ── Auth forms ── */
.auth-wrap { min-height: calc(100vh - 100px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.auth-box-wide { max-width: 520px; }
.auth-box form,
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-title { font-size: 14px; letter-spacing: 0.16em; font-weight: 400; text-transform: uppercase; margin-bottom: 12px; text-align: center; }
.auth-desc { font-size: 10px; color: #888; text-align: center; line-height: 1.7; margin: 0 0 8px; }
.auth-label { display: flex; flex-direction: column; gap: 6px; font-size: 9px; letter-spacing: 0.14em; color: #888; }
.auth-input { padding: 10px 12px; border: 1px solid #ccc; font-size: 13px; font-family: 'Tahoma', sans-serif; outline: none; }
.auth-select { background: #fff; }
.auth-input:focus { border-color: #000; }
.auth-error { font-size: 10px; color: #c00; }
.auth-submit { width: 100%; padding: 13px; background: #000; color: #a8d8cc; border: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0; }
.auth-submit:hover:not(:disabled) { background: #222; }
.auth-submit:disabled { opacity: 0.6; }
.auth-link { font-size: 10px; text-align: center; margin-top: 4px; color: #555; }
.auth-link a { color: #000; text-decoration: underline; }
.auth-guest-box { border: 1px solid #d9d9d9; background: linear-gradient(135deg,#fbfffd,#f4faf8); padding: 16px; display: grid; gap: 12px; }
.auth-guest-box strong { display: block; font-size: 12px; letter-spacing: .08em; margin-bottom: 6px; }
.auth-guest-box p { font-size: 10.5px; color: #666; line-height: 1.7; }
.auth-guest-btn { display: block; text-align: center; border: 1px solid #000; padding: 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: #fff; }
.auth-guest-btn:hover { background: #000; color: #a8d8cc; }
.auth-find-links { font-size: 10px; text-align: center; margin-top: 0; color: #888; line-height: 1.7; }
.auth-find-links-primary { margin-top: 2px; }
.auth-find-links a { color: #555; text-decoration: underline; }
.auth-find-sep { margin: 0 6px; }
.auth-method-block { display: flex; flex-direction: column; gap: 8px; }
.auth-method-label { font-size: 9px; letter-spacing: 0.14em; color: #888; }
.auth-method-options { display: flex; flex-wrap: wrap; gap: 14px; }
.auth-method-option { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #444; cursor: pointer; }
.auth-method-option input { margin: 0; }
.auth-hint { font-size: 10px; color: #777; line-height: 1.7; margin-top: -4px; }
.segmented-id-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.segmented-input { text-align: center; }
.segmented-sep { font-size: 12px; color: #777; }

/* ── Login page ── */
.login-body { background: #fffdf9; }
.login-space {
  position: relative;
  min-height: calc(100vh - 202px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 84px 22px 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 22%, rgba(190, 216, 178, 0.13), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #fffefa 100%);
}
.login-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 58px 44px 38px;
  border: 1px solid rgba(190, 210, 184, 0.52);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(126, 149, 116, 0.09);
  backdrop-filter: blur(12px);
}
.login-panel-orbit {
  position: absolute;
  left: 50%;
  top: -27px;
  width: 64px;
  height: 40px;
  transform: translateX(-50%);
  background: url('/assets/cursor.png') center / contain no-repeat;
  opacity: 0.36;
  animation: loginOrbitDrift 5.6s ease-in-out infinite;
}
.login-title {
  margin: 0;
  color: #111;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}
.login-subtitle {
  margin: -4px 0 12px;
  color: #9aa696;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #8f968d;
  font-size: 11px;
  line-height: 1.3;
}
.login-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe6dc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #222;
  font-family: inherit;
  font-size: 12px;
  outline: none;
  padding: 0 16px;
}
.login-field input::placeholder { color: #bdc2ba; }
.login-field input:focus {
  border-color: #a7c89c;
  box-shadow: 0 0 0 3px rgba(167, 200, 156, 0.15);
}
.login-password-field { position: relative; }
.login-password-field input { padding-right: 48px; }
.login-eye {
  position: absolute;
  right: 9px;
  bottom: 7px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.login-eye::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 11px;
  width: 16px;
  height: 10px;
  border: 1px solid #b9c0b6;
  border-radius: 50%;
}
.login-eye::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9c0b6;
  opacity: 0;
}
.login-eye.is-visible::after { opacity: 1; }
.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 4px;
}
.login-keep {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #4f554d;
  font-size: 12px;
  cursor: pointer;
}
.login-keep input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.login-check {
  width: 20px;
  height: 20px;
  border: 1px solid #9fd290;
  border-radius: 50%;
  background: #fff;
}
.login-keep input:checked + .login-check {
  background: radial-gradient(circle at center, #8bcf7a 0 39%, transparent 42%);
}
.login-signup-link {
  color: #222;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.login-signup-link:hover { color: #6da762; }
.login-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.login-submit:hover:not(:disabled) { background: #222; }
.login-submit:disabled { opacity: 0.62; cursor: default; }
.login-error {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #efcfcf;
  border-radius: 8px;
  background: #fff8f8;
  color: #b63636;
  font-size: 11px;
  line-height: 1.6;
}
.login-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  color: #8f968d;
  font-size: 11px;
  margin: 2px 0;
}
.login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #edf0eb;
}
.login-divider span {
  position: relative;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.84);
}
.login-socials { display: grid; gap: 10px; }
.login-social {
  min-height: 48px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #111;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.login-social-naver {
  border: 1px solid #20c753;
  color: #05a63e;
}
.login-social-kakao {
  border: 1px solid #efcf28;
  color: #1f1b00;
}
.login-social-icon {
  justify-self: center;
  color: #20c753;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
}
.login-kakao-icon {
  position: relative;
  justify-self: center;
  width: 18px;
  height: 14px;
  border-radius: 50%;
  background: #201d00;
}
.login-kakao-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -4px;
  border-top: 6px solid #201d00;
  border-right: 5px solid transparent;
  transform: rotate(13deg);
}
.login-find-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  color: #a0a49e;
  font-size: 12px;
}
.login-find-links a {
  color: #6f756c;
  text-decoration: none;
}
.login-find-links a:hover { color: #222; }
.login-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.34;
  --login-base-transform: none;
  transform: var(--login-base-transform);
  will-change: transform;
}
.login-planet {
  width: 86px;
  height: 54px;
  background: url('/assets/cursor.png') center / contain no-repeat;
}
.login-planet-a {
  left: 16%;
  top: 35%;
  --login-base-transform: rotate(-14deg);
  animation: loginPlanetDriftA 7.6s ease-in-out infinite;
}
.login-planet-b {
  right: 12%;
  bottom: 22%;
  --login-base-transform: rotate(11deg) scale(0.82);
  animation: loginPlanetDriftB 8.4s ease-in-out 0.8s infinite;
}
.login-star {
  width: 14px;
  height: 14px;
}
.login-star::before,
.login-star::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #bdddb3;
}
.login-star::before { width: 2px; height: 14px; }
.login-star::after { width: 14px; height: 2px; }
.login-star-a {
  left: 29%;
  top: 27%;
  animation: loginStarDrift 6.8s ease-in-out 0.2s infinite;
}
.login-star-b {
  right: 28%;
  top: 31%;
  --login-base-transform: scale(0.72);
  animation: loginStarDriftAlt 7.2s ease-in-out 1.1s infinite;
}
.login-star-c {
  right: 10%;
  bottom: 14%;
  --login-base-transform: scale(0.58);
  animation: loginStarDrift 8s ease-in-out 1.7s infinite;
}

@keyframes loginOrbitDrift {
  0%, 100% { transform: translate3d(-50%, 0, 0); }
  50% { transform: translate3d(calc(-50% + 8px), -15px, 0); }
}
@keyframes loginPlanetDriftA {
  0%, 100% { transform: var(--login-base-transform) translate3d(0, 0, 0); }
  50% { transform: var(--login-base-transform) translate3d(20px, -30px, 0); }
}
@keyframes loginPlanetDriftB {
  0%, 100% { transform: var(--login-base-transform) translate3d(0, 0, 0); }
  50% { transform: var(--login-base-transform) translate3d(-18px, -25px, 0); }
}
@keyframes loginStarDrift {
  0%, 100% { transform: var(--login-base-transform) translate3d(0, 0, 0); }
  50% { transform: var(--login-base-transform) translate3d(8px, -18px, 0); }
}
@keyframes loginStarDriftAlt {
  0%, 100% { transform: var(--login-base-transform) translate3d(0, 0, 0); }
  50% { transform: var(--login-base-transform) translate3d(-10px, -15px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .login-panel-orbit,
  .login-deco {
    animation: none;
  }
}

@media (max-width: 760px) {
  .login-space {
    min-height: calc(100vh - 150px);
    padding: 48px 16px 44px;
    justify-content: flex-start;
  }
  .login-panel {
    width: 100%;
    padding: 48px 22px 28px;
  }
  .login-title { font-size: 22px; }
  .login-row { align-items: flex-start; }
  .login-deco { opacity: 0.22; }
  .login-planet-a { left: -18px; top: 18%; --login-base-transform: rotate(-13deg) scale(0.7); }
  .login-planet-b { right: -22px; bottom: 18%; --login-base-transform: rotate(12deg) scale(0.66); }
  .login-star-a { left: 8%; top: 29%; }
  .login-star-b { right: 10%; top: 20%; }
  .login-star-c { display: none; }
}

/* ── Signup: 회원 유형 탭 ── */
.member-type-tabs { display: flex; border-bottom: 1px solid #e0e0e0; margin-bottom: 28px; }
.member-type-tab {
  flex: 1; padding: 10px; font-size: 11px; letter-spacing: .08em; text-align: center;
  background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; font-family: inherit; color: #888; transition: color .2s, border-color .2s;
}
.member-type-tab.active { color: #000; border-bottom-color: #000; }
.member-section { display: none; }
.member-section.active { display: block; }

/* ── Signup: 약관 아코디언 ── */
.terms-wrap { margin-top: 12px; border: 1px solid #e0e0e0; }
.terms-all-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid #e0e0e0;
  font-size: 12px; font-weight: 600; cursor: pointer;
}
.terms-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: 11px;
  border-bottom: 1px solid #f0f0f0; position: relative;
}
.terms-row:last-child { border-bottom: none; }
.terms-toggle { margin-left: auto; font-size: 10px; color: #aaa; user-select: none; transition: transform .2s; }
.terms-toggle.open { transform: rotate(180deg); }
.terms-body {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  background: #fafafa; font-size: 10px; line-height: 1.8; color: #555;
}
.terms-body.open { max-height: 240px; overflow-y: auto; padding: 12px 16px; }
.terms-check { width: 14px; height: 14px; cursor: pointer; accent-color: #000; flex-shrink: 0; }

/* ── Signup: 비밀번호 확인 상태 ── */
.pw-match-ok  { font-size: 10px; color: #2a7; margin-top: 4px; }
.pw-match-err { font-size: 10px; color: #c00; margin-top: 4px; }

/* ── 인증 대기 / verify 화면 ── */
.verify-pending { text-align: center; padding: 60px 20px; max-width: 480px; margin: 0 auto; }
.verify-pending h2 { font-size: 13px; letter-spacing: .1em; margin-bottom: 16px; }
.verify-pending p { font-size: 11px; line-height: 1.9; color: #555; }
.verify-pending .verify-url { font-size: 10px; word-break: break-all; color: #888; margin-top: 16px; background: #f5f5f5; padding: 10px; }

/* ── 외국인 국가 선택 ── */
.country-select { width: 100%; padding: 10px; border: 1px solid #ccc; font-family: inherit; font-size: 11px; background: #fff; }


/* ── Signup form ── */
.signup-wrap { max-width: 540px; margin: 60px auto 120px; padding: 0 24px; }
.signup-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 40px; }
.signup-section { border-top: 1px solid #000; padding: 28px 0 20px; }
.signup-section-title { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 9.5px; letter-spacing: 0.05em; color: #555; }
.form-input { font-family: 'Tahoma', sans-serif; font-size: 11px; border: 1px solid #ccc; padding: 8px 10px; outline: none; width: 100%; }
.form-input:focus { border-color: #000; }
.form-input[readonly] { background: #f5f5f5; color: #555; }
.form-inline { display: flex; gap: 8px; align-items: stretch; }
.form-inline .form-input { flex: 1; }
.inline-check-btn {
  flex-shrink: 0;
  min-width: 88px;
  padding: 0 14px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.inline-check-btn:hover:not(:disabled) { background: #f5f5f5; }
.inline-check-btn:disabled { opacity: 0.5; }
.form-row { display: flex; gap: 8px; }
.form-row .form-input { flex: 1; }
.phone-code-row { display: grid; grid-template-columns: minmax(150px, 0.45fr) 1fr; gap: 8px; }
.phone-code-select { min-width: 0; }
.postcode-btn { font-family: 'Tahoma', sans-serif; font-size: 9.5px; background: #000; color: #a8d8cc; border: none; padding: 0 16px; white-space: nowrap; }
.postcode-btn:hover { background: #333; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 10px; margin-bottom: 10px; cursor: pointer; }
.field-inline-meta { font-weight: normal; color: #aaa; font-size: 10px; }
.field-hint { font-size: 10px; color: #888; line-height: 1.6; margin-top: 2px; }
.field-status { font-size: 10px; min-height: 16px; margin-top: 2px; }
.field-status.is-ok { color: #2a7; }
.field-status.is-error { color: #c00; }
.member-subtype-row { display: flex; flex-wrap: wrap; gap: 18px; }
.member-subtype-option { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.signup-notice {
  font-size: 10px;
  line-height: 1.8;
  color: #666;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.form-error { font-size: 10px; color: #c00; margin: 8px 0; }
.form-submit { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; background: #000; color: #a8d8cc; border: none; padding: 14px; width: 100%; margin-top: 24px; }
.form-submit:hover:not(:disabled) { background: #333; }
.form-submit:disabled { opacity: 0.5; }
.signup-login-link { font-size: 10px; text-align: center; margin-top: 16px; color: #555; }
.signup-login-link a { color: #000; text-decoration: underline; }
.signup-done { text-align: center; padding: 80px 0; }
.signup-done-icon { font-size: 52px; margin-bottom: 20px; }
.signup-done-title { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 16px; }
.signup-done-sub { font-size: 11px; color: #555; line-height: 1.9; margin-bottom: 32px; }
.signup-done-btn { display: inline-block; background: #000; color: #fff; padding: 13px 32px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Mypage ── */
.mypage-wrap { max-width: 780px; margin: 60px auto 120px; padding: 0 24px; }
.mypage-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.mypage-email { font-size: 10px; color: #888; margin-bottom: 36px; }
.status-bar { display: flex; border: 1px solid #e0e0e0; margin-bottom: 40px; cursor: pointer; }
.status-item { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 20px 8px; border: 0; border-right: 1px solid #e0e0e0; background: #fff; gap: 6px; font: inherit; cursor: pointer; }
.status-item:last-child { border-right: none; }
.status-count { font-size: 22px; font-weight: 700; }
.status-label { font-size: 9px; letter-spacing: 0.08em; color: #666; }
.mypage-tabs { display: flex; border-bottom: 1px solid #000; margin-bottom: 32px; }
.mypage-tab { font-size: 9.5px; letter-spacing: 0.1em; background: none; border: none; padding: 10px 20px; color: #888; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.mypage-tab:hover { color: #000; }
.mypage-tab.active { color: #000; border-bottom-color: #000; }
#logout-btn { margin-left: auto; color: #c00; }
#logout-btn:hover { color: #900; }
.mypage-content { min-height: 240px; }
.mypage-empty { font-size: 11px; color: #888; text-align: center; padding: 60px 0; }
.mypage-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.mypage-table th { font-size: 9px; letter-spacing: 0.08em; color: #888; font-weight: 400; text-align: left; padding: 0 0 12px; border-bottom: 1px solid #e0e0e0; }
.mypage-table td { padding: 14px 0; border-bottom: 1px solid #f0f0f0; vertical-align: top; }
.edit-form { display: flex; flex-direction: column; gap: 16px; max-width: 400px; }
.edit-form.wide { max-width: none; }
.save-btn { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; background: #000; color: #a8d8cc; border: none; padding: 12px 28px; align-self: flex-start; }
.save-msg { font-size: 10px; color: #555; }
.profile-lock { max-width: 460px; border: 1px solid #e5e5e5; padding: 28px; background: #fff; }
.profile-lock-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 10px; }
.profile-lock-copy, .panel-sub { font-size: 10px; line-height: 1.8; color: #777; margin-bottom: 18px; }
.mypage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.mypage-panel { border: 1px solid #e8e8e8; background: #fff; padding: 24px; }
.mypage-panel h2 { font-size: 12px; letter-spacing: .12em; margin-bottom: 8px; }
.postcode-inline { display: grid; grid-template-columns: minmax(0,1fr) 110px; gap: 8px; }
.outline-btn { border: 1px solid #d8d8d8; background: #fff; color: #111; padding: 10px 12px; font: inherit; font-size: 10px; letter-spacing: .08em; cursor: pointer; }
.outline-btn:hover:not(:disabled) { border-color: #000; }
.outline-btn:disabled { color: #aaa; background: #fafafa; cursor: not-allowed; }
.outline-btn.danger { color: #b64b5b; border-color: #edcfd5; }
.check-line { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #555; }
.address-list { display: grid; gap: 12px; }
.address-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; border: 1px solid #eeeeee; padding: 16px; background: #fbfbfb; }
.address-card strong { font-size: 12px; letter-spacing: .08em; }
.address-card p { font-size: 11px; color: #555; line-height: 1.7; margin-top: 6px; }
.default-badge { display: inline-flex; margin-left: 8px; padding: 2px 7px; border: 1px solid #a8d8cc; color: #39796c; font-size: 9px; letter-spacing: .08em; }
.address-actions { display: flex; flex-direction: column; gap: 8px; min-width: 112px; }
.mypage-empty.compact { padding: 24px 0; text-align: left; }

/* ── Search modal ── */
.search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); z-index: 9998; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; animation: fadeIn 0.15s ease; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.search-modal { width: 100%; max-width: 560px; background: #fff; border: 1px solid #000; margin: 0 16px; animation: slideDown 0.18s ease; }
@keyframes slideDown { from{transform:translateY(-16px);opacity:0} to{transform:translateY(0);opacity:1} }
.search-input-row { display: flex; align-items: center; border-bottom: 1px solid #e0e0e0; padding: 0 16px; height: 52px; gap: 10px; }
.search-input { flex: 1; font-family: 'Tahoma','Malgun Gothic',sans-serif; font-size: 13px; border: none; outline: none; }
.search-close { background: none; border: none; font-size: 12px; color: #888; padding: 4px; }
.search-close:hover { color: #000; }
.search-status { font-size: 11px; color: #888; padding: 20px 16px; text-align: center; }
.search-results { list-style: none; max-height: 420px; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: inherit; }
.search-result-item:hover { background: #f8f8f8; }
.search-thumb { flex-shrink: 0; width: 56px; height: 56px; overflow: hidden; background: #f0f0f0; }
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-info { display: flex; flex-direction: column; gap: 3px; }
.search-name-ko { font-size: 12px; font-weight: 600; }
.search-name-en { font-size: 9.5px; letter-spacing: 0.08em; color: #888; text-transform: uppercase; }
.search-price { font-size: 11px; color: #333; margin-top: 2px; }

/* ── Admin ── */
.admin-wrap { max-width: 1100px; margin: 48px auto 120px; padding: 0 24px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.admin-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.admin-count { font-size: 10px; color: #888; margin-bottom: 24px; }
.admin-add-btn { font-size: 10px; letter-spacing: 0.1em; background: #000; color: #a8d8cc; border: none; padding: 10px 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.admin-table th { font-size: 9px; letter-spacing: 0.08em; color: #888; font-weight: 400; text-align: left; padding: 0 8px 10px 0; border-bottom: 1px solid #e0e0e0; }
.admin-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.admin-table tr:hover td { background: #fafafa; }
.admin-thumb { width: 52px; height: 52px; overflow: hidden; background: #f0f0f0; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge-on { color: #006e2e; font-weight: 600; font-size: 9.5px; }
.badge-off { color: #b00; font-size: 9.5px; }
.btn-edit { font-size: 9px; background: #000; color: #fff; border: none; padding: 5px 10px; }
.btn-del  { font-size: 9px; background: #fff; color: #c00; border: 1px solid #c00; padding: 5px 10px; }
.btn-edit:hover { background: #333; }
.btn-del:hover  { background: #fef0f0; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal-box { background: #fff; border: 1px solid #000; width: 100%; max-width: 640px; padding: 32px; animation: slideDown 0.15s ease; }
.modal-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.modal-field { display: flex; flex-direction: column; gap: 6px; }
.modal-field label { font-size: 9px; letter-spacing: 0.08em; color: #666; text-transform: uppercase; }
.modal-field input, .modal-field select, .modal-field textarea { font-family: 'Tahoma','Malgun Gothic',sans-serif; font-size: 11px; border: 1px solid #ccc; padding: 8px 10px; outline: none; }
.modal-field input:focus, .modal-field select:focus, .modal-field textarea:focus { border-color: #000; }
.modal-field textarea { resize: vertical; }
.full-width { grid-column: 1/-1; }
.image-section { margin-bottom: 20px; }
.image-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin-top: 10px; }
.image-item { position: relative; width: 80px; height: 80px; }
.image-item img { width: 100%; height: 100%; object-fit: cover; border: 1px solid #e0e0e0; }
.remove-img { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; background: #000; color: #fff; border: none; border-radius: 50%; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.upload-btn { width: 80px; height: 80px; border: 1.5px dashed #bbb; background: #fafafa; font-size: 9px; color: #888; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.4; }
.upload-btn:hover { border-color: #000; color: #000; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid #e0e0e0; padding-top: 20px; }
.btn-cancel { font-size: 10px; background: #fff; color: #000; border: 1px solid #ccc; padding: 10px 24px; }
.btn-save   { font-size: 10px; background: #000; color: #a8d8cc; border: none; padding: 10px 28px; }
.btn-save:hover { background: #333; }
.btn-save:disabled { opacity: 0.5; }

/* ── Responsive ── */
@media (max-width: 959px) {
  /* Header: sticky 유지 (position:relative 제거), 패딩 축소, 모바일 레이아웃 */
  .site-header { padding: 0 20px; }
  /* position:sticky는 base CSS에서 유지 — 모바일에서도 헤더 고정 필요 */
  .nav-main-links { display: none; }
  .header-logo-link {
    /* sticky element는 positioning context → absolute child 가능 */
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .nav-user-links { flex: 0 0 auto; justify-content: flex-start; order: 1; gap: 10px; white-space: nowrap; }
  .hamburger { display: block; order: 3; margin-left: auto; }

  /* Layout */
  .home-split { grid-template-columns: 1fr; }
  .hero-inner { min-height: calc(100vh - 100px); }
  .product-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .product-info-panel { position: static; padding: 24px; max-height: none; overflow-y: visible; }
  .modal-grid { grid-template-columns: 1fr; }
  .mypage-grid { grid-template-columns: 1fr; }
  .address-card { grid-template-columns: 1fr; }
  .address-actions { flex-direction: row; flex-wrap: wrap; }

  /* iOS Safari: background-attachment:fixed 글리치 방지 */
  .hero-panel { background-attachment: scroll; }
}
@media (max-width: 480px) {
  .product-grid.cols-2, .product-grid.cols-4 { grid-template-columns: 1fr; }
  .form-inline { flex-direction: column; }
  .phone-code-row { grid-template-columns: 1fr; }
  .inline-check-btn { min-height: 38px; }
  .segmented-id-row { grid-template-columns: 1fr; }
  .segmented-sep { display: none; }
  .auth-method-options { gap: 10px 14px; }
  .status-bar { overflow-x: auto; }
  .status-item { min-width: 86px; }
  .mypage-tabs { overflow-x: auto; }
  .mypage-tab { padding: 10px 14px; }
  .postcode-inline { grid-template-columns: 1fr; }
}

/* ── Collection page ── */
.collection-wrap { max-width: 1100px; margin: 60px auto 120px; padding: 0 24px; }
.collection-hero {
  text-align: center; border-bottom: 1px solid #000; padding-bottom: 48px; margin-bottom: 60px;
}
.collection-season { font-size: 9px; letter-spacing: 0.22em; color: #888; text-transform: uppercase; margin-bottom: 16px; }
.collection-title  { font-size: 36px; font-weight: 300; letter-spacing: 0.08em; line-height: 1.3; margin-bottom: 20px; }
.collection-title em { font-style: normal; color: #0a246a; font-weight: 700; }
.collection-sub    { font-size: 11px; color: #555; line-height: 1.9; max-width: 520px; margin: 0 auto; }
.collection-cats   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.collection-cat-card {
  display: block; text-decoration: none; color: inherit; border: 1px solid #e0e0e0;
  padding: 36px 24px; text-align: center; transition: border-color 0.2s;
}
.collection-cat-card:hover { border-color: #000; }
.collection-cat-name { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.collection-cat-ko   { font-size: 11px; color: #888; }
@media (max-width: 959px) { .collection-cats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .collection-cats { grid-template-columns: 1fr; } }

/* ── About page ── */
.about-hero { width: 100%; margin-top: 60px; text-align: center; }
.about-hero img { width: 100%; max-width: 960px; display: block; margin: 0 auto; object-fit: cover; }
.about-manifesto { max-width: 480px; margin: 72px auto 140px; padding: 0 24px; text-align: center; }
.about-manifesto p { font-size: 12px; line-height: 2.2; color: #111; letter-spacing: 0.04em; }
.about-manifesto p + p { margin-top: 28px; }
.about-question { margin-top: 56px !important; font-size: 11px; color: #555; letter-spacing: 0.06em; }

/* ── Cart page ── */
.cart-wrap { max-width: 800px; margin: 60px auto 140px; padding: 0 24px; }
.cart-title { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid #000; }
.cart-empty { text-align: center; padding: 80px 0; font-size: 11px; color: #888; }
.cart-empty a { color: #000; text-decoration: underline; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 40px; }
.cart-table th { font-size: 9px; letter-spacing: 0.08em; color: #888; font-weight: 400; text-align: left; padding: 0 0 12px; border-bottom: 1px solid #e0e0e0; }
.cart-table td { padding: 20px 0; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.cart-thumb { width: 64px; height: 80px; object-fit: cover; background: #f0f0f0; display: block; }
.cart-item-name { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.cart-item-ko   { font-size: 10px; color: #888; margin-bottom: 4px; }
.cart-item-size { font-size: 9px; letter-spacing: 0.08em; color: #555; }
.cart-del { background: none; border: none; font-size: 12px; color: #aaa; padding: 4px 8px; }
.cart-del:hover { color: #c00; }
.cart-summary { text-align: right; }
.cart-total-label { font-size: 9px; letter-spacing: 0.1em; color: #888; text-transform: uppercase; margin-bottom: 8px; }
.cart-total-price { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.cart-checkout-btn { display: inline-block; background: #000; color: #a8d8cc; border: none; padding: 15px 48px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.cart-checkout-btn:hover { background: #333; }

/* Add-to-cart button on product page */
.cart-btn { width: 100%; padding: 13px; background: #fff; color: #000; border: 1px solid #000; font-family: 'Tahoma', sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.cart-btn:hover:not(:disabled) { background: #f5f5f5; }

/* ── Local Admin page ── */
.local-admin-wrap { max-width: 960px; margin: 60px auto 120px; padding: 0 24px; }
.local-admin-notice { background: #fffbe6; border: 1px solid #e8d56a; padding: 14px 18px; font-size: 10px; line-height: 1.7; margin-bottom: 32px; color: #555; }
.local-admin-notice strong { color: #333; }

/* ── Site Footer ── */
.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 48px 40px 40px;
  margin-top: 80px;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links a:hover { opacity: 0.45; }
.footer-legal {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 8px;
}
.footer-biz {
  font-size: 9px;
  color: #bbb;
  line-height: 2;
}
.footer-biz span { display: inline; }
.footer-biz a { color: inherit; }
@media (max-width: 959px) { .site-footer { padding: 36px 20px 32px; margin-top: 60px; } }

/* ── Collection archive ── */
.season-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 48px;
  scrollbar-width: none;
}
.season-tabs::-webkit-scrollbar { display: none; }
.season-tab {
  flex-shrink: 0;
  font-family: 'Tahoma', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 22px;
  color: #888;
  margin-bottom: -1px;
  white-space: nowrap;
}
.season-tab:hover { color: #000; }
.season-tab.active { color: #000; border-bottom-color: #000; }

.season-header {
  text-align: center;
  margin-bottom: 40px;
}
.season-header-label { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #888; margin-bottom: 12px; }
.season-header-title { font-size: 22px; font-weight: 300; letter-spacing: 0.06em; margin-bottom: 6px; }
.season-header-en    { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #555; }

/* 1컬럼 세로 스택 에디토리얼 레이아웃 */
.season-photos {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.season-photo-item { display: block; cursor: zoom-in; line-height: 0; }
.season-photo-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.season-empty {
  text-align: center;
  padding: 100px 0;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.08em;
}

/* 라이트박스 */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9997;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  pointer-events: none;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: #fff; font-size: 20px;
  opacity: 0.7;
}
.lightbox-close:hover { opacity: 1; }

/* ── Legal pages (privacy / agreement) ── */
.legal-wrap { max-width: 760px; margin: 60px auto 140px; padding: 0 24px; }
.legal-main-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.legal-intro {
  font-size: 11px;
  line-height: 2;
  color: #555;
  margin-bottom: 32px;
  word-break: keep-all;
}
/* legacy alias */
.legal-title-main {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.legal-updated { font-size: 9.5px; color: #888; margin-bottom: 40px; letter-spacing: 0.06em; }
.legal-section { border-top: 1px solid #e0e0e0; padding: 24px 0 8px; margin-bottom: 8px; }
.legal-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: #000;
}
.legal-body {
  font-size: 11px;
  line-height: 2.1;
  color: #444;
  word-break: keep-all;
}
.legal-body p { margin-bottom: 8px; }
.legal-body + .legal-body { margin-top: 10px; }
.legal-ol { padding-left: 20px; margin: 10px 0; }
.legal-ol li { font-size: 11px; line-height: 2; color: #444; margin-bottom: 4px; }
.legal-ol ul { padding-left: 16px; margin: 4px 0; list-style: disc; }
.legal-ol ul li { list-style: disc; }
.legal-contact-box {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  padding: 14px 16px;
  border-radius: 3px;
  margin: 10px 0;
  font-size: 11px;
  line-height: 2;
  color: #444;
}
.legal-contact-box p { margin-bottom: 2px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  margin: 10px 0;
  color: #444;
}
.legal-table th, .legal-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.legal-table th { background: #f5f5f5; font-weight: 700; }
.legal-date {
  font-size: 11px;
  color: #888;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

/* ── Helpdesk (FAQ / Board / Contact) ── */
.helpdesk-wrap { max-width: 960px; margin: 0 auto; padding: 40px 24px 100px; }

/* 탭 바 */
.helpdesk-tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 12px;
}
.helpdesk-tab {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0 0 4px;
  border-bottom: 2px solid transparent;
}
.helpdesk-tab.active { color: #000; border-bottom-color: #000; }
.helpdesk-tab:hover  { color: #000; }

/* 패널 제목 */
.helpdesk-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

/* ── FAQ accordion ── */
.faq-list { border-bottom: 1px solid #e0e0e0; }
.faq-item { border-top: 1px solid #e0e0e0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #000;
}
.faq-q:hover { color: #555; }
.faq-icon { font-size: 14px; color: #888; flex-shrink: 0; margin-left: 16px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a.open { max-height: 3000px; }
.faq-a-inner {
  padding: 8px 4px 28px;
  font-size: 11px;
  line-height: 2;
  color: #444;
}
.faq-a-inner p { margin-bottom: 2px; }
.faq-head {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 8px;
  margin-bottom: 4px !important;
  color: #000;
}

/* ── Board ── */
.board-cats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}
.board-cat {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  cursor: pointer;
  color: #aaa;
  margin-bottom: -1px;
}
.board-cat.active { color: #000; border-bottom-color: #000; font-weight: 700; }
.board-cat:hover  { color: #000; }

.board-list { list-style: none; border-top: 1px solid #e0e0e0; }
.board-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 6px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 12px;
}
.board-item:hover { background: #fafafa; }
.board-lock { font-size: 11px; color: #bbb; flex-shrink: 0; }
.board-item-cat {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #888;
  min-width: 90px;
}
.board-item-title { flex: 1; color: #000; }
.board-item-meta  { flex-shrink: 0; font-size: 10px; color: #aaa; }
.board-badge-new {
  display: inline-block;
  background: #1565c0;
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 4px;
  vertical-align: middle;
}
.board-badge-re {
  display: inline-block;
  background: #555;
  color: #fff;
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 2px;
  vertical-align: middle;
}
.board-loading { padding: 32px 0; text-align: center; color: #aaa; font-size: 12px; list-style: none; }
.board-empty   { padding: 32px 0; text-align: center; color: #aaa; font-size: 12px; list-style: none; line-height: 1.8; }

.board-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.board-write-btn {
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: inherit;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}
.board-write-btn:hover { background: #333; }

.board-more-btn {
  padding: 9px 28px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: inherit;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  cursor: pointer;
}
.board-more-btn:hover { border-color: #000; }

/* 문의 상세 */
.inquiry-detail { margin-top: 8px; }
.inquiry-back {
  font-size: 11px;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  display: inline-block;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.inquiry-back:hover { color: #000; }
.inquiry-header { border-bottom: 1px solid #e0e0e0; padding-bottom: 16px; margin-bottom: 16px; }
.inquiry-cat-label { font-size: 10px; letter-spacing: 0.08em; color: #888; display: block; margin-bottom: 6px; }
.inquiry-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.inquiry-meta  { font-size: 10px; color: #aaa; }
.inquiry-body  { font-size: 12px; line-height: 2; color: #333; min-height: 80px; }
.inquiry-reply {
  background: #f8f8f8;
  border-left: 3px solid #000;
  padding: 16px 18px;
  margin-top: 16px;
}
.inquiry-reply-label { font-size: 10px; letter-spacing: 0.06em; color: #555; margin-bottom: 8px; font-weight: 700; }
.inquiry-reply-date  { font-weight: normal; color: #aaa; }
.inquiry-reply-body  { font-size: 12px; line-height: 1.9; color: #333; }

/* 비밀번호 박스 */
.inquiry-pw-box {
  border: 1px solid #e0e0e0;
  padding: 28px 24px;
  margin-top: 24px;
  text-align: center;
}
.inquiry-pw-msg { font-size: 12px; color: #555; margin-bottom: 16px; }
.inquiry-pw-row { display: flex; gap: 8px; max-width: 320px; margin: 0 auto; }
.inquiry-pw-input {
  flex: 1;
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid #ccc;
  font-family: inherit;
}
.inquiry-pw-submit {
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: inherit;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}
.inquiry-pw-submit:disabled { background: #999; cursor: not-allowed; }
.inquiry-pw-err { font-size: 11px; color: #c00; margin-top: 10px; min-height: 16px; }

/* 문의 작성 폼 */
.inquiry-form { max-width: 640px; margin-top: 8px; }
.inquiry-form-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.inq-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #555;
  text-transform: uppercase;
  margin: 16px 0 5px;
}
.inq-label:first-of-type { margin-top: 0; }
.inq-label-sub { font-size: 10px; color: #aaa; text-transform: none; letter-spacing: 0; }
.inq-input {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid #ccc;
  font-family: inherit;
}
.inq-input:focus { outline: none; border-color: #000; }
.inq-body { height: 140px; resize: vertical; }
.inq-err { font-size: 11px; color: #c00; margin-top: 8px; min-height: 14px; }
.inq-actions { display: flex; gap: 10px; margin-top: 16px; }
.inq-submit-btn {
  padding: 10px 28px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: inherit;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}
.inq-submit-btn:disabled { background: #999; cursor: not-allowed; }
.inq-cancel-btn {
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: inherit;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  cursor: pointer;
}
.inq-cancel-btn:hover { border-color: #000; }

/* ── Contact ── */
.contact-block { margin-bottom: 36px; }
.contact-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 6px;
}
.contact-value {
  font-size: 15px;
  color: #000;
}
.contact-value a { color: #000; text-decoration: none; }
.contact-value a:hover { color: #000; }

@media (max-width: 599px) {
  .helpdesk-tabs { gap: 20px; }
  .board-item-cat { display: none; }
  .board-item-meta { display: none; }
  .inquiry-pw-row { flex-direction: column; }
}

/* ── admin-local image grid ─────────────────────────────── */
.img-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.img-thumb-wrap { position: relative; width: 64px; height: 64px; }
.img-thumb-wrap img { width: 64px; height: 64px; object-fit: cover; border: 1px solid #e0e0e0; border-radius: 2px; }
.img-thumb-del {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; background: #c00; color: #fff;
  border: none; border-radius: 50%; font-size: 10px;
  cursor: pointer; line-height: 18px; text-align: center; padding: 0;
}
.btn-img-add {
  padding: 6px 14px; font-size: 11px; letter-spacing: .06em;
  border: 1px dashed #999; background: #fff;
  cursor: pointer; border-radius: 3px; font-family: inherit;
}
.btn-img-add:hover { background: #f5f5f5; border-color: #222; }

/* ── admin-local 사이즈 체크박스 ─────────────────────────── */
.local-size-checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.local-size-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; cursor: pointer;
  padding: 4px 8px; border: 1px solid #ccc;
}
.local-size-label input { margin: 0; cursor: pointer; }

/* ── Language toggle button (nav) ─────────────────────── */
.nav-lang-btn {
  background: none; border: 1px solid #a8d8cc; color: #a8d8cc;
  font-family: 'Tahoma', sans-serif; font-size: 9px; letter-spacing: 0.12em;
  padding: 3px 8px; cursor: pointer;
}
.nav-lang-btn:hover { background: #a8d8cc; color: #fff; }
.nav-lang-btn-mobile {
  color: #a8d8cc; font-size: 11px; letter-spacing: 0.12em;
}

.checkout-page { max-width: 1360px; margin: 0 auto; padding: 48px 24px 96px; }
.checkout-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 32px; align-items: start; }
.checkout-main, .checkout-summary { display: grid; gap: 24px; }
.checkout-section-head { padding-bottom: 8px; border-bottom: 1px solid #000; }
.checkout-eyebrow { font-size: 10px; letter-spacing: .16em; color: #888; margin-bottom: 10px; }
.checkout-title { font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.checkout-subtitle { font-size: 12px; color: #666; line-height: 1.7; max-width: 560px; }
.checkout-card { background: #fff; border: 1px solid #e3e3e3; padding: 28px; }
.checkout-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.checkout-card-head h2 { font-size: 14px; letter-spacing: .08em; }
.checkout-card-head p { font-size: 11px; color: #777; line-height: 1.6; max-width: 360px; text-align: right; }
.checkout-address-switch { display: flex; gap: 8px; margin-bottom: 18px; }
.address-mode-btn { border: 1px solid #cfcfcf; background: #fff; padding: 12px 16px; font-family: inherit; font-size: 11px; letter-spacing: .06em; cursor: pointer; }
.address-mode-btn.active { border-color: #000; background: #000; color: #fff; }
.checkout-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.checkout-field { display: grid; gap: 6px; }
.checkout-field span { font-size: 10px; letter-spacing: .08em; color: #666; }
.checkout-field-full { grid-column: 1 / -1; }
.checkout-field-postal { grid-column: 1 / -1; }
.checkout-postcode-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 10px; }
.checkout-check { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 11px; color: #555; }
.checkout-check-block { display: flex; margin-top: 12px; align-items: flex-start; line-height: 1.6; }
.checkout-inline-msg { margin-top: 12px; min-height: 18px; font-size: 11px; color: #8a4b00; line-height: 1.5; }
.checkout-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkout-terms-box { border: 1px solid #e5e5e5; background: #fff; padding: 16px; }
.checkout-terms-box h3 { font-size: 11px; letter-spacing: .08em; margin-bottom: 10px; }
.checkout-terms-scroll { height: 180px; overflow: auto; border: 1px solid #eee; background: #fbfbfb; padding: 14px; display: grid; gap: 10px; font-size: 11px; color: #555; line-height: 1.75; }
.checkout-terms-scroll a { text-decoration: underline; color: #000; }
.checkout-provider-grid { display: grid; gap: 12px; }
.checkout-provider-btn, .checkout-method-btn { width: 100%; text-align: left; background: #fff; border: 1px solid #d9d9d9; padding: 16px 18px; font-family: inherit; cursor: pointer; display: grid; gap: 6px; }
.checkout-provider-btn strong, .checkout-method-btn strong { font-size: 12px; letter-spacing: .06em; }
.checkout-provider-btn span, .checkout-method-btn span { font-size: 11px; color: #666; line-height: 1.5; }
.checkout-provider-btn.active, .checkout-method-btn.active { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.checkout-method-btn:disabled { opacity: .45; cursor: not-allowed; background: #fafafa; }
.checkout-method-list { display: grid; gap: 10px; margin-top: 16px; }
.checkout-provider-detail { margin-top: 16px; padding: 16px 18px; background: #fafafa; border: 1px solid #ececec; display: grid; gap: 6px; font-size: 11px; color: #555; line-height: 1.6; }
.checkout-summary-card { position: sticky; top: 96px; }
.checkout-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f1f1f1; }
.checkout-item:first-child { padding-top: 0; }
.checkout-item:last-child { border-bottom: none; padding-bottom: 0; }
.checkout-item-thumb { width: 68px; height: 84px; background: #f4f4f4; overflow: hidden; }
.checkout-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.checkout-item-meta { display: grid; gap: 4px; min-width: 0; }
.checkout-item-meta strong { font-size: 12px; line-height: 1.5; }
.checkout-item-meta span { font-size: 11px; color: #666; line-height: 1.5; }
.checkout-item-price { font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
.checkout-totals { display: grid; gap: 14px; }
.checkout-total-row { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; padding-bottom: 14px; border-bottom: 1px solid #f1f1f1; }
.checkout-total-row-final { font-size: 15px; font-weight: 700; border-bottom: none; padding-top: 4px; }
.checkout-submit-btn { width: 100%; margin-top: 24px; background: #000; color: #fff; border: none; padding: 16px 20px; font-family: inherit; font-size: 11px; letter-spacing: .12em; cursor: pointer; }
.checkout-submit-btn:disabled { opacity: .6; cursor: wait; }
.checkout-express-pay { margin-top: 14px; display: grid; gap: 8px; }
.checkout-express-pay button { width: 100%; border: 1px solid #e0e0e0; padding: 13px 14px; font-size: 11px; letter-spacing: .04em; cursor: not-allowed; opacity: .72; }
.checkout-pay-kakao { background: #fee500; color: #191600; }
.checkout-pay-naver { background: #03c75a; color: #fff; }
.checkout-express-pay p { font-size: 10px; color: #888; line-height: 1.5; text-align: center; }
.checkout-success { max-width: 720px; margin: 80px auto; text-align: center; display: grid; gap: 14px; }
.checkout-success h1 { font-size: 32px; font-weight: 500; }
.checkout-success p { font-size: 13px; color: #666; line-height: 1.8; }
.checkout-success-actions { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.checkout-success-link { padding: 14px 22px; background: #000; color: #fff; text-decoration: none; font-size: 11px; letter-spacing: .1em; }
.checkout-success-link.secondary { background: #fff; color: #000; border: 1px solid #000; }

@media (max-width: 980px) {
  .checkout-shell { grid-template-columns: 1fr; }
  .checkout-summary-card { position: static; }
}

@media (max-width: 640px) {
  .checkout-page { padding: 24px 14px 64px; }
  .checkout-card { padding: 20px 16px; }
  .checkout-card-head { flex-direction: column; }
  .checkout-card-head p { text-align: left; max-width: none; }
  .checkout-title { font-size: 22px; }
  .checkout-form-grid { grid-template-columns: 1fr; }
  .checkout-terms-grid { grid-template-columns: 1fr; }
  .checkout-postcode-row { grid-template-columns: 1fr; }
  .checkout-address-switch { flex-direction: column; }
  .checkout-item { grid-template-columns: 56px minmax(0, 1fr); }
  .checkout-item-price { grid-column: 2; }
  .checkout-success-actions { flex-direction: column; }
}

/* ── Quantity selector (product page) ─────────────────── */
.qty-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; font-size: 11px;
}
.qty-btn {
  width: 30px; height: 30px; border: 1px solid #ccc; background: #fff;
  font-size: 14px; font-family: 'Tahoma', sans-serif; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { border-color: #000; }
.qty-num { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.qty-price { color: #555; font-size: 11px; }

/* ── Accordion sections (product page) ─────────────────── */
.accordion-section {
  border-top: 1px solid #e0e0e0;
  margin-top: 24px;
}
.accordion-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; padding: 14px 0;
  font-family: 'Tahoma', sans-serif; font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; color: #000;
}
.accordion-head:hover { opacity: 0.65; }
.acc-icon { font-size: 9px; letter-spacing: 0; transition: transform 0.25s ease; display: inline-block; }
.accordion-head.open .acc-icon { transform: rotate(180deg); }
.accordion-body {
  overflow: hidden; max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 11px; line-height: 1.9; color: #444;
  padding: 0;
}
.accordion-body.open {
  max-height: 1200px;
  padding-bottom: 20px;
}
.accordion-body p { margin: 0 0 12px; line-height: 1.9; }
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body ul,
.accordion-body ol { margin: 8px 0 12px 18px; }
.accordion-body li { margin-bottom: 4px; }
.accordion-body span[style*="font-size"] { line-height: inherit; }
.accordion-body hr { border: none; border-top: 1px solid #e0e0e0; margin: 12px 0; }

/* ── Rich text editor (admin pages) ─────────────────────── */
.rich-toolbar {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid #ccc; border-bottom: none;
  background: #f9f9f9; padding: 4px 6px;
}
.rich-toolbar .rt-btn {
  min-width: 26px; height: 24px; border: 1px solid #ccc; background: #fff;
  font-size: 10px; font-family: inherit; cursor: pointer; padding: 0 6px;
}
.rich-toolbar .rt-btn:hover { background: #e8e8e8; }
.rich-toolbar .rt-sep { width: 1px; height: 18px; background: #ddd; margin: 0 2px; }
.rich-toolbar input[type=color] {
  width: 24px; height: 24px; border: 1px solid #ccc; padding: 0; cursor: pointer;
  border-radius: 2px;
}
.rich-editor {
  border: 1px solid #ccc; min-height: 80px; padding: 8px 10px;
  font-family: 'Tahoma', 'Malgun Gothic', sans-serif; font-size: 12px;
  line-height: 1.8; outline: none; background: #fff;
}
.rich-editor:focus { border-color: #000; }

/* ── Display style controls (admin) ─────────────────────── */
.ds-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ds-controls select, .ds-controls input[type=color] {
  font-family: inherit; font-size: 11px; border: 1px solid #ccc; padding: 4px 6px;
  height: 28px;
}
.ds-controls input[type=color] { width: 36px; height: 28px; padding: 1px 2px; cursor: pointer; }

/* ── Restock alert and checkout notifications ─────────── */
.restock-box {
  margin-top: 10px;
  border: 1px solid #d8ded8;
  background: #fbfdfb;
  padding: 14px;
}
.restock-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.restock-copy {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.7;
  color: #666;
}
.restock-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.restock-actions .cart-btn {
  min-height: 38px;
  font-size: 10px;
}
.checkout-alert-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.checkout-alert-options label {
  border: 1px solid #ddd;
  padding: 11px 12px;
  font-size: 12px;
  color: #333;
  cursor: pointer;
}
.checkout-alert-options input {
  margin-right: 6px;
  vertical-align: -1px;
}
.checkout-help {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #888;
  line-height: 1.6;
}
.order-policy-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: #777;
}

@media (max-width: 640px) {
  .restock-actions,
  .checkout-alert-options {
    grid-template-columns: 1fr;
  }
}
