/* ============================================
   BLOWFIT — Modern Minimal Design System
   ============================================ */

/* ===== NOTICE POPUP ===== */
#notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.35s ease;
}
#notice-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#notice-box {
  background: #fff;
  border-top: 4px solid #c8102e;
  border-radius: 12px;
  padding: 44px 40px 36px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  animation: noticeIn 0.4s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes noticeIn {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#notice-box .notice-logo {
  font-family: 'Bebas Neue', 'Noto Sans KR', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: #c8102e;
  margin-bottom: 16px;
}
#notice-box .notice-greeting {
  font-size: 20px;
  font-weight: 700;
  color: #0a0a0a;
  margin-bottom: 6px;
}
#notice-box .notice-sub {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}
#notice-box .notice-badge {
  display: inline-block;
  background: #fff4f5;
  color: #c8102e;
  border: 1px solid #f5c0c8;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  margin-bottom: 28px;
}
#notice-close {
  display: block;
  width: 100%;
  padding: 13px;
  background: #c8102e;
  color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
#notice-close:hover { background: #a30d24; }

:root {
  --accent:      #c8102e;
  --accent-dark: #a30d24;
  --black:       #0a0a0a;
  --dark:        #1a1a1a;
  --gray:        #787878;
  --gray-light:  #b8b8b8;
  --border:      #e0dedd;
  --bg:          #ffffff;
  --bg-alt:      #f5f4f0;
  --bg-dark:     #0d0d0d;
  --font-body:   'Noto Sans KR', sans-serif;
  --font-disp:   'Bebas Neue', 'Noto Sans KR', sans-serif;
  --ease:        cubic-bezier(.25,.46,.45,.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Utilities ── */
.center   { text-align: center; }
.mt-48    { margin-top: 48px; }
.mt-64    { margin-top: 64px; }

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}
.eyebrow.accent { color: var(--accent); }

.section-title {
  font-family: var(--font-disp);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 520px;
}
.section-desc.center { margin: 0 auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--bg);
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid var(--black);
  transition: background .22s var(--ease), color .22s var(--ease);
}
.btn-primary:hover { background: var(--dark); }
.btn-primary.red { background: var(--accent); border-color: var(--accent); }
.btn-primary.red:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid var(--black);
  transition: background .22s var(--ease), color .22s var(--ease);
}
.btn-outline:hover { background: var(--black); color: var(--bg); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--bg);
  padding: 14px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.btn-outline-white:hover { border-color: var(--bg); background: rgba(255,255,255,.08); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.btn-text:hover { opacity: .55; }
.btn-text-red { color: var(--accent); border-color: var(--accent); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  /* backdrop-filter를 ::before로 이동 — fixed 자식요소 containing block 문제 해결 */
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,.05);
}

/* ── Product Category Tab Bar ── */
.prod-cat-bar {
  background: #0a0a0a;
  border-bottom: 1px solid #222;
  overflow-x: auto;
  scrollbar-width: none;
}
.prod-cat-bar::-webkit-scrollbar { display: none; }
.prod-cat-inner {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.prod-cat-btn {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  font-family: var(--font-disp);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #888;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.prod-cat-btn:hover { color: #fff; }
.prod-cat-btn.active { color: #fff; border-bottom-color: var(--accent); }
.prod-cat-straps {
  border-left: 1px solid #333;
  margin-left: 8px;
  padding-left: 24px;
  color: #bbb;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: -2cm;
}
.nav-logo span { color: var(--accent); }
.nav-logo-img {
  height: 88px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex: 1;
  justify-content: center;
  align-items: center;
  transform: translateX(2cm);
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .18s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--black);
}

.btn-nav {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--black);
  padding: 10px 22px;
  border: 1.5px solid var(--black);
  transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--dark); }

