/* =========================================
   FASHION TRENDS DAILY — Magazine CSS
   ========================================= */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream:    #FAFAF8;
  --ink:      #0D0B08;
  --warm:     #2B2420;
  --rose:     #D4857D;
  --rose-dk:  #A85D4F;
  --rose-lt:  #F5E8E5;
  --stone:    #96857D;
  --gold:     #C9A876;
  --bronze:   #8B6F47;
  --dust:     rgba(13,11,8,.06);
  --line:     rgba(13,11,8,.08);
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'DM Sans', system-ui, sans-serif;
  --display:  'Bebas Neue', 'Impact', sans-serif;
  --shadow-sm: 0 2px 8px rgba(13,11,8,.08);
  --shadow-md: 0 8px 24px rgba(13,11,8,.12);
  --shadow-lg: 0 20px 48px rgba(13,11,8,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: linear-gradient(135deg, var(--cream) 0%, #F8F5F0 100%);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Ticker Bar ── */
.ticker-bar {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
}

.ticker-inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.ticker-label {
  background: var(--rose);
  color: white;
  padding: 0 16px;
  height: 32px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .15em;
  font-size: 10px;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
  padding-left: 24px;
}

.ticker-track span {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  opacity: .75;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Masthead ── */
.masthead {
  background: linear-gradient(to bottom, var(--cream), rgba(250,250,248,.98));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(13,11,8,.04);
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 28px 0;
  max-width: 1240px;
  margin: 0 auto;
}

.masthead-meta {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--stone);
  text-transform: uppercase;
}

.masthead-meta .divider { margin: 0 8px; }

.masthead-actions { display: flex; gap: 16px; align-items: center; }

/* 언어 스위처 */
.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none;
  border: none;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--stone);
  padding: 0;
  cursor: pointer;
  transition: color .2s;
  font-family: var(--font-sans);
}
.lang-btn.active { color: var(--ink); font-weight: 600; }
.lang-btn:hover { color: var(--ink); }
.lang-divider { color: var(--rule); font-size: 10px; }

.action-btn {
  background: none;
  border: none;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color .2s;
  padding: 0;
}

.action-btn:hover { color: var(--rose); }

.masthead-title {
  text-align: center;
  padding: 12px 28px 10px;
}

.masthead-rule {
  height: 1px;
  background: var(--ink);
  max-width: 1240px;
  margin: 0 auto 8px;
}

.magazine-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  letter-spacing: .12em;
  color: var(--ink);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ink) 0%, var(--warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.magazine-subtitle {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--stone);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── Mag Nav ── */
.mag-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mag-nav::-webkit-scrollbar { display: none; }

.mag-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 9px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all .2s;
  line-height: 1;
  gap: 4px;
  font-weight: 500;
}

.nav-sub {
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: none;
  font-weight: 300;
  color: var(--stone);
  opacity: .7;
  font-style: italic;
  font-family: var(--serif);
  transition: opacity .2s;
}

.mag-nav-link:hover { color: var(--ink); border-bottom-color: rgba(26,23,20,.25); }
.mag-nav-link:hover .nav-sub { opacity: 1; }
.mag-nav-link.active { color: var(--ink); border-bottom-color: var(--ink); }
.mag-nav-link.active .nav-sub { color: var(--ink); opacity: .6; }

.mag-nav-link.nav-shop { color: var(--rose); }
.mag-nav-link.nav-shop .nav-sub { color: var(--rose); }
.mag-nav-link.nav-shop:hover { color: #a5705b; border-bottom-color: var(--rose); }

/* ── Interest Tag Bar ── */
.interest-bar {
  background: var(--ink);
  border-top: 1px solid rgba(247,243,238,.08);
}

.interest-inner {
  display: flex;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.interest-inner::-webkit-scrollbar { display: none; }

.interest-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  white-space: nowrap;
  padding: 10px 20px 10px 0;
  border-right: 1px solid rgba(247,243,238,.1);
  margin-right: 16px;
  flex-shrink: 0;
}

.interest-tags {
  display: flex;
  gap: 0;
  padding: 6px 0;
}

.itag {
  background: none;
  border: none;
  padding: 5px 14px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,243,238,.45);
  white-space: nowrap;
  transition: all .2s;
  position: relative;
  font-family: var(--sans);
}

