/* ============================================================
   2027shopdemo — Main Page Stylesheet  (prefix: sm-)
   "Neutral Atelier" 패션·라이프스타일 무드
   ============================================================ */

/* ───────── Common ───────── */
.sm-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--wrap-pad);
  padding-right: var(--wrap-pad);
}
.sm-section { padding: var(--sec-py) 0; }
.sm-section--cream { background: var(--bg-cream); }
.sm-section--dark {
  position: relative;
  background: var(--bg-ink);
  color: var(--ink-inv);
  overflow: hidden;
}
.sm-section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.sm-dark-glow {
  position: absolute;
  width: 520px; height: 520px;
  left: -160px; top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 124, 82, 0.22), transparent 70%);
  pointer-events: none;
}

.sm-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.sm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--point);
  margin-bottom: 14px;
}
.sm-eyebrow i {
  font-style: normal;
  letter-spacing: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--point);
  padding: 3px 8px;
  border: 1px solid rgba(168, 71, 46, 0.28);
  border-radius: var(--r-pill);
}
.sm-sec-title {
  font-family: var(--font-disp);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: var(--ls-disp);
  color: var(--ink);
  line-height: 1.15;
}
.sm-sec-desc {
  margin-top: 12px;
  font-size: var(--fs-base);
  color: var(--ink-soft);
}
.sm-sec-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--ink);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-ink);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sm-sec-link:hover { gap: 14px; color: var(--point); border-color: var(--point); }
.sm-sec-link svg { width: 15px; height: 15px; }

/* ───────── Buttons ───────── */
.sm-btn {
  --mx: 0px; --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  overflow: hidden;
  transform: translate(var(--mx), var(--my));
  transition: transform var(--dur) var(--ease-soft), background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sm-btn svg {
  width: 17px; height: 17px;
  position: relative; z-index: 1;
  transition: transform var(--dur) var(--ease);
}
.sm-btn > * { position: relative; z-index: 1; }
.sm-btn:hover svg { transform: translateX(3px); }
.sm-btn--dark { background: var(--ink); color: var(--ink-inv); }
.sm-btn--dark:hover { transform: translate(var(--mx), calc(var(--my) - 3px)); background: #000; box-shadow: 0 12px 26px rgba(28, 26, 23, 0.22); }
.sm-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-ink); }
.sm-btn--ghost:hover { background: var(--ink); color: var(--ink-inv); transform: translate(var(--mx), calc(var(--my) - 2px)); }
.sm-btn--light { background: var(--bg-base); color: var(--ink); }
.sm-btn--light:hover { transform: translate(var(--mx), calc(var(--my) - 3px)); background: var(--point); color: #fff; box-shadow: 0 12px 26px rgba(168, 71, 46, 0.3); }

/* ───────── Header ───────── */
.sm-header {
  line-height: 1.5;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.sm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(28, 26, 23, 0.06);
}
.sm-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hdr-h);
  transition: height var(--dur) var(--ease);
}
/* B6. 스크롤 컴팩트 — 높이/로고/패딩 축소 */
.sm-header.is-compact .sm-header-bar { height: var(--hdr-h-compact); }
.sm-header.is-compact .sm-wordmark-ico { width: 22px; height: 22px; }
.sm-header.is-compact .sm-wordmark-txt { font-size: 1.08rem; }
.sm-header.is-compact .sm-gnb > li > a { padding-top: 20px; padding-bottom: 20px; }
.sm-header.is-compact .sm-gnb > li > a::after { bottom: 16px; }
.sm-header.is-compact .sm-gnb-drop { top: var(--hdr-h-compact); }
.sm-header.is-compact .sm-utils .sm-admin-btn { padding-top: 7px; padding-bottom: 7px; }
.sm-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: var(--ink);
}
.sm-logo img {
  height: 30px;
  width: auto;
  display: block;
}
.sm-mnav-head .sm-logo img { height: 26px; }

