:root {
  --coral: #e2683f;
  --coral-dark: #c4522c;
  --ink: #24211d;
  --paper: #faf6f1;
  --card: #ffffff;
  --line: #ece4da;
  --muted: #746c62;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, .logo { font-family: 'Poppins', sans-serif; }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--ink);
}
.logo span { color: var(--coral); }

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color .15s;
}
.main-nav a:hover { color: var(--coral); }

/* Hero */
.hero {
  padding: 64px 24px 48px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  font-weight: 700;
}
.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stats strong {
  font-size: 1.8rem;
  color: var(--coral);
  font-family: 'Poppins', sans-serif;
}
.hero-stats span {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Category sections */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px 40px;
}
.category-section {
  margin-top: 48px;
  scroll-margin-top: 90px;
}
.category-title {
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.category-count {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(36,33,29,0.08);
}

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f2ede6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  opacity: 0.55;
}
.qty-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
}

.status-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
  text-transform: uppercase;
}
.status-badge.status-sold { background: #8b342a; }
.status-badge.status-coming { background: #3a6b8a; }

.product-card.is-sold .product-img img {
  filter: grayscale(70%);
  opacity: 0.65;
}
.product-price.product-price-sold {
  text-decoration: line-through;
  color: var(--muted);
}
.product-card.is-coming-soon .product-img img { opacity: 0.85; }

.product-info { padding: 10px 12px 14px; }
.product-name {
  margin: 0 0 6px;
  font-size: 0.84rem;
  line-height: 1.35;
  min-height: 2.7em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  margin: 0;
  font-weight: 700;
  color: var(--coral-dark);
  font-size: 0.95rem;
}

/* CTA */
.cta-strip {
  text-align: center;
  padding: 56px 24px;
  background: var(--ink);
  color: #fff;
}
.cta-strip h3 { margin: 0 0 8px; font-size: 1.4rem; }
.cta-strip p { margin: 0 0 22px; color: #d8d2c9; }
.btn-cta {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
.btn-cta:hover { background: var(--coral-dark); }

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--paper);
}
.tagline { margin-bottom: 4px; font-weight: 600; }