.itag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform .2s;
}

.itag:hover { color: rgba(247,243,238,.85); }
.itag:hover::after { transform: scaleX(1); }
.itag.active { color: var(--cream); font-weight: 500; }
.itag.active::after { transform: scaleX(1); }

/* ── Cover Story ── */
.cover-story {
  position: relative;
  height: 85vh;
  min-height: 580px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #000 0%, #1a1714 100%);
}

.cover-image-wrap {
  position: absolute;
  inset: 0;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.95);
}

.cover-story:hover .cover-img {
  transform: scale(1.02);
  filter: brightness(1);
}

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,11,8,.92) 0%,
    rgba(13,11,8,.65) 40%,
    rgba(13,11,8,.15) 100%
  );
}

.cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px max(28px, 6vw);
  max-width: 900px;
}

.cover-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.cover-label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(200,145,122,.15);
  border: 1px solid rgba(200,145,122,.4);
  padding: 4px 12px;
  border-radius: 2px;
}

.cover-date {
  font-size: 11px;
  color: rgba(247,243,238,.5);
  letter-spacing: .1em;
}

.cover-headline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 750px;
  letter-spacing: -.02em;
  text-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.cover-deck {
  font-size: 16px;
  color: rgba(247,243,238,.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cover-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-read {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dk) 100%);
  color: white;
  border: none;
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(212, 133, 125, .25);
  cursor: pointer;
}

.btn-read:hover {
  background: linear-gradient(135deg, var(--rose-dk) 0%, #8B5D4F 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 133, 125, .35);
}

.btn-share {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250, 250, 248, .5);
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.btn-share:hover {
  border-color: var(--rose);
  background: rgba(212, 133, 125, .12);
  transform: translateY(-2px);
}

/* ── Section Eyebrow ── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-top: 52px;
}

.section-rule-left,
.section-rule-right {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-heading {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  letter-spacing: .18em;
  color: var(--ink);
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 700;
}

.section-sub {
  text-align: center;
  font-size: 14px;
  color: var(--stone);
  margin-top: -22px;
  margin-bottom: 36px;
  font-style: italic;
  font-family: var(--serif);
}

/* ── Filter Tabs ── */
.article-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.article-search-wrap {
  position: relative;
  flex-shrink: 0;
}
.article-search-input {
  height: 36px;
  padding: 0 12px 0 36px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink);
  width: 180px;
  transition: border-color .2s, width .3s;
  outline: none;
}
.article-search-input:focus { border-bottom-color: var(--ink); width: 220px; }
.article-search-input::placeholder { color: var(--muted); }
.article-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
}

.filter-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  flex: 1;
  flex-wrap: wrap;
}

.tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all .2s;
}

.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--rose); font-weight: 500; }

/* ── Magazine Article Grid ── */
.articles-magazine {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-bottom: 64px;
}

/* 카드 1: 대형 (6칸) */
.mag-card {
  background: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
}

.mag-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.mag-card:hover .mag-card-img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* 12칸 완전 채움: large 6 + medium 3+3=6 → 1행=12 / small 3×4=12 → 2행=12 */
.mag-card-full   { grid-column: span 12; }
.mag-card-half   { grid-column: span 6; }
.mag-card-large  { grid-column: span 6; }
.mag-card-medium { grid-column: span 3; }
.mag-card-small  { grid-column: span 3; }

.mag-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.mag-card-large .mag-card-img-wrap { aspect-ratio: 4/5; }
.mag-card-medium .mag-card-img-wrap { aspect-ratio: 3/4; }
.mag-card-small .mag-card-img-wrap { aspect-ratio: 4/5; }

.mag-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter .3s ease;
}

.mag-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,11,8,.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity .3s ease;
}