/* ───────── Wordmark (VIZEN SHOP) ───────── */
.sm-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.sm-wordmark-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--ink);
  transition: transform var(--dur) var(--ease);
}
.sm-logo:hover .sm-wordmark-ico { transform: rotate(-8deg); }
.sm-wordmark-txt {
  font-family: var(--font-disp);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.sm-wordmark-txt b {
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-left: 2px;
  color: var(--ink-soft);
}
.sm-mnav-head .sm-wordmark-ico { width: 23px; height: 23px; }
.sm-mnav-head .sm-wordmark-txt { font-size: 1.08rem; }
.sm-gnb {
  display: flex;
  align-items: center;
  gap: 38px;
}
.sm-gnb > li > a {
  position: relative;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  padding: 28px 0;
  display: block;
}
.sm-gnb > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 22px;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width var(--dur) var(--ease);
}
.sm-gnb > li:hover > a::after { width: 100%; }
.sm-gnb-drop {
  position: absolute;
  top: var(--hdr-h); left: 50%;
  transform: translateX(-50%) translateY(8px);
  transition: top var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  min-width: 168px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
}
.sm-gnb > li { position: relative; }
.sm-gnb > li:hover .sm-gnb-drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sm-gnb-drop a {
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sm-gnb-drop a:hover { background: var(--bg-cream); color: var(--ink); }
.sm-utils {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sm-utils a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--dur) var(--ease);
}
.sm-utils a:hover { color: var(--ink); }
.sm-utils svg { width: 19px; height: 19px; }
.sm-burger { display: none; }
.sm-burger svg { width: 24px; height: 24px; }
.sm-utils .sm-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--r-pill);
  font-family: var(--font-disp);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.sm-utils .sm-admin-btn:hover { background: var(--point); color: #ffffff; }
.sm-utils .sm-admin-btn svg { width: 14px; height: 14px; }

/* ───────── Hero ───────── */
.sm-hero {
  position: relative;
  padding-top: var(--hdr-h);
  background:
    radial-gradient(ellipse 60% 50% at 88% 12%, var(--point-tint) 0%, transparent 62%),
    linear-gradient(180deg, #fbf9f3 0%, var(--bg-cream) 100%);
  overflow: hidden;
}
.sm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.sm-hero-glow {
  position: absolute;
  width: 460px; height: 460px;
  right: -120px; bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,124,82,0.16), transparent 70%);
  pointer-events: none;
}
.sm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  min-height: 86vh;
  padding: clamp(52px, 7vw, 104px) 0;
}
.sm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--point);
  margin-bottom: 26px;
  padding: 7px 16px 7px 13px;
  background: rgba(168, 71, 46, 0.07);
  border: 1px solid rgba(168, 71, 46, 0.16);
  border-radius: var(--r-pill);
}
.sm-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--point);
}
.sm-hero-title {
  font-family: var(--font-disp);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  word-break: keep-all;
}
/* 히어로 타이틀 — 줄별 마스크 슬라이드 리빌 */
.sm-hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.sm-hero-line-in {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}
.no-js .sm-hero-line-in { transform: none; opacity: 1; }
.sm-hero-title.is-in .sm-hero-line-in {
  animation: smHeroLineUp 0.95s cubic-bezier(0.16, 0.84, 0.3, 1) forwards;
  animation-delay: calc(0.12s + var(--ln) * 0.14s);
}
@keyframes smHeroLineUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.sm-hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--point);
  /* 테라코타 그라데이션 shimmer */
  background: linear-gradient(
    100deg,
    var(--point) 0%, var(--point) 38%,
    #e6a878 50%,
    var(--point) 62%, var(--point) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sm-hero-title.is-in em {
  animation: smHeroShimmer 4.2s ease-in-out 1.3s infinite;
}
@keyframes smHeroShimmer {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -30% 0; }
}
.sm-hero-desc {
  margin: 26px 0 36px;
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 480px;
}
.sm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.sm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 44px);
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.sm-hero-stat strong {
  display: block;
  font-family: var(--font-disp);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.sm-hero-stat strong span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--point);
  margin-left: 2px;
}
.sm-hero-stat small {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}

/* Download buttons (히어로 → 푸터 이동) */
.sm-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-disp);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  border-radius: var(--r-pill);
  border: 1px solid rgba(247, 244, 238, 0.26);
  color: var(--ink-inv);
  background: transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sm-dl-btn svg { width: 16px; height: 16px; }
.sm-dl-btn:hover {
  transform: translateY(-2px);
  background: var(--ink-inv);
  color: var(--ink);
  border-color: var(--ink-inv);
}

