/* ============ heyboo — 베네베네 무드 (프리미엄 미니멀) ============ */
:root {
  --ink: #1d1b19;
  --gray: #9a938c;
  --soft: #c8c2bb;
  --line: #eceae7;
  --bg: #ffffff;
  --hd-h: 58px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0.02em;
}

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

.serif { font-family: "Cormorant Garamond", "Gowun Batang", serif; }

/* ---------- 헤더 ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hd-h);
  background: #fbeed9;  /* 연노랑 띠 배경 */
  border-bottom: 1px solid #f2e2c8;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
}
.hd-left { display: flex; align-items: center; gap: 26px; }
.ham {
  width: 22px; height: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  flex: none;
}
.ham span { height: 1px; background: var(--ink); }
.gnb { display: flex; gap: 22px; }
.gnb a {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-transform: uppercase;
  transition: color .2s;
}
.gnb a:hover, .gnb a.on { color: var(--soft); }
@media (max-width: 1100px) { .gnb { display: none; } }

.logo { display: block; }
.logo img { height: 36px; display: block; }

/* 모바일 헤더 */
@media (max-width: 768px) {
  .hd { padding: 0 16px; }
  .logo img { height: 28px; }
  .util { gap: 12px; font-size: 10px; }
  .util > a:nth-child(1),
  .util > a:nth-child(2) { display: none; } /* Login/My는 햄버거 메뉴에서 */
}

.util {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.util a:hover { color: var(--soft); }
.hd-search { display: flex; align-items: center; gap: 6px; }
.hd-search input {
  width: 0; opacity: 0;
  border: 0; border-bottom: 1px solid var(--ink);
  outline: none; background: transparent;
  font-size: 12px; padding: 2px 0;
  transition: width .35s ease, opacity .25s;
}
.hd-search.open input { width: 130px; opacity: 1; }
.hd-search button { font-size: 15px; line-height: 1; }

/* ---------- 서랍 메뉴 ---------- */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(20,18,16,.32);
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
  z-index: 200;
}
.drawer {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 300px;
  background: #fff;
  z-index: 201;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.25,.8,.3,1);
  padding: 60px 42px;
  overflow-y: auto;
}
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.drawer .close {
  position: absolute; right: 22px; top: 20px;
  font-size: 18px; color: var(--gray);
}
.drawer h3 {
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--soft);
  margin: 34px 0 14px;
  font-weight: 400;
  text-transform: uppercase;
}
.drawer h3:first-of-type { margin-top: 0; }
.drawer ul { list-style: none; }
.drawer li a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.drawer li a:hover { color: var(--soft); }

/* ---------- 히어로 (풀스크린 크로스페이드) ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--hd-h));
  min-height: 520px;
  overflow: hidden;
}
.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.4s ease;
  transform: scale(1.03);
}
.hero .slide.is-active { opacity: 1; transform: scale(1); transition: opacity 2.4s ease, transform 7s ease; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48, 40, 34, 0.14);
  z-index: 1;
}
.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 24px rgba(60,50,40,.18);
  padding: 0 20px;
}
.hero-copy .eyebrow {
  font-size: 11px;
  letter-spacing: .38em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero-copy .season {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: .22em;
}

.hero .dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero .dots button {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  padding: 0;
  transition: background .3s;
}
.hero .dots button.on { background: #fff; }

/* ---------- 섹션 공통 ---------- */
.section { width: min(1240px, 92%); margin: 0 auto; padding: 110px 0 20px; }
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-head .eyebrow {
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--soft);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .1em;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 26px;
}
.tabs button {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--gray);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- 상품 그리드 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 60px 28px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { position: relative; text-align: center; }
.card .thumb {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  letter-spacing: .2em;
  color: rgba(60,50,40,.24);
  transition: opacity .35s;
}
.card:hover .thumb { opacity: .88; }
.card .name {
  margin-top: 18px;
  font-size: 12.5px;
  letter-spacing: .06em;
}
.card .price-row { margin-top: 6px; font-size: 12px; color: var(--gray); }
.price-row .was { text-decoration: line-through; color: var(--soft); margin-right: 7px; }
.price-row .pct { display: none; } /* 미니멀 무드 — 할인율 뱃지 감춤 */
.price-row .now { color: var(--gray); }