.mag-card:hover .mag-card-img-overlay {
  opacity: 1;
}

.mag-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: white;
  background: var(--rose);
  padding: 3px 10px;
}

.mag-card-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, white, rgba(250,250,248,.5));
}

.mag-card-date {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mag-card-title {
  font-family: var(--serif);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 700;
}

.mag-card-large .mag-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.mag-card-medium .mag-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.mag-card-small .mag-card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.mag-card-desc {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mag-card-small .mag-card-desc { -webkit-line-clamp: 2; }

.mag-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mag-card-read {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

.mag-card-time {
  font-size: 11px;
  color: var(--stone);
}

/* 빈 아티클 메시지 */
.no-articles {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--stone);
  font-style: italic;
}

/* 아티클 페이저 */
.article-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 20px;
}
.pager-btn {
  background: none;
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pager-btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.pager-btn:disabled { color: var(--muted); border-color: var(--rule); cursor: default; }
.pager-pages { display: flex; gap: 4px; align-items: center; }
.pager-num {
  background: none;
  border: 1px solid transparent;
  width: 32px;
  height: 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--stone);
  cursor: pointer;
  transition: all .2s;
}
.pager-num:hover { color: var(--ink); border-color: var(--line); }
.pager-num.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pager-ellipsis { color: var(--muted); font-size: 12px; padding: 0 4px; }

@media (max-width: 768px) {
  .article-controls { flex-direction: column; align-items: stretch; }
  .article-search-wrap { width: 100%; }
  .article-search-input { width: 100%; box-sizing: border-box; }
  .article-search-input:focus { width: 100%; }
}

/* ── Pull Quote Band ── */
.pull-quote-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--warm) 100%);
  padding: 72px 28px;
  margin: 0 0 68px;
  position: relative;
  overflow: hidden;
}

.pull-quote-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 70%, rgba(212, 133, 125, .08) 0%, transparent 50%);
  pointer-events: none;
}

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  letter-spacing: -.01em;
}

.pull-quote::before {
  content: '\201C';
  font-size: 7rem;
  color: rgba(212, 133, 125, .25);
  position: absolute;
  top: -40px;
  left: -40px;
  line-height: 1;
  font-style: normal;
  font-family: var(--serif);
}

.pull-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: .2em;
  font-style: normal;
  text-transform: uppercase;
  color: var(--rose);
}

/* ── Trend Spotlight ── */
.trend-spotlight { margin-bottom: 56px; }

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

.spotlight-heading {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 36px;
}

.trend-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.trend-stat {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trend-stat:nth-child(even) { border-right: none; }
.trend-stat:nth-child(3),
.trend-stat:nth-child(4) { border-bottom: none; }

.stat-label {
  display: block;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

/* Trend Mosaic */
.trend-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 4px;
}

.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-img:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

/* ── Ad Strip ── */
.ad-strip {
  text-align: center;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  margin-bottom: 60px;
}

.ad-label {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
  opacity: .6;
}

/* ── Shop Editorial ── */
.shop-editorial { margin-bottom: 56px; }

.shop-controls {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}

.search-input:focus { border-color: var(--rose); }
.search-input::placeholder { color: var(--stone); }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--stone);
  pointer-events: none;
}

.product-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.wishlist-count {
  background: var(--rose);
  color: white;
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 10px;
}

/* Products Grid */
.products-editorial {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  background: white;
  display: flex;
  flex-direction: column;
  transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #ede8e3;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
  font-weight: 500;
}

.product-badge.sale { background: #C25A5A; color: white; }
.product-badge.new  { background: var(--ink); color: var(--cream); }
.product-badge.hot  { background: var(--rose); color: white; }

.product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(247,243,238,.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}

.product-wishlist-btn:hover { background: white; transform: scale(1.1); }
.product-wishlist-btn.active { background: rgba(200,145,122,.15); }

.product-wishlist-btn svg { pointer-events: none; }

.product-info { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }

.product-brand {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--stone);
  margin-bottom: 10px;
}

