:root {
  --bg: #fcf9f6;
  --card: #ffffff;
  --ink: #221814;
  --ink-soft: #6a5044;
  --rule: #ead9cb;
  --primary: #6b2d23;
  --primary-dark: #4a1d17;
  --accent: #d99a55;
  --gold: #b88d50;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Hoefler Text', 'Iowan Old Style', serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* Header — utility bar + main bar */
.utility-bar { background: var(--primary); color: white; padding: 8px 0; font-size: 12px; letter-spacing: 0.04em; }
.utility-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.utility-bar a { color: white; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }

header.main { padding: 22px 0; border-bottom: 1px solid var(--rule); background: var(--bg); }
header.main .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: 0.005em; }
nav.main-nav a { color: var(--ink); text-decoration: none; margin-left: 24px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
nav.main-nav a:hover { color: var(--accent); }

/* Hero with primary CTA */
.shop-hero { padding: 72px 0 56px; text-align: center; position: relative; }
.shop-hero::before { content: ''; position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0.25; }
.shop-hero h1 { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.01em; }
.shop-hero .sub { font-size: 18px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 32px; }
.cta-pair { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary, .btn-secondary { padding: 14px 28px; border-radius: 4px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; transition: transform 0.15s ease; display: inline-block; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }

/* Category grid — big visual cards */
.category-section { padding: 56px 0; }
.section-title { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 8px; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); margin-bottom: 40px; font-size: 15px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cat-card { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(107, 45, 35, 0.10); }
.cat-card-image { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--primary), var(--accent)); position: relative; display: flex; align-items: center; justify-content: center; }
.cat-card-image span { font-family: var(--serif); font-style: italic; font-size: 48px; color: rgba(255,255,255,0.85); font-weight: 400; }
.cat-card-body { padding: 20px 22px 24px; }
.cat-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.cat-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 12px; }
.cat-card .shop-link { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }

/* Featured strip */
.featured-strip { background: var(--primary); color: white; padding: 56px 0; }
.featured-strip .section-title { color: white; }
.featured-strip .section-sub { color: rgba(255,255,255,0.78); }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.feature-item { text-align: center; }
.feature-item h4 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 8px; color: white; }
.feature-item p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.55; }
.feature-item .price { display: block; margin-top: 8px; color: var(--accent); font-weight: 700; font-size: 16px; }

/* Why us / values */
.values-section { padding: 64px 0; }
.values-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 36px; }
.value-item h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.value-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.value-icon { width: 32px; height: 32px; margin-bottom: 12px; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-family: var(--serif); }

/* Contact strip */
.contact-strip { background: var(--bg); padding: 64px 0; text-align: center; border-top: 1px solid var(--rule); }
.contact-strip h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.contact-strip p { color: var(--ink-soft); max-width: 500px; margin: 0 auto 24px; }

/* Article pages */
article.page { padding: 64px 0; max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
article.page .breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
article.page .breadcrumb a { color: var(--ink-soft); }
article.page h1 { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--primary); margin-bottom: 24px; line-height: 1.15; letter-spacing: -0.01em; }
article.page h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--primary); margin-top: 36px; margin-bottom: 12px; }
article.page p { margin-bottom: 16px; font-size: 16px; }
article.page ul, article.page ol { margin-bottom: 18px; padding-left: 24px; }
article.page li { margin-bottom: 8px; }
article.page strong { color: var(--ink); }

/* Footer — rich, multi-column */
footer.shop-footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 56px 0 28px; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-cols h5 { font-family: var(--serif); font-size: 16px; font-weight: 700; color: white; margin-bottom: 14px; }
.footer-cols p, .footer-cols a { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.75); text-decoration: none; display: block; }
.footer-cols a:hover { color: var(--accent); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.6); }

@media (max-width: 700px) {
  .shop-hero h1 { font-size: 32px; }
  .shop-hero { padding: 50px 0 40px; }
  .category-section, .featured-strip, .values-section, .contact-strip { padding: 48px 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  nav.main-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
  nav.main-nav a { margin-left: 0; }
  article.page h1 { font-size: 28px; }
}

/* Inner-page header fallback — for pages that still use the un-classed <header> layout */
body > header:not([class]) {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule, #d8d4cc);
  background: var(--bg, #ffffff);
}
body > header:not([class]) .container {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
body > header:not([class]) .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 600; color: inherit; text-decoration: none;
}
body > header:not([class]) .brand-icon {
  width: 28px; height: 28px; flex-shrink: 0;
}
body > header:not([class]) nav {
  display: flex; gap: 22px; flex-wrap: wrap;
}
body > header:not([class]) nav a {
  font-size: 13px; color: inherit; text-decoration: none; letter-spacing: 0.04em;
}
