:root {
  --color-bg: #faf9f7;
  --color-primary: #3e3a36;
  --color-accent: #8b7355;
  --color-muted: #6b6560;
  --font-sans: 'Noto Sans KR', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-primary);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(62, 58, 54, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-title {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--color-accent);
}

.cart-link {
  font-size: 1.1rem;
}

.cart-count {
  font-size: 0.75rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  margin-left: 0.2rem;
}

.nav-toggle {
  display: none;
  width: 24px;
  height: 24px;
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233e3a36'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/contain no-repeat;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, #e8e4df 0%, #d4cfc8 100%);
  color: var(--color-primary);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: #f0ede8;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.about-text {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(62, 58, 54, 0.06);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(62, 58, 54, 0.1);
}

.product-image {
  height: 220px;
  background: linear-gradient(145deg, #c4b8a8, #8b7355);
}

.product-body {
  padding: 1.25rem;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.btn-cart {
  width: 100%;
  padding: 0.6rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-cart:hover {
  background: var(--color-accent);
}

/* Contact */
#contact p {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

/* Footer */
.footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(62, 58, 54, 0.08);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .section {
    padding: 3rem 0;
  }
}