.nav-toggle {
  display: none;
  font-size: 40px;
  color: var(--black);
  margin-left: 16px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.nav-mobile {
  display: none;          /* 데스크톱: 숨김 */
  flex-direction: column;
  background: var(--bg);
  gap: 0;
  overflow-y: auto;
}

/* ── 배경 오버레이 ── */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile a {
  padding: 13px 0;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  text-align: center;
}
.nav-mobile a:last-child { border-bottom: none; }
.btn-mobile-buy {
  margin-top: 16px;
  background: var(--black) !important;
  color: var(--bg) !important;
  text-align: center;
  padding: 13px 0 !important;
  letter-spacing: 2px !important;
  border-bottom: none !important;
}

/* ── Product Nav Dropdown Buttons ── */
.nav-prod-btn {
  background: none;
  border: 1.5px solid var(--black);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  padding: 6px 12px;
  line-height: 1;
}
.nav-prod-btn:hover {
  background: var(--black);
  color: #fff;
}
.nav-prod-btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* ── Sub-row (colorway dropdown) ── */
.nav-sub-row {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.nav-sub-row.open { display: block; }
.nav-sub-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.nav-sub-btn {
  background: none;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  padding: 7px 16px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.nav-sub-btn:hover {
  background: var(--black);
  color: var(--bg);
  border-color: var(--black);
}

/* ── Nav Right Stack (유틸리티 메뉴 가로 배열) ── */
.nav-right-stack {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin-left: 20px;
  transform: translateX(2cm);
}
.nav-right-stack span,
.nav-right-stack a,
.nav-right-stack button {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .18s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  padding: 0 10px;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-right-stack span:hover,
.nav-right-stack a:hover,
.nav-right-stack button:hover { color: var(--black); }
.nav-right-stack .util-divider {
  width: 1px; height: 10px;
  background: #ddd;
  flex-shrink: 0;
}

/* ── Homepage 6-Photo Upload Section ── */
.home-photos-section {
  padding: 80px 0 0;
  background: var(--bg-alt);
  width: 100%;
}
.home-photos-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 32px;
}
.home-gallery-title {
  font-family: var(--font-disp);
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 6px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0;
}
.home-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
}
.home-photo-slot {
  position: relative;
  aspect-ratio: 2/1;
  background: #e0dedd;
  overflow: hidden;
  cursor: pointer;
}
.home-photo-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  cursor: pointer;
  gap: 8px;
  position: absolute;
  inset: 0;
  transition: background .2s;
}
.home-photo-upload-label:hover { background: rgba(0,0,0,.04); }
.home-photo-up-icon { font-size: 28px; color: #b8b8b8; }
.home-photo-up-text { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #b8b8b8; }
.home-photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
  position: absolute;
  inset: 0;
}
.home-photo-vid {
  width: 100%; height: 100%;
  object-fit: cover;
  display: none;
  position: absolute;
  inset: 0;
}
.home-vid-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: 10px; padding: 3px 7px;
  display: none; letter-spacing: .05em;
  z-index: 3;
}
.home-photo-slot.has-photo .home-photo-upload-label { display: none; }
.home-photo-slot.has-photo .home-photo-img { display: block; }
.home-photo-slot.has-video .home-photo-upload-label { display: none; }
.home-photo-slot.has-video .home-photo-vid { display: block; }
.home-photo-slot.has-video .home-vid-badge { display: block; }
.home-photo-del {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.55);
  color: #fff; border: none;
  border-radius: 50%;
  font-size: 12px; cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  z-index: 5;
  transition: background .2s;
}
.home-photo-slot.has-photo:hover .home-photo-del { display: flex; }
.home-photo-del:hover { background: var(--accent); }

/* ── Community Page ── */
.community-section { padding: 60px 0 80px; }
.create-post-box {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.create-post-box h3 {
  font-family: var(--font-disp);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--black);
}
.create-form { display: flex; flex-direction: column; gap: 12px; }
.create-form input[type="text"],
.create-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--dark);
  resize: vertical;
  transition: border-color .2s;
}
.create-form input[type="text"]:focus,
.create-form textarea:focus {
  outline: none;
  border-color: var(--dark);
}
.create-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.create-photo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  cursor: pointer;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  transition: border-color .2s, color .2s;
}
.create-photo-label:hover { border-color: var(--dark); color: var(--dark); }
.photo-preview-wrap {
  width: 56px; height: 56px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: none;
}
.photo-preview-wrap img { width: 100%; height: 100%; object-fit: cover; }

.posts-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.posts-section-header h3 {
  font-family: var(--font-disp);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--black);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.post-card-img-wrap { position: relative; }