/* Hero visual — 메인 + 보조 이미지 오버랩 */
.sm-hero-visual {
  position: relative;
  aspect-ratio: 5 / 5.4;
}
.sm-hero-main {
  position: absolute;
  inset: 0 14% 8% 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-sand);
  box-shadow: var(--sh-lg);
  will-change: transform;
}
.sm-hero-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.sm-hero-visual:hover .sm-hero-main img { transform: scale(1.05); }
.sm-hero-sub {
  position: absolute;
  right: 0; bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-sand);
  border: 6px solid var(--bg-cream);
  box-shadow: var(--sh-md);
  z-index: 3;
  will-change: transform;
}
.sm-hero-sub img { width: 100%; height: 100%; object-fit: cover; }
.sm-hero-visual-fallback {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--ink-muted);
  background:
    repeating-linear-gradient(45deg, #ebe5d8 0 2px, transparent 2px 26px),
    var(--bg-sand);
}
.sm-hero-visual-fallback svg { width: 60px; height: 60px; }
.sm-hero-tag {
  position: absolute;
  left: -4%; top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-base);
  padding: 13px 20px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--sh-md);
  z-index: 4;
  will-change: transform;
}
.sm-hero-tag svg { width: 15px; height: 15px; color: var(--point); }

/* ───────── Marquee strip ───────── */
.sm-marquee {
  background: var(--bg-ink);
  color: var(--ink-inv);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.sm-marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: smMarquee 28s linear infinite;
}
/* B8. 마퀴 hover 시 일시정지 */
.sm-marquee:hover .sm-marquee-track { animation-play-state: paused; }
.sm-marquee span {
  font-family: var(--font-disp);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.sm-marquee span::after { content: '✦'; color: var(--point-soft); }
@keyframes smMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───────── Category ───────── */
.sm-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.sm-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 14px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sm-cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-ink);
  box-shadow: var(--sh-md);
}
.sm-cat-ico {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--ink);
}
.sm-cat-card:hover .sm-cat-ico { background: var(--ink); color: var(--ink-inv); }
.sm-cat-ico svg { width: 24px; height: 24px; }
.sm-cat-name {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.sm-cat-cnt {
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}

/* ───────── Best Seller Layout (A1 + B4) ───────── */
.sm-best-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.55fr;
  gap: clamp(20px, 2.6vw, 40px);
  align-items: stretch;
}

/* 1위 대형 피처 카드 */
.sm-best-feature { display: flex; }
.sm-prod.sm-prod--feature {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-soft), border-color var(--dur) var(--ease);
}
.sm-prod.sm-prod--feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-ink);
}
.sm-prod--feature .sm-prod-thumb {
  aspect-ratio: 4 / 3.55;
  border-radius: 0;
  background: radial-gradient(ellipse 86% 78% at 50% 38%, #ffffff 0%, var(--bg-cream) 100%);
}
.sm-prod--feature:hover .sm-prod-thumb { transform: none; box-shadow: none; }
.sm-prod--feature .sm-prod-thumb img { padding: 9%; }
.sm-prod--feature:hover .sm-prod-thumb img { transform: scale(1.04); }
.sm-prod--feature .sm-prod-info {
  padding: clamp(22px, 2.4vw, 32px);
}
.sm-prod--feature .sm-prod-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  -webkit-line-clamp: 2;
  min-height: 0;
}
.sm-prod-feat-desc {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-prod--feature .sm-prod-price { margin-top: 16px; }
.sm-prod--feature .sm-prod-now { font-size: var(--fs-xl); }
.sm-prod--feature .sm-prod-rate { font-size: var(--fs-xl); }
.sm-prod-feat-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  align-self: flex-start;
  background: var(--ink);
  color: var(--ink-inv);
  border-radius: var(--r-pill);
  font-family: var(--font-disp);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  transition: gap var(--dur) var(--ease), background var(--dur) var(--ease);
}
.sm-prod-feat-cta svg { width: 15px; height: 15px; }
.sm-prod--feature:hover .sm-prod-feat-cta { gap: 13px; background: var(--point); }
.sm-prod--feature .sm-prod-info { display: flex; flex-direction: column; }

