@charset "utf-8";
/*
 * 러닝랩 테마 스타일
 * 기준: ../demo/embed-example.html (색·글꼴·간격·모션·카드·버튼 토큰을 그대로 옮김)
 * 글꼴은 시스템 글꼴만 사용한다(외부 웹폰트 요청 없음).
 * 그누보드/영카트 기본 스타일(default_shop.css, 스킨 style.css) 뒤에 불러와 덮어쓴다.
 */

/* ================= 디자인 토큰 ================= */
:root {
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #ebebe6;
  --ink: #0f1113;
  --ink-2: #464a4f;
  --ink-3: #74797e;
  --line: #dcdcd6;
  --accent: #d4430d;       /* 흰 글자를 올릴 수 있는 주황 (대비 4.5:1 이상) */
  --accent-ink: #ffffff;
  --accent-text: #c2410c;  /* 밝은 배경 위 주황 글자 */
  --accent-soft: #ffe7dc;
  --warn: #c2410c;
  --radius: 16px;
  /* 어두운 무대(히어로·스포트라이트·푸터) */
  --stage: #0b0c0e;
  --stage-ink: #f5f5f2;
  --stage-ink-2: #b9bcbf;
  --flame: #ff5a1f;        /* 채팅 위젯 primaryColor 와 같은 색 */
  --volt: #d9ff3d;
  --header-h: 62px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
  color-scheme: light;
}

/* ================= 기본 ================= */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-y: scroll; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sound_only { display: inline-block !important; position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; font-size: 0; line-height: 0; border: 0 !important; overflow: hidden !important; }
#skip_to_container a { position: absolute; left: -9999px; z-index: 100; }
#skip_to_container a:focus { left: 12px; top: 12px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
/* 팝업레이어 자리(default_shop.css 1200px 고정)가 모바일에서 가로 스크롤을 만들지 않게 */
#hd_pop { width: auto; max-width: 1200px; }

/* 기본 테마의 고정 폭(1200px)을 풀고 반응형으로 */
#hd, #wrapper, #ft { min-width: 0; }
#wrapper { background: transparent; z-index: auto; }
#wrapper.is_community { background: transparent; }
#container { width: auto; min-height: 50vh; margin: 0; }
#container .shop-content { padding: 0; }
#container .shop-content.wrap { padding: 8px 20px; }
#container .is_index { margin-left: 0; }
main#container { display: block; overflow-x: clip; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.display { margin: 0; font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.more { flex: none; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }
.more:hover { color: var(--accent-text); }

/* 일반 페이지 제목 (기본 화면) */
.page-title, #wrapper_title { margin: 28px 0 22px; padding: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }

/* ================= 버튼 ================= */
.btn, a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: auto; padding: 12px 18px; font-size: inherit; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; line-height: 1.3; cursor: pointer; text-decoration: none; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: scale(0.98); }
.btn-primary, a.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-primary:hover { border-color: var(--ink); opacity: 0.9; }
.btn-flame, a.btn-flame { position: relative; overflow: hidden; isolation: isolate; background: var(--flame); border-color: var(--flame); color: #120904; }
.btn-flame:hover { border-color: var(--flame); background: #ff7240; }
.btn-flame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-130%); animation: sheen 5s ease-in-out 2s infinite; pointer-events: none; }
.btn.is-magnet { transition: transform 0.12s linear, background-color 0.15s ease; }
.btn-ghost, a.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: var(--stage-ink); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm, a.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ================= 헤더 ================= */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 1001; width: 100%; height: 3px; background: var(--flame); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
#hd { background-color: color-mix(in srgb, var(--bg) 86%, transparent); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; flex: none; align-items: center; gap: 8px; font-weight: 900; font-style: italic; letter-spacing: 0.02em; font-size: 20px; line-height: 1; text-decoration: none; color: var(--ink); }
.logo i { display: inline-block; width: 22px; height: 12px; background: var(--flame); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.logo span { color: var(--accent-text); }
.site-nav { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.site-nav .nav-item { position: relative; }
.site-nav .nav-item > a { display: block; padding: 6px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.site-nav .nav-item > a:hover, .site-nav .nav-item:focus-within > a { color: var(--ink); background: var(--surface-2); }
.site-nav .nav-item > a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.site-nav .sep { flex: none; width: 1px; height: 16px; margin: 0 6px; background: var(--line); }
.site-nav .tag { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 10px; font-weight: 800; vertical-align: 1px; }
/* 하위 분류 드롭다운 (넓은 화면) */
.nav-sub { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 5; display: none; width: 260px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.3); animation: popIn 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.has-sub:hover .nav-sub, .nav-item.has-sub:focus-within .nav-sub { display: block; }
.nav-sub-head { margin: 0 0 10px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.nav-sub-head b { display: block; font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.nav-sub ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.nav-sub li a { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.nav-sub li a small { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.nav-sub li a:hover { background: var(--surface-2); }
.nav-sub-all { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--accent-text); }

.account { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.account strong { color: var(--ink); }
.hd-link { padding: 5px 6px; font-weight: 600; }
.hd-link:hover { color: var(--ink); }
.cart { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cart b { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--bg); text-align: center; font-variant-numeric: tabular-nums; }
.cart:hover { border-color: var(--ink-3); }
.cart[aria-current="page"] { border-color: var(--ink); }
.cart b.bump { animation: bump 0.5s cubic-bezier(0.3, 1.6, 0.5, 1); background: var(--accent); color: var(--accent-ink); }
/* 검색·회원 메뉴 (details 로 열고 닫음) */
.hd-search, .hd-member { position: relative; }
.hd-search summary, .hd-member summary { list-style: none; cursor: pointer; }
.hd-search summary::-webkit-details-marker, .hd-member summary::-webkit-details-marker { display: none; }
.hd-search summary { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); }
.hd-search summary:hover, .hd-search[open] summary { background: var(--surface-2); }
.hd-search-panel { position: absolute; right: -120px; top: calc(100% + 12px); width: min(460px, calc(100vw - 32px)); padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.3); animation: popIn 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); white-space: normal; }
.hd-search-panel form { display: flex; gap: 8px; }
.hd-search-panel input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.hd-search-panel input:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.hd-search-panel .btn { padding: 0 18px; height: 44px; }
.hd-search-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 2px 0; font-size: 12px; color: var(--ink-3); }
.hd-search-hint a { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; }
.hd-search-hint a:hover { background: var(--ink); color: var(--bg); }
.hd-member summary { padding: 5px 8px; border-radius: 999px; }
.hd-member summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.hd-member summary:hover, .hd-member[open] summary { background: var(--surface-2); }
.hd-member-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 160px; margin: 0; padding: 8px; list-style: none; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.3); animation: popIn 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hd-member-menu a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hd-member-menu a:hover { background: var(--surface-2); }

/* 좁은 화면: 메뉴를 헤더 아래 가로 스크롤 줄로 (demo/ 의 860px 동작을 메뉴 수에 맞게 1100px 에서) */
@media (max-width: 1240px) {
  .site-nav .sep, .site-nav .nav-item.is-extra { display: none; }
}
@media (max-width: 1100px) {
  html { scroll-padding-top: 112px; }
  .site-header .bar { height: auto; flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .site-nav { order: 3; width: calc(100% + 40px); margin: 6px -20px 0; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav .sep, .site-nav .nav-item.is-extra { display: block; }
  .nav-sub { display: none !important; }
  .account { margin-left: auto; }
  .hd-search-panel { right: -60px; }
}
@media (max-width: 520px) {
  .site-header .bar { gap: 0 8px; }
  .logo { gap: 6px; font-size: 18px; }
  .hd-join { display: none; }
  .account { gap: 4px; }
  .hd-member summary { padding-inline: 6px; }
  .hd-member summary strong { display: inline-block; max-width: 4.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
  .hd-search-panel { position: fixed; left: 16px; right: 16px; top: 58px; width: auto; }
  .hd-member-menu { right: -60px; }
}
/* 맨 위로 버튼: 채팅 런처가 오른쪽 아래에 있으면 그 왼쪽 12px 에 세로 중심을 맞춰 둔다.
   --chat-size·--chat-edge 는 챗봇 SDK 런처의 지름·화면 가장자리 여백과 같은 값이다 (PC 60px·24px, 640px 이하는 화면 너비에 비례).
   런처 위치는 runlab.js 가 data-chat 으로 알려 준다. 챗봇을 끄거나 왼쪽에 두면 런처 자리(오른쪽 아래 모서리)에 둔다.
   기본 CSS 의 #top_btn(절대 위치·파란 hover)보다 앞서도록 id 와 class 를 함께 쓴다 */
#top_btn.top-btn { --top-size: 44px; --chat-size: 60px; --chat-edge: 24px; position: fixed; left: auto; top: auto; right: var(--chat-edge); bottom: var(--chat-edge); margin: 0; font-size: inherit; line-height: 1; z-index: 900; display: grid; place-items: center; width: var(--top-size); height: var(--top-size); padding: 0; border: 1px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease; }
#top_btn.top-btn[data-chat="right"] { right: calc(var(--chat-edge) + var(--chat-size) + 12px); bottom: calc(var(--chat-edge) + (var(--chat-size) - var(--top-size)) / 2); }
#top_btn.top-btn.is-on { opacity: 1; transform: none; pointer-events: auto; }
#top_btn.top-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
/* 640px 이하: SDK 런처는 clamp(44px, 13.5vw, 56px) · 여백 min(24px, 5vw). 맨 위로 버튼은 누르기 쉽게 40px 로 둔다 */
@media (max-width: 640px) { #top_btn.top-btn { --top-size: 40px; --chat-size: clamp(44px, 13.5vw, 56px); --chat-edge: min(24px, 5vw); } }

/* ================= 홈: 히어로 ================= */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 760px); display: grid; align-items: end; background: var(--stage); color: var(--stage-ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; animation: kenburns 14s ease-out both; }
.hero-rain { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
.hero-rain.is-on { opacity: 1; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(460px circle at var(--gx, 70%) var(--gy, 60%), rgba(255, 128, 64, 0.2), transparent 62%); mix-blend-mode: screen; opacity: 0; transition: opacity 0.6s ease; }
.hero.is-pointer .hero-glow { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.7) 38%, rgba(8, 9, 11, 0.05) 70%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.85) 0%, rgba(8, 9, 11, 0) 42%); }
.hero .streaks { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; opacity: 0.55; background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(255, 90, 31, 0.0) 46px 47px, rgba(255, 90, 31, 0.28) 47px 49px, transparent 49px 140px); mask-image: linear-gradient(90deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); animation: streak 2.8s linear infinite; }
.hero-inner { width: 100%; padding-block: 96px 56px; will-change: transform, opacity; }
.hero .eyebrow { color: var(--volt); }
.hero h2.display, .hero h1.display { font-size: clamp(44px, 7.4vw, 104px); color: var(--stage-ink); }
.hero .display .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero .display .line > span { display: inline-block; animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero .display .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero .display em { font-style: normal; color: var(--flame); }
.hero .display .line > span.split { animation: none; }
.hero .display .ch { display: inline-block; animation: charIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 34ms + 0.1s); }
.hero .display em.ch { background: linear-gradient(100deg, var(--flame) 0 38%, #ffd9bf 48%, var(--flame) 58% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: charIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both, shine 4.5s linear infinite; animation-delay: calc(var(--i) * 34ms + 0.1s), 1.6s; }
.hero-copy { max-width: 40ch; margin: 22px 0 28px; font-size: clamp(15px, 1.4vw, 18px); color: var(--stage-ink-2); animation: fade 1s 0.35s ease both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; animation: fade 1s 0.5s ease both; }
.hero-cta .btn { padding: 14px 22px; font-size: 15px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 44px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.16); list-style: none; animation: fade 1s 0.7s ease both; }
.hero-stats b { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-stats li > span { font-size: 12.5px; color: var(--stage-ink-2); }
.scroll-cue { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; text-decoration: none; animation: bob 1.8s ease-in-out infinite; }
/* 오른쪽 아래 채팅 런처와 겹치므로 화살표는 왼쪽으로 */
.hero .scroll-cue { right: auto; left: calc(50% - 22px); }
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-media { bottom: auto; height: 400px; }
  .hero-media img { object-position: 80% 70%; }
  .hero::before { background: linear-gradient(0deg, var(--stage) 0%, var(--stage) calc(100% - 400px), rgba(11, 12, 14, 0.55) calc(100% - 250px), rgba(11, 12, 14, 0) 100%); }
  .hero-inner { padding-block: 300px 44px; }
  .hero-stats { gap: 10px 22px; margin-top: 30px; }
  .hero-stats b { font-size: 17px; }
  .scroll-cue { display: none; }
}

/* 흐르는 띠 */
.ticker { overflow: hidden; background: var(--flame); color: #120904; transform: rotate(-1.2deg); margin: -14px -8px 0; position: relative; z-index: 2; border-block: 2px solid var(--stage); }
.ticker-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ticker-track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 18px; padding: 12px 18px; font-size: 15px; font-weight: 900; letter-spacing: 0.02em; white-space: nowrap; text-transform: uppercase; }
.ticker li::after { content: ""; width: 10px; height: 10px; background: #120904; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* 스크롤에 맞춰 좌우로 흐르는 대형 문구 */
.kinetic { padding-top: 88px; overflow: hidden; user-select: none; }
.kinetic-row { display: block; width: max-content; white-space: nowrap; font-size: clamp(52px, 9vw, 132px); font-weight: 900; font-style: italic; letter-spacing: -0.045em; line-height: 0.98; text-transform: uppercase; will-change: transform; }
.kinetic-row em { font-style: inherit; color: var(--flame); }
.kinetic-row.outline { margin-left: -30vw; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* 카테고리 타일 */
.categories { padding-top: 84px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile a { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--stage); color: #fff; text-decoration: none; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease; }
.tile a.is-tilting { transition: transform 0.08s linear, box-shadow 0.3s ease; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55); }
.tile a::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.22), transparent 55%); transition: opacity 0.3s ease; }
.tile a.is-tilting::after { opacity: 1; }
.tile img { position: absolute; inset: -9% 0; z-index: -2; width: 100%; height: 118%; max-width: none; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .tile.reveal:not(.is-in) { transform: translateY(70px) rotate(3deg) scale(0.94); }
.tile a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 55%); transition: background-color 0.3s ease; }
.tile a:hover img { transform: scale(1.07); }
.tile .body { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.tile .en { display: block; font-size: clamp(26px, 2.8vw, 38px); font-weight: 900; font-style: italic; letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; }
.tile .ko { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.tile .go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; font-weight: 900; transition: transform 0.25s ease, background-color 0.25s ease; }
.tile a:hover .go { transform: rotate(-45deg); background: var(--flame); }
.tile .num { position: absolute; top: 14px; left: 16px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}
/* 전체 분류 칩 */
.cat-chips, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.cat-chips a, .chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: border-color 0.15s ease, background-color 0.15s ease; }
.cat-chips a small, .chips a small { font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-chips a:hover, .chips a:hover { border-color: var(--ink-3); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips a[aria-current="page"] small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@media (max-width: 640px) {
  .cat-chips, .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .cat-chips::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
}

/* 스포트라이트 */
.spotlight { margin-top: 72px; background: var(--stage); color: var(--stage-ink); overflow: hidden; position: relative; isolation: isolate; }
.spot-word { position: absolute; z-index: -1; left: -2%; top: 50%; margin-top: -0.5em; font-size: clamp(120px, 22vw, 320px); font-weight: 900; font-style: italic; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); white-space: nowrap; will-change: transform; pointer-events: none; }
.spot-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px; padding-block: 72px; }
.spot-media { margin: 0; position: relative; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.spot-frame { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 1000 / 747; background: var(--stage); animation: float 6s ease-in-out infinite; -webkit-mask-image: radial-gradient(ellipse 70% 68% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 70% 68% at 50% 50%, #000 58%, transparent 100%); }
.spot-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.spot-media::before { content: ""; position: absolute; inset: 8% 14%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.5), transparent); filter: blur(34px); animation: pulse 4.2s ease-in-out infinite; }
.speed-lines { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.speed-lines i { position: absolute; left: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 106, 51, 0.9), rgba(255, 255, 255, 0.8)); opacity: 0; animation: dash 2.6s cubic-bezier(0.5, 0, 0.7, 1) infinite; }
.speed-lines i:nth-child(1) { top: 22%; width: 26%; animation-delay: 0s; }
.speed-lines i:nth-child(2) { top: 34%; width: 14%; animation-delay: 0.9s; animation-duration: 2.1s; }
.speed-lines i:nth-child(3) { top: 47%; width: 32%; animation-delay: 1.6s; }
.speed-lines i:nth-child(4) { top: 58%; width: 18%; animation-delay: 0.4s; animation-duration: 3s; }
.speed-lines i:nth-child(5) { top: 69%; width: 24%; animation-delay: 2.2s; animation-duration: 2.3s; }
.speed-lines i:nth-child(6) { top: 78%; width: 12%; animation-delay: 1.2s; }
.speed-lines i:nth-child(odd) { height: 1px; }
.spot-media::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -18px; height: 28px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.45), transparent); filter: blur(6px); animation: shadow 6s ease-in-out infinite; }
.spotlight .eyebrow { color: var(--volt); }
.spotlight h2 { font-size: clamp(36px, 5vw, 64px); }
.spotlight h2 span { color: var(--flame); }
.spotlight p.copy { max-width: 42ch; margin: 16px 0 26px; color: var(--stage-ink-2); }
.spot-price { display: block; margin-top: 8px; font-size: 20px; font-weight: 900; color: var(--stage-ink); font-variant-numeric: tabular-nums; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.specs div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.specs dt { font-size: 12px; color: var(--stage-ink-2); }
.specs dd { margin: 2px 0 0; font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.specs dd small { margin-left: 2px; font-size: 14px; font-weight: 700; color: var(--stage-ink-2); }
.spot-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .spot-grid { grid-template-columns: 1fr; padding-block: 48px 56px; gap: 28px; } }

/* ================= 상품 카드 목록 (메인·분류·검색·관련상품 공용) ================= */
.catalog { padding-top: 88px; }
.filters { display: flex; gap: 6px; margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button, .filters a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap; }
.filters button:hover, .filters a:hover { border-color: var(--ink-3); }
.filters button[aria-pressed="true"], .filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.catalog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 16px; }
.catalog-grid li { position: relative; min-width: 0; }
.catalog-grid li.is-filtered { display: none; }
.catalog-grid a { position: relative; display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.catalog-grid .ph { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--surface-2); aspect-ratio: 1; }
.catalog-grid .ph img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.catalog-grid a:hover .ph img { transform: scale(1.08) rotate(-5deg) translateY(-3%); }
.catalog-grid .ph::after { content: "자세히 보기 →"; position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 9px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 700; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.catalog-grid a:hover .ph::after, .catalog-grid a:focus-visible .ph::after { opacity: 1; transform: none; }
.catalog-grid .flag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.5; }
.catalog-grid .flag[data-badge="SALE"] { background: var(--accent); color: var(--accent-ink); }
.catalog-grid .flag[data-badge="NEW"] { background: var(--volt); color: #111; }
.catalog-grid .flag[data-badge="SOLDOUT"] { background: var(--ink-3); color: #fff; }
.catalog-grid .cat { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.04em; }
.catalog-grid .name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.catalog-grid .meta { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.catalog-grid .meta b { color: var(--ink); font-size: 14px; }
.catalog-grid .meta s { margin-left: 4px; }
.catalog-grid a:hover .name { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } }
.catalog-empty { padding: 48px 20px; border-radius: var(--radius); border: 1px dashed var(--line); text-align: center; color: var(--ink-2); }
.catalog-empty strong { display: block; margin-bottom: 4px; font-size: 18px; color: var(--ink); }

/* 빠른 담기 */
.quick-add { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15); transition: transform 0.2s ease, background-color 0.2s ease; }
.quick-add:hover { transform: scale(1.1); background: var(--flame); color: #120904; }
.quick-add.is-busy { pointer-events: none; opacity: 0.6; }
.size-pop { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 4; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); animation: popIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
.size-pop p { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.size-pop p button { border: 0; background: none; padding: 0 2px; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink-3); }
.size-pop .sz { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.size-pop .sz + p { margin-top: 10px; }
.size-pop .sz button { padding: 6px 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer; }
.size-pop .sz button:hover, .size-pop .sz button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.size-pop .sz button:disabled { color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; background: var(--surface-2); border-color: var(--surface-2); }
.size-pop .sz-colors { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.size-pop .pop-msg { margin: 0; font-size: 12px; color: var(--ink-3); }

/* ================= 사진 없는 상품 자리 표시 ================= */
.rl-noimg { --sw: #ff5a1f; position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 100%; max-width: var(--w, 100%); aspect-ratio: 1; overflow: hidden; vertical-align: middle; container-type: inline-size;
  background:
    radial-gradient(120% 90% at 50% 105%, color-mix(in srgb, var(--sw) 26%, transparent), transparent 60%),
    linear-gradient(160deg, #f7f7f3 0%, var(--surface-2) 100%);
  color: var(--ink); }
.ph .rl-noimg, .product-media .rl-noimg, .ci-img .rl-noimg { max-width: none; height: 100%; }
.rl-noimg::before { content: ""; position: absolute; inset: -30% -10%; z-index: -1; background: repeating-linear-gradient(-62deg, transparent 0 22px, color-mix(in srgb, var(--sw) 14%, transparent) 22px 23px); mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); opacity: 0.7; }
.rl-noimg__word { position: absolute; left: -4%; right: -4%; top: 50%; z-index: -1; transform: translateY(-62%) rotate(-6deg); font-size: 27cqi; font-weight: 900; font-style: italic; letter-spacing: -0.05em; line-height: 1; text-align: center; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(15, 17, 19, 0.13); }
.rl-noimg__svg { width: 74%; height: auto; margin-top: -4%; overflow: visible; filter: drop-shadow(0 14px 10px rgba(15, 17, 19, 0.16)); transform: rotate(-8deg); transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rl-noimg__svg .up { fill: var(--sw); stroke: rgba(15, 17, 19, 0.22); stroke-width: 1.2; }
.rl-noimg__svg .so { fill: #fbfbf8; stroke: rgba(15, 17, 19, 0.25); stroke-width: 1.2; }
.rl-noimg__svg .ln, .rl-noimg__svg .st, .rl-noimg__svg .lug { fill: none; stroke-linecap: round; }
.rl-noimg__svg .ln { stroke: rgba(255, 255, 255, 0.7); stroke-width: 2.4; mix-blend-mode: soft-light; }
.rl-noimg__svg .st { stroke: var(--sw); stroke-width: 9; }
.rl-noimg__svg .lug { stroke: rgba(15, 17, 19, 0.35); stroke-width: 3; }
.rl-noimg--sandal .rl-noimg__svg, .rl-noimg--kit .rl-noimg__svg, .rl-noimg--cap .rl-noimg__svg { transform: rotate(-4deg); }
.rl-noimg__tag { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.78); color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; box-shadow: 0 1px 0 rgba(15, 17, 19, 0.06); }
@container (max-width: 140px) {
  .rl-noimg__tag, .rl-noimg__word { display: none; }
  .rl-noimg__svg { width: 84%; margin: 0; }
}
.catalog-grid a:hover .rl-noimg__svg { transform: scale(1.08) rotate(-12deg) translateY(-4%); }
/* 카드 확대 효과가 img 에만 걸리므로 자리 표시는 별도로 */
.catalog-grid .ph .rl-noimg { transition: none; }

/* ================= 크루 · 상담 ================= */
.faq-home { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; padding-top: 96px; }
.faq-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: 460px; border-radius: 24px; background: var(--stage); color: var(--stage-ink); }
.faq-stage img { position: absolute; inset: -8% 0; z-index: -2; width: 100%; height: 116%; max-width: none; object-fit: cover; object-position: 30% center; will-change: transform; }
.faq-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 9, 11, 0.92) 18%, rgba(8, 9, 11, 0.45) 65%, rgba(8, 9, 11, 0.15) 100%); }
.faq-stage-body { padding: 36px; }
.faq-stage .eyebrow { color: var(--volt); }
.faq-stage h2 { font-size: clamp(30px, 3.6vw, 46px); }
.faq-stage p { margin: 14px 0 22px; color: var(--stage-ink-2); }
.faq-panel { display: flex; flex-direction: column; min-width: 0; padding: 26px 26px 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-list li { border-top: 1px solid var(--line); }
.faq-list li:first-child { border-top: 0; }
.faq-list li.is-filtered { display: none; }
.faq-list summary { position: relative; display: block; padding: 18px 44px 18px 30px; font-size: 16px; font-weight: 800; color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 0; top: 19px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 900; line-height: 1; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list summary:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; border-radius: 8px; }
.faq-answer { padding: 0 8px 20px 30px; color: var(--ink-2); line-height: 1.7; }
.faq-list details[open] .faq-answer { animation: viewIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
.faq-ask { display: flex; width: fit-content; gap: 6px; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--accent-text); font-size: 13px; font-weight: 800; cursor: pointer; }
.faq-ask:hover { text-decoration: underline; }
.motion .faq-stage.reveal { opacity: 1; clip-path: inset(10% 6% round 24px); transition: clip-path 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.motion .faq-stage.reveal.is-in { clip-path: inset(0 round 24px); }
@media (max-width: 960px) { .faq-home { grid-template-columns: minmax(0, 1fr); } .faq-stage { min-height: 360px; } }
@media (max-width: 640px) { .faq-stage-body { padding: 24px; } .faq-panel { padding: 18px 16px 8px; } .faq-list summary { font-size: 15px; } }

.assist { padding-top: 72px; }
.assist-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.assist-icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-text); }
.assist-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ping 2.6s ease-out infinite; }
.assist h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.assist p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.assist .row { flex-wrap: nowrap; }
@media (max-width: 720px) { .assist-card { grid-template-columns: 1fr; gap: 14px; } .assist .row { flex-wrap: wrap; } }