.post-card-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.post-card-body { padding: 16px 16px 12px; }
.post-card-name {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--black); margin-bottom: 8px;
}
.post-card-text {
  font-size: 13px; color: var(--gray);
  line-height: 1.75; margin-bottom: 14px;
  word-break: break-word;
}
.post-card-foot {
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 11px; color: var(--gray-light);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.post-card-del {
  background: none; border: none;
  color: var(--gray-light);
  font-size: 11px; cursor: pointer;
  transition: color .18s;
}
.post-card-del:hover { color: var(--accent); }
.empty-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}
.empty-posts-icon { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.25; }

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-photos-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .posts-grid { grid-template-columns: 1fr; }
  .create-post-box { padding: 20px; }
}

/* ============================================
   HERO — INDEX
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: var(--bg-dark);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* ── New White Hero ── */
.hero.hero-white {
  background: #ffffff;
  align-items: center;
}
.hero-grid-new {
  align-items: center !important;
  padding: 0 32px !important;
}
.hero-left-new {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-logo-img {
  width: 260px;
  max-width: 100%;
  object-fit: contain;
}
.hero-desc-new {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}
.hero-right-new {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-gloves-img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  border-radius: 8px;
}
.hero-scroll-dark span {
  color: #aaa;
}
.scroll-dot-dark {
  background: #aaa !important;
}

/* ── Nav 하단 텍스트 배너 ── */
.hero-banner-text-wrap {
  width: 100%;
  margin-top: 96px;
  background: var(--bg);
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
}
.hero-banner-text {
  font-family: var(--font-disp);
  font-size: clamp(28px, 4vw, 60px);
  letter-spacing: 3px;
  color: var(--black);
  text-transform: uppercase;
  outline: none;
  text-align: center;
  line-height: 1.2;
  min-height: 1.2em;
}
.hero-banner-text:empty::before {
  content: attr(data-placeholder);
  color: var(--gray-light);
  pointer-events: none;
}
.hero-banner-sub {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 2px;
  text-align: center;
  margin-top: 8px;
  outline: none;
  min-height: 1.5em;
}
.hero-banner-sub:empty::before {
  content: attr(data-placeholder);
  color: var(--gray-light);
  pointer-events: none;
}
.hero-banner-edit-hint {
  display: block;
  text-align: center;
  font-size: 10px;
  color: var(--gray-light);
  letter-spacing: 1px;
  margin-top: 10px;
}

/* ── Hero Logo Section ── */
.hero-logo-section {
  width: 100%;
  height: calc(100vh - 96px);
  min-height: 500px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 24px;
}
.hero-logo-main {
  max-height: 72%;
  max-width: 1100px;
  width: 95%;
  object-fit: contain;
  display: block;
}
.hero-logo-tagline {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-disp);
  font-size: clamp(20px, 3.5vw, 52px);
  letter-spacing: 10px;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1;
}
.hero-logo-sep {
  color: #ccc;
  font-weight: 300;
  font-size: 0.6em;
  letter-spacing: 0;
}

/* ── Hero Main Video (로고 위 풀스크린 영상) ── */
.hero-main-video-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 96px);
  background: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-main-vid,