/* 베스트 가로 드래그 캐러셀 레일 */
.sm-best-rail { min-width: 0; display: flex; flex-direction: column; }
.sm-rail {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}
.sm-rail::-webkit-scrollbar { display: none; }
.sm-rail.is-grabbing { cursor: grabbing; }
.sm-rail:focus-visible { box-shadow: 0 0 0 2px var(--point); border-radius: var(--r-lg); }
.sm-rail-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  padding: 4px 2px 6px;
}
.sm-rail-item {
  flex: 0 0 calc((100% - 2 * clamp(14px, 1.6vw, 22px)) / 3);
  scroll-snap-align: start;
  display: flex;
}
.sm-rail-item .sm-prod {
  width: 100%;
  height: 100%;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sm-rail-item .sm-prod .sm-prod-thumb { border-radius: 0; aspect-ratio: 1 / 1; }
.sm-rail-item .sm-prod:hover .sm-prod-thumb { transform: none; box-shadow: none; }
.sm-rail-item .sm-prod:hover { border-color: var(--line-ink); box-shadow: var(--sh-md); }
.sm-rail-item .sm-prod-info { padding: 16px 16px 18px; }
.sm-rail.is-grabbing .sm-prod { pointer-events: none; }

/* 레일 컨트롤 (도트 + 화살표) */
.sm-best-rail-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.sm-rail-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.sm-rail-dot {
  width: 7px; height: 7px;
  padding: 0;
  border-radius: var(--r-pill);
  background: #d3cdbf;
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.sm-rail-dot.is-active {
  width: 26px;
  background: var(--point);
}
.sm-best-nav { display: flex; gap: 9px; }
.sm-rail-btn {
  --mx: 0px; --my: 0px;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-ink);
  background: var(--bg-base);
  color: var(--ink);
  transform: translate(var(--mx), var(--my));
  transition: transform var(--dur) var(--ease-soft), background var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.sm-rail-btn svg { width: 18px; height: 18px; }
.sm-rail-btn:hover { background: var(--ink); color: var(--ink-inv); }
.sm-rail-btn.is-disabled { opacity: 0.3; cursor: default; pointer-events: none; }

@media (max-width: 980px) {
  .sm-best-layout { grid-template-columns: 1fr; }
  .sm-prod--feature .sm-prod-thumb { aspect-ratio: 16 / 10; }
  .sm-rail-item { flex-basis: calc((100% - 1.4 * clamp(14px, 1.6vw, 22px)) / 2.4); }
}
@media (max-width: 560px) {
  .sm-rail-item { flex-basis: 78%; }
}

/* ───────── Product Grid ───────── */
.sm-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px) clamp(14px, 1.6vw, 24px);
}
.sm-prod {
  display: flex;
  flex-direction: column;
}
/* A2. 카드 hover — 썸네일 라운드 영역에 절제된 리프트 */
.sm-prod .sm-prod-thumb {
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease-soft);
}
.sm-prod:hover .sm-prod-thumb {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.no-js .sm-prod:hover .sm-prod-thumb { transform: none; box-shadow: none; }
.sm-prod-name { transition: color var(--dur) var(--ease); }
.sm-prod:hover .sm-prod-name { color: var(--point); }
.sm-prod-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  /* A5. 일관된 썸네일 배경 — 미세 톤 그라데이션으로 흰배경/실사 혼재 흡수 */
  background:
    radial-gradient(ellipse 80% 70% at 50% 36%, #ffffff 0%, var(--bg-cream) 100%);
}
.sm-prod-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* 내부 1px 라인 + 미세 비네트로 톤 정돈 */
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.06),
              inset 0 -36px 40px -34px rgba(28, 26, 23, 0.14);
  pointer-events: none;
  z-index: 1;
}
.sm-prod-thumb img {
  width: 100%; height: 100%;
  /* A5. cover → contain + 패딩으로 잘림 방지, 그리드 정돈감 */
  object-fit: contain;
  padding: 7%;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.sm-prod:hover .sm-prod-thumb img { transform: scale(1.055); }
.no-js .sm-prod:hover .sm-prod-thumb img { transform: none; }
.sm-prod-thumb-empty {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfc8b8;
}
.sm-prod-thumb-empty svg { width: 46px; height: 46px; }
.sm-prod-badge {
  position: absolute;
  top: 13px; left: 13px;
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 12px;
  font-family: var(--font-disp);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  z-index: 2;
}
.sm-prod-badge--sale { background: var(--point); color: #fff; }
.sm-prod-badge--new  {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.sm-prod-badge--soldout { background: #8f897b; color: #fff; }
/* 베스트 랭크 배지 */
.sm-prod-badge--rank {
  background: var(--ink);
  color: var(--ink-inv);
  font-size: 0.82rem;
  padding: 0 11px;
  height: 27px;
}
.sm-prod-badge--rank small {
  font-size: 0.6rem;
  font-weight: 500;
  margin-left: 1px;
  opacity: 0.7;
}
.sm-prod-badge--best {
  background: var(--ink);
  color: var(--ink-inv);
  gap: 5px;
  padding: 0 13px 0 9px;
  height: 28px;
}
.sm-prod-badge--best i { display: inline-flex; }
.sm-prod-badge--best svg { width: 12px; height: 12px; color: var(--point-soft); }
/* 2번째 배지 (랭크/NEW 아래 할인율) */
.sm-prod-badge--2 { top: 46px; }
.sm-prod-wish {
  position: absolute;
  top: 11px; right: 11px;
  width: 37px; height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sh-sm);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  transition: opacity var(--dur) var(--ease-soft), transform var(--dur) var(--ease-soft), color var(--dur) var(--ease), background var(--dur) var(--ease);
  z-index: 3;
}
.sm-prod:hover .sm-prod-wish { opacity: 1; transform: translateY(0) scale(1); }
.sm-prod-wish:hover { color: var(--point); }
.sm-prod-wish.is-active {
  opacity: 1;
  background: var(--point);
  color: #fff;
  transform: translateY(0) scale(1);
}
.sm-prod-wish.is-active svg { fill: currentColor; }
.sm-prod-wish svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease-soft); }
.sm-prod-wish.is-active svg { animation: smWishPop 0.4s var(--ease); }
@keyframes smWishPop {
  0% { transform: scale(0.6); }
  55% { transform: scale(1.25); }
  100% { transform: scale(1); }
}
/* 터치 기기 — wish 항상 노출 (hover 없음) */
@media (hover: none) {
  .sm-prod-wish { opacity: 1; transform: none; }
}

/* B3. 호버 시 부상하는 쇼핑 액션 */
.sm-prod-actions {
  position: absolute;
  left: 11px; right: 11px; bottom: 11px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.sm-prod-act {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sm-prod-act svg { width: 15px; height: 15px; }
.sm-prod-act b { font-weight: 600; }
.sm-prod-act--cart { background: var(--ink); color: var(--ink-inv); }
.sm-prod-act--cart:hover { background: var(--point); }
.sm-prod-act--view:hover { background: var(--ink); color: var(--ink-inv); }
.sm-prod:hover .sm-prod-act { opacity: 1; transform: translateY(0); }
.sm-prod:hover .sm-prod-act:nth-child(2) { transition-delay: 55ms; }
.no-js .sm-prod-actions { display: none; }
/* 터치 기기 — 액션 항상 노출 */
@media (hover: none) {
  .sm-prod-act { opacity: 1; transform: none; }
}
.sm-prod-info { padding: 17px 2px 0; }
.sm-prod-brand {
  font-family: var(--font-disp);
  font-size: 0.875rem; /* 14 — 브랜드 라벨 가독성 위해 키움 (기존 --fs-xs 12) */
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 7px;
}
.sm-prod-name {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.sm-prod-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-top: 12px;
}
.sm-prod-rate {
  font-family: var(--font-disp);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--point);
}
.sm-prod-now {
  font-family: var(--font-disp);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
}
.sm-prod-now small { font-size: var(--fs-sm); font-weight: 500; }
.sm-prod-was {
  width: 100%;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  text-decoration: line-through;
}
.sm-prod-meta {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}
.sm-prod-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--ink-soft);
}
.sm-prod-rating svg { width: 13px; height: 13px; color: var(--point); }
.sm-prod-rcnt { position: relative; padding-left: 9px; }
.sm-prod-rcnt::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink-muted);
  transform: translateY(-50%);
}

