/* ================================================================
   메디칼현대 — "Refined Authority" 디자인 시스템
   에디토리얼 럭셔리 + 의료 전문 브랜드
   ================================================================ */

/* ── 디자인 토큰 ── */
:root {
  /* 코어 팔레트 — 딥 네이비 & 웜 크림 & 골드 */
  --navy:        #0a1628;
  --navy-90:     #131f33;
  --navy-70:     #2a3a52;
  --navy-50:     #4d5e75;
  --navy-30:     #8a96a8;
  --navy-15:     #c4ccd6;
  --navy-05:     #eaecf0;

  --cream:       #f5f0e8;
  --cream-light: #faf8f4;
  --cream-dark:  #ebe4d8;

  --gold:        #b68d40;
  --gold-light:  #d4b06a;
  --gold-bg:     #fdf8ef;

  --white:       #ffffff;
  --black:       #05080d;

  --accent-red:  #b91c1c;
  --accent-green:#0f766e;
  --accent-orange:#c2410c;

  /* 시맨틱 */
  --text-primary:   var(--navy);
  --text-secondary: var(--navy-50);
  --text-muted:     var(--navy-30);
  --text-inv:       var(--white);

  --bg-page:        var(--cream-light);
  --bg-surface:     var(--white);
  --bg-elevated:    var(--white);
  --bg-warm:        var(--cream);
  --bg-dark:        var(--navy);

  --line:           var(--navy-05);
  --line-strong:    var(--navy-15);

  /* 타이포그래피 — 본문은 반드시 나눔고딕 계열 고딕 */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Nanum Gothic', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', monospace;

  /* 레이아웃 */
  --max-w:    1320px;
  --gap:      24px;
  --radius:   10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 그림자 — 레이어드 소프트 */
  --sh-xs:    0 1px 2px rgba(10,22,40,.04);
  --sh-sm:    0 1px 3px rgba(10,22,40,.05), 0 4px 12px rgba(10,22,40,.03);
  --sh-md:    0 2px 6px rgba(10,22,40,.04), 0 8px 24px rgba(10,22,40,.06);
  --sh-lg:    0 4px 12px rgba(10,22,40,.04), 0 16px 48px rgba(10,22,40,.08);
  --sh-xl:    0 8px 24px rgba(10,22,40,.06), 0 32px 72px rgba(10,22,40,.1);
  --sh-gold:  0 4px 20px rgba(182,141,64,.2);

  /* 모션 */
  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --dur:      .25s;
  --dur-slow: .5s;
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.65;
  letter-spacing: -.005em;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; }

/* ── 그레인 텍스처 오버레이 ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ── 레이아웃 ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── 스크롤 Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* 스태거 딜레이 유틸리티 */
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ── 스켈레톤 ── */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius);
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer 1.8s ease infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ================================================================
   ① 유틸리티 바
   ================================================================ */
.topbar {
  background: var(--navy);
  color: var(--navy-30);
  font-size: 11px;
  letter-spacing: .02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.topbar__inner strong { color: var(--gold-light); font-weight: 700; }
.topbar__links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar__sep { width: 1px; height: 11px; background: rgba(255,255,255,.18); margin: 0 2px; }
.topbar__link {
  color: var(--navy-30);
  transition: color var(--dur);
}
.topbar__link:hover { color: var(--white); }
.topbar__user { color: var(--gold-light); font-weight: 600; }

/* ================================================================
   ② 헤더
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(10,22,40,.06);
  transition: box-shadow .4s var(--ease), background .4s;
}
.header--scrolled {
  background: rgba(250,248,244,.96);
  box-shadow: 0 1px 0 rgba(10,22,40,.04), 0 8px 40px rgba(10,22,40,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.header__logo { flex-shrink: 0; }
.header__logo img { height: 38px; object-fit: contain; }

/* 검색 */
.search { flex: 1; max-width: 520px; }
.search__box {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.search__box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(182,141,64,.12);
}
.search__input {
  flex: 1;
  padding: 0 22px;
  height: 44px;
  font-size: 13px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
}
.search__input::placeholder { color: var(--navy-30); }
.search__btn {
  width: 52px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur);
  border-radius: 0 100px 100px 0;
}
.search__btn:hover { background: var(--navy-70); }
.search__btn svg { width: 18px; height: 18px; }

/* 아이콘 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.header__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: background var(--dur), color var(--dur);
}
.header__action:hover { background: var(--cream); color: var(--navy); }
.header__action svg { width: 22px; height: 22px; }
.header__action span { font-size: 10px; font-weight: 600; }

/* 모바일 햄버거 */
.header__mobile-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border-radius: var(--radius);
}
.header__mobile-btn:hover { background: var(--cream); }

/* ================================================================
   ③ 네비게이션
   ================================================================ */