.hero-main-img {
  display: none;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-main-video-section.has-media .hero-main-vid,
.hero-main-video-section.has-media .hero-main-img { display: block; }
.hero-main-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity .2s;
}
.hero-main-video-section.has-media .hero-main-overlay { display: none; }
.hero-main-upload-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: none;
  border: 1.5px dashed rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.4);
  padding: 48px 64px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.hero-main-upload-btn:hover {
  border-color: rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.8);
}
.hero-main-plus {
  font-size: 44px;
  line-height: 1;
}
.hero-main-upload-text {
  font-family: var(--font-disp);
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.hero-main-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  display: none;
  gap: 8px;
}
.hero-main-video-section.has-media .hero-main-controls { display: flex; }
.hero-main-video-section:not(:hover) .hero-main-controls { opacity: 0; }
.hero-main-video-section:hover .hero-main-controls { opacity: 1; transition: opacity .2s; }
.hero-main-ctrl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
}
.hero-main-ctrl.change { background: rgba(0,0,0,0.6); color: #fff; }
.hero-main-ctrl.del    { background: rgba(200,16,46,0.85); color: #fff; }

/* ── Hero Video Upload Section ── */
.hero-video-section {
  width: 100%;
}
/* ── 각 영상 위 라벨 ── */
.hero-slot-label {
  width: 100%;
  padding: 22px 40px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-disp);
  font-size: clamp(22px, 3.5vw, 48px);
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  user-select: none;
}
.hero-video-slot {
  width: 100%;
  height: 35vh;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.hero-video-slot.has-video .hero-video-bg {
  display: block;
}
/* ── 영상 사이 텍스트 영역 ── */
.hero-text-divider {
  width: 100%;
  padding: 56px 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.hero-text-divider-title {
  font-family: var(--font-disp);
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: 4px;
  color: var(--black);
  line-height: 1;
  text-transform: uppercase;
  outline: none;
}
.hero-text-divider-sub {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  outline: none;
}
.hero-text-edit-hint {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 1px;
  margin-top: 4px;
  opacity: 0.6;
}
/* ── 업로드 오버레이 ── */
.hero-upload-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color .25s;
  padding: 28px 40px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 4px;
}
.hero-upload-overlay:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.hero-video-slot.has-video .hero-upload-overlay { display: none; }
.hero-upload-icon { font-size: 32px; line-height: 1; }
.hero-upload-text {
  font-family: var(--font-disp);
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.hero-upload-sub { font-size: 11px; letter-spacing: 1px; opacity: 0.6; }
/* ── 영상 변경/삭제 버튼 ── */
.hero-change-btn,
.hero-del-btn {
  position: absolute;
  bottom: 14px;
  z-index: 10;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s;
  display: none;
}
.hero-change-btn { right: 14px; background: rgba(0,0,0,0.65); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.hero-del-btn    { left: 14px;  background: rgba(200,16,46,0.75); color: #fff; border: none; }
.hero-video-slot.has-video .hero-change-btn,
.hero-video-slot.has-video .hero-del-btn  { display: block; }
.hero-video-slot:hover .hero-change-btn,
.hero-video-slot:hover .hero-del-btn      { opacity: 1; }

/* ── Hero PiP (Picture-in-Picture) floating player ── */
.hero-pip {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 280px;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  display: none;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.hero-pip.visible {
  display: block;
  pointer-events: auto;
}
.hero-pip.show {
  opacity: 1;
  transform: translateY(0);
}
.hero-pip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-pip-close {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.hero-pip:hover .hero-pip-close {
  opacity: 1;
}
.hero-pip-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: var(--font-disp);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}
@media (max-width: 480px) {
  .hero-pip { width: 200px; bottom: 16px; right: 16px; }
}

.hero-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-disp);
  font-size: clamp(140px, 22vw, 300px);
  color: rgba(255,255,255,.04);
  letter-spacing: 12px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 32px;
}

.hero-left .hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-disp);
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.95;
  color: var(--bg);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 8px;
}

.hero-product-visual {
  width: 320px;
  height: 400px;
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,.15) 0%, rgba(255,255,255,0) 60%);
}
.hero-product-visual .hero-product-emoji {
  font-size: 80px;
  margin-bottom: 16px;
}
.hero-product-visual .hero-product-label {
  font-family: var(--font-disp);
  font-size: 18px;
  letter-spacing: 4px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.hero-product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.scroll-dot {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: rgba(255,255,255,.6);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============================================
   PAGE HEADER (interior pages)
   ============================================ */
.page-header {
  padding: 140px 0 64px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-header .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-header h1 {
  font-family: var(--font-disp);
  font-size: clamp(40px, 6vw, 80px);
  color: var(--black);
  line-height: 1;
}
.page-header p {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 1px;
}

/* ============================================
   BRAND STRIP — above the fold
   ============================================ */
.brand-strip {
  background: var(--black);
  padding: 14px 0;
  overflow: hidden;
}
.brand-strip-inner {
  display: flex;
  gap: 64px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.brand-strip-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  flex-shrink: 0;
}
.brand-strip-dot {
  color: var(--accent);
  margin-right: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SHOP SECTION — index.html product preview
   ============================================ */
.shop-section {
  padding: 96px 0;
  background: var(--bg);
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.shop-header-text {}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  background: var(--bg);
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}

.product-card-img {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background .3s var(--ease);
}
.product-card:hover .product-card-img { background: #eceae5; }

.product-card-emoji {
  font-size: 72px;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-card-emoji { transform: scale(1.08) translateY(-4px); }

.product-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--black);
  color: var(--bg);
}
.product-card-badge.sale { background: var(--accent); }
.product-card-badge.new  { background: var(--accent); }

.product-card-quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--black);
  color: var(--bg);
  text-align: center;
  padding: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .28s var(--ease);
}
.product-card:hover .product-card-quick { transform: translateY(0); }

.product-card-info {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--border);
}
.product-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.product-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.product-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-main  { font-size: 15px; font-weight: 700; color: var(--black); }
.price-old   { font-size: 13px; color: var(--gray-light); text-decoration: line-through; }
.price-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 2px 7px; text-transform: uppercase;
}

