:root {
  --bg: #F7F3EC;
  --surface: #EFE8DC;
  --fg: #1C1410;
  --fg-muted: #6B5A48;
  --accent: #B5691A;
  --accent-light: #D4862A;
  --wood-light: #C4956A;
  --wood-dark: #7A4E2A;
  --white: #FFFFFF;
  --border: rgba(28,20,16,0.10);
  --shadow: 0 2px 12px rgba(28,20,16,0.08);
  --shadow-hover: 0 6px 24px rgba(28,20,16,0.14);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

/* ── Navbar ───────────────────────────────────── */
.navbar {
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-tagline {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

/* ── Container ─────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Hero ──────────────────────────────────────── */
.hero {
  padding: 72px 48px 64px;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-light); text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.hero-visual {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-left: 16px;
}
.wood-block {
  position: absolute;
  border-radius: 4px;
}
.b1 { width: 150px; height: 200px; bottom: 0; left: 0; background: linear-gradient(135deg, #8B5E30 0%, #6B4220 100%); }
.b2 { width: 110px; height: 140px; bottom: 0; left: 160px; background: linear-gradient(135deg, #A07440 0%, #7A5530 100%); }
.b3 { width: 80px;  height: 180px; bottom: 0; left: 280px; background: linear-gradient(135deg, #9A6538 0%, #7D4E28 100%); }
.b4 { width: 130px; height: 90px;  bottom: 0; left: 370px; background: linear-gradient(135deg, #C4956A 0%, #9A7040 100%); }

/* ── Section Headers ───────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}
.section-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── Categories ────────────────────────────────── */
.categories-section {
  padding: 56px 48px;
  max-width: 1140px;
  margin: 0 auto;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}
.category-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.category-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.category-count {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── Product Grid ──────────────────────────────── */
.products-section {
  padding: 48px 48px 80px;
  max-width: 1140px;
  margin: 0 auto;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}
.product-image {
  height: 220px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .placeholder-img {
  width: 80px;
  height: 80px;
  background: var(--wood-light);
  border-radius: 8px;
  opacity: 0.5;
}
.product-body { padding: 20px; }
.product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-short-desc {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.price-range { font-size: 14px; font-weight: 600; color: var(--fg); }
.price-label { font-size: 11px; color: var(--fg-muted); font-weight: 400; }
.moq-badge {
  font-size: 11px;
  background: var(--surface);
  color: var(--fg-muted);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── Specs Table ──────────────────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 0; font-size: 14px; }
.specs-table td:first-child {
  color: var(--fg-muted);
  width: 140px;
  font-weight: 500;
}
.specs-table td:last-child { color: var(--fg); }

/* ── Quote Form ───────────────────────────────── */
.quote-section {
  padding: 72px 48px;
  max-width: 700px;
  margin: 0 auto;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.form-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-label span { color: var(--accent); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-cta { margin-top: 8px; }
.form-msg { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-top: 16px; display: none; }
.form-msg.success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; display: block; }
.form-msg.error   { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; display: block; }

/* ── Breadcrumb ────────────────────────────────── */
.breadcrumb {
  padding: 16px 48px;
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 1140px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--fg-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ── Product Detail ───────────────────────────── */
.product-detail { padding: 32px 48px 80px; max-width: 1140px; margin: 0 auto; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-detail-image {
  height: 380px;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-detail-image .placeholder-img {
  width: 120px;
  height: 120px;
  background: var(--wood-light);
  border-radius: 8px;
  opacity: 0.4;
}
.product-detail-info h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-detail-cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.product-detail-short-desc {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.pricing-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-label { font-size: 13px; color: var(--fg-muted); }
.pricing-value { font-size: 16px; font-weight: 700; color: var(--fg); }

/* ── Footer ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.footer-text {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ── Alerts ───────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 6px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }

/* ── Mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-tagline { display: none; }
  .nav-links { gap: 16px; }
  .hero { padding: 40px 20px 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .categories-section { padding: 36px 20px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .products-section { padding: 32px 20px 60px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-detail { padding: 20px 20px 60px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .quote-section { padding: 40px 20px; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 8px; padding: 24px 20px; text-align: center; }
  .container { padding: 0 20px; }
  .breadcrumb { padding: 12px 20px; }
}