:root {
  --bg: #f7f5f1;
  --card: #ffffff;
  --text: #1a1f24;
  --muted: #5f666d;
  --line: #ddd4c8;
  --brand: #1f5f6b;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
  text-decoration: none;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.top-bar {
  background: #ffffff;
  color: var(--text);
  border-bottom: 1px solid rgba(26, 31, 36, 0.12);
  padding: 0.65rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.top-store span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.top-store strong,
.top-store em {
  display: inline;
  line-height: 1;
  white-space: nowrap;
}

.livart-logo {
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 36px;
  color: #1f5f6b;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 4vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(26, 31, 36, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo strong,
.logo em {
  display: block;
  line-height: 1.2;
  font-style: normal;
}

.logo strong {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.logo em {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-weight: 500;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  min-height: 40px;
}

.wrap {
  width: min(980px, 100% - 2rem);
  margin: 1.6rem auto 3rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--muted);
  text-decoration: none;
}

.detail-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.model {
  margin: 0.7rem 0 0;
  color: var(--brand);
  font-weight: 700;
}

.model span {
  color: var(--muted);
  font-weight: 500;
}

.block {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.block h2 {
  margin: 0;
  font-size: 1.1rem;
}

.block ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .site-header nav {
    margin-left: auto;
  }

  .wrap {
    width: min(980px, 100% - 1.4rem);
  }
}

@media (max-width: 640px) {
  .top-bar {
    font-size: 0.8rem;
    padding-inline: 0.8rem;
    align-items: flex-start;
  }

  .livart-logo {
    font-size: 20px;
    letter-spacing: 0.14em;
  }

  .site-header {
    padding-inline: 0.8rem;
    padding-block: 0.8rem;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .logo strong {
    font-size: 0.78rem;
  }

  .logo em {
    font-size: 0.75rem;
  }

  .top-store span {
    display: grid;
    justify-items: end;
    gap: 0.08rem;
    text-align: right;
  }

  .top-store strong {
    font-size: 0.72rem;
  }

  .top-store em {
    font-size: 0.82rem;
  }

  .site-header nav {
    width: 100%;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 0.68rem 1rem;
  }

  .wrap {
    width: min(980px, 100% - 1rem);
    margin-top: 1rem;
  }

  .back-link {
    font-size: 0.92rem;
  }

  .detail-card {
    border-radius: 14px;
    padding: 1rem;
  }

  h1 {
    line-height: 1.3;
  }

  .model {
    margin-top: 0.55rem;
    font-size: 0.95rem;
  }

  .block {
    margin-top: 1.1rem;
    padding-top: 1rem;
  }

  .block ul {
    margin-top: 0.6rem;
    line-height: 1.6;
  }
}