/* ============================================
   BRAND STORY — index.html
   ============================================ */
.brand-story {
  padding: 96px 0;
  background: var(--bg-alt);
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-story-img-wrap {
  position: relative;
}
.brand-story-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.brand-story-img-emoji { font-size: 96px; }
.brand-story-img-label {
  font-family: var(--font-disp);
  font-size: 20px;
  letter-spacing: 6px;
  color: var(--gray);
}
.brand-accent-box {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-disp);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--bg);
  text-align: center;
  line-height: 1.3;
}

.brand-story-text {}
.brand-story-text .eyebrow { display: block; margin-bottom: 16px; }
.brand-story-text h2 {
  font-family: var(--font-disp);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 24px;
}
.brand-story-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 32px;
}

.brand-values-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.brand-values-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.bv-icon {
  width: 36px;
  height: 36px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { border-left: 1px solid var(--border); }

.stat-num {
  font-family: var(--font-disp);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================
   CLASS PREVIEW — index.html
   ============================================ */
.class-preview {
  padding: 96px 0;
  background: var(--bg-alt);
}

.class-preview-header {
  margin-bottom: 56px;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.class-card {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
  border: 1px solid var(--border);
  transition: border-color .25s;
}
.class-card:hover { border-color: var(--black); }
.class-card.featured-class {
  background: var(--black);
  border-color: var(--black);
}

.class-card-icon {
  font-size: 32px;
  margin-bottom: 20px;
}
.class-card h3 {
  font-family: var(--font-disp);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 12px;
}
.class-card.featured-class h3 { color: var(--bg); }
.class-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}
.class-card.featured-class p { color: rgba(255,255,255,.55); }

.class-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--border);
  padding: 5px 12px;
}
.class-card.featured-class .class-tag {
  color: var(--accent);
  border-color: rgba(200,16,46,.4);
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
  padding: 96px 0;
  background: var(--bg);
}

.reviews-header {
  margin-bottom: 56px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.review-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color .25s;
}
.review-card:hover { border-color: var(--dark); }

.review-stars {
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.review-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 28px;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-avatar {
  width: 40px; height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}
.reviewer-name { font-size: 13px; font-weight: 700; color: var(--black); }
.reviewer-sub  { font-size: 11px; color: var(--gray); letter-spacing: 0.5px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 96px 0;
  background: var(--black);
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-disp);
  font-size: clamp(36px, 5vw, 72px);
  color: var(--bg);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 72px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr 1.8fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-disp);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--black);
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--accent); }

.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color .18s;
}
.social-link:hover { color: var(--black); }

.footer-nav h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 13px;
  color: var(--gray);
  transition: color .18s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.footer-nav a:hover { color: var(--black); }

/* Footer MENU 2-column grid (mobile) */
.footer-util-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
  font-family: inherit;
  transition: color .18s;
  text-align: left;
}
.footer-util-btn:hover { color: var(--black); }

.footer-contact h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.footer-contact p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}
.btn-footer-contact {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.btn-footer-contact:hover { opacity: .55; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--gray-light);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12px;
  color: var(--gray-light);
  transition: color .18s;
}
.footer-legal a:hover { color: var(--dark); }

/* ── Footer Info Column (사업자 정보) ── */
.footer-info-col {
  padding-top: 2px;
}
.footer-info-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.footer-info-line {
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.9;
  letter-spacing: 0.3px;
  margin: 0;
}
.footer-info-line a {
  color: inherit;
  text-decoration: none;
}
.footer-info-line a:hover { color: var(--black); }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.filter-bar {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 64px;
  z-index: 10;
}

.filter-btns {
  display: flex;
  gap: 4px;
}

.filter-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1.5px solid var(--border);
  color: var(--gray);
  background: var(--bg);
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--dark); color: var(--dark); }
.filter-btn.active { background: var(--black); border-color: var(--black); color: var(--bg); }

