:root {
  --ink: #2a1e12;
  --wood: #8a5a2b;
  --wood-dark: #3a2a1c;
  --sand: #f5efe6;
  --paper: #fffdf9;
  --line: #e4d9c8;
  --accent: #b3611f;
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; }
h2 { font-size: 1.6rem; margin-bottom: 10px; }
h3 { font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; }
.brand-dot { color: var(--accent); }
.main-nav a { color: var(--ink); text-decoration: none; margin-left: 26px; font-size: 0.95rem; }
.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(179, 97, 31, 0.12), transparent),
    linear-gradient(180deg, var(--sand), var(--paper));
  padding: 84px 0 64px;
}
.hero-sub { max-width: 620px; margin: 18px 0 28px; font-size: 1.1rem; color: #5a4632; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 42px; list-style: none; }
.hero-facts li { font-size: 0.9rem; color: #5a4632; }
.hero-facts strong { display: block; font-size: 1.3rem; color: var(--ink); }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.98rem; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--wood-dark); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--wood); color: var(--wood-dark); }
.btn-ghost:hover { background: var(--sand); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section-sub { color: #5a4632; max-width: 640px; margin-bottom: 34px; }

/* Products */
.product-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(58, 42, 28, 0.10); transform: translateY(-2px); }
.product-img {
  background: var(--sand); border-radius: 8px; height: 150px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img svg { width: 130px; height: 130px; }
.product-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-card--text { justify-content: center; }
.product-desc { font-size: 0.92rem; color: #5a4632; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.price { font-weight: 700; font-size: 1.1rem; }
.stock { font-size: 0.8rem; padding: 3px 10px; border-radius: 999px; }
.stock.in { background: #e7f2e5; color: #2e6b34; }
.stock.low { background: #f9ecd9; color: #8a5a2b; }
.shipping-note { margin-top: 28px; font-size: 0.9rem; color: #5a4632; }

/* Split */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.split p + p { margin-top: 12px; }
.split-visual svg { width: 100%; height: auto; opacity: 0.9; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 7px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* Facts */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 10px; }
.facts-grid div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.facts-grid strong { display: block; font-size: 1.5rem; color: var(--accent); }
.facts-grid span { font-size: 0.88rem; color: #5a4632; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font: inherit; background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .btn { border: none; align-self: flex-start; }
.contact-info p { margin-bottom: 16px; }
.contact-info a { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: #5a4632; flex-wrap: wrap; gap: 10px; }
.footer-inner nav a { color: #5a4632; margin-left: 20px; text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); }

/* Legal pages */
.legal { max-width: 720px; padding: 60px 0 80px; }
.legal h1 { font-size: 1.8rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { margin-bottom: 10px; color: #463723; }

@media (max-width: 760px) {
  .main-nav { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: 22px; }
}