.nav {
  background: var(--white);
  border-top: 1px solid var(--line);
  position: relative;
}
.nav__list { display: flex; align-items: stretch; }
.nav__sep { display: flex; align-items: center; padding: 0 4px; }
.nav__sep-line { width: 1px; height: 14px; background: var(--line-strong); }

/* 카테고리 버튼 */
.nav__cat-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  height: 46px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background var(--dur);
}
.nav__cat-btn:hover { background: var(--navy-90); }
.nav__cat-arrow { transition: transform .3s var(--ease); }
.nav__cat-arrow.is-open { transform: rotate(180deg); }

/* 네비 링크 */
.nav__link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 16px;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color var(--dur);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--sale { color: var(--accent-red); font-weight: 700; }

/* 드롭다운 */
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 300;
  min-width: 170px;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--sh-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
}
.nav__item:hover .nav__dropdown { display: block; }
.nav__dd-link {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: var(--text-primary);
  transition: background var(--dur), color var(--dur);
}
.nav__dd-link:hover { background: var(--cream); color: var(--gold); }

/* 메가 메뉴 */
.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--sh-xl);
}
.mega.is-open { display: block; }
.mega__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  padding: 36px 0;
}
.mega__col-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.mega__link {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-primary);
  transition: color var(--dur), padding-left var(--dur);
}
.mega__link:hover { color: var(--gold); padding-left: 6px; }
.mega__link--bold { font-weight: 700; }
.mega__link--sale { color: var(--accent-red); font-weight: 700; }
.mega__sub {
  display: block;
  padding: 4px 0 4px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--dur);
}
.mega__sub:hover { color: var(--gold); }
.mega__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(10,22,40,.35);
  backdrop-filter: blur(3px);
}
.mega__overlay.is-open { display: block; }

/* ================================================================
   ④ 히어로 슬라이더 + 사이드 배너
   ================================================================ */
.hero {
  padding: 28px 0 36px;
  background: var(--bg-page);
}
@media (max-width: 768px) {
  .hero { padding: 16px 0 22px; }
}
/* 플로팅 사이드 배너 — 메인 배너 옆에 고정 */
.side-float {
  position: fixed;
  /* JS로 left, top 계산: 메인 배너 왼쪽 옆 */
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .4s var(--ease), left .3s var(--ease);
}
.side-float.is-hidden {
  transform: translateX(calc(-100% - 20px));
}
.side-float__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  width: 84px;
  text-decoration: none;
  text-align: center;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: all .25s var(--ease);
}
.side-float__card--production {
  background: linear-gradient(145deg, #0f2847, #1a3a6a);
}
.side-float__card--howto {
  background: linear-gradient(145deg, #c45e10, #e8841e);
}
.side-float__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
.side-float__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.side-float__text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.side-float__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: background .2s;
}
.side-float__close:hover {
  background: #c00;
}

/* 화면이 좁아서 사이드 배너 공간 없으면 숨김 */
@media (max-width: 1520px) {
  .side-float { display: none; }
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--sh-lg);
}
.slider__track {
  display: flex;
  transition: transform .7s var(--ease);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.slider__slide img { display: block; width: 100%; height: auto; }
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--navy);
  transition: all .3s var(--ease);
}
.slider__arrow:hover {
  background: var(--white);
  box-shadow: var(--sh-lg);
  transform: translateY(-50%) scale(1.06);
}
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(10,22,40,.4);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 100px;
}
.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.slider__dot.is-active {
  width: 26px;
  border-radius: 4px;
  background: var(--gold-light);
}
.slider-skeleton { aspect-ratio: 21/8; border-radius: var(--radius-xl); }

/* ================================================================
   섹션 공통 헤더
   ================================================================ */
.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.sec-header__left { display: flex; flex-direction: column; gap: 4px; }
.sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-title {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.sec-bar {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}
.yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-red);
  color: var(--white);
}
.sec-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-inv);
  background: var(--navy);
  padding: 12px 28px;
  border-radius: 100px;
  letter-spacing: .01em;
  box-shadow: var(--sh-sm);
  transition: all .3s var(--ease);
}
.sec-more-btn:hover {
  background: var(--navy-90);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

/* ================================================================
   ⑤ 클린룸
   ================================================================ */
.cleanroom {
  padding: 72px 0;
  background: var(--bg-surface);
}
.cleanroom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.cleanroom__videos { display: contents; }

.video-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.video-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.video-card__caption {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-light);
}
.video-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.video-card__title { font-size: 14px; font-weight: 700; color: var(--navy); }
.video-card__sub { font-size: 12px; color: var(--text-muted); margin-left: auto; }