.product-rating .stars { color: var(--gold); font-size: 12px; }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price-current {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.price-original {
  font-size: 12px;
  color: var(--stone);
  text-decoration: line-through;
}

.price-discount {
  font-size: 10px;
  color: #C25A5A;
  font-weight: 600;
  letter-spacing: .05em;
}

.product-desc {
  font-size: 12px;
  color: var(--stone);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-actions { display: flex; gap: 8px; margin-top: auto; }

.btn-detail {
  flex: 0 0 auto;
  background: none;
  border: 1px solid var(--line);
  padding: 9px 14px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  transition: all .2s;
}

.btn-detail:hover { border-color: var(--ink); color: var(--ink); }

.btn-shop {
  flex: 1;
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 9px 14px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .2s;
  text-align: center;
  cursor: pointer;
}

.btn-shop:hover { background: var(--rose); }

/* Empty state */
.shop-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--stone);
  font-size: 1.1rem;
}

/* ── Newsletter ── */
.newsletter-mag {
  background: var(--warm);
  padding: 100px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-mag::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(247,243,238,.015) 0px,
    rgba(247,243,238,.015) 1px,
    transparent 1px,
    transparent 12px
  );
}

.newsletter-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

.nl-deco {
  font-size: 1.5rem;
  color: var(--rose);
  margin-bottom: 18px;
}

.nl-eyebrow {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
  margin-bottom: 20px;
}

.nl-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.nl-body {
  font-size: 14px;
  color: rgba(247,243,238,.65);
  line-height: 1.75;
  margin-bottom: 36px;
}

.nl-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto 16px;
}

.nl-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(247,243,238,.2);
  background: rgba(247,243,238,.06);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
}

.nl-input::placeholder { color: rgba(247,243,238,.35); }
.nl-input:focus { border-color: var(--rose); }

.nl-btn {
  background: var(--rose);
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s;
}

.nl-btn:hover { background: #b57e69; }

.nl-fine {
  font-size: 11px;
  color: rgba(247,243,238,.3);
  letter-spacing: .06em;
}

/* ── Profile Modal ── */
.profile-modal-box {
  max-width: 680px;
  padding: 0;
}

.pm-header {
  background: var(--ink);
  color: var(--cream);
  padding: 44px 48px 36px;
  position: relative;
}
@media (max-width: 768px) {
  .pm-header { padding: 32px 24px 24px; }
  .pm-body { padding: 0 16px 32px; }
}

.pm-header-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.pm-header-title {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 4px;
}

.pm-header-sub {
  font-size: 12px;
  color: rgba(247,243,238,.45);
  letter-spacing: .06em;
}

.pm-body {
  padding: 0 48px 48px;
}

/* Stats Strip */
.pm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.pm-stat {
  padding: 24px 0;
  text-align: center;
  border-right: 1px solid var(--line);
}
.pm-stat:last-child { border-right: none; }

.pm-stat-num {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.pm-stat-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Sections */
.pm-section {
  margin-bottom: 32px;
}

.pm-section-title {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

/* Fields */
.pm-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.pm-field { display: flex; flex-direction: column; gap: 6px; }
.pm-field.full { grid-column: 1 / -1; }

.pm-label {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
}

.pm-input, .pm-select {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

.pm-input:focus, .pm-select:focus {
  border-bottom-color: var(--rose);
}

.pm-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238C7B6B'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}

/* Save Button */
.pm-save-btn {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}
.pm-save-btn:hover { background: var(--warm); }

/* Toggle Switches */
.pm-toggles { display: flex; flex-direction: column; gap: 14px; }

.pm-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.pm-toggle-text { font-size: 13px; color: var(--ink); }
.pm-toggle-sub { font-size: 11px; color: var(--stone); margin-top: 2px; }

.pm-switch {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}

.pm-switch input { opacity: 0; width: 0; height: 0; }

.pm-slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 20px;
  transition: background .2s;
}
.pm-slider::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform .2s;
}
.pm-switch input:checked + .pm-slider { background: var(--rose); }
.pm-switch input:checked + .pm-slider::before { transform: translateX(16px); }

/* Danger Zone */
.pm-danger-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--stone);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 11px 20px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.pm-danger-btn:hover { border-color: #c0392b; color: #c0392b; }

/* Toast */
.pm-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .1em;
  padding: 12px 28px;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 2000;
}
.pm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* My Page: 상품 그리드 */
.pm-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.pm-product-card {
  cursor: pointer;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color .2s;
}
.pm-product-card:hover { border-color: var(--ink); }
.pm-product-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0ede8;
}
.pm-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pm-product-info {
  padding: 8px;
}
.pm-product-brand {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-sans);
}
.pm-product-name {
  font-size: 11px;
  font-family: var(--font-display);
  color: var(--ink);
  margin: 2px 0;
  line-height: 1.3;
}
.pm-product-price {
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--accent);
}
.pm-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
  font-family: var(--font-sans);
}