/* ───────── Editorial Banner ───────── */
.sm-banner {
  position: relative;
  background: var(--bg-ink);
  color: var(--ink-inv);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.sm-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(201, 124, 82, 0.28), transparent 46%);
  pointer-events: none;
}
.sm-banner-c { position: relative; }
.sm-banner-eyebrow {
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--point-soft);
}
.sm-banner-title {
  font-family: var(--font-disp);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--ls-disp);
  margin: 18px 0 16px;
}
.sm-banner-title em { font-style: italic; font-weight: 400; color: var(--point-soft); }
.sm-banner-desc {
  font-size: var(--fs-base);
  color: rgba(247, 244, 238, 0.72);
  max-width: 440px;
  margin-bottom: 32px;
}
.sm-banner-figure {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.sm-banner-figure .sm-bf {
  width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-ink-soft);
}
.sm-banner-figure .sm-bf:last-child { margin-top: 42px; }
.sm-banner-figure img { width: 100%; height: 100%; object-fit: cover; }
.sm-banner-figure .sm-bf-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #4a463f;
}
.sm-banner-figure .sm-bf-empty svg { width: 40px; height: 40px; }

/* ───────── Brand ───────── */
.sm-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.sm-brand-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sm-brand-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-ink);
  box-shadow: var(--sh-md);
}
.sm-brand-thumb {
  position: relative;
  aspect-ratio: 5 / 3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  overflow: hidden;
}
/* 로고 자체 회색 박스를 시각적으로 완화 — 가장자리 흰색 비네팅 */
.sm-brand-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 62% at 50% 50%, transparent 38%, #ffffff 86%);
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.03);
}
.sm-brand-thumb img {
  max-width: 72%;
  max-height: 54%;
  object-fit: contain;
  filter: saturate(0.96);
  transition: transform .55s var(--ease), filter .4s var(--ease);
}
.sm-brand-card:hover .sm-brand-thumb img {
  transform: scale(1.05);
  filter: saturate(1);
}
.sm-brand-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  font-family: var(--font-disp);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--point);
}
.sm-brand-name {
  padding: 15px 10px;
  text-align: center;
  font-family: var(--font-disp);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
}

