/* [생성일] 2026-08-08
   [경위] 상일뷰티 제안용 홈 시안 v1 — 폐쇄몰·일반몰 분리 구조를 화면으로 보여주기 위해 제작
   [변경이력]
     - 2026-08-08: 최초 생성 */

:root {
  /* 현 로고(SI)의 레드를 승계하고 채도만 정리한 값 */
  --red: #c8102e;
  --red-deep: #a00d25;
  --ink: #171314;
  --charcoal: #1a1618;
  --char-2: #241f21;
  --ivory: #fbf9f8;
  --warm: #f2eeec;
  --line: #e4dedb;
  --gray: #6b6462;
  --gray-2: #9a9291;
  --white: #ffffff;

  --wrap: 1200px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.6;
  /* 한글이 단어 단위로만 끊기게 */
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pc-only { display: inline; }

/* ---------- 시안 표시 띠 ---------- */
.sian-bar {
  background-color: var(--red);
  color: #fff;
  font-size: 13px;
  padding: 9px 24px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.sian-bar span:first-child { font-weight: 700; }
.sian-bar-note { opacity: 0.85; }

/* ---------- 유틸바 ---------- */
.util {
  background-color: var(--charcoal);
  color: var(--gray-2);
  font-size: 13px;
}
.util-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.util-hours { letter-spacing: -0.01em; }
.util-links { display: flex; gap: 22px; }
.util-links a:hover { color: #fff; }

/* ---------- 헤더 ---------- */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  font-family: "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--red);
  line-height: 1;
}
.logo-mark-light { color: #fff; }
.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.gnb { display: flex; gap: 34px; font-size: 16px; font-weight: 500; margin-right: auto; }
.gnb a { position: relative; padding: 6px 0; }
.gnb a:hover { color: var(--red); }
.gnb-pro { display: inline-flex; align-items: center; gap: 7px; }
.gnb-lock {
  font-size: 11px;
  font-weight: 700;
  background-color: var(--ink);
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0;
}
.search-btn {
  background: none;
  border: 1px solid var(--line);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
.search-btn:hover { border-color: var(--ink); }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 17, 18, 0.94) 0%, rgba(20, 17, 18, 0.82) 38%, rgba(20, 17, 18, 0.28) 72%, rgba(20, 17, 18, 0.12) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.hero-eyebrow {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.hero-title {
  color: #fff;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-desc {
  color: #cfc9c7;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  margin-bottom: 46px;
  max-width: 560px;
}
.hero-stats { display: flex; gap: 56px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stats span { color: var(--gray-2); font-size: 13px; }

/* ---------- 섹션 공통 ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.sec-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.sec-desc { color: var(--gray); font-size: 16px; line-height: 1.75; }
.link-more {
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.link-more:hover { color: var(--red); border-color: var(--red); }

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background-color: var(--red); color: #fff; }
.btn-primary:hover { background-color: var(--red-deep); }
.btn-dark { background-color: var(--ink); color: #fff; }
.btn-dark:hover { background-color: var(--red); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, 0.42); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background-color: rgba(255, 255, 255, 0.1); }
.btn-full { width: 100%; }

/* ---------- 채널 분기 ---------- */
.channel { padding: 110px 0 100px; background-color: var(--ivory); }
/* 비대칭 : 전용몰을 더 크게 둬서 이 사이트의 중심이 어디인지 보이게 한다 */
.channel-grid { display: grid; grid-template-columns: 1.32fr 1fr; gap: 28px; }
.ch { position: relative; overflow: hidden; display: flex; }
.ch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 16, 0.5) 0%, rgba(18, 15, 16, 0.88) 52%, rgba(18, 15, 16, 0.97) 100%);
}
.ch-body { position: relative; z-index: 2; padding: 54px 48px 48px; display: flex; flex-direction: column; width: 100%; }
.ch-pro { min-height: 560px; align-items: flex-end; }
.ch-pro .ch-body { color: #fff; margin-top: auto; }
/* 일반몰 카드는 이미지가 흐름 안에 있으므로 세로로 쌓는다
   (전용몰 카드는 이미지가 absolute라 flex 흐름 밖에 있어 영향 없음) */
.ch-general { background-color: var(--white); border: 1px solid var(--line); flex-direction: column; }
.ch-general .ch-img {
  position: relative;
  height: 232px;
  inset: auto;
}
.ch-general .ch-body { padding: 38px 40px 40px; }

.ch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 13px;
  margin-bottom: 20px;
}
.ch-badge-lock { background-color: var(--red); color: #fff; }
.ch-badge-open { background-color: var(--warm); color: var(--ink); }
.ch-title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.ch-text { font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.ch-pro .ch-text { color: #cfc9c7; }
.ch-general .ch-text { color: var(--gray); }
.ch-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.ch-list li { font-size: 15px; padding-left: 18px; position: relative; }
.ch-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background-color: var(--red);
}
.ch-pro .ch-list li { color: #e3dedc; }
.ch-general .ch-list li { color: var(--ink); }
.ch-actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }

.channel-note {
  margin-top: 34px;
  padding: 22px 26px;
  background-color: var(--white);
  border-left: 3px solid var(--red);
  font-size: 15px;
  color: var(--gray);
  line-height: 1.75;
}
.channel-note strong { color: var(--ink); font-weight: 700; }

/* ---------- 브랜드 ---------- */
.brands { padding: 100px 0; }
.brand-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-list li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.brand-list li:hover { background-color: var(--ink); color: #fff; }

/* ---------- 전용몰 미리보기 ---------- */
.preview { padding: 100px 0; background-color: var(--warm); }
.toggle { display: flex; border: 1px solid var(--ink); flex-shrink: 0; }
.toggle-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.toggle-btn.is-on { background-color: var(--ink); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod { background-color: var(--white); padding: 18px 18px 24px; }
.prod-thumb {
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  background-color: var(--warm);
  position: relative;
  overflow: hidden;
}
/* 상품 사진 자리 : 실제 사진이 들어갈 자리를 색면으로 표시 */
.prod-thumb::after {
  content: "상품 사진";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-2);
}
.prod-thumb-a { background: linear-gradient(150deg, #f6efec 0%, #e9dcd7 100%); }
.prod-thumb-b { background: linear-gradient(150deg, #f0eeef 0%, #ddd7d9 100%); }
.prod-thumb-c { background: linear-gradient(150deg, #f4f1ec 0%, #e3ddd2 100%); }
.prod-thumb-d { background: linear-gradient(150deg, #f2eef0 0%, #ded5da 100%); }
.prod-brand { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: 0.04em; margin-bottom: 6px; }
.prod-name { font-size: 15px; font-weight: 500; line-height: 1.5; margin-bottom: 14px; min-height: 45px; }
.prod-price {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.prod-price.is-locked { color: var(--gray-2); font-weight: 500; font-size: 15px; }
.preview-note { margin-top: 22px; font-size: 14px; color: var(--gray); }

/* ---------- 배송 · 안내 ---------- */
.info { padding: 100px 0; }
.info-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: start; }
.info-text { color: var(--gray); font-size: 16px; line-height: 1.85; margin-bottom: 40px; }
.info-dl { display: flex; flex-direction: column; }
.info-dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.info-dl > div:last-child { border-bottom: 1px solid var(--line); }
.info-dl dt { font-size: 15px; font-weight: 700; }
.info-dl dd { font-size: 15px; color: var(--gray); line-height: 1.75; }

.info-card { background-color: var(--charcoal); color: #fff; padding: 42px 38px; }
.info-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 28px; }
.steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #ddd7d5; }
.steps span {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-note { font-size: 13px; color: var(--gray-2); margin-bottom: 28px; }

/* ---------- 푸터 ---------- */
.foot { background-color: var(--ink); color: var(--gray-2); padding: 70px 0 34px; }
.foot-inner { display: grid; grid-template-columns: 260px 1fr; gap: 50px; padding-bottom: 46px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-name { color: #fff; font-size: 16px; font-weight: 700; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.foot-cols dt { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.foot-cols dd { font-size: 14px; line-height: 1.85; }
.foot-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.foot-credit { color: var(--gray); }

/* =========================================================
   반응형
========================================================= */
@media (max-width: 1024px) {
  .head-inner { gap: 24px; height: 68px; }
  .gnb { display: none; }
  .hero { min-height: 520px; }
  .hero-bg { object-position: 68% center; }
  .channel-grid { grid-template-columns: 1fr; }
  .ch-pro { min-height: 480px; }
  .brand-list { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; gap: 44px; }
  .foot-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .pc-only { display: none; }
  .wrap { padding: 0 18px; }
  .sian-bar { font-size: 12px; flex-direction: column; gap: 3px; text-align: center; }
  .util-inner { height: auto; padding: 9px 0; flex-direction: column; gap: 7px; align-items: flex-start; }
  .util-links { gap: 16px; font-size: 12px; }
  .util-hours { font-size: 12px; }

  .hero { min-height: 0; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero-veil {
    background: linear-gradient(180deg, rgba(20, 17, 18, 0.9) 0%, rgba(20, 17, 18, 0.86) 60%, rgba(20, 17, 18, 0.92) 100%);
  }
  .hero-desc { margin-bottom: 34px; }
  .hero-stats { gap: 26px; }
  .hero-stats > div { flex: 1 1 28%; }

  .channel { padding: 70px 0 64px; }
  .sec-head { margin-bottom: 34px; }
  .ch-body { padding: 36px 26px 30px; }
  .ch-pro { min-height: 430px; }
  .ch-general .ch-img { height: 180px; }
  .ch-general .ch-body { padding: 28px 26px 30px; }
  .ch-actions { flex-direction: column; }
  .ch-actions .btn { width: 100%; }
  .channel-note { padding: 18px 20px; font-size: 14px; }

  .brands { padding: 66px 0; }
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .brand-list li { height: 68px; font-size: 15px; }

  .preview { padding: 66px 0; }
  .sec-head-row { align-items: flex-start; }
  .toggle { width: 100%; }
  .toggle-btn { flex: 1; padding: 12px 8px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod { padding: 12px 12px 18px; }
  .prod-name { font-size: 14px; min-height: 42px; }

  .info { padding: 66px 0; }
  .info-dl > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .info-card { padding: 32px 26px; }
  .foot { padding: 54px 0 28px; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 359px) {
  .hero-stats { gap: 18px; }
  .hero-stats strong { font-size: 20px; }
  .prod-grid { grid-template-columns: 1fr; }
}