/* My Page: 리뷰 목록 */
.pm-review-item {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
.pm-review-item:last-child { border-bottom: none; }
.pm-review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.pm-review-stars {
  color: #C8917A;
  font-size: 13px;
  letter-spacing: .05em;
}
.pm-review-date {
  font-size: 10px;
  color: var(--muted);
  font-family: var(--font-sans);
}
.pm-review-product {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color .2s;
  margin-bottom: 6px;
}
.pm-review-product:hover { text-decoration-color: var(--ink); }
.pm-review-text {
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  margin: 0;
}

/* 공유 모달 */
.share-modal-box { max-width: 480px; padding: 0; }
.share-header {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 40px 28px;
}
.share-eyebrow {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--rose);
  margin-bottom: 8px;
}
.share-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.share-article-title {
  font-size: 12px;
  font-family: var(--font-sans);
  color: rgba(240,237,232,.6);
  line-height: 1.5;
  margin: 0;
}
.share-body { padding: 28px 40px 36px; background: var(--cream); }
.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  border: 1px solid var(--rule);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: var(--font-sans);
}
.share-card:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.share-icon {
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.share-name {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Join Date */
.pm-join {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: .06em;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .pm-header { padding: 36px 28px 28px; }
  .pm-body { padding: 0 28px 40px; }
  .pm-fields { grid-template-columns: 1fr; }
  .pm-header-title { font-size: 28px; }
}

/* ── Article Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 11, 8, .8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(12px);
  animation: fadeUp .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-box {
  background: linear-gradient(to bottom, var(--cream), #FAFAF8);
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleIn .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--stone);
  z-index: 10;
  transition: color .2s;
}

.modal-close:hover { color: var(--ink); }

/* Modal Hero */
.modal-hero-wrap {
  position: relative;
  overflow: hidden;
}

.modal-article-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.modal-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 11, 8, .85) 0%,
    rgba(13, 11, 8, .3) 60%,
    transparent 100%
  );
}

.modal-hero-eyebrow {
  position: absolute;
  bottom: 80px;
  left: 44px;
  right: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.modal-hero-cat {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(212, 133, 125, .15);
  border: 1px solid rgba(212, 133, 125, .4);
  padding: 4px 12px;
}

.modal-hero-date {
  font-size: 11px;
  color: rgba(250,250,248,.55);
  letter-spacing: .08em;
}

.modal-hero-title {
  position: absolute;
  bottom: 24px;
  left: 44px;
  right: 44px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -.02em;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.modal-article-body { padding: 36px 44px 52px; }

.modal-article-meta {
  display: flex;
  gap: 20px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.modal-article-lead {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--warm);
  margin-bottom: 24px;
  font-style: italic;
  padding-left: 18px;
  border-left: 2px solid var(--rose);
}

.modal-article-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--warm);
  margin-bottom: 32px;
}

.modal-tips-section {
  background: linear-gradient(135deg, rgba(212, 133, 125, .05) 0%, rgba(250,250,248,0) 100%);
  border: 1px solid rgba(212, 133, 125, .15);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.modal-tips-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--ink);
}