/* ───────── Event ───────── */
.sm-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.sm-event-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.sm-event-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-ink);
  box-shadow: var(--sh-md);
}
.sm-event-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-cream);
  overflow: hidden;
}
.sm-event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .55s var(--ease);
}
.sm-event-card:hover .sm-event-thumb img { transform: scale(1.05); }
/* 색·밝기 편차 흡수 — 미세 톤 + 하단 페이드 */
.sm-event-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 56%, rgba(28, 26, 23, 0.22) 100%),
    linear-gradient(140deg, rgba(28, 26, 23, 0.04), transparent 55%);
  box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.05);
}

/* A3. 듀오톤 마스크 — 원색 이벤트 썸네일을 뉴트럴 팔레트에 흡수 */
.sm-event-thumb--duo img {
  /* 채도 낮추고 따뜻한 톤으로 매핑 */
  filter: grayscale(0.86) contrast(1.04) brightness(1.02) sepia(0.18);
}
.sm-event-thumb--duo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* 테라코타 단색 오버레이 — multiply 로 듀오톤화 */
  background: linear-gradient(150deg, var(--point) 0%, #2a2622 100%);
  mix-blend-mode: multiply;
  opacity: 0.34;
  transition: opacity .55s var(--ease);
}
/* hover 시 원본 컬러 복원 — 인터랙션 겸용 */
.sm-event-card:hover .sm-event-thumb--duo img {
  filter: grayscale(0) contrast(1) brightness(1) sepia(0);
}
.sm-event-card:hover .sm-event-thumb--duo::before { opacity: 0; }
.sm-event-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
}
.sm-event-thumb-empty svg { width: 40px; height: 40px; }
.sm-event-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 14px;
  background: var(--point);
  color: #fff;
  font-family: var(--font-disp);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--r-pill);
}
.sm-event-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 22px 24px;
}
.sm-event-name {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-event-desc {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-event-more {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--ink);
  transition: gap var(--dur) var(--ease);
}
.sm-event-more svg { width: 15px; height: 15px; }
.sm-event-card:hover .sm-event-more { gap: 11px; }

/* ───────── Review ───────── */
.sm-review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sm-review {
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sm-review::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--point);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.sm-review:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: var(--line-ink);
}
.sm-review:hover::before { transform: scaleX(1); }
.sm-review-stars {
  display: flex;
  gap: 2px;
  color: var(--point);
}
.sm-review-stars svg { width: 15px; height: 15px; }
.sm-review-stars .off { color: #ddd6c8; }
.sm-review-title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
}
.sm-review-body {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.sm-review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}
.sm-review-foot b { font-weight: 600; color: var(--ink-soft); }