.like-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 15px;
  color: rgba(60,50,40,.0);
  transition: color .25s;
  z-index: 5;
}
.card:hover .like-btn { color: rgba(60,50,40,.35); }
.like-btn.liked, .card:hover .like-btn.liked { color: #c98b90; }

.more-btn {
  display: block;
  margin: 64px auto 0;
  padding: 13px 60px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all .25s;
}
.more-btn:hover { background: var(--ink); color: #fff; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--gray);
  font-size: 12.5px;
  letter-spacing: .1em;
  padding: 90px 0;
}

/* ---------- 캠페인 (풀폭 무드 사진) ---------- */
.campaign {
  position: relative;
  margin-top: 110px;
  height: 68vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.campaign .cap {
  position: absolute;
  left: 44px;
  top: 38px;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .12em;
  color: rgba(255,255,255,.92);
}
.campaign .cap b {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .18em;
}

/* ---------- 푸터 ---------- */
.footer { margin-top: 130px; }
.f-benefit {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 44px 0;
  text-align: center;
}
@media (max-width: 780px) { .f-benefit { grid-template-columns: repeat(2, 1fr); gap: 26px 0; } }
.f-benefit h5 {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.f-benefit p { font-size: 10.5px; color: var(--soft); letter-spacing: .08em; }

.f-links {
  border-top: 1px solid var(--line);
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 52px 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 780px) { .f-links { grid-template-columns: 1fr 1fr; } }
.f-links .f-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  letter-spacing: .34em;
}
.f-links h6 {
  font-size: 10px;
  letter-spacing: .26em;
  color: var(--gray);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.f-links ul { list-style: none; }
.f-links li { margin-bottom: 9px; }
.f-links li a { font-size: 11.5px; color: var(--gray); letter-spacing: .08em; }
.f-links li a:hover { color: var(--ink); }

.f-info {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 22px 0 50px;
  font-size: 10px;
  color: var(--soft);
  letter-spacing: .06em;
  line-height: 1.9;
}

/* ---------- 서브 페이지 ---------- */
.page-main { width: min(1240px, 92%); margin: 0 auto; padding: 74px 0 40px; min-height: 58vh; }
.page-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: .22em;
  text-align: center;
  text-transform: uppercase;
}
.page-sub {
  text-align: center;
  font-size: 11px;
  color: var(--soft);
  letter-spacing: .18em;
  margin: 12px 0 58px;
}

/* 상세 : 왼쪽 이미지 스택 스크롤 + 오른쪽 고정 */
.detail { display: grid; grid-template-columns: 1fr 440px; gap: 70px; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 40px; } }
.detail-imgs { display: flex; flex-direction: column; gap: 12px; }
.detail-imgs .d-img {
  aspect-ratio: 4 / 5;
  background-size: cover !important;
  background-position: center !important;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; letter-spacing: .2em; color: rgba(60,50,40,.28);
}
.detail .side {
  position: sticky;
  top: calc(var(--hd-h) + 26px);
  padding-top: 10px;
}
@media (max-width: 900px) { .detail .side { position: static; } }
.p-code { font-size: 11px; letter-spacing: .14em; color: var(--soft); margin: -34px 0 40px; }

/* 설명 + 접이식 안내 */
.desc {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.desc p {
  font-size: 13px;
  line-height: 2.1;
  color: #6b6259;
  letter-spacing: .01em;
}
.d-infos { margin-top: 34px; border-top: 1px solid var(--line); }
.d-infos details { border-bottom: 1px solid var(--line); }
.d-infos summary {
  padding: 15px 2px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.d-infos summary::after { content: "+"; color: var(--soft); font-size: 14px; }
.d-infos details[open] summary::after { content: "−"; }
.d-infos details p {
  padding: 2px 2px 18px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--gray);
}
.detail .brand { font-size: 10px; letter-spacing: .3em; color: var(--soft); text-transform: uppercase; margin-bottom: 16px; }
.detail h1 { font-size: 21px; font-weight: 400; letter-spacing: .04em; margin-bottom: 12px; }
.detail .price-row { font-size: 15px; margin-bottom: 44px; }
.detail .price-row .now { color: var(--ink); }
.opt-label { font-size: 10px; letter-spacing: .28em; color: var(--gray); text-transform: uppercase; margin-bottom: 12px; }
.sizes { display: flex; gap: 8px; margin-bottom: 34px; flex-wrap: wrap; }
.sizes button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: .06em;
  background: #fff;
  transition: border-color .2s;
}
.sizes button.on { border-color: var(--ink); }
.qty { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; font-size: 13px; }
.qty button { width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; }
.btn-row { display: flex; gap: 10px; }
.btn {
  flex: 1;
  padding: 15px 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all .25s;
}
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: #3a352f; }
.btn.line { background: #fff; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }

/* 장바구니 */
.cart-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cart-table th {
  font-weight: 400; font-size: 10px; letter-spacing: .24em; color: var(--gray);
  text-transform: uppercase;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 14px 8px; text-align: left;
}
.cart-table td { padding: 22px 8px; border-bottom: 1px solid var(--line); }
.cart-total { text-align: right; font-size: 14px; letter-spacing: .1em; margin: 30px 0 40px; }
.x-btn { color: var(--soft); font-size: 14px; }
.x-btn:hover { color: var(--ink); }

/* 로그인 */
.auth-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 500; letter-spacing: .26em;
  text-align: center; text-transform: uppercase; margin-top: 20px;
}
.auth-box { width: min(360px, 100%); margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.auth-box input {
  padding: 14px 4px;
  border: 0; border-bottom: 1px solid var(--line);
  font-size: 13px; outline: none; background: transparent;
  letter-spacing: .04em;
  transition: border-color .25s;
}
.auth-box input:focus { border-bottom-color: var(--ink); }
.auth-box .btn { margin-top: 22px; }
.auth-links { display: flex; justify-content: center; gap: 22px; font-size: 11px; color: var(--gray); letter-spacing: .1em; margin-top: 10px; }
.auth-links a:hover { color: var(--ink); }

/* 마이페이지 */
.my-layout { display: grid; grid-template-columns: 200px 1fr; gap: 64px; }
@media (max-width: 900px) { .my-layout { grid-template-columns: 1fr; } }
.my-menu { display: flex; flex-direction: column; }
.my-menu a {
  padding: 12px 2px;
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--gray);
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.my-menu a.on { color: var(--ink); border-bottom-color: var(--ink); }
.my-panel h2 {
  font-size: 12px; letter-spacing: .26em; font-weight: 400;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 10px;
}
