/* ============================================================
   YERISU — Design System
   Minimal premium / 대량 여백 / 절제된 컬러 / 가는 선
   ============================================================ */

:root {
  /* Palette */
  --paper: #fdfcfa;
  --paper-2: #f7f6f4;
  --paper-3: #efedea;
  --ink: #1b1a17;
  --ink-2: #3a3733;
  --muted: #8a8478;
  --muted-2: #a8a294;
  --line: rgba(27, 26, 23, 0.12);
  --line-2: rgba(27, 26, 23, 0.24);
  --accent: #2e4a40;
  --accent-2: #e9efeb;
  --white: #fff;

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, 'Nanum Myeongjo',
    'Apple SD Gothic Neo', 'Malgun Gothic', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Metrics */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(76px, 10vw, 148px);
  --r: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

.serif { font-family: var(--serif); }

.lead {
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}
.lead--light { color: rgba(255, 255, 255, 0.78); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.section-head__text { max-width: 660px; }
.section-head .h2 { margin-top: 14px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 940px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 36px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease), opacity 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.5); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid-light:hover { background: transparent; color: var(--paper); }
.btn--sm { min-height: 44px; padding: 0 26px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

.link-u {
  position: relative;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.link-u::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.5s var(--ease);
}
.link-u:hover::after { transform-origin: left; animation: uline 0.6s var(--ease); }
@keyframes uline {
  0% { transform: scaleX(1); transform-origin: right; }
  49% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.3em;
  line-height: 1;
  padding-left: 0.3em;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-top: 6px;
  padding-left: 0.35em;
}
.nav { display: flex; gap: 38px; }
.nav a {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--ink);
  position: relative;
  transition: opacity 0.3s var(--ease);
}
.icon-btn:hover { opacity: 0.6; }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cart-count.is-on { opacity: 1; transform: scale(1); }

.burger { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  padding: 26px var(--gutter) 48px;
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__nav { margin-top: 46px; display: flex; flex-direction: column; gap: 22px; }
.drawer__nav a {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
}
.drawer__meta { margin-top: auto; padding-top: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 48vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--paper-2);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 15, 0.72) 0%, rgba(18, 17, 15, 0.48) 38%, rgba(18, 17, 15, 0.06) 70%);
}
.hero__inner {
  position: relative;
  width: 100%;
  padding-block: clamp(36px, 5vh, 72px);
  color: #fff;
}
.hero__inner .h1 { margin: 18px 0 22px; max-width: 15ch; }
.hero__inner .lead { color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: flex; align-items: center; gap: 14px;
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 54px;
  background: rgba(255, 255, 255, 0.45);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
  background: var(--paper);
}
.strip__track {
  display: flex; gap: 64px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.strip__track span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 64px;
}
.strip__track span::after { content: '·'; color: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 3 / 4;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 17, 0) 40%, rgba(20, 19, 17, 0.62) 100%);
}
.tile__cap {
  position: absolute;
  left: 26px; right: 26px; bottom: 26px;
  z-index: 2;
  color: #fff;
}
.tile__cap .eyebrow { color: rgba(255, 255, 255, 0.72); }
.tile__cap h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  margin-top: 6px;
}
.tile__cap span.count {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- Product card ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: clamp(22px, 2.6vw, 40px) clamp(16px, 2vw, 28px);
}
.card { position: relative; }
.card__media {
  position: relative;
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.055); }
.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
}
.card__fav {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(251, 249, 245, 0.9);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.3s;
}
.card:hover .card__fav { opacity: 1; transform: none; }
.card__fav.is-on { opacity: 1; transform: none; color: var(--accent); }
.card__fav svg { width: 15px; height: 15px; }
.card__quick {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s;
}
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick:hover { background: var(--accent); }
.card__body { padding: 16px 2px 0; }
.card__cat {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__name {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}
.card__name a { transition: color 0.3s var(--ease); }
.card__name a:hover { color: var(--muted); }
.card__price {
  margin-top: 9px;
  display: flex; align-items: baseline; gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.card__price del { color: var(--muted-2); font-weight: 400; font-size: 13px; }
.card__price .sale { color: var(--accent); font-size: 11px; letter-spacing: 0.08em; }
.rating { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.rating svg { width: 11px; height: 11px; color: var(--accent); }
.stars { display: inline-flex; gap: 1.5px; }
.stars svg { width: 11px; height: 11px; color: var(--accent); }
.stars svg.is-empty { color: var(--line-2); }

/* ---------- Toolbar / filters ---------- */
.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  flex-wrap: wrap;
}
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: all 0.32s var(--ease);
  white-space: nowrap;
}
.pill:hover { border-color: var(--line-2); color: var(--ink); }
.pill.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.select {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 24px 8px 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a8478' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  cursor: pointer;
}
.result-count { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body .h2 { margin: 16px 0 22px; }
.split__body p + p { margin-top: 16px; }
.split__body .lead { color: var(--ink-2); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(44px, 5vw, 72px);
}
.principle { border-top: 1px solid var(--line); padding-top: 22px; }
.principle__no { font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.principle h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin: 12px 0 10px; }
.principle p { color: var(--muted); font-size: 14px; line-height: 1.8; }

.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.35;
  text-align: center;
  max-width: 20ch;
  margin-inline: auto;
}
.quote-by { text-align: center; margin-top: 26px; color: var(--muted); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter .h2 { margin: 14px 0 18px; }
.newsletter .lead { margin-inline: auto; }
.news-form {
  display: flex;
  max-width: 520px;
  margin: 38px auto 0;
  border-bottom: 1px solid var(--line-2);
}
.news-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 16px 4px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.news-form input:focus { outline: none; }
.news-form button {
  padding: 0 4px 0 24px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2px;
  transition: opacity 0.3s;
}
.news-form button:hover { opacity: 0.6; }
.news-note { margin-top: 16px; font-size: 11.5px; color: var(--muted-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(56px, 7vw, 96px);
}
.footer h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 249, 245, 0.45);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 13.5px; color: rgba(251, 249, 245, 0.82); transition: color 0.3s; }
.footer ul a:hover { color: #fff; }
.footer .brand { color: var(--paper); }
.footer .brand small { color: rgba(251, 249, 245, 0.45); }
.footer__about p { font-size: 13.5px; color: rgba(251, 249, 245, 0.62); max-width: 34ch; margin-top: 20px; line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid rgba(251, 249, 245, 0.14);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(251, 249, 245, 0.45);
  letter-spacing: 0.04em;
}
.footer__bottom a:hover { color: var(--paper); }
.social { display: flex; gap: 12px; }
.social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(251, 249, 245, 0.2);
  display: grid; place-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.social a:hover { border-color: var(--paper); background: rgba(251, 249, 245, 0.08); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Breadcrumb ---------- */
.crumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted);
  padding-block: 26px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin-right: 10px; color: var(--line-2); }

/* ---------- Product detail ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(34px, 5vw, 88px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 120px);
}
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main {
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(251, 249, 245, 0.92);
  display: grid; place-items: center;
  transition: background 0.3s;
}
.gallery__nav:hover { background: #fff; }
.gallery__nav svg { width: 15px; height: 15px; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gallery__thumbs button {
  width: 76px; aspect-ratio: 1;
  background: var(--paper-2);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}
.gallery__thumbs button.is-on { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pdp__title { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 400; line-height: 1.2; margin: 14px 0 10px; }
.pdp__en { font-size: 12px; letter-spacing: 0.14em; color: var(--muted-2); text-transform: uppercase; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 6px; }
.pdp__price strong { font-size: 26px; font-weight: 600; }
.pdp__price del { color: var(--muted-2); font-size: 16px; }
.pdp__price .sale { color: var(--accent); font-size: 12px; letter-spacing: 0.1em; }
.pdp__summary { margin-top: 20px; color: var(--ink-2); line-height: 1.85; font-size: 14.5px; }
.pdp__meta { display: flex; gap: 20px; align-items: center; margin-top: 16px; font-size: 12.5px; color: var(--muted); }

.opt { margin-top: 30px; }
.opt__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.opt__label b { color: var(--ink); font-weight: 500; letter-spacing: 0.04em; text-transform: none; font-size: 13px; }
.swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.swatch {
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-size: 12.5px;
  transition: all 0.28s var(--ease);
}
.swatch:hover { border-color: var(--line-2); }
.swatch.is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 44px; height: 52px; font-size: 16px; color: var(--ink-2); transition: background 0.25s; }
.qty button:hover { background: var(--paper-2); }
.qty input {
  width: 54px; height: 52px; text-align: center;
  border: 0; background: transparent; font-size: 14px; font-weight: 600;
}
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__actions { display: flex; gap: 10px; margin-top: 26px; }
.pdp__actions .btn { flex: 1; }
.pdp__actions .btn--icon { flex: 0 0 54px; padding: 0; }

.ship-note {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid; gap: 10px;
}
.ship-note li { display: flex; gap: 12px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.ship-note svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 4px; color: var(--accent); }

.acc { margin-top: 34px; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-size: 13px; letter-spacing: 0.06em;
}
.acc__btn svg { width: 13px; height: 13px; transition: transform 0.35s var(--ease); color: var(--muted); }
.acc__item.is-open .acc__btn svg { transform: rotate(45deg); }
.acc__panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
  color: var(--muted);
  font-size: 13.5px; line-height: 1.85;
}
.acc__item.is-open .acc__panel { max-height: 640px; }
.acc__panel > div { padding-bottom: 22px; }

.spec-table { margin-top: 26px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:first-child { border-top: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 14px 4px; text-align: left; font-size: 13.5px; font-weight: 400; }
.spec-table th { width: 34%; color: var(--muted); }
.spec-table td { color: var(--ink-2); }

/* ---------- Cart ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 120px);
}
.cart-list { border-top: 1px solid var(--line); }
.cart-row {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-row__media { background: var(--paper-2); aspect-ratio: 1; overflow: hidden; }
.cart-row__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name { font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.cart-row__opt { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.cart-row__price { text-align: right; font-size: 15px; font-weight: 600; white-space: nowrap; }
.cart-row__rm { display: block; margin-top: 12px; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.06em; }
.cart-row__rm:hover { color: var(--ink); }
.cart-row .qty button { width: 34px; height: 38px; }
.cart-row .qty input { width: 42px; height: 38px; font-size: 13px; }

.summary { background: var(--paper-2); padding: 30px; position: sticky; top: calc(var(--header-h) + 24px); }
.summary h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 22px; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; color: var(--ink-2); }
.summary__row.total {
  border-top: 1px solid var(--line-2);
  margin-top: 14px; padding-top: 18px;
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.summary .btn { margin-top: 24px; }
.summary__note { margin-top: 16px; font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.7; }

.empty { text-align: center; padding: clamp(70px, 10vw, 140px) 0; }
.empty h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; margin-bottom: 14px; }
.empty p { color: var(--muted); margin-bottom: 32px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 34px;
  transform: translate(-50%, 24px);
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 15px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  max-width: min(90vw, 420px);
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobile sticky buy bar ---------- */
.buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.buybar .price { flex: 1; font-size: 16px; font-weight: 600; align-self: center; }
.buybar .price small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-d1.is-in { transition-delay: 0.08s; }
.reveal-d2.is-in { transition-delay: 0.16s; }
.reveal-d3.is-in { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__bar { gap: 12px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 11; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }
  .principles { grid-template-columns: 1fr; gap: 26px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 14px; }
  .card__quick { opacity: 1; transform: none; position: static; margin-top: 12px; background: var(--ink); }
  .card__fav { opacity: 1; transform: none; }
  .hero { height: 44vh; min-height: 300px; }
  .hero__veil { background: linear-gradient(180deg, rgba(20, 19, 17, 0.5) 0%, rgba(20, 19, 17, 0.6) 60%, rgba(20, 19, 17, 0.72) 100%); }
  .hero__scroll { display: none; }
  .buybar { display: flex; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .toolbar { position: static; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card__name { font-size: 13px; }
  .cart-row { grid-template-columns: 78px 1fr; }
  .cart-row__price { grid-column: 2; text-align: left; margin-top: 10px; }
  .pdp__actions { flex-direction: column; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 12px;
  color: var(--ink);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}
.lang__btn:hover { opacity: 0.6; }
.lang__btn svg { width: 16px; height: 16px; }
.lang__chev { width: 12px !important; height: 12px !important; opacity: 0.5; }
.lang__label { font-weight: 500; }
.lang__short { display: none; font-weight: 500; }

.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 138px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(27, 26, 23, 0.1);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  z-index: 120;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__opt {
  display: block; width: 100%;
  padding: 9px 12px;
  text-align: left;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.lang__opt:hover { background: var(--paper-2); color: var(--ink); }
.lang__opt.is-on { color: var(--ink); font-weight: 600; }
.lang__opt.is-on::after { content: '\00b7'; float: right; color: var(--accent); }

/* Drawer version — options always visible as chips */
.lang--block { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.lang--block .lang__btn { width: 100%; justify-content: flex-start; padding: 0; cursor: default; }
.lang--block .lang__chev { display: none; }
.lang--block .lang__menu {
  position: static; opacity: 1; visibility: visible; transform: none;
  margin-top: 14px; min-width: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  background: transparent; border: 0; box-shadow: none;
}
.lang--block .lang__opt {
  width: auto; padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.08em;
}
.lang--block .lang__opt:hover { background: var(--paper-2); }
.lang--block .lang__opt.is-on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.lang--block .lang__opt.is-on::after { content: none; }

@media (max-width: 860px) {
  .lang:not(.lang--block) .lang__btn { padding: 0 8px; gap: 5px; }
  .lang:not(.lang--block) .lang__label { display: none; }
  .lang:not(.lang--block) .lang__short { display: inline; }
  .lang:not(.lang--block) .lang__chev { display: none; }
  .lang__menu { right: -46px; }
}

/* ---------- Mobile header fit (i18n switcher + brand) ---------- */
@media (max-width: 860px) {
  .header__bar { gap: 10px; }
  .brand { font-size: 20px; letter-spacing: 0.24em; }
  .brand small { font-size: 8px; letter-spacing: 0.28em; }
  .icon-btn { width: 38px; height: 38px; }
  .header__tools { gap: 2px; }
  .lang:not(.lang--block) .lang__btn { padding: 0 6px; }
}
@media (max-width: 420px) {
  .brand { font-size: 18px; letter-spacing: 0.2em; }
}

#detail-imgs { max-width: 820px; margin: 0 auto; }
#detail-imgs img { display: block; width: 100%; height: auto; margin-bottom: 20px; }

.swatch .sw-price { display: block; font-size: 10px; opacity: .65; font-weight: 400; margin-top: 2px; }