/* ================= 상품 목록 (분류·유형별·검색) ================= */
#sct { margin: 0; }
.shop-content { position: relative; }
.sct_admin { position: absolute; z-index: 2; top: 12px; right: 20px; margin: 0; }
.sct_admin .btn_admin, .sct_admin a.btn { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
.list-hero { padding: 18px 0 8px; }
.list-hero .display { margin: 0; font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; }
.list-hero-sub { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.list-hero-sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.list-hero .chips { margin-top: 22px; }
.shop-content > .list-hero { margin-bottom: 26px; }
#sct_hhtml:empty, #sct_thtml:empty { display: none; }
#sct_sortlst { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 22px; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
#sct_sortlst::after { content: none; }
#sct_sort.list-sort { float: none; width: auto; }
#sct_sort.list-sort ul, #sct_sort #ssch_sort { display: flex; flex-wrap: wrap; float: none; width: auto; gap: 2px; margin: 0; padding: 0; list-style: none; }
#sct_sort.list-sort li { float: none; height: auto; margin: 0; padding: 0; line-height: 1.3; }
#sct_sort.list-sort li a { display: block; padding: 7px 12px; border: 0; border-radius: 999px; color: var(--ink-3); font-size: 14px; font-weight: 700; white-space: nowrap; }
#sct_sort.list-sort li a:hover { color: var(--ink); background: var(--surface-2); }
#sct_sort.list-sort li a[aria-current] { background: var(--ink); color: var(--bg); }
#sct .catalog-grid, #ssch .catalog-grid { margin-top: 0; }
.list-empty { display: grid; justify-items: center; gap: 6px; padding: 64px 20px; border: 1px dashed var(--line); border-radius: 20px; color: var(--ink-2); text-align: center; }
.list-empty p { margin: 0; }
.list-empty b { color: var(--ink); font-size: 17px; }
.list-empty .btn { margin-top: 10px; }
/* 페이지 번호 */
.pg_wrap { clear: both; margin: 40px 0 8px; text-align: center; }
.pg_wrap .pg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pg_page, .pg_current, .qa_page { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; }
.pg_page:hover, .qa_page:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.pg_current { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pg_start, .pg_prev, .pg_next, .pg_end { text-indent: 0; overflow: visible; width: auto; background-image: none !important; font-size: 13px; }
@media (max-width: 640px) {
  #sct_sortlst { margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scrollbar-width: none; }
  #sct_sort.list-sort ul, #sct_sort #ssch_sort { flex-wrap: nowrap; }
}

/* ================= 검색 ================= */
#ssch.search-page { margin: 0; }
#ssch .list-hero .display { font-size: clamp(28px, 4.4vw, 48px); }
#ssch .list-hero .display strong { color: var(--accent-text); font-weight: 900; }
#ssch .ssch_result_total { float: none; font-size: 15px; }
#ssch_frm.search-panel { margin: 22px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
#ssch_frm .ssch_scharea { display: flex; gap: 8px; padding: 0; border: 0; }
#ssch_frm .ssch_scharea .ssch_input { flex: 1; min-width: 0; height: 50px; margin: 0; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: none; font-size: 16px; }
#ssch_frm .ssch_scharea .ssch_input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
#ssch_frm .ssch_scharea .btn { height: 50px; padding: 0 26px; font-size: 15px; }
#ssch_frm .ssch_option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; font-size: 14px; color: var(--ink-2); }
#ssch_frm .ssch_label { margin-right: 2px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
#ssch_frm .chk_box input[type="checkbox"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
#ssch_frm .chk_box label { display: inline-flex; align-items: center; margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
#ssch_frm .chk_box label span { display: none; }
#ssch_frm .chk_box input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--bg); }
#ssch_frm .chk_box input:focus-visible + label { outline: 2px solid var(--flame); outline-offset: 2px; }
#ssch_frm .ssch_price { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
#ssch_frm .ssch_option .ssch_input { width: 96px; height: 34px; margin: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: none; font-size: 13px; }
#ssch_cate.chips { margin: 16px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
#ssch #sct_sortlst { margin-top: 26px; }
@media (max-width: 640px) {
  #ssch_frm.search-panel { padding: 16px; }
  #ssch_frm .ssch_price { margin-left: 0; }
  #ssch_cate.chips { margin-inline: 0; padding-inline: 0; }
}

/* ================= 공용 체크박스 · 라디오 (기본 파란색 → 테마 색) ================= */
.chk_box input[type="checkbox"] + label, .chk_box input[type="radio"] + label { color: var(--ink-2); }
.chk_box input[type="checkbox"] + label:hover { color: var(--ink); }
.chk_box input[type="checkbox"] + label span, .chk_box input[type="radio"] + label span { border-color: var(--line); background-color: var(--surface); }
.chk_box input[type="checkbox"]:checked + label span { border-color: var(--ink); background-color: var(--ink); }
.chk_box input[type="radio"]:checked + label span { border-color: var(--ink); background-color: var(--surface); box-shadow: inset 0 0 0 4px var(--ink); }
.chk_box input[type="checkbox"]:checked + label, .chk_box input[type="radio"]:checked + label { color: var(--ink); }
.chk_box input:focus-visible + label span { outline: 2px solid var(--flame); outline-offset: 2px; }

/* ================= 장바구니 (demo/ .cart-*) ================= */
#sod_bsk.cart-page { margin: 0 0 24px; }
.cart-title { margin: 22px 0 24px; font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.03em; }
.cart-title span { color: var(--accent-text); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cart-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 0 4px; font-size: 14px; }
.cart-tools .chk_box label { font-weight: 700; }
.cart-page .btn_cart_del { display: flex; gap: 6px; padding: 0; border: 0; }
.cart-page .btn_cart_del button { height: auto; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.cart-page .btn_cart_del button:hover { border-color: var(--ink); color: var(--ink); }
.cart-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cart-item { position: relative; display: grid; grid-template-columns: 22px 112px minmax(0, 1fr); align-items: start; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cart-item.removing { opacity: 0.4; transition: opacity 0.3s ease; }
.cart-item .ci-chk { align-self: center; height: 18px; }
.cart-item .ci-chk label { display: block; width: 18px; height: 18px; padding: 0; }
.cart-item .ci-chk label span { top: 0; width: 18px; height: 18px; }
.ci-img { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); }
.ci-img img, .ci-img .rl-noimg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ci-img:hover img { transform: scale(1.06) rotate(-4deg); }
.ci-img .rl-noimg__tag { display: none; }
.ci-body { display: grid; align-content: start; gap: 6px; padding-right: 32px; }
.ci-cat { font-size: 12px; color: var(--ink-3); }
.ci-name { font-weight: 800; line-height: 1.35; text-decoration: none; }
.ci-name:hover { text-decoration: underline; }
.cart-page .sod_opt { margin: 0; }
.cart-page .sod_opt ul { display: grid; gap: 4px; }
.cart-page .sod_opt li { padding: 0; color: var(--ink-2); font-size: 13px; }
.cart-page .sod_opt li::before { content: none; }
.ci-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13px; color: var(--ink-3); }
.ci-meta b { color: var(--ink); }
.ci-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.ci-row .mod_options { height: auto; margin: 0; }
.ci-price { margin-left: auto; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ci-remove { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); font-size: 20px; cursor: pointer; }
.ci-remove:hover { background: var(--surface-2); color: var(--ink); }
.cart-empty { padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); text-align: center; }
.cart-empty .icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.cart-empty strong { display: block; font-size: 20px; color: var(--ink); }
.cart-empty p { margin: 6px 0 18px; }
.cart-empty .row { justify-content: center; }
#sod_bsk #sod_bsk_tot.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cart-summary h2 { margin: 0; font-size: 17px; }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; font-size: 14px; }
.cart-summary dt { color: var(--ink-2); }
.cart-summary dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-summary dd.minus { color: var(--accent-text); }
.cart-summary .total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 800; color: var(--ink); }
.cart-summary dd.total { font-size: 22px; font-weight: 900; }
.ship { font-size: 13px; color: var(--ink-2); }
.ship b { color: var(--accent-text); }
.ship-bar { overflow: hidden; height: 6px; margin-top: 6px; border-radius: 999px; background: var(--surface-2); }
.ship-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--flame)); }
#sod_bsk_act { display: grid; gap: 8px; margin: 0; text-align: left; }
#sod_bsk_act .btn, #sod_bsk_act .btn_submit { width: 100%; height: auto; padding: 14px; font-size: 15px; }
.cart-reco { margin-top: 44px; }
.cart-reco h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; }
@media (min-width: 641px) { .cart-reco .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 옵션·수량 변경 창 (cartoption.php) */
#sod_bsk_list #mod_option_frm { top: 50%; left: 50%; width: min(540px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 48px)); margin: 0; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35); transform: translate(-50%, -50%); }
#sod_bsk_list .mod_option_bg { background: rgba(10, 11, 13, 0.4); }
#mod_option_frm h2 { padding: 0 22px; border-color: var(--line); font-size: 17px; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  #sod_bsk #sod_bsk_tot.cart-summary { position: static; }
}
@media (max-width: 640px) {
  .cart-item { grid-template-columns: 20px 84px minmax(0, 1fr); gap: 12px; }
}

