:root {
  --bg: #f6f2ea;
  --paper: #fffdf8;
  --ink: #2b2620;
  --muted: #6b6357;
  --line: #e3dccd;
  --gold: #8a6d3b;
  --gold-dark: #6f5530;
  --accent: #3a4a3f;
  --shadow: 0 10px 30px rgba(43, 38, 32, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--gold-dark); }

img { max-width: 100%; display: block; }

/* Header */
.site-header {
  background: var(--accent);
  color: #f4efe4;
  border-bottom: 4px solid var(--gold);
}
.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f4efe4;
}
.brand__mark {
  font-size: 1.6rem;
  line-height: 1;
}
.brand__name {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #c9bfa6;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav a {
  color: #e8e0cd;
  text-decoration: none;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
}
.nav a:hover, .nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Layout */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.notice {
  background: #fbf6ea;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 12px 18px;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 4px;
  margin-bottom: 28px;
}

/* Product */
.product {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; gap: 28px; }
}

.cover {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 24px;
}
.cover__art {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  color: #f3ecda;
  background: linear-gradient(160deg, #46342a, #6f5530 55%, #8a6d3b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.cover__art span {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.cover__img {
  width: 100%;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04), 0 4px 14px rgba(43,38,32,0.12);
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.thumb {
  flex: 1 1 0;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.thumb img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: 2px;
}
.thumb:hover { border-color: var(--gold); }
.thumb.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.cover__hint {
  text-align: center;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 14px;
}

.product__title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 6px;
}
.product__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 18px;
}
.rating {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.rating .stars { color: var(--gold); letter-spacing: 2px; }

.product__desc p { margin: 0 0 14px; }

.cta {
  display: inline-block;
  margin: 14px 0 8px;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.cta__note {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Details table */
.details {
  margin-top: 36px;
}
.details h2 {
  font-size: 1.3rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: 8px;
}
.details dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  margin: 0;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.9rem;
}
@media (max-width: 560px) {
  .details dl { grid-template-columns: 140px 1fr; }
}
.details dt {
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.details dd {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

/* Policy / prose */
.prose { max-width: 760px; }
.prose h1 { font-size: 2.1rem; margin-bottom: 6px; }
.prose h2 { font-size: 1.35rem; margin-top: 34px; }
.prose .updated {
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* Cards on home grids etc. */
.crosslink {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.crosslink a { font-family: -apple-system, system-ui, sans-serif; }

/* Footer */
.site-footer {
  background: #2b2620;
  color: #c9bfa6;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 0.85rem;
}
.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer a { color: #e8e0cd; text-decoration: none; margin-right: 16px; }
.site-footer a:hover { text-decoration: underline; }

/* Cookie banner */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 860px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(43, 38, 32, 0.25);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  z-index: 1000;
  font-family: -apple-system, system-ui, sans-serif;
}
.cookie[hidden] { display: none; }
.cookie__text { flex: 1 1 320px; font-size: 0.88rem; color: var(--muted); }
.cookie__text strong { color: var(--ink); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 11px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--gold);
}
.btn--primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-dark); }
.btn--ghost { background: transparent; color: var(--gold-dark); }
.btn--ghost:hover { background: #f1ead9; }