.modal-tips-rule {
  flex: 1;
  height: 1px;
  background: rgba(212, 133, 125, .3);
}

.modal-tips {
  list-style: none;
  margin: 0;
}

.modal-tips li {
  padding: 12px 0 12px 24px;
  position: relative;
  font-size: 14px;
  color: var(--warm);
  border-bottom: 1px solid rgba(212, 133, 125, .1);
  line-height: 1.7;
}

.modal-tips li:last-child { border-bottom: none; }

.modal-tips li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 12px;
}

.modal-share {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.modal-share-label {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 14px;
}

.modal-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-share-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  background: white;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  font-family: var(--sans);
}

.modal-share-btn:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13,11,8,.15);
}

/* ── Article Modal — Shop the Story ── */
.modal-products-section { margin: 40px 0 32px; border-top: 1px solid var(--rule); padding-top: 28px; }
.modal-products-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.modal-products-label { font-family: var(--font-sans); font-size: 10px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; color: var(--ink); }
.modal-products-sub { font-family: var(--font-sans); font-size: 11px; color: var(--stone); }
.modal-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .modal-products-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Product Detail Modal ── */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pd-img-col {
  position: relative;
  background: #ede8e3;
}

.pd-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.pd-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 12px;
  font-weight: 600;
}
.pd-badge.sale { background: #C25A5A; color: white; }
.pd-badge.new  { background: var(--ink); color: var(--cream); }
.pd-badge.hot  { background: var(--rose); color: white; }

.pd-info-col {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.pd-brand {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 10px;
}

.pd-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.pd-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--stone);
  margin-bottom: 16px;
}
.pd-stars { color: var(--gold); font-size: 13px; }
.pd-rating-val { font-weight: 600; color: var(--ink); }

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pd-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.pd-orig  { font-size: 13px; color: var(--stone); text-decoration: line-through; }
.pd-disc  { font-size: 11px; color: #C25A5A; font-weight: 700; letter-spacing: .05em; }

.pd-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 20px;
}

.pd-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin-bottom: 28px;
  font-size: 11px;
}
.pd-specs dt {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  white-space: nowrap;
}
.pd-specs dd { color: var(--ink); }

/* 상품 카드 쇼핑몰 표시 */
.product-store-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--stone);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.psc-icon { color: var(--rose); font-size: 11px; }
.btn-shop.full-width { width: 100%; flex: 1 1 100%; }

/* ── Product Detail — Compare Block ── */
.pd-compare-block {
  border-top: 1px solid var(--line);
  background: white;
}

.pd-compare-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px 24px;
  background: var(--ink);
  color: var(--cream);
}

.pd-compare-eyebrow {
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.pd-compare-heading {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--cream);
}

.pd-compare-sub {
  font-size: 12px;
  color: rgba(247,243,238,.6);
  line-height: 1.6;
}

.pd-search-kw {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(247,243,238,.07);
  border: 1px solid rgba(247,243,238,.15);
  padding: 14px 18px;
  flex-shrink: 0;
  max-width: 220px;
}
.pd-kw-label { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); }
.pd-kw-value { font-family: var(--serif); font-size: 13px; color: var(--cream); line-height: 1.4; }

.pd-store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0;
}

.pd-store-card {
  background: var(--cream);
  padding: 20px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .15s;
  min-height: 110px;
}
.pd-store-card:hover { background: white; }

.pd-store-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-store-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 2px;
  font-family: var(--serif);
}

.pd-store-badge-best {
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--rose);
  color: white;
  padding: 2px 7px;
}
.pd-store-badge-cmp {
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #03C75A;
  color: white;
  padding: 2px 7px;
}

.pd-store-card-desc {
  font-size: 11px;
  color: var(--stone);
  flex: 1;
  line-height: 1.5;
}

.pd-store-card-tag {
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(140,123,107,.6);
}