/* ================= 그누보드 공용 요소: 버튼 · 입력 · 표 (기본 파란 버튼과 회색 표를 테마 색으로) ================= */
.btn_submit, button.btn_submit, input.btn_submit, a.btn_submit { border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; cursor: pointer; }
.btn_submit:hover { border-color: var(--ink); background: #2a2d33; }
.btn_close, .btn_cancel, a.btn_cancel, a.btn01, button.btn01, .btn_b03, a.btn_b03 { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; }
.btn_close:hover, .btn_cancel:hover, a.btn01:hover, .btn_b03:hover { border-color: var(--ink); background: var(--surface); }
a.btn02, button.btn02, .btn02, a.btn_b02, .btn_b02, a.btn_frmline, button.btn_frmline { border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; }
a.btn02:hover, .btn02:hover, a.btn_b02:hover, .btn_b02:hover, .btn_frmline:hover { background: #2a2d33; }
a.btn_b01, .btn_b01 { color: var(--ink-2); }
a.btn_b01:hover, .btn_b01:hover { color: var(--ink); }
a.btn_admin, .btn_admin { color: var(--accent-text); }
.frm_input, .tbl_frm01 input[type="text"], .tbl_frm01 input[type="password"], .tbl_frm01 input[type="email"], .tbl_frm01 input[type="tel"], .tbl_frm01 select, .tbl_frm01 textarea, .write_div textarea, .write_div select, .frm_select, textarea.frm_input { max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background-color: var(--surface); color: var(--ink); box-shadow: none; font-family: inherit; }
.frm_input { padding: 0 12px; }
.frm_input:focus, .tbl_frm01 input:focus, .tbl_frm01 select:focus, textarea:focus { border-color: var(--ink); outline: 2px solid color-mix(in srgb, var(--ink) 18%, transparent); outline-offset: 0; }
.frm_input[readonly] { background-color: var(--surface-2); color: var(--ink-2); }
.tbl_head01 thead th, .tbl_head02 thead th, .tbl_head03 thead th { border-color: var(--line); background: transparent; color: var(--ink-2); font-weight: 700; }
.tbl_head01 td, .tbl_head02 td, .tbl_head03 td { border-color: var(--line); color: var(--ink-2); }
.tbl_head01 tbody tr:hover td { background: var(--surface); }
.tbl_frm01 th { border-color: var(--line); background: var(--surface-2); color: var(--ink); font-weight: 700; }
.tbl_frm01 td { border-color: var(--line); }
.tbl_wrap table { border-color: var(--line); }
.empty_table, .empty_list { color: var(--ink-3) !important; }
.frm_info { color: var(--ink-3); }

/* ================= 주문서 (기본 float 2단 → 그리드, 파란·분홍 강조 → 테마 색) ================= */
#sod_frm.sod_frm_pc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 28px; align-items: start; margin-top: 8px; }
#sod_frm.sod_frm_pc > .od_prd_list { grid-column: 1 / -1; margin: 0; }
#sod_frm .sod_left, #sod_frm .sod_right { float: none; display: block; width: auto; height: auto; margin: 0; }
#sod_frm .sod_right { display: grid; gap: 12px; }
/* 주문 상품 표 */
#sod_frm .od_prd_list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#sod_frm .od_prd_list table { border-bottom: 0; }
#sod_frm .od_prd_list thead th { padding: 12px 10px; border-top: 0; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-size: 13px; letter-spacing: 0; }
#sod_frm .od_prd_list td { padding: 16px 12px; border-top: 1px solid var(--line); border-left: 0; background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; }
#sod_frm .od_prd_list tbody tr:first-child td { border-top: 0; }
.od_prd_list .td_prd { padding-left: 108px !important; min-height: 96px; }
.od_prd_list .td_prd .sod_img { top: 16px; left: 16px; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.od_prd_list .td_prd .sod_img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.od_prd_list .td_prd .sod_name { min-height: 76px; }
.od_prd_list .td_prd .prd_name { font-size: 15px; font-weight: 700; color: var(--ink); }
.od_prd_list .total_price { font-weight: 800; }
.sod_opt li { color: var(--ink-2); font-size: 13px; }
.sod_opt li::before { padding: 3px 6px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); font-size: 11px; font-weight: 700; }
.cp_btn, .cp_cancel { height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700; }
/* 주문하시는 분 · 받으시는 분 */
#sod_frm_orderer, #sod_frm_taker { margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#sod_frm section h2 { margin: 0; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 800; }
#sod_frm div.tbl_frm01, #sod_frm_taker div.tbl_frm01 { margin: 0; padding: 10px 12px !important; }
#sod_frm .tbl_frm01 th, #sod_frm .tbl_frm01 td { padding: 10px; border: 0; background: transparent; line-height: 1.5; vertical-align: middle; }
#sod_frm .tbl_frm01 th { width: 96px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
#sod_frm .tbl_frm01 .frm_input { height: 44px; }
#sod_frm .tbl_frm01 textarea, #sod_frm #od_memo { width: 100%; min-height: 96px; padding: 10px 12px; }
#sod_frm .tbl_frm01 td .btn_address, #sod_frm .tbl_frm01 td .addr button, #sod_frm_taker .tbl_frm01 td .addr button { width: auto; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; cursor: pointer; }
#sod_frm .frm_address { margin-top: 6px; }
#sod_frm_taker .order_choice_place { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; min-height: 48px; padding: 8px 120px 8px 12px; background: var(--surface-2); border: 0; border-radius: 12px; }
#sod_frm_taker .tbl_frm01 .choice_place { margin: 0; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--surface-2); }
#sod_frm_taker .tbl_frm01 .btn_frmline { top: 50%; right: 8px; transform: translateY(-50%); width: auto; height: 32px; padding: 0 14px; line-height: 30px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; }
#sod_frm_taker .tbl_frm01 td .ad_choice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
/* 오른쪽: 합계 · 결제 정보 · 결제수단 · 주문 버튼 */
#forderform .sod_right #sod_bsk_tot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#sod_frm #sod_bsk_tot li { height: auto; padding: 14px 0; border-color: var(--line); background: var(--surface); font-variant-numeric: tabular-nums; }
#sod_frm #sod_bsk_tot li span { color: var(--ink-3); font-size: 12px; }
#sod_frm #sod_bsk_tot li strong { font-size: 15px; }
#sod_frm #sod_bsk_tot .sod_bsk_sell, #sod_frm #sod_bsk_tot .sod_bsk_coupon { border-right-color: var(--line); }
#sod_frm #sod_bsk_tot .sod_bsk_coupon::before, #sod_frm #sod_bsk_tot .sod_bsk_dvr::before { border-color: var(--line); color: var(--ink-2); }
#sod_frm #sod_bsk_tot .sod_bsk_point, #sod_frm #sod_bsk_tot .sod_bsk_cnt { display: flex; align-items: baseline; gap: 4px; height: auto; padding: 12px 16px; line-height: 1.4; }
#sod_frm #sod_bsk_tot .sod_bsk_point span, #sod_frm #sod_bsk_tot .sod_bsk_cnt span { float: none; margin: 0 auto 0 0; line-height: inherit; }
#sod_frm #sod_bsk_tot .sod_bsk_cnt { background: var(--surface-2); color: var(--ink); font-weight: 700; }
#sod_frm #sod_bsk_tot .sod_bsk_cnt span { color: var(--ink); font-size: 14px; }
#sod_frm #sod_bsk_tot .sod_bsk_cnt strong { color: var(--ink); font-size: 20px; font-weight: 900; }
#sod_frm_pay { margin: 0; }
.sod_right .pay_tbl { border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
#sod_frm_pay .pay_tbl th, #sod_frm_pay .pay_tbl td { border-color: var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; }
#sod_frm_pay .pay_tbl td strong { color: var(--ink); }
#sod_frm_pay .pay_tbl td .btn_frmline { height: 26px; padding: 0 10px; line-height: 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; }
.sod_right #od_tot_price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 12px; padding: 10px 16px; line-height: 1.4; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--surface-2); }
#od_tot_price span { float: none; margin-right: auto; color: var(--ink); }
#od_tot_price strong { color: var(--accent-text); font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
#forderform .od_pay_buttons_el { margin-top: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#forderform .od_pay_buttons_el h3, #od_pay_sl h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
#sod_frm #sod_frm_pt_alert { margin: 0 0 10px; color: var(--ink-3); font-size: 12px; line-height: 1.5; }
#sod_frm_paysel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
#od_pay_sl .lb_icon { float: none; width: auto; height: 52px; margin: 0; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background-color: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; }
#od_pay_sl input[type="radio"]:checked + .lb_icon { border: 2px solid var(--ink); background-color: var(--surface-2); }
#od_pay_sl input[type="radio"]:focus-visible + .lb_icon { outline: 3px solid var(--accent); outline-offset: 2px; }
#sod_frm_pay .sod_frm_point { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
#sod_frm_pay .sod_frm_point div { background: var(--surface); }
#forderform #sod_frm_pt { border-top-color: var(--line); }
#sod_frm_pay .sod_frm_point #od_temp_point { border: 1px solid var(--line); border-radius: 8px; }
#settle_bank { margin-top: 10px; display: grid; gap: 6px; }
#settle_bank select, #settle_bank input { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
#display_pay_button { display: grid; gap: 8px; margin-top: 12px; padding: 0; border: 0; background: transparent; }
#display_pay_button .btn_submit { width: 100%; height: 54px; border: 1px solid var(--ink); border-radius: 999px; font-size: 17px; font-weight: 800; }
#display_pay_button .btn01 { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin: 0; line-height: 1; font-size: 14px; font-weight: 700; }
#display_pay_process { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; color: var(--ink-2); }
@media (max-width: 1000px) {
  #sod_frm.sod_frm_pc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* 주문 상품 표 → 카드: 상품명 한 줄 아래에 수량·금액을 이름표와 함께 나열 */
  #sod_list thead { display: none; }
  #sod_list, #sod_list tbody, #sod_list tr { display: block; width: 100%; }
  #sod_list tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 14px; border-top: 1px solid var(--line); }
  #sod_list tbody tr:first-child { border-top: 0; }
  #sod_frm .od_prd_list #sod_list td { display: block; width: auto; padding: 0; border: 0; font-size: 13px; text-align: left !important; }
  #sod_frm .od_prd_list #sod_list td.td_prd { grid-column: 1 / -1; min-height: 76px; margin-bottom: 6px; padding-left: 90px !important; }
  .od_prd_list .td_prd .sod_img { top: 0; left: 0; }
  #sod_list td:nth-child(n+2)::before { margin-right: 4px; color: var(--ink-3); font-weight: 600; }
  #sod_list td:nth-child(2)::before { content: "수량"; }
  #sod_list td:nth-child(3)::before { content: "판매가"; }
  #sod_list td:nth-child(4)::before { content: "옵션가"; }
  #sod_list td:nth-child(5)::before { content: "소계"; }
  #sod_list td:nth-child(6)::before { content: "포인트"; }
  #sod_list td:nth-child(7)::before { content: "배송비"; }
  #sod_frm .tbl_frm01 tr { display: grid; }
  #sod_frm .tbl_frm01 th { width: auto; padding: 10px 10px 0; }
  #sod_frm #od_name, #sod_frm #od_tel, #sod_frm #od_hp, #sod_frm #od_pwd, #sod_frm #od_b_name, #sod_frm #od_b_tel, #sod_frm #od_b_hp, #sod_frm #ad_subject, #sod_frm #od_hope_date { width: 100%; }
  #sod_frm .tbl_frm01 td .addr input, #sod_frm_taker .tbl_frm01 td .addr input { width: 100%; }
  #sod_frm_taker .order_choice_place { padding-right: 12px; }
  #sod_frm_taker .tbl_frm01 .btn_frmline { position: static; transform: none; margin-left: auto; }
}

/* ================= 회원: 로그인 · 가입약관 · 가입/정보수정 · 가입완료 ================= */
.mbskin { width: auto; max-width: 400px; margin: 64px auto 48px; padding: 0 16px; }
.mbskin-logo { justify-content: center; margin: 0 0 22px; font-size: 24px; }
.mbskin .mbskin_box { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.35); }
.mb_log_cate h2 { margin: 0; padding: 16px 0; font-size: 15px; font-weight: 800; }
.mb_log_cate .join { padding: 16px 0; background: var(--surface-2); color: var(--ink-2); font-weight: 700; }
.mb_log_cate .join:hover { color: var(--ink); }
#login_fs { padding: 28px 26px 24px; }
.mbskin .frm_input, #mb_login_od_wr .frm_input { height: 46px; }
.mbskin .btn_submit { height: 48px; font-size: 16px; }
/* 원클릭 데모 로그인: 로그인 폼 아래에 따로 둔다 (plugin/demo/demo.lib.php) */
.demo_login { padding: 0 26px 24px; }
.demo_login_title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--ink-3); font-size: 12px; font-weight: 700; }
.demo_login_title::before, .demo_login_title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn_demo_login { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.btn_demo_login small { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.btn_demo_login:hover { background: var(--surface-2); }
.demo_login_note { margin: 6px 4px 14px; color: var(--ink-2); font-size: 12px; line-height: 1.5; text-align: center; word-break: keep-all; }
.demo_login_note:last-child { margin-bottom: 0; }
#ol_before .demo_login { padding: 14px 0 0; }
#ol_before .btn_demo_login { min-height: 36px; font-size: 14px; }
#login_info { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
#login_info .login_if_auto, #login_info .login_if_lpl { float: none; width: auto; }
#login_info .login_if_lpl { margin-left: auto; text-align: right; }
#login_info a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
#mb_login_notmb, #mb_login_od_wr { margin: 16px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: left; }
#mb_login_notmb h2, #mb_login_od_wr h2 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
#mb_login_notmb p { color: var(--ink-2); font-size: 13px; }
#guest_privacy { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
#mb_login_od_wr p { border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; }
/* 가입약관 */
.register { max-width: 760px; }
#fregister p { height: auto; padding: 14px 18px; line-height: 1.5; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 700; text-align: left; }
#fregister p::before { display: none; }
#fregister section { margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#fregister h2 { margin: 0; padding: 16px 56px 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 800; }
#fregister textarea { height: 140px; color: var(--ink-2); font-size: 14px; }
.fregister_terms table th { border-color: var(--line); background: var(--surface-2); color: var(--ink); font-weight: 700; }
.fregister_terms table td { border-color: var(--line); color: var(--ink-2); }
#fregister_chkall { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); font-weight: 700; }
.fregister_agree input[type="checkbox"] + label span, .member_cert_refresh_agree input[type="checkbox"] + label span { top: 17px; width: 20px; height: 20px; border: 1.5px solid var(--ink-3); border-radius: 6px; }
.fregister_agree input[type="checkbox"]:checked + label span, .member_cert_refresh_agree input[type="checkbox"]:checked + label span { background-color: var(--ink); border-color: var(--ink); }
.fregister_agree input[type="checkbox"] + label:hover { color: var(--ink); }
.register .btn_confirm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.register .btn_confirm .btn_submit, .register .btn_confirm .btn_close { float: none; display: flex; align-items: center; justify-content: center; width: auto; height: 52px !important; margin: 0; font-size: 15px; }
/* 가입 · 정보수정 입력 */
#register_form { background: transparent; }
.register_form_inner { margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#register_form h2, .register_form_inner h2 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 800; }
.register_form_inner label { color: var(--ink-2); font-size: 13px; font-weight: 700; }
#fregisterform .frm_input { height: 44px; }
#fregisterform .cert_desc { color: var(--accent-text); }
#fregisterform #msg_certify { border: 0; border-radius: 10px; background: var(--surface-2); }
#fregisterform .js-open-consent { color: var(--ink-2); text-decoration: underline; }
.tooltip_icon { color: var(--ink-3); }
/* 가입 완료 */
#reg_result { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
#reg_result h2 strong, #reg_result .reg_result_p { color: var(--accent-text); }
#reg_result #result_email { border-color: var(--line); border-radius: 12px; background: var(--surface-2); }
#reg_result #result_email strong { color: var(--ink); }
.reg_btn_submit { border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; }

/* ================= 마이페이지 · 주문내역 · 위시리스트 (기본 float 2단 → 그리드) ================= */
#smb_my { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
#smb_my::after { display: none; }
#smb_my_ov { float: none; width: auto; margin: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
#smb_my_list { float: none; width: auto; min-width: 0; }
#smb_my_ov .smb_me { border-color: var(--line); background: transparent; }
#smb_my_ov .smb_me .my_ov_name { font-weight: 800; }
#smb_my_ov .smb_me a { height: auto; padding: 5px 12px; line-height: 1.4; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 12px; font-weight: 700; }
#smb_my_ov .smb_me a.smb_info { border-color: var(--ink); background: var(--ink); color: var(--bg); }
#smb_private a { color: var(--ink); }
#smb_private a strong, #smb_private .win_point strong, #smb_private .win_memo strong, #smb_private .win_scrap strong, #smb_private .win_coupon strong { min-width: 28px; background: var(--surface-2); color: var(--ink); text-align: center; font-variant-numeric: tabular-nums; }
#smb_private li a:hover { background: var(--surface-2); color: var(--ink); }
#smb_private a:hover strong { background: var(--ink); color: var(--bg); }
#smb_private li a:hover::after { background: var(--flame); }
#smb_private li i, #smb_private li:hover i { color: var(--ink-3); }
#smb_my_ov h3 { border-color: var(--line); font-size: 15px; font-weight: 800; }
#smb_my_ov .op_area dt { color: var(--ink-3); font-size: 12px; }
#smb_my_ov .op_area dd { border-bottom: 1px solid var(--line); color: var(--ink); word-break: break-all; }
.withdrawal { border-color: var(--line); color: var(--ink-3); font-size: 13px; }
#smb_my_od h2, #smb_my_wish h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 18px; font-weight: 800; }
.smb_my_more a { height: auto; padding: 0; background: none; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.smb_my_more a::after { content: " →"; }
#smb_my_od .tbl_head03, #sod_v .tbl_head03, #smb_my_wish ul, .smb_my_od { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#smb_my_od .tbl_head03 table { border-bottom: 0; }
#smb_my_od .tbl_head03 thead th { padding: 12px 8px; border-top: 0; background: var(--surface-2); font-size: 13px; letter-spacing: 0; }
.smb_my_od li:hover { background: var(--surface-2); }
.smb_my_od .cost { color: var(--ink); }
#smb_my_wish li { border-color: var(--line); background: var(--surface); }
#smb_my_wish li:last-child { border-bottom: 0; }
#smb_my_wish .smb_my_img img { border-radius: 12px; }
#smb_ws_act { display: flex; justify-content: center; gap: 10px; }
#smb_ws_act .btn01, #smb_ws_act .btn02 { width: 180px; height: 50px; border-radius: 999px; font-size: 15px; }
#smb_ws_act .btn02 { border-color: var(--ink); background: var(--ink); color: var(--bg); }
@media (max-width: 860px) {
  #smb_my { grid-template-columns: minmax(0, 1fr); }
  #smb_my_od .tbl_head03 { overflow-x: auto; }
  #smb_my_od .tbl_head03 table { min-width: 560px; }
}

/* ================= 마이페이지 모음 화면 (theme/runlab/shop/mypage.php: 주문·장바구니·찜·리뷰·문의·스크랩) ================= */
.mp { margin: 22px 0 56px; }
.mp-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px 32px; padding: 28px 30px; border-radius: 24px; background: var(--stage); color: var(--stage-ink); }
.mp-hello { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mp-avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--flame); color: #120904; font-size: 26px; font-weight: 900; }
.mp-hero .eyebrow { margin-bottom: 6px; color: var(--flame); }
.mp-name { margin: 0; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.mp-name b { font-weight: 900; }
.mp-since { margin: 6px 0 0; color: var(--stage-ink-2); font-size: 13px; overflow-wrap: anywhere; }
.mp-demo { display: inline-block; margin: 10px 0 0; padding: 6px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: var(--stage-ink); font-size: 12px; line-height: 1.5; word-break: keep-all; }
.mp-stats { display: grid; grid-template-columns: repeat(4, minmax(104px, auto)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.mp-stats a { display: grid; gap: 2px; height: 100%; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.06); color: var(--stage-ink); transition: background-color 0.15s ease, border-color 0.15s ease; }
.mp-stats a:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.12); }
.mp-stats span { color: var(--stage-ink-2); font-size: 12px; white-space: nowrap; }
.mp-stats b { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mp-stats small { margin-left: 2px; color: var(--stage-ink-2); font-size: 13px; font-weight: 700; }

.mp-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
.mp-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.mp-nav ul { margin: 0; padding: 0; list-style: none; }
.mp-nav-main { display: grid; gap: 2px; }
.mp-nav-main a { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-radius: 12px; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.mp-nav-main a small { margin-left: auto; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.mp-nav-main a:hover { background: var(--surface-2); color: var(--ink); }
.mp-nav-main a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.mp-nav-main a[aria-current="page"] small { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.mp-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); }
.mp-nav-sub { display: grid; margin-top: 16px !important; padding-top: 12px !important; border-top: 1px solid var(--line); }
.mp-nav-sub a { display: block; padding: 6px 14px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.mp-nav-sub a:hover { color: var(--ink); text-decoration: underline; }

.mp-main { display: grid; gap: 32px; min-width: 0; }
.mp-block { min-width: 0; }
.mp-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
ul.mp-card { margin: 0; list-style: none; }
.mp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.mp-head h2 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -0.02em; }
.mp-head h2 small { margin-left: 3px; color: var(--accent-text); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mp-head-note { margin-left: 6px; color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.mp-head .more { font-size: 13px; }
.mp-note { margin: 14px 0 0; color: var(--ink-3); font-size: 13px; }
.mp-note b { color: var(--ink-2); }
.mp-filter { margin-top: 0; margin-bottom: 16px; }
.mp .pg_wrap { margin: 24px 0 0; }

/* 상태 배지 */
.mp-badge { display: inline-flex; flex: none; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.mp-badge.is-ing, .mp-badge.is-wait { background: var(--accent-soft); color: var(--accent-text); }
.mp-badge.is-done { background: var(--ink); color: var(--bg); }
.mp-badge.is-cancel { color: var(--ink-3); }

/* 주문·배송 현황 */
.mp-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.mp-steps li { position: relative; }
.mp-steps li + li::before { content: "›"; position: absolute; top: 14px; left: -5px; color: var(--ink-3); font-size: 22px; line-height: 1; opacity: 0.5; }
.mp-steps a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; text-align: center; }
.mp-steps a:hover { background: var(--surface-2); }
.mp-steps b { color: var(--ink-3); font-size: 30px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; opacity: 0.55; }
.mp-steps .is-on b { color: var(--ink); opacity: 1; }
.mp-steps span { color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mp-steps-note { margin: 8px 0 0; font-size: 13px; text-align: right; }
.mp-steps-note a { color: var(--ink-3); text-decoration: underline; }

/* 주문 카드 */
.mp-od-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mp-od { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.mp-od-top { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.mp-od-top time { color: var(--ink); font-size: 14px; font-weight: 800; }
.mp-od-no { font-variant-numeric: tabular-nums; }
.mp-od-view { margin-left: auto; color: var(--ink); font-weight: 700; white-space: nowrap; }
.mp-od-view:hover { color: var(--accent-text); }
.mp-od-body { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 18px; }
.mp-od-info { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.mp-od-name { font-weight: 800; line-height: 1.35; }
.mp-od-name:hover { text-decoration: underline; }
.mp-od-more { color: var(--ink-3); font-weight: 700; }
.mp-od-opt { color: var(--ink-3); font-size: 13px; }
.mp-od-price { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mp-od-act { display: grid; gap: 6px; }
.mp-od-act:empty { display: none; }

/* 상품 작은 사진 */
.mp-thumb { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); }
.mp-thumb img, .mp-thumb .rl-noimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.mp-thumb .rl-noimg__tag { display: none; }

/* 사진 + 글 목록 (장바구니·리뷰 대기·상품 문의) */
.mp-rows { display: grid; margin: 0; padding: 0; list-style: none; }
ul.mp-rows.mp-card { padding: 4px 22px; }
.mp-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; }
.mp-rows.mp-card .mp-row { grid-template-columns: 80px minmax(0, 1fr) auto; padding: 14px 0; }
.mp-row + .mp-row { border-top: 1px solid var(--line); }
.mp-row-main { display: grid; gap: 2px; min-width: 0; }
.mp-row-title { font-weight: 700; line-height: 1.4; }
a.mp-row-title:hover { text-decoration: underline; }
.mp-row-meta { color: var(--ink-3); font-size: 13px; }
.mp-row-meta b { color: var(--ink); }
.mp-row-price { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mp-row-opt ul { display: grid; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 13px; }
.mp-row-opt li { padding: 0; }
.mp-row-opt li::before { content: none; }
.mp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.mp-card-foot b { margin-left: 4px; color: var(--ink); font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mp-cart-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface-2); }
.mp-cart-sum p { display: grid; margin: 0; color: var(--ink-2); font-size: 14px; }
.mp-cart-sum b { color: var(--ink); font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mp-cart-sum small { color: var(--ink-3); font-size: 12px; }

/* 글 한 줄 목록 (문의·리뷰·스크랩) */
.mp-lines { display: grid; margin: 0; padding: 0; list-style: none; }
ul.mp-lines.mp-card { padding: 2px 22px; }
.mp-lines li + li { border-top: 1px solid var(--line); }
.mp-lines a { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.mp-lines a:hover .mp-line-title { text-decoration: underline; }
.mp-line-title { display: grid; flex: 1; gap: 1px; min-width: 0; font-weight: 700; line-height: 1.4; }
.mp-line-title small { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.mp-lines time { flex: none; color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.mp-stars { flex: none; color: var(--flame); font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.mp-stars i { color: var(--line); font-style: normal; }
.mp-lock { font-size: 12px; }

/* 리뷰 카드 */
.mp-reviews { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mp-review { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mp-review-main { display: grid; gap: 4px; min-width: 0; }
.mp-review-item { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.mp-review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--ink-3); font-size: 13px; }
.mp-review-subject { font-weight: 800; line-height: 1.4; }
.mp-review-subject:hover { text-decoration: underline; }
.mp-review-text { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }

/* 찜한 상품 */
.mp-wish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.catalog-grid a.mp-unwish { display: inline-flex; width: auto; margin-top: 8px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.catalog-grid a.mp-unwish:hover { border-color: var(--ink); color: var(--ink); }
.catalog-grid a.mp-unwish.is-busy { opacity: 0.5; pointer-events: none; }
.catalog-grid li.is-leaving { opacity: 0; transform: scale(0.96); transition: opacity 0.25s ease, transform 0.25s ease; }

/* 빈 목록 */
.mp-empty { display: grid; justify-items: center; gap: 6px; padding: 32px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); font-size: 14px; text-align: center; }
.mp-card .mp-empty { padding: 16px 8px; border: 0; }
.mp-empty b { color: var(--ink); font-size: 16px; }
.mp-empty p { margin: 0; }
.mp-empty .btn { margin-top: 8px; }

@media (max-width: 1040px) {
  .mp-hero { grid-template-columns: minmax(0, 1fr); }
  .mp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  /* 좁은 화면: 메뉴는 가로로 넘기는 칩, 계정 메뉴는 맨 아래로 */
  .mp-layout { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 18px; }
  .mp-nav { display: contents; }
  .mp-nav-main { order: 1; display: flex; gap: 6px; margin: 0 -20px 22px !important; padding: 0 20px 4px !important; overflow-x: auto; scrollbar-width: none; }
  .mp-nav-main::-webkit-scrollbar { display: none; }
  .mp-nav-main a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; white-space: nowrap; }
  .mp-nav-main a small { margin-left: 2px; }
  .mp-nav-main a[aria-current="page"] { border-color: var(--ink); }
  .mp-main { order: 2; }
  .mp-nav-sub { order: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; margin-top: 36px !important; padding-top: 16px !important; }
  .mp-cols { grid-template-columns: minmax(0, 1fr); }
  .mp-wish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mp { margin-top: 12px; }
  .mp-hero { gap: 18px; padding: 22px 18px; border-radius: 20px; }
  .mp-avatar { width: 52px; height: 52px; font-size: 22px; }
  .mp-email { display: block; }
  .mp-email > span { display: none; }
  .mp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-stats a { padding: 10px 12px; }
  .mp-stats b { font-size: 19px; }
  .mp-main { gap: 26px; }
  .mp-card { padding: 16px; }
  .mp-steps a { padding: 8px 0; }
  .mp-steps b { font-size: 22px; }
  .mp-steps span { font-size: 11px; white-space: normal; line-height: 1.3; }
  .mp-steps li + li::before { display: none; }
  .mp-od-top { flex-wrap: wrap; gap: 2px 10px; padding: 10px 14px; }
  .mp-od-no { order: 3; width: 100%; font-size: 12px; }
  .mp-od-body { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .mp-od-act { display: flex; grid-column: 1 / -1; }
  .mp-od-act .btn { flex: 1; }
  ul.mp-rows.mp-card, ul.mp-lines.mp-card { padding: 2px 16px; }
  .mp-rows.mp-card .mp-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .mp-review { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .mp-review > .btn { grid-column: 2; justify-self: start; }
  .mp-wish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-cart-sum { padding: 16px; }
  .mp-cart-sum .row, .mp-cart-sum .btn { width: 100%; }
}

/* ================= 게시판 · FAQ · 1:1문의 (기본 파란 분류·사각 버튼 → 테마 칩·원형 버튼) ================= */
.btn_bo_user li { background: transparent; }
.btn_bo_user .btn, .btn_bo_user a.btn, a.btn_admin.btn, .btn_admin.btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; font-size: 15px; }
a.btn_admin.btn, .btn_admin.btn { color: var(--accent-text); }
.btn_bo_adm input { height: 34px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-weight: 700; }
#bo_cate a { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; }
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active { background: var(--surface-2); color: var(--ink); }
#bo_cate #bo_cate_on { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: none; }
#faq_sch { border-radius: var(--radius); background: var(--surface-2); }
#faq_sch .frm_input { padding: 0 18px; border-color: var(--line); border-radius: 999px; }
#faq_sch .btn_submit { border-color: var(--ink); border-radius: 999px; background: var(--ink); }
#faq_wrap ol { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
#faq_wrap li { border-color: var(--line); background: var(--surface); }
#faq_wrap li:first-child { border-top: 0; }
#faq_wrap li:last-child { border-bottom: 0; }
#faq_wrap li h3 .tit_btn, #faq_con .con_inner .closer_btn { background: transparent; color: var(--ink-3); }
#faq_wrap li h3.faq_li_open a { color: var(--accent-text); }
#faq_con .con_inner { color: var(--ink-2); }
#faq_con .con_inner .tit_bg { background: var(--accent); }

/* ================= 위치 표시 ================= */
#sct_location.crumb { position: static; float: none; display: block; margin: 20px 0 14px; padding: 0; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--ink-2); }
.sit_admin { position: static; float: right; margin: -40px 0 0; }
.sit_admin a, .btn_admin { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); line-height: 1; }

/* ================= 상품 상세: 사진 · 구매 ================= */
#sit { margin: 0; }
#sit_hhtml:empty { display: none; }
#sit_ov_from { background: transparent; border: 0; }
#sit_ov_wrap.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: start; width: auto; margin: 0; padding: 0; border: 0; }
#sit_ov_wrap.product::after { content: none; }
#sit_pvi.product-gallery { float: none; position: sticky; top: calc(var(--header-h) + 64px); }
#sit_pvi_big.product-media { float: none; position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface-2); aspect-ratio: 1; text-align: left; }
#sit_pvi_big a { display: none; height: 100%; }
#sit_pvi_big a.visible { display: block; animation: fade 0.5s ease both; cursor: zoom-in; }
#sit_pvi_big img { display: block; width: 100%; height: 100%; object-fit: cover; }
#sit_pvi_thumb.product-thumbs { display: flex; flex-wrap: wrap; gap: 10px; float: none; margin: 12px 0 0; padding: 0; list-style: none; }
#sit_pvi_thumb li { margin: 0; }
.product-thumbs button { display: block; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: pointer; transition: border-color 0.15s ease; }
.product-thumbs button:hover { border-color: var(--ink-3); }
.product-thumbs button[aria-current] { border-color: var(--ink); }
#sit_pvi_thumb img, #sit_pvi_thumb img:hover { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }

#sit_ov.product-info { float: none; width: auto; min-height: 0; padding: 0; }
.brand { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent-text); }
.brand span { margin-left: 2px; color: var(--ink-3); letter-spacing: 0.02em; }
#sit_ov #sit_title { margin: 6px 0 8px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.6; vertical-align: middle; }
.badge[data-badge="SALE"] { background: var(--accent); color: var(--accent-ink); }
.badge[data-badge="NEW"] { background: var(--volt); color: #111; }
.badge[data-badge="SOLDOUT"] { background: var(--ink-3); color: #fff; }
.product-info .rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.rating .stars { position: relative; display: inline-block; color: var(--line); letter-spacing: 1px; white-space: nowrap; }
.rating .stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--rate); overflow: hidden; color: var(--flame); }
.rating b { color: var(--ink); }
.rating a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.product-info .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 16px 0 20px; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.product-info .price strong { font-weight: inherit; }
.product-info .price del { font-size: 16px; font-weight: 500; color: var(--ink-3); }
.product-info .price .discount { color: var(--accent-text); }
.price-note { font-size: 22px; }
#sit_ov #sit_desc.summary { margin: -8px 0 20px; color: var(--ink-2); font-size: 15px; }

/* 옵션: select 위에 칩 버튼 */
#sit_ov .sit_option { margin: 0; padding: 0; }
#sit_ov .get_item_options { position: relative; margin: 0 0 16px; }
#sit_ov .sit_option label.label-title, #sit_ov .sit_option .label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
#sit_ov .sit_option select { width: 100%; height: 48px; margin: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background-color: var(--surface); }
#sit_ov .get_item_options.is-enhanced select { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chips button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; line-height: 1.3; cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color 0.15s ease, background-color 0.15s ease; }
.opt-chips button:hover:not(:disabled) { border-color: var(--ink-3); }
.opt-chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); font-weight: 700; }
.opt-chips button:disabled { background: var(--surface-2); color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }
.opt-chips small { font-size: 11px; color: var(--ink-3); text-decoration: none; }
.opt-chips button[aria-pressed="true"] small { color: inherit; opacity: 0.7; }
.opt-chips .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.opt-wait { margin: 0; padding: 10px 14px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; color: var(--ink-3); }
.get_item_options.is-shake .opt-chips { animation: shake 0.5s ease; }

/* 고른 옵션 목록 · 합계 */
#sit_sel_option { margin: 4px 0 0; }
#sit_ov #sit_opt_added { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
#sit_ov #sit_opt_added li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#sit_ov #sit_opt_added li.is-new { animation: viewIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) backwards, flash 1.2s ease; }
#sit_ov #sit_opt_added li::after { content: none; }
#sit_ov #sit_opt_added .opt_name { flex: 1 1 160px; font-size: 14px; font-weight: 700; line-height: 1.4; }
#sit_ov #sit_opt_added .opt_count { display: flex; align-items: center; }
#sit_ov #sit_opt_added button { float: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 12px; cursor: pointer; }
#sit_ov #sit_opt_added .sit_qty_minus { border-radius: 10px 0 0 10px; }
#sit_ov #sit_opt_added .sit_qty_plus { border-radius: 0 10px 10px 0; }
#sit_ov #sit_opt_added button:hover { color: var(--ink); background: var(--surface-2); }
#sit_ov #sit_opt_added .num_input { float: none; width: 44px; height: 32px; padding: 0; border: 1px solid var(--line); border-inline: 0; border-radius: 0; background: var(--surface); text-align: center; font-variant-numeric: tabular-nums; }
#sit_ov #sit_opt_added .sit_opt_prc { float: none; width: auto; min-width: 76px; margin-left: 10px; padding: 0; font-size: 14px; line-height: 32px; text-align: right; font-variant-numeric: tabular-nums; }
#sit_ov #sit_opt_added .sit_opt_del { position: static; margin-left: 6px; border: 0; border-radius: 50%; background: var(--surface-2); }
#sit_ov #sit_tot_price { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 16px; font-size: 14px; font-weight: 700; line-height: 1.4; text-align: left; color: var(--ink-2); }
#sit_tot_price:empty { display: none; }
#sit_tot_price span { float: none; }
#sit_tot_price strong { margin: 0 2px 0 auto; font-size: 24px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
#sit_ov_soldout { margin: 0 0 14px; padding: 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; text-align: center; }

/* 구매 버튼 */
#sit_ov_btn.actions { display: flex; flex-wrap: wrap; gap: 10px; }
#sit_ov_btn.actions::after { content: none; }
#sit_ov_btn .btn { float: none; flex: 1 1 160px; width: auto; height: auto; margin: 0; padding: 14px 18px; border-radius: 999px; font-size: 15px; font-weight: 800; }
#sit_ov_btn .sit_btn_cart { background: var(--ink); border-color: var(--ink); color: var(--bg); }
#sit_ov_btn .sit_btn_buy { background: var(--flame); border-color: var(--flame); color: #120904; }
#sit_ov_btn .sit_btn_buy:hover { background: #ff7240; }
#sit_ov_btn .btn-ask { order: 3; flex-basis: 100%; }
#sit_ov_btn .sit_btn_wish { order: 2; flex: 0 0 auto; gap: 6px; padding-inline: 18px; color: var(--ink-2); line-height: 1.3; }
#sit_ov_btn .sit_btn_wish:hover { color: var(--accent-text); }
.btn_wish_num { font-size: 13px; font-variant-numeric: tabular-nums; }
#sit_btn_alm { float: none; width: auto; margin: 0; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.perks { display: grid; gap: 6px; margin: 20px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); list-style: none; font-size: 14px; color: var(--ink-2); }
.perks b { color: var(--ink); }

/* 상품 기본 정보 · 공유 */
.sit_info.product-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 16px 0 0; padding: 0; border: 0; font-size: 13px; }
.product-meta div { display: flex; gap: 10px; min-width: 0; }
.product-meta dt { flex: none; width: 64px; color: var(--ink-3); }
.product-meta dd { margin: 0; min-width: 0; color: var(--ink-2); }
.product-meta select { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; }
#sit_btn_opt.product-share { position: static; display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.product-share a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); }
.product-share a img { width: 18px; height: auto; }
.product-share .share-facebook { background: #415b92; }
.product-share .share-twitter { background: #1d1f22; }
#sit_siblings { display: flex; justify-content: space-between; gap: 12px; margin: 28px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); background: transparent; font-size: 13px; }
#sit_siblings::after { content: none; }
#sit_siblings a { float: none !important; margin: 0; padding: 0 !important; line-height: 1.5; color: var(--ink-2); }
#sit_siblings a::after, #sit_siblings a::before { position: static !important; display: inline !important; width: auto !important; height: auto !important; background: none !important; }
#sit_siblings a:hover { color: var(--ink); }
#sit_siblings a#siblings_prev::before { content: "← "; }
#sit_siblings a#siblings_prev::after { content: none; }
#sit_siblings a#siblings_next { margin-left: auto; }
#sit_siblings a#siblings_next::after { content: " →"; }

/* ================= 상품 상세: 바로가기 막대 · 상세 정보 ================= */
.pdp-tabs, #sit_tab.pdp-tabs { position: sticky; top: var(--header-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: auto; margin: 48px 0 0; padding: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#sit_tab .tab_tit { display: flex; gap: 4px; margin: 0; padding: 0; border: 0; background: transparent; list-style: none; overflow-x: auto; scrollbar-width: none; }
#sit_tab .tab_tit::after { content: none; }
#sit_tab .tab_tit li { float: none; flex: none; }
#sit_tab .tab_tit a { position: relative; display: block; padding: 14px 12px; font-size: 15px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
#sit_tab .tab_tit a:hover { color: var(--ink); }
#sit_tab .tab_tit a[aria-current] { color: var(--ink); }
#sit_tab .tab_tit a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--flame); }
#sit_tab .item_use_count, #sit_tab .item_qa_count { display: inline; min-width: 0; height: auto; padding: 0; background: none; color: var(--ink-3); font-size: 13px; font-weight: 600; line-height: inherit; }
.pdp-tabs-buy { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 14px; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.pdp-tabs.show-buy .pdp-tabs-buy { opacity: 1; transform: none; pointer-events: auto; }
.pdp-tabs-buy b { overflow: hidden; max-width: 260px; text-overflow: ellipsis; white-space: nowrap; }
.pdp-tabs-buy span { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .pdp-tabs-buy b { display: none; } }
@media (max-width: 560px) { .pdp-tabs-buy span { display: none; } #sit_tab .tab_tit a { padding-inline: 10px; font-size: 14px; } }

#sit_info.pdp-body { display: block; width: auto; min-height: 0; margin: 0; border: 0; background: transparent; }
#sit_info.pdp-body::after { content: none; }
.pdp-section { margin: 0; padding: 40px 0 8px; scroll-margin-top: calc(var(--header-h) + 56px); }
.pdp-section + .pdp-section { border-top: 1px solid var(--line); }
#sit_info .pdp-h { position: static; margin: 0 0 20px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.25; letter-spacing: -0.02em; }
#sit_info .pdp-h small { margin-left: 4px; font-size: 0.6em; font-weight: 700; color: var(--ink-3); }
.pdp-empty { margin: 0; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); text-align: center; }

/* 상세설명: 새 형식 (.rl-detail > section.rl-detail-section) */
#sit_inf #sit_inf_explan { margin: 0; overflow: visible; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
#sit_inf_explan img { max-width: 100%; height: auto; border-radius: 12px; }
.rl-detail { display: grid; gap: 14px; }
#sit_inf .rl-detail-section { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 32px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
#sit_inf .rl-detail-section > * { grid-column: 2; }
#sit_inf #sit_inf_explan .rl-detail-section > h3 { grid-column: 1; grid-row: 1 / span 20; position: static; align-self: start; margin: 0; font-size: 17px; font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
#sit_inf_explan .rl-detail-section > h3::before { content: ""; display: block; width: 22px; height: 12px; margin-bottom: 10px; background: var(--flame); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.rl-detail-section p { margin: 0 0 10px; }
.rl-detail-section p:last-child, .rl-detail-section ul:last-child { margin-bottom: 0; }
.rl-detail-section ul { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.rl-detail-section li { position: relative; padding-left: 22px; }
.rl-detail-section li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.rl-detail-section[data-section="overview"] > p:first-of-type { font-size: 17px; line-height: 1.7; color: var(--ink); }
.rl-detail-section[data-section="recommend"] ul ~ ul li::before { left: 3px; top: 0.75em; width: 9px; height: 2px; border: 0; background: var(--ink-3); transform: none; }
.rl-detail-section[data-section="recommend"] p { font-weight: 700; color: var(--ink); }
.rl-detail-section[data-section="use"] p, .rl-detail-section[data-section="fit"] p { max-width: 68ch; }
/* 사양 표: 새 형식(.rl-spec) · 예전 형식(.chatbot-spec) · 정보고시 */
.rl-spec, .chatbot-spec, .rl-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rl-spec th, .rl-spec td, .chatbot-spec th, .chatbot-spec td, .rl-table th, .rl-table td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; vertical-align: top; }
.rl-spec th, .chatbot-spec th, .rl-table th { width: 30%; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.rl-spec td, .chatbot-spec td, .rl-table td { color: var(--ink); }
.rl-spec tr:last-child > *, .chatbot-spec tr:last-child > *, .rl-table tr:last-child > * { border-bottom: 0; }
.rl-detail-section .rl-spec { margin: -6px 0; }
/* 자주 묻는 질문 */
.rl-faq { display: grid; gap: 10px; margin: 0; }
.rl-faq dt { position: relative; padding-left: 30px; font-weight: 800; color: var(--ink); }
.rl-faq dd { position: relative; margin: 0 0 8px; padding: 0 0 14px 30px; border-bottom: 1px solid var(--line); }
.rl-faq dd:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.rl-faq dt::before, .rl-faq dd::before { position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 11px; font-weight: 900; line-height: 1; }
.rl-faq dt::before { content: "Q"; background: var(--ink); color: var(--bg); }
.rl-faq dd::before { content: "A"; background: var(--accent-soft); color: var(--accent-text); }
/* 예전 형식: <p>설명</p><table class="chatbot-spec"> */
#sit_inf_explan > p { max-width: 72ch; margin: 0 0 16px; font-size: 16px; color: var(--ink); }
#sit_inf_explan > .chatbot-spec, #sit_inf_explan > table { margin: 8px 0 0; border: 1px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); }
/* 상품 정보 고시 */
.pdp-notice { margin: 20px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pdp-notice summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.pdp-notice[open] summary { border-bottom: 1px solid var(--line); }
.pdp-notice #sit_inf_open { border: 0; }
#sit_inf_open th { background: transparent; }
#sit_inf_open td { background: transparent; }
/* 배송 · 교환 */
.pdp-dex { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pdp-dex > div { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink-2); }
#sit_info .pdp-dex h3 { position: static; margin: 0 0 8px; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--ink); }
/* 관련 상품 */
#sit_rel.pdp-rel { margin: 56px 0 0; padding: 0; border: 0; background: transparent; }
#sit_rel.pdp-rel::after { content: none; }
#sit_rel.pdp-rel h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); text-align: left; }
@media (min-width: 641px) { #sit_rel.pdp-rel .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 사용후기 · 상품문의 (기본 스킨 구조를 유지하고 모양만 바꿈) */
#sit_use .stars, #sit_use_list .stars { position: relative; display: inline-block; color: var(--line); letter-spacing: 1px; white-space: nowrap; font-size: 14px; line-height: 1; vertical-align: -1px; }
#sit_use .stars::before, #sit_use_list .stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--rate); overflow: hidden; color: var(--flame); }
#sit_use .sit_use_top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; min-height: 0; margin: 0 0 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
#sit_use .sit_use_top h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 800; }
#sit_use .sit_use_top h4 span:not(.stars) { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.sit_use_hint { margin: 0; font-size: 14px; color: var(--ink-2); }
#sit_use_wbtn, #sit_qa_wbtn { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#sit_use_wbtn a, #sit_qa_wbtn a { padding: 9px 16px; font-size: 13px; line-height: 1.3; }
#sit_qa_wbtn { justify-content: flex-end; margin: 0 0 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
#sit_qa_wbtn .sit_use_hint { margin-right: auto; }
#sit_use_ol, #sit_qa_ol { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); overflow: hidden; }
#sit_use .sit_use_li { min-height: 0; padding: 18px 22px 18px 132px; border-bottom: 1px solid var(--line); }
#sit_use .sit_use_li:last-child, #sit_qa .sit_qa_li:last-child { border-bottom: 0; }
#sit_use .sit_thum { position: absolute; left: 22px; top: 18px; overflow: hidden; width: 92px; height: 92px; border-radius: 12px; background: var(--surface-2); }
#sit_use .sit_thum img { width: 100%; height: 100%; object-fit: cover; }
#sit_use .sit_use_dl dd { color: var(--ink-3); font-size: 13px; }
#sit_use .sit_use_dl .sit_use_tit { margin: 4px 0; font-size: 15px; color: var(--ink) !important; }
#sit_use .sit_use_li_title, #sit_qa .sit_qa_li_title { font-family: inherit; cursor: pointer; }
#sit_use .sit_use_li_title { right: 22px; bottom: 18px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 700; }
#sit_use .sit_use_li_title:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
#sit_use .sit_use_con { margin-right: 0; color: var(--ink-2); }
#sit_use .sit_use_reply { border-top: 1px dashed var(--line); }
#sit_qa .sit_qa_li { padding: 16px 22px; border-bottom: 1px solid var(--line); }
#sit_qa .sit_qa_li_title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--ink); }
#sit_qa .sit_qa_dl { color: var(--ink-3); font-size: 13px; }
#sit_qa .sit_qaa_done, #sit_qa .sit_qaa_yet, #sqa .sit_qaa_done, #sqa .sit_qaa_yet { height: auto; margin-right: 0; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.3; }
.sit_qaa_done { background: var(--flame) !important; color: #120904 !important; }
.sit_qaa_yet { background: var(--surface-2) !important; color: var(--ink-2) !important; }
#sit_qa .sit_qa_p { border-radius: 14px; background: var(--surface-2); color: var(--ink-2); overflow: hidden; }
#sit_qa .sit_qa_p .qa_alp { top: 14px; left: 18px; font-size: 18px; font-weight: 900; color: var(--ink); }
#sit_qa .sit_qa_qaa { border-top: 1px solid var(--line); }
#sit_qa .sit_qa_qaa .qa_alp { color: var(--accent-text); }
#sit_use .sit_empty, #sit_qa .sit_empty { margin: 0; padding: 36px 20px; border: 1px dashed var(--line); border-radius: 20px; color: var(--ink-3); font-size: 14px; }
#sit_use .sit_use_cmd, #sit_qa .sit_qa_cmd { display: flex; justify-content: flex-end; gap: 6px; }
@media (max-width: 640px) {
  #sit_use .sit_use_li { padding: 16px 16px 56px 100px; }
  #sit_use .sit_thum { left: 16px; top: 16px; width: 70px; height: 70px; }
  #sit_use .sit_use_li_title { right: 16px; bottom: 14px; }
  #sit_qa .sit_qa_li_title, #sit_qa .sit_qa_dl { float: none; width: auto; text-align: left; }
}

@media (max-width: 860px) {
  #sit_ov_wrap.product { grid-template-columns: 1fr; gap: 20px; }
  #sit_pvi.product-gallery { position: static; }
  #sit_inf .rl-detail-section { grid-template-columns: 1fr; padding: 20px; }
  #sit_inf .rl-detail-section > *, #sit_inf #sit_inf_explan .rl-detail-section > h3 { grid-column: 1; grid-row: auto; }
  #sit_inf_explan .rl-detail-section > h3 { margin-bottom: 6px !important; }
  .pdp-tabs, #sit_tab.pdp-tabs { margin-top: 32px; }
}
@media (max-width: 520px) {
  #sit_ov_btn .btn { flex-basis: 110px; padding-inline: 12px; }
  .sit_info.product-meta { grid-template-columns: 1fr; }
  .product-info .price { font-size: 24px; }
  .rl-spec th, .chatbot-spec th, .rl-table th { width: 36%; white-space: normal; }
}

/* ================= 푸터 ================= */
#ft.site-footer { margin-top: 96px; padding: 40px 0 120px; background: var(--stage); color: var(--stage-ink-2); font-size: 13px; text-align: left; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .logo { color: var(--stage-ink); }
.site-footer .logo span { color: var(--flame); }
.ft-tagline { margin: 12px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 6px 18px; max-width: 640px; }
.site-footer nav a { text-decoration: none; color: var(--stage-ink); }
.site-footer nav a:hover { color: var(--flame); }
.ft-info { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ft-info p { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 6px; }
.ft-info p.ft-copy { margin-top: 14px; color: #7d8186; }

/* ================= 알림 · 담기 효과 ================= */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 2000; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); transform: translateX(-50%); padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); animation: toastIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.toast a, .toast button { flex: none; padding: 5px 10px; border: 0; border-radius: 8px; background: var(--flame); color: #120904; font-size: 13px; font-weight: 800; cursor: pointer; }
.toast.is-error { background: var(--accent); color: var(--accent-ink); }
.fly { position: fixed; z-index: 2001; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; }

/* ================= 스크롤 등장 효과 ================= */
.motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .reveal .display { clip-path: inset(-10% -5% 100% -5%); transform: translateY(0.4em); transition: clip-path 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; }
.motion .reveal.is-in .display { clip-path: inset(-10% -5% -25% -5%); transform: none; }
.view-in { animation: viewIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }

@keyframes kenburns { from { transform: scale(1.2); } to { transform: scale(1.08); } }
@keyframes charIn { from { transform: translateY(115%) rotate(10deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes sheen { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes dash { 0% { transform: translateX(110vw); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(-40vw); opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.12); opacity: 0.7; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 90, 31, 0); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes popIn { from { opacity: 0; transform: translateY(-6px) scale(0.96); } }
@keyframes itemOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes streak { from { background-position: 0 0; } to { background-position: 280px 0; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(6px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes shadow { 50% { transform: scaleX(0.82); opacity: 0.6; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .motion .reveal { opacity: 1; transform: none; }
  .hero-rain, .hero-glow, .speed-lines, .scroll-progress { display: none; }
  .motion .reveal .display, .motion .faq-stage.reveal { clip-path: none; }
}

/* 1:1 문의 공개 목록: 남의 문의는 제목만(잠금), 내 문의는 표시 */
.qa_public_note { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; }
.qa_public_note .fa { color: var(--ink-3); }
#bo_list .qa_locked { color: var(--ink-3); cursor: default; }
#bo_list .qa_locked .fa { margin-right: 4px; font-size: 12px; }
#bo_list .qa_mine { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 800; vertical-align: 1px; }