.cleanroom__tip { grid-column: 1 / -1; }
.info-tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-bg) 100%);
  border: 1px solid rgba(182,141,64,.15);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.info-tip__text { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
.info-tip strong { color: var(--gold); font-weight: 700; }

.cleanroom__banners {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* ================================================================
   ⑥ 프로모 배너
   ================================================================ */
.promo { padding: 40px 0; background: var(--bg-page); }
.promo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.banner-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.banner-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-6px);
}
.banner-card img { width: 100%; height: auto; }
.banner-skeleton { aspect-ratio: 2/1; border-radius: var(--radius-lg); }

/* ================================================================
   ⑦ 추천 제품
   ================================================================ */
.products {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
}
/* 상단 장식 라인 */
.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.product-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-8px);
}
.product-card__thumb {
  aspect-ratio: 1/1;
  background: var(--cream-light);
  overflow: hidden;
  position: relative;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-card__img { transform: scale(1.08); }
.product-card__body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.product-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-red);
}
.product-card__unit { font-family: var(--font-body); font-size: 12px; color: var(--text-muted); }
.product-card__member { font-size: 13px; color: var(--text-muted); }
.product-skeleton { aspect-ratio: 3/4; border-radius: var(--radius-lg); }

/* ================================================================
   ⑧ VOD
   ================================================================ */
.vod-section {
  padding: 80px 0;
  background: var(--bg-surface);
  position: relative;
}
.vod-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--accent-orange);
}
.vod__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vod-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.vod-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-6px);
}
.vod-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  cursor: pointer;
}
.vod-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s;
}
.vod-card:hover .vod-card__thumb img { transform: scale(1.06); filter: brightness(1.05); }
.vod-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,22,40,0) 40%, rgba(10,22,40,.45) 100%);
  transition: background var(--dur);
}
.vod-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: transform .3s var(--ease);
  color: var(--accent-red);
}
.vod-card__thumb:hover .vod-card__play { transform: scale(1.12); }
.vod-card__body { padding: 18px 20px; }
.vod-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vod-skeleton { aspect-ratio: 16/12; border-radius: var(--radius-lg); }

/* ================================================================
   ⑨ 배송 혜택 바
   ================================================================ */
.benefit {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* 장식 그라디언트 */
.benefit::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,141,64,.08) 0%, transparent 70%);
  pointer-events: none;
}
.benefit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}
.benefit__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
}
.benefit__item + .benefit__item {
  border-left: 1px solid rgba(255,255,255,.08);
  padding-left: 36px;
}
.benefit__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(182,141,64,.12);
  border: 1px solid rgba(182,141,64,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}
.benefit__title { font-size: 14px; font-weight: 700; color: var(--white); }
.benefit__desc { font-size: 12px; color: var(--navy-30); margin-top: 3px; }

/* ================================================================
   ⑩ CTA
   ================================================================ */
.cta {
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-bg) 100%);
  padding: 48px 0;
  border-top: 1px solid rgba(182,141,64,.12);
  border-bottom: 1px solid rgba(182,141,64,.12);
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta__left { display: flex; align-items: center; gap: 22px; }
.cta__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--sh-gold);
  color: var(--white);
}
.cta__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.cta__title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.cta__desc { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.cta__btn {
  font-size: 15px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  letter-spacing: .01em;
  box-shadow: var(--sh-md);
  transition: all .3s var(--ease);
}
.cta__btn:hover {
  background: var(--navy-90);
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
}

/* ================================================================
   ⑪ 푸터
   ================================================================ */
.footer {
  background: var(--navy);
  color: var(--navy-30);
}
.footer__links {
  background: var(--navy-90);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__links-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 12px 0;
  font-size: 12px;
}
.footer__link {
  color: var(--navy-30);
  padding: 4px 16px;
  font-weight: 500;
  transition: color var(--dur);
  position: relative;
}
.footer__link:hover { color: var(--white); }
.footer__link.is-active { color: var(--gold); font-weight: 800; }
.footer__link.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: -2px;
  height: 2px; background: var(--gold);
  border-radius: 1px;
}
.footer__link--primary { color: var(--gold-light); font-weight: 700; }
.footer__link--primary:hover { color: var(--gold); }
.footer__link--primary.is-active { color: var(--gold); }
.footer__sep { color: rgba(255,255,255,.12); }

.footer__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__info-col { padding: 0 24px; }
.footer__info-col:first-child {
  padding-left: 0;
  border-right: 1px solid rgba(255,255,255,.06);
}
.footer__info-col:nth-child(2) { border-right: 1px solid rgba(255,255,255,.06); }
.footer__info-col:last-child { padding-right: 0; }
.footer__info-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
}
.footer__info-icon svg { stroke: var(--gold-light); }
.footer__info-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--navy-30);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__info-big {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
}