.pd-store-card-cta {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-store-card-arrow { transition: transform .15s; }
.pd-store-card:hover .pd-store-card-arrow { transform: translateX(4px); }

.pd-compare-note {
  padding: 16px 40px 24px;
  font-size: 11px;
  color: var(--stone);
  line-height: 1.6;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.pd-compare-note strong { color: var(--ink); }

/* ── 실시간 쇼핑 미리보기 ── */
.pd-preview-section {
  padding: 28px 40px 36px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.pd-preview-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.pd-preview-label {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--ink);
}
.pd-preview-query {
  font-size: 11px;
  color: var(--stone);
  font-style: italic;
  font-family: var(--serif);
}

.pd-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pd-preview-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s;
  overflow: hidden;
}
.pd-preview-card:hover {
  box-shadow: 0 8px 24px rgba(26,23,20,.1);
  transform: translateY(-2px);
}

.pd-preview-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #ede8e3;
}
.pd-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.pd-preview-card:hover .pd-preview-img { transform: scale(1.06); }

.pd-preview-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--stone);
}

.pd-preview-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pd-preview-mall {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.pd-preview-name {
  font-size: 11px;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-preview-price {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

/* 로딩 애니메이션 */
.pd-preview-loading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 0;
  font-size: 12px;
  color: var(--stone);
  font-style: italic;
  font-family: var(--serif);
}
.pd-loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.pd-loading-dot:nth-child(2) { animation-delay: .2s; }
.pd-loading-dot:nth-child(3) { animation-delay: .4s; }
@keyframes dotPulse {
  0%, 100% { opacity: .2; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1.2); }
}

.pd-preview-empty {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-style: italic;
  color: var(--stone);
  font-size: 13px;
  padding: 20px 0;
}

/* Store comparison (old — keep for fallback) */
.pd-compare-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 600;
  margin-bottom: 10px;
}

.pd-store-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.pd-store-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
  gap: 12px;
}
.pd-store-item:last-child { border-bottom: none; }
.pd-store-item:hover { background: rgba(200,145,122,.07); }

.pd-store-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pd-store-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pd-store-left > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pd-store-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--serif);
}

.pd-store-desc {
  font-size: 10px;
  color: var(--stone);
}