/* ───────── Benefit (다크 섹션) ───────── */
.sm-benefit-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(34px, 4.5vw, 56px);
}
.sm-benefit-head .sm-eyebrow { justify-content: center; color: var(--point-soft); }
.sm-benefit-head .sm-eyebrow i { color: var(--point-soft); border-color: rgba(201, 124, 82, 0.4); }
.sm-benefit-title {
  font-family: var(--font-disp);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--ls-disp);
  color: var(--ink-inv);
}
.sm-benefit-title em { font-style: italic; font-weight: 400; color: var(--point-soft); }
.sm-benefit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sm-benefit {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: rgba(247, 244, 238, 0.04);
  border: 1px solid rgba(247, 244, 238, 0.1);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sm-benefit:hover {
  transform: translateY(-6px);
  background: rgba(247, 244, 238, 0.07);
  border-color: rgba(201, 124, 82, 0.4);
}
.sm-benefit-ico {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201, 124, 82, 0.16);
  color: var(--point-soft);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sm-benefit:hover .sm-benefit-ico { background: var(--point); color: #fff; }
.sm-benefit-ico svg { width: 23px; height: 23px; }
.sm-benefit-t {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink-inv);
}
.sm-benefit-d {
  font-size: var(--fs-sm);
  color: rgba(247, 244, 238, 0.55);
  margin-top: 4px;
}

/* ───────── Footer ───────── */
.sm-footer {
  background: var(--bg-ink);
  color: rgba(247, 244, 238, 0.62);
  padding: clamp(56px, 7vw, 84px) 0 36px;
}
.sm-footer-dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding: 26px 32px;
  margin-bottom: 48px;
  background: rgba(247, 244, 238, 0.04);
  border: 1px solid rgba(247, 244, 238, 0.1);
  border-radius: var(--r-lg);
}
.sm-footer-dl-eyebrow {
  display: block;
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--point-soft);
  margin-bottom: 8px;
}
.sm-footer-dl-t {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink-inv);
}
.sm-footer-dl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sm-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}
.sm-footer-logo {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-inv);
  margin-bottom: 18px;
}
.sm-footer-logo b { color: var(--point-soft); }
.sm-footer-desc {
  font-size: var(--fs-sm);
  line-height: 1.85;
}
.sm-footer-h {
  font-family: var(--font-disp);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-inv);
  margin-bottom: 18px;
}
.sm-footer-list li { margin-bottom: 11px; }
.sm-footer-list a {
  font-size: var(--fs-sm);
  transition: color var(--dur) var(--ease);
}
.sm-footer-list a:hover { color: var(--ink-inv); }
.sm-footer-tel {
  font-family: var(--font-disp);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--ink-inv);
  margin-bottom: 8px;
  display: block;
}
.sm-footer-hours { font-size: var(--fs-xs); line-height: 1.8; }
.sm-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 30px;
  font-size: var(--fs-xs);
}
.sm-footer-bottom .sm-fb-links { display: flex; gap: 20px; }
.sm-footer-bottom a:hover { color: var(--ink-inv); }

/* ───────── Reveal (스태거 등장) ───────── */
.sm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: 0ms;
}
.sm-reveal.is-in { opacity: 1; transform: translateY(0); }
.no-js .sm-reveal { opacity: 1; transform: none; }

/* 명시적 단계 지연 (data-d="1~4") */
.sm-reveal[data-d="1"] { transition-delay: 80ms; }
.sm-reveal[data-d="2"] { transition-delay: 160ms; }
.sm-reveal[data-d="3"] { transition-delay: 240ms; }
.sm-reveal[data-d="4"] { transition-delay: 320ms; }

/* 그리드 카드 — JS가 부여하는 --i 인덱스 기반 스태거 */
.sm-prod.sm-reveal,
.sm-event-card.sm-reveal,
.sm-brand-card.sm-reveal,
.sm-review.sm-reveal {
  transition-delay: calc(var(--i, 0) * 65ms);
}

/* B5. reveal 변주 — 이미지 블록: clip-path 마스크 리빌 */
.sm-reveal--img {
  opacity: 0;
  clip-path: inset(0 0 18% 0);
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.9s var(--ease-out),
    clip-path 1s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.sm-reveal--img.is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0) scale(1);
}

/* B5. reveal 변주 — 헤딩: 라인 마스크 슬라이드 업
   상단 패딩으로 마스크 영역을 확보하고 음수 마진으로 레이아웃 보정 */