.footer__legal { padding: 18px 0; }
.footer__legal p { font-size: 11px; line-height: 2; color: var(--navy-30); }
.footer__legal a { color: var(--navy-30); transition: color var(--dur); }
.footer__legal a:hover { color: var(--gold-light); }
.footer__copy { font-size: 10px; color: rgba(255,255,255,.2); margin-top: 6px; }
.footer__copy strong { color: var(--navy-30); }

/* ================================================================
   모바일 사이드바
   ================================================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,22,40,.5);
  backdrop-filter: blur(6px);
}
.sidebar-overlay.is-open { display: block; }
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
  box-shadow: var(--sh-xl);
}
.sidebar.is-open { transform: translateX(0); }
.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.sidebar__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--navy);
  transition: background var(--dur);
}
.sidebar__close:hover { background: var(--cream-dark); }
.sidebar__auth {
  padding: 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.sidebar__auth-btns { display: flex; gap: 10px; }
.sidebar__auth-btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
}
.sidebar__auth-btn--primary { background: var(--navy); color: var(--white); }
.sidebar__auth-btn--ghost { background: var(--white); color: var(--text-secondary); border: 1px solid var(--line-strong); }
.sidebar__group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sidebar__group-title { padding: 8px 20px; font-size: 13px; font-weight: 700; color: var(--navy); }
.sidebar__link {
  display: block;
  padding: 10px 20px 10px 34px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: background var(--dur), color var(--dur);
}
.sidebar__link:hover { background: var(--cream); color: var(--gold); }

/* 스크롤바 */
.no-scroll::-webkit-scrollbar { display: none; }
.no-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* ================================================================
   반응형
   ================================================================ */
@media (max-width: 1100px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .cleanroom__grid { grid-template-columns: 1fr; }
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__info { grid-template-columns: 1fr; gap: 20px; }
  .footer__info-col,
  .footer__info-col:first-child,
  .footer__info-col:nth-child(2),
  .footer__info-col:last-child { padding: 0; border: none; }
}

@media (max-width: 768px) {
  :root { --gap: 16px; }
  .topbar { display: none; }
  .header__inner { height: 56px; gap: 12px; }
  .header__logo img { height: 30px; }
  .header__actions { display: none; }
  .header__mobile-btn { display: flex; }
  .nav { display: none; }
  .search { max-width: none; }
  .search__input { height: 40px; font-size: 13px; }
  .search__btn { width: 44px; }

  .slider { border-radius: var(--radius-lg); }
  .slider__arrow { width: 38px; height: 38px; }
  .slider__arrow--prev { left: 12px; }
  .slider__arrow--next { right: 12px; }

  .sec-title { font-size: 24px; }
  .cleanroom__grid { grid-template-columns: 1fr; }
  .cleanroom__banners { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

  .products { padding: 56px 0; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__body { padding: 12px; }
  .product-card__name { font-size: 12px; }
  .product-card__price { font-size: 17px; }

  .vod-section { padding: 56px 0; }
  .vod__grid { grid-template-columns: 1fr; }

  .benefit__grid { grid-template-columns: 1fr; }
  .benefit__item { padding: 16px 0; }
  .benefit__item + .benefit__item { border-left: none; border-top: 1px solid rgba(255,255,255,.06); padding-left: 0; }

  .cta__inner { flex-direction: column; text-align: center; }
  .cta__left { flex-direction: column; }
  .cta__btn { width: 100%; text-align: center; }

  .footer__links-inner { gap: 4px; justify-content: center; }
  .footer__info { grid-template-columns: 1fr; gap: 16px; }
  .footer__info-col,
  .footer__info-col:first-child,
  .footer__info-col:nth-child(2),
  .footer__info-col:last-child { padding: 0; border: none; }
}

@media (max-width: 480px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card__body { padding: 10px; }
  .product-card__cat { font-size: 9px; }
  .product-card__name { font-size: 11px; }
  .product-card__price { font-size: 15px; }
  .sec-title { font-size: 21px; }
  .slider__arrow { width: 32px; height: 32px; }
  .slider__dots { padding: 6px 10px; }
}

/* ================================================================
   팝업 공지 모달
   ================================================================ */
.popup-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.popup-banner-overlay.is-open {
  display: flex;
}
.popup-banner-modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  max-width: 520px;
  width: 90vw;
  animation: popupIn .35s var(--ease);
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-banner__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .2s;
}
.popup-banner__close:hover {
  background: rgba(0,0,0,.8);
}
.popup-banner-modal img {
  width: 100%;
  display: block;
  cursor: pointer;
}
.popup-banner__footer {
  padding: 10px 16px;
  background: var(--navy);
  display: flex;
  justify-content: flex-end;
}
.popup-banner__today {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  cursor: pointer;
}
.popup-banner__today input {
  accent-color: var(--gold);
}