.pd-store-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pd-store-tag {
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.pd-store-arrow {
  font-size: 13px;
  color: var(--rose);
  transition: transform .15s;
}
.pd-store-item:hover .pd-store-arrow { transform: translateX(3px); }

.pd-fine {
  font-size: 10px;
  color: var(--stone);
  text-align: center;
  opacity: .7;
  margin-top: auto;
}

/* Review section */
.pd-review-section {
  padding: 36px 40px 40px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.pd-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.pd-review-label { font-family: var(--display); font-size: 1rem; letter-spacing: .14em; color: var(--ink); }
.pd-review-count { font-size: 11px; color: var(--stone); }

.pd-review-form { margin-bottom: 32px; }

.pd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }

.pd-form-field { display: flex; flex-direction: column; gap: 6px; }

.pd-label { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }

.pd-select, .pd-input {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.pd-select:focus, .pd-input:focus { border-color: var(--rose); }

.pd-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: white;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  resize: vertical;
  min-height: 90px;
  outline: none;
  margin-bottom: 12px;
}
.pd-textarea:focus { border-color: var(--rose); }

.pd-submit-btn {
  background: var(--rose);
  color: white;
  border: none;
  padding: 10px 24px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .2s;
}
.pd-submit-btn:hover { background: var(--ink); }

.pd-review-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.pd-review-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pd-reviewer { font-weight: 600; font-size: 13px; color: var(--ink); margin-right: 10px; }
.pd-review-date { font-size: 11px; color: var(--stone); }
.pd-review-stars { color: var(--gold); font-size: 13px; }
.pd-review-text { font-size: 13px; line-height: 1.6; color: var(--warm); margin-bottom: 8px; }
.pd-delete-btn { background: none; border: none; font-size: 10px; color: var(--stone); letter-spacing: .1em; text-transform: uppercase; padding: 0; }
.pd-delete-btn:hover { color: #C25A5A; }
.pd-no-review { font-family: var(--serif); font-style: italic; color: var(--stone); font-size: 14px; padding: 20px 0; }

/* ── Footer ── */
.footer-mag {
  background: linear-gradient(135deg, var(--ink) 0%, var(--warm) 100%);
  color: rgba(250,250,248,.65);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-mag::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(212, 133, 125, .08) 0%, transparent 50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,250,248,.08);
  position: relative;
  z-index: 1;
}

.footer-title {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: .14em;
  color: var(--cream);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }

.footer-links h5 {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom-mag {
  text-align: center;
  font-size: 12px;
  opacity: .5;
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.mag-card {
  animation: fadeUp .6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.mag-card:nth-child(1) { animation-delay: .08s; }
.mag-card:nth-child(2) { animation-delay: .16s; }
.mag-card:nth-child(3) { animation-delay: .24s; }
.mag-card:nth-child(4) { animation-delay: .32s; }
.mag-card:nth-child(5) { animation-delay: .40s; }
.mag-card:nth-child(6) { animation-delay: .48s; }

.product-card {
  animation: fadeUp .6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.product-card:nth-child(1) { animation-delay: .08s; }
.product-card:nth-child(2) { animation-delay: .16s; }
.product-card:nth-child(3) { animation-delay: .24s; }
.product-card:nth-child(4) { animation-delay: .32s; }
.product-card:nth-child(5) { animation-delay: .40s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-editorial { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .articles-magazine {
    grid-template-columns: repeat(6, 1fr);
  }

  .mag-card-large  { grid-column: span 6; }
  .mag-card-medium { grid-column: span 3; }
  .mag-card-small  { grid-column: span 3; }

  .spotlight-grid { grid-template-columns: 1fr; gap: 40px; }
  .trend-mosaic { display: none; }
}

@media (max-width: 768px) {
  .masthead-title { padding: 10px 16px 8px; }
  .magazine-title { font-size: 2rem; }

  /* 모바일 nav: 서브텍스트 숨기고 컴팩트하게 */
  .mag-nav-link { padding: 8px 14px 7px; font-size: 10px; }
  .nav-sub { display: none; }

  .interest-label { display: none; }
  .interest-inner { padding: 0 16px; }
  .itag { padding: 5px 12px; font-size: 9.5px; }

  .cover-story { height: 75vh; }
  .cover-content { padding: 40px 20px; }
  .cover-headline { font-size: 1.7rem; }

  .articles-magazine { grid-template-columns: 1fr 1fr; gap: 2px; }
  .mag-card-large,
  .mag-card-medium,
  .mag-card-small  { grid-column: span 2; }
  .mag-card:nth-child(n+3) { grid-column: span 1; }

  .products-editorial { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .shop-controls { flex-direction: column; align-items: stretch; }
  .product-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .nl-form { flex-direction: column; }
  .nl-btn { padding: 13px; }

  .action-btn { display: block; }
}

@media (max-width: 480px) {
  .masthead-top { padding: 8px 16px 0; }
  .mag-nav-link { padding: 9px 14px; font-size: 10px; }
  .products-editorial { grid-template-columns: 1fr 1fr; gap: 12px; }
  .section-eyebrow { padding-top: 52px; }
  .pull-quote { font-size: 1.3rem; }
  .pull-quote::before { font-size: 4rem; left: 0; top: -10px; }
  .modal-article-body { padding: 24px 20px 36px; }

  /* 상품 상세 모달 — 모바일 1열 세로 레이아웃 */
  .pd-layout { grid-template-columns: 1fr; }
  .pd-img { aspect-ratio: 4/3; }
  .pd-info-col { padding: 24px 20px; }
  .pd-preview-section { padding: 24px 20px; }
  .pd-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-review-section { padding: 24px 20px; }

  /* My Page 모달 — 모바일 최적화 */
  .profile-modal-box { max-height: 96vh; }
  .pm-stats { gap: 0; }
  .pm-product-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pm-product-info { padding: 6px; }
  .pm-product-name { font-size: 10px; }
  .pm-product-price { font-size: 10px; }
}