/* Product shop grid on products page */
.products-shop-grid {
  padding: 64px 0 96px;
  background: var(--bg);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}

/* Product detail card */
.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 2px;
}
.product-detail-card.reverse { direction: rtl; }
.product-detail-card.reverse > * { direction: ltr; }

.product-detail-imgs {
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 16px;
}

.product-detail-main-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 96px;
  min-height: 300px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.product-detail-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--black);
  color: var(--bg);
  padding: 5px 12px;
}
.product-detail-badge.new, .product-detail-badge.sale { background: var(--accent); }

.product-thumbs {
  display: flex;
  gap: 8px;
}
.thumb {
  width: 72px; height: 72px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: border-color .2s;
}
.thumb.active { border-color: var(--black); }
.thumb:hover  { border-color: var(--dark); }

.product-detail-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.product-detail-info h2 {
  font-family: var(--font-disp);
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--black);
  margin-bottom: 12px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.rating-count { font-size: 12px; color: var(--gray); }

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.price-lg { font-family: var(--font-disp); font-size: 36px; color: var(--black); }
.price-lg.red { color: var(--accent); }
.price-old-lg { font-size: 18px; color: var(--gray-light); text-decoration: line-through; }
.discount-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); border: 1.5px solid var(--accent);
  padding: 3px 10px; text-transform: uppercase;
}

.product-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 20px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 28px;
}
.product-features li {
  font-size: 13px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-options { margin-bottom: 28px; }
.option-group { margin-bottom: 18px; }
.option-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
}
.option-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.option-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--dark);
  background: var(--bg);
  transition: border-color .2s, background .2s, color .2s;
}
.option-btn:hover    { border-color: var(--dark); }
.option-btn.active   { border-color: var(--black); background: var(--black); color: var(--bg); }
.option-btn.color-btn { padding: 8px 20px; }

.cart-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
}
.qty-btn {
  width: 38px; height: 44px;
  font-size: 18px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.qty-btn:hover { background: var(--bg-alt); }
.qty-val {
  width: 48px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
}
.buy-btn { flex: 1; }

.shipping-note {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
}

.product-divider {
  border: none;
  border-top: 2px solid var(--bg-alt);
  margin: 0;
}

/* Shipping section */
.shipping-section {
  padding: 72px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.shipping-item {
  padding: 36px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}
.shipping-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.shipping-item h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.shipping-item p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ============================================
   CLASSES PAGE
   ============================================ */
.trial-banner {
  background: var(--accent);
  padding: 32px 0;
}
.trial-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trial-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: var(--bg);
  padding: 5px 12px;
  flex-shrink: 0;
}
.trial-content h3 { font-family: var(--font-disp); font-size: 28px; color: var(--bg); }
.trial-content p  { font-size: 13px; color: rgba(255,255,255,.75); flex: 1; }
.trial-content .btn-primary {
  background: var(--bg); color: var(--black); border-color: var(--bg);
  flex-shrink: 0;
}
.trial-content .btn-primary:hover { background: #f0efeb; }

.class-levels { padding: 96px 0; background: var(--bg); }

.class-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.class-detail-card {
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color .25s;
}
.class-detail-card:hover { border-color: var(--dark); }
.class-detail-card.featured-detail {
  border-color: var(--black);
}

.class-detail-header {
  padding: 36px 36px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.class-detail-card.featured-detail .class-detail-header {
  background: var(--black);
  border-color: var(--black);
}
.class-level-icon { font-size: 28px; }
.level-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.featured-tag { color: var(--accent); }
.class-detail-header h3 {
  font-family: var(--font-disp);
  font-size: 22px;
  color: var(--black);
}
.class-detail-card.featured-detail .class-detail-header h3 { color: var(--bg); }
.class-detail-card.featured-detail .level-tag { color: var(--accent); }

.class-detail-body { padding: 32px 36px 40px; }
.class-detail-body > p {
  font-size: 14px; color: var(--gray); line-height: 1.85; margin-bottom: 24px;
}
.class-curriculum {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px;
}
.class-curriculum li {
  font-size: 13px; color: var(--dark);
  padding-left: 16px;
  position: relative;
}
.class-curriculum li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 12px;
}

.class-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.meta-item { display: flex; align-items: flex-start; gap: 10px; }
.meta-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.meta-item strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--black); }
.meta-item span   { font-size: 13px; color: var(--gray); }

