/* Todaki — design tokens v3 (강남언니 / 오늘의집 스타일).
   순백 배경 / 절제된 핫핑크 액센트 / 큰 타이포 위계 / 600px 본문 폭. */

:root {
  /* ── Surface ─────────────────────────────────────── */
  --bg:        #FFFFFF;          /* page bg, pure white */
  --bg-2:      #FAFAFA;          /* section divider strip */
  --bg-3:      #F5F5F7;          /* card hover, subtle */
  --bg-card:   #FFFFFF;

  /* ── Ink (text) — neutral, no warm tint ─────────── */
  --ink:       #111111;          /* high emphasis */
  --ink-2:     #424247;          /* body */
  --ink-3:     #8A8D93;          /* meta */
  --ink-4:     #B8BBC2;          /* placeholder, disabled */
  --ink-5:     #E5E7EB;          /* divider strong */

  /* ── Lines ───────────────────────────────────────── */
  --line:      #1F1F1F;
  --line-soft: rgba(17, 17, 17, 0.10);
  --line-softer: rgba(17, 17, 17, 0.06);

  /* ── Accent — Gangnamunni hot pink + secondary coral ── */
  --pink:      #FF6680;          /* primary accent (강남언니 톤) */
  --pink-50:   #FFF0F4;
  --pink-100:  #FFD9E2;
  --pink-300:  #FF99AD;
  --pink-500:  #FF6680;
  --pink-600:  #ED4868;
  --pink-700:  #D63756;

  --coral:     #FF6680;          /* alias — 통일 */
  --coral-500: #FF6680;
  --coral-50:  #FFF0F4;
  --coral-100: #FFD9E2;
  --coral-300: #FF99AD;
  --coral-600: #ED4868;
  --coral-soft: var(--pink-50);

  /* ── Wellness pastel circle backgrounds (category icons) ── */
  --pastel-rose:    #FFE4EC;
  --pastel-mint:    #E0F4EC;
  --pastel-sky:     #E3F0FB;
  --pastel-cream:   #FFF4DD;
  --pastel-violet:  #EFE5FA;

  --sage:      #5CB390;
  --lavender:  #9B85D0;
  --gold:      #C68B3E;

  /* ── Shadows — minimal, elevation only ─────────── */
  --shadow-card:       0 1px 3px rgba(17, 17, 17, 0.06);
  --shadow-card-hover: 0 8px 24px rgba(17, 17, 17, 0.08);
  --shadow-pill:       0 2px 8px rgba(17, 17, 17, 0.06);
  --shadow-fab:        0 6px 20px rgba(255, 102, 128, 0.34);

  /* ── Radius ───────────────────────────────────── */
  --r-sm:  6px;
  --r:     10px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-full: 999px;

  /* ── Typography ───────────────────────────────── */
  --font-kr:   "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-num:  "Pretendard Variable", -apple-system, system-ui, sans-serif;

  /* Type scale (강남언니 식 위계) */
  --t-display: 700 28px/1.25 var(--font-kr);
  --t-h1:      700 22px/1.3  var(--font-kr);
  --t-h2:      700 18px/1.35 var(--font-kr);
  --t-h3:      600 16px/1.4  var(--font-kr);
  --t-body:    400 14px/1.55 var(--font-kr);
  --t-meta:    400 12px/1.5  var(--font-kr);
  --t-caption: 400 11px/1.4  var(--font-kr);

  /* ── Layout ───────────────────────────────────── */
  --max-w: 600px;          /* 강남언니 정확값 근사 */
  --pad:   16px;

  /* ── Transitions ──────────────────────────────── */
  --t-fast:  120ms ease;
  --t-base:  180ms ease;
  --t-slow:  280ms ease;
}

/* ─────────────────────── Base ─────────────────────── */
html, body {
  margin: 0;
  font-family: var(--font-kr);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
button { font-family: inherit; font-size: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─────────────────────── Atoms ─────────────────────── */

.todaki-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-full);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--bg);
  color: var(--ink-2);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.todaki-chip:hover { background: var(--bg-3); color: var(--ink); }