.sm-sec-title.sm-reveal--head {
  display: block;
  padding-top: 0.16em;
  margin-top: -0.16em;
  clip-path: inset(0 0 0 0);
  transform: translateY(1.05em);
  opacity: 0;
  transition: transform 0.85s var(--ease-out), opacity 0.6s var(--ease-out);
}
.sm-sec-title.sm-reveal--head.is-in {
  transform: translateY(0);
  opacity: 1;
}
.no-js .sm-reveal--img,
.no-js .sm-sec-title.sm-reveal--head {
  opacity: 1;
  clip-path: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sm-reveal,
  .sm-reveal--img,
  .sm-sec-title.sm-reveal--head,
  .sm-prod.sm-reveal,
  .sm-event-card.sm-reveal,
  .sm-brand-card.sm-reveal,
  .sm-review.sm-reveal {
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    clip-path: none !important;
  }
  .sm-hero-line-in {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
  .sm-hero-title em { animation: none !important; }
}

/* ───────── Mobile menu ───────── */
.sm-mnav {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--bg-base);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
.sm-mnav.is-open { transform: translateX(0); }
.sm-mnav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.sm-mnav-close svg { width: 26px; height: 26px; }
.sm-mnav-list li a {
  display: block;
  padding: 16px 6px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

/* ───────── B7. Scroll Progress + Back to Top ───────── */
.sm-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: var(--z-progress);
  background: transparent;
  pointer-events: none;
}
.sm-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--point) 0%, var(--point-soft) 100%);
}

.sm-totop {
  --mx: 0px; --my: 0px;
  position: fixed;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  width: 50px; height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ink-inv);
  box-shadow: var(--sh-md);
  z-index: var(--z-totop);
  opacity: 0;
  visibility: hidden;
  transform: translate(var(--mx), calc(var(--my) + 16px)) scale(0.85);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-soft), background var(--dur) var(--ease), visibility var(--dur);
}
.sm-totop svg { width: 19px; height: 19px; }
.sm-totop.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--mx), var(--my)) scale(1);
}
.sm-totop:hover { background: var(--point); }

@media (prefers-reduced-motion: reduce) {
  .sm-progress-bar { transition: none; }
  .sm-totop { transition: opacity 0.01ms, visibility 0.01ms; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .sm-cat-grid, .sm-brand-grid { grid-template-columns: repeat(3, 1fr); }
  .sm-prod-grid, .sm-review-grid, .sm-event-grid { grid-template-columns: repeat(2, 1fr); }
  .sm-benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sm-gnb, .sm-utils .sm-u-pc { display: none; }
  .sm-burger { display: inline-flex; }
  .sm-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .sm-hero-visual {
    order: -1;
    aspect-ratio: 4 / 3.4;
    max-width: 540px;
    width: 100%;
  }
  .sm-hero-main { inset: 0 18% 10% 0; }
  .sm-hero-sub { width: 38%; }
  .sm-hero-title { font-size: clamp(2.7rem, 9vw, 3.6rem); }
  .sm-banner { grid-template-columns: 1fr; }
  .sm-banner-figure { display: none; }
  .sm-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sm-sec-head { flex-direction: column; align-items: flex-start; }
  .sm-footer-dl { padding: 22px 24px; }
  /* 헤더 컴팩트 — 모바일은 항상 기본 높이 유지 */
  .sm-header.is-compact .sm-header-bar { height: var(--hdr-h); }
}
@media (max-width: 560px) {
  .sm-cat-grid, .sm-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .sm-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .sm-event-grid, .sm-review-grid { grid-template-columns: 1fr; }
  .sm-benefit-grid { grid-template-columns: 1fr; }
  .sm-footer-top { grid-template-columns: 1fr; }
  .sm-prod-name { min-height: auto; }
  .sm-hero-stats { gap: 18px; }
  .sm-hero-stat { flex: 1 1 28%; }
  .sm-hero-stat strong { font-size: 1.5rem; }
  .sm-footer-dl { flex-direction: column; align-items: flex-start; }
  .sm-hero-visual { aspect-ratio: 4 / 3.9; }
  .sm-hero-sub { width: 40%; }
  .sm-hero-tag { left: 0; padding: 10px 15px; font-size: var(--fs-xs); }
  /* 베스트 피처 — 모바일 줌 */
  .sm-prod--feature .sm-prod-thumb { aspect-ratio: 16 / 11; }
  .sm-prod-feat-desc { -webkit-line-clamp: 3; }
  /* 모바일 — 상품 카드 액션 2개 세로 압박 완화: 글자 숨기고 아이콘만 */
  .sm-prod-act b { display: none; }
  .sm-prod-act { height: 38px; }
  /* 베스트 레일 컨트롤 — 화살표 좌측 정렬 보정 */
  .sm-best-rail-ctrl { flex-wrap: wrap; }
}