.class-price-wrap { margin-bottom: 20px; }
.class-price {
  font-family: var(--font-disp);
  font-size: 32px;
  color: var(--black);
}
.class-price-note {
  font-size: 12px;
  color: var(--gray);
  margin-left: 8px;
}

/* Schedule */
.schedule-section {
  padding: 96px 0;
  background: var(--bg-alt);
}
.schedule-table-wrap { overflow-x: auto; margin-top: 40px; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.schedule-table th, .schedule-table td {
  padding: 14px 16px;
  text-align: center;
  border: 1px solid var(--border);
}
.schedule-table th {
  background: var(--black);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.time-cell { font-weight: 700; color: var(--dark); background: var(--bg-alt); }
.class-slot { font-weight: 700; font-size: 12px; }
.beginner-slot { background: #f0f4ff; color: #2244cc; }
.power-slot    { background: #fff0f0; color: var(--accent); }
.advanced-slot { background: #111; color: #ccc; }

.schedule-legend {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.legend-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
}

/* Instructors */
.instructors { padding: 96px 0; background: var(--bg); }
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}
.instructor-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .25s;
}
.instructor-card:hover { border-color: var(--dark); }
.instructor-img {
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.instructor-avatar {
  width: 80px; height: 80px;
  background: var(--border);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp);
  font-size: 36px;
  color: var(--dark);
}
.instructor-info { padding: 28px 28px 32px; }
.instructor-info h3 {
  font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 4px;
}
.instructor-role {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px;
}
.instructor-info p { font-size: 13px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.instructor-certs { display: flex; flex-direction: column; gap: 6px; }
.instructor-certs li { font-size: 12px; color: var(--dark); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 96px 0; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}
.contact-form-wrap h2 {
  font-family: var(--font-disp);
  font-size: 42px; color: var(--black); margin-bottom: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--black); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  border: 1.5px solid var(--border);
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 64px 32px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.form-success .success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-disp); font-size: 32px; color: var(--black); margin-bottom: 8px; }
.form-success p   { font-size: 14px; color: var(--gray); }

.contact-info {}
.contact-info h3 {
  font-family: var(--font-disp); font-size: 28px;
  color: var(--black); margin-bottom: 28px;
}
.contact-info-card {
  padding: 24px 28px;
  border: 1px solid var(--border);
  margin-bottom: 2px;
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg);
  transition: border-color .2s;
}
.contact-info-card:hover { border-color: var(--dark); }
.contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-info-card h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--black); margin-bottom: 4px;
}
.contact-info-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.contact-map {
  margin-top: 28px;
  height: 200px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.contact-map span { font-size: 28px; }
.contact-map p { font-size: 12px; color: var(--gray); }

/* FAQ */
.faq-section { padding: 80px 0; background: var(--bg-alt); }
.faq-grid { margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color .2s;
}
.faq-q:hover { color: var(--black); }
.faq-q.open  { color: var(--black); }
.faq-chevron { font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.faq-q.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  font-size: 14px; color: var(--gray); line-height: 1.85;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-a.open { max-height: 300px; padding-bottom: 20px; }

/* SNS */
.sns-section { padding: 80px 0; background: var(--bg); }
.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}
.sns-card {
  aspect-ratio: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 36px;
  transition: border-color .25s, background .25s;
}
.sns-card:hover { border-color: var(--dark); background: #eceae5; }
.sns-card p { font-size: 12px; color: var(--gray); letter-spacing: 1px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-grid { padding-bottom: 80px; }
  .hero-title { font-size: clamp(72px, 14vw, 120px); }

  .brand-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .brand-accent-box { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  /* ── 모바일: 우측 유틸리티 메뉴 숨김 ── */
  .nav-right-stack { display: none !important; }

  /* ── 모바일: 하단 슬라이드업 메뉴 ── */
  .nav-mobile {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 0 40px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.22);
    /* 기본: 아래 숨김 */
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.32, 0, 0.15, 1),
                visibility 0s linear 0.38s;
  }
  .nav-mobile.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.38s cubic-bezier(0.32, 0, 0.15, 1),
                visibility 0s linear 0s;
  }
  /* 메뉴 내부 링크/버튼 좌우 패딩 */
  .nav-mobile > a,
  .nav-mobile > button,
  .nav-mobile > div { padding-left: 20px; padding-right: 20px; }

  /* ── 모바일: 로고 오프셋 초기화 ── */
  .nav-logo { margin-left: 0 !important; }

  /* ── 모바일: 네비 컨테이너 패딩 ── */
  .nav-container { padding: 0 16px; }

  /* ── 모바일: 햄버거 버튼 오른쪽 끝 + 높이 맞춤 ── */
  .nav-toggle { margin-left: auto; height: 72px; width: 48px; }

  .product-grid       { grid-template-columns: 1fr; }
  .class-grid         { grid-template-columns: 1fr; }
  .reviews-grid       { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .shipping-grid      { grid-template-columns: repeat(2, 1fr); }
  .class-detail-grid  { grid-template-columns: 1fr; }
  .instructors-grid   { grid-template-columns: 1fr; }
  .sns-grid           { grid-template-columns: repeat(2, 1fr); }
  .shop-grid          { grid-template-columns: 1fr 1fr; }

  .product-detail-card         { grid-template-columns: 1fr; }
  .product-detail-card.reverse { direction: ltr; }
  .product-detail-info         { padding: 32px 24px 40px; }

  .hero-product-visual { width: 100%; max-width: 300px; height: 320px; }
  .hero-right { display: flex; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; }

  .brand-story-img { aspect-ratio: 1; }

  .shop-header { flex-direction: column; align-items: flex-start; gap: 16px; }

  .trial-content { flex-direction: column; align-items: flex-start; }

  .stat-item { padding: 0 16px; }

  .filter-btns { flex-wrap: wrap; }

  section { overflow-x: hidden; }

  /* ── 모바일: 히어로 영상 섹션 높이 ── */
  .hero-main-video-section { height: 56vw !important; min-height: 200px; }

  /* ── 모바일: 홈 ALL PRODUCTS / BEST PICK 헤더 ── */
  .home-allprod-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 16px 20px;
  }
  .home-bestpick-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 16px 20px;
  }

  /* ── 모바일: 캐러셀 → 그리드 전환됨 (index.html inline 스타일 적용) ── */

  /* ── 모바일: 프로모 배너 — 이미지 비율 유지(잘림 없음) ── */
  .home-promo-banner { height: auto !important; min-height: unset !important; }

  /* ── 모바일: 브랜드 배너 버튼 (index.html inline 스타일로 관리) ── */

  /* ── 모바일: 풋터 그리드 1열 + 중앙정렬 ── */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand a { margin: 0 auto 12px; }
  .social-links { align-items: center; }
  .footer-nav h4,
  .footer-contact h4,
  .footer-info-col h4 { text-align: center; }
  .footer-nav ul { align-items: center; }
  /* MENU 8항목 2열 그리드 — 중앙정렬 */
  .footer-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(80px, 130px));
    gap: 10px 16px;
    justify-content: center;
    align-items: start;
  }
  .footer-menu-grid li { text-align: center; }
  .footer-menu-grid a,
  .footer-menu-grid .footer-util-btn { display: block; text-align: center; width: 100%; }
  .footer-info-col { text-align: center; }
  .footer-info-line { text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; }
  .shipping-grid  { grid-template-columns: 1fr 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .shop-grid { grid-template-columns: 1fr; }

  /* ── 소형 모바일 추가 최적화 ── */
  .home-allprod-section { padding: 48px 0 56px; }
  .home-bestpick-section { padding: 0 !important; }          /* 프로모 배너 위 흰색 제거 */
  .home-bestpick-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .home-brand-banner { padding: 0 16px 48px !important; border-top: none !important; } /* 프로모 배너 아래 흰색 제거 */
  .home-brand-logo-img { max-height: 240px !important; max-width: 88vw !important; }

  /* ── 소형 모바일: nav-container 높이 ── */
  .nav-container { height: 72px; }
  .nav-logo-img { height: 60px !important; }

  /* ── 소형 모바일: 히어로 섹션 margin 조정 ── */
  #heroMainVideoSection { margin-top: 72px !important; }

  /* ── 소형 모바일: 풋터 내부 여백 ── */
  .footer-main { padding: 48px 0 40px; }
}
