:root {
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-text: #241a14;
  --color-text-muted: #6b5d52;
  --color-primary: #8a1f11;
  --color-primary-dark: #6e1a0d;
  --color-accent: #c9a24b;
  --color-border: #e8ded2;
  --radius: 10px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 20px;
  gap: 12px;
}

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

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--color-text);
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); text-decoration: none; }
.btn-secondary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary:hover { background: rgba(138,31,17,0.08); text-decoration: none; }

.nav-cta { white-space: nowrap; }

.hero {
  background: linear-gradient(135deg, #2b1710, #4a231a);
  color: #fff;
  padding: 72px 0;
}
.hero-inner { text-align: center; max-width: 720px; }
.hero h1 { font-size: 2.4rem; margin: 0 0 16px; }
.hero p { font-size: 1.1rem; color: #f1e3d8; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.info-strip { padding: 48px 0; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.info-card h3 { margin: 0 0 8px; color: var(--color-primary); }
.info-card p { margin: 0; color: var(--color-text-muted); }

.about { padding: 24px 0 64px; }
.about h2 { font-size: 1.6rem; }
.about p { color: var(--color-text-muted); max-width: 760px; }

.site-footer {
  background: #241a14;
  color: #cbb9ac;
  padding: 32px 0;
  margin-top: 40px;
}
.footer-inner { text-align: center; font-size: 0.9rem; }
.footer-inner a { color: #f1e3d8; }

/* Product grid */
.section-title { font-size: 1.8rem; margin-bottom: 8px; }
.section-subtitle { color: var(--color-text-muted); margin-bottom: 32px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding-bottom: 60px;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image {
  height: 150px;
  background: repeating-linear-gradient(45deg, #efe6d8, #efe6d8 10px, #e6dac8 10px, #e6dac8 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.05rem; }
.product-price { font-weight: 700; color: var(--color-primary); }
.product-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.qty-input {
  width: 56px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-align: center;
}
.btn-add {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.btn-add:hover { background: var(--color-primary-dark); }

.placeholder-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #4a3a12;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Cart / order page */
.order-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding-bottom: 60px;
  align-items: start;
}
@media (max-width: 800px) {
  .order-layout { grid-template-columns: 1fr; }
}
.cart-box, .checkout-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 16px;
}
.notice-box {
  background: #fff6e0;
  border: 1px solid #f0d98a;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  color: #6b5a1c;
  font-size: 0.95rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 60px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