.todaki-chip--solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.todaki-chip--solid:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--bg); }
.todaki-chip--coral,
.todaki-chip--pink {
  background: var(--pink-50);
  color: var(--pink-600);
  border-color: var(--pink-100);
  font-weight: 600;
}
.todaki-chip--coral:hover,
.todaki-chip--pink:hover { background: var(--pink-100); }

.todaki-vip {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.todaki-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.todaki-stars::before {
  content: "★";
  color: var(--pink);
  font-size: 13px;
}

.todaki-label-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.todaki-label-kr {
  font: var(--t-h2);
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: -0.02em;
}

/* Buttons — 강남언니 식 round-rect */
.todaki-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink-5);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  letter-spacing: -0.012em;
}
.todaki-btn:hover { background: var(--bg-3); }
.todaki-btn:active { transform: scale(0.98); }
.todaki-btn--solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.todaki-btn--solid:hover { background: var(--ink-2); border-color: var(--ink-2); }
.todaki-btn--coral,
.todaki-btn--pink {
  background: var(--pink);
  color: var(--bg);
  border-color: var(--pink);
  font-weight: 700;
}
.todaki-btn--coral:hover,
.todaki-btn--pink:hover { background: var(--pink-600); border-color: var(--pink-600); }
.todaki-btn--full { width: 100%; }

/* Section ribbon */
.todaki-section-divider {
  height: 8px;
  background: var(--bg-2);
  margin: 0;
}

/* ─────── Image placeholder — neutral, refined ─────── */
.todaki-thumb-placeholder {
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.todaki-thumb-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8BBC2' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'/><circle cx='8.5' cy='8.5' r='1.5'/><polyline points='21 15 16 10 5 21'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  opacity: 0.7;
  pointer-events: none;
}

/* Animations */
@keyframes todaki-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes todaki-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes todaki-heart-pop {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.3); }
  60%      { transform: scale(0.92); }
}
.todaki-heart-pop { animation: todaki-heart-pop 320ms cubic-bezier(0.34, 1.56, 0.64, 1); }

/* SVG icon container */
.todaki-icon { display: inline-flex; vertical-align: middle; flex-shrink: 0; align-items: center; justify-content: center; }
.todaki-icon svg { display: block; width: 100%; height: 100%; }

/* Skeleton */
@keyframes todaki-skel {
  0%   { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.todaki-skel {
  background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
  background-size: 200px 100%;
  animation: todaki-skel 1.6s ease-in-out infinite;
  border-radius: 4px;
}

/* Coral text aliases */
.coral-text { color: var(--pink); }
.coral-text-strong { color: var(--pink-600); font-weight: 700; }

/* ─────────────── Empty state atom ─────────────── */
.todaki-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  gap: 12px;
}
.todaki-empty-state__emoji {
  font-size: 48px;
  filter: grayscale(0.3);
  opacity: 0.85;
}
.todaki-empty-state__title {
  font: var(--t-h3);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.todaki-empty-state__desc {
  font: var(--t-meta);
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 280px;
}

/* ─── Suppress Hello Elementor parent header/footer ─── */
body[class*="todaki-"] .site-header,
body[class*="todaki-"] .site-footer,
body[class*="todaki-"] header#site-header,
body[class*="todaki-"] footer#colophon,
body[class*="todaki-"] footer#site-footer {
  display: none !important;
}
body[class*="todaki-"] .site-main,
body[class*="todaki-"] main#content,
body[class*="todaki-"] #content {
  padding: 0;
  max-width: none;
}

/* Modal scroll lock */
body.todaki-no-scroll { overflow: hidden; }

/* ─────────────── 19+ Age Gate ─────────────── */
.todaki-age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--font-kr);
}
.todaki-age-gate[hidden] { display: none; }
.todaki-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(8px);
}
.todaki-age-gate__card {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 36px 24px 28px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}
.todaki-age-gate__emoji {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--pink-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.todaki-age-gate__title {
  font: var(--t-h1);
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}
.todaki-age-gate__desc {
  font: var(--t-body);
  color: var(--ink-2);
  margin: 0 0 24px;
}
.todaki-age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.todaki-age-gate__legal {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 18px;
  line-height: 1.5;
}
