/* Post Family Christmas — Cozy Cabin theme */
:root {
  --cream: #faf3e3;
  --cream-deep: #f3e5cb;
  --paper: #fffaf0;
  --cocoa: #4a3226;
  --cocoa-soft: #6d4c38;
  --pine: #2f5d3a;
  --pine-deep: #24492d;
  --cranberry: #9c3848;
  --cranberry-deep: #7e2c3a;
  --tan: #d9c39a;
  --shadow: 0 6px 24px rgba(74, 50, 38, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: "Quicksand", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--pine); }
a:hover { color: var(--pine-deep); }

header.site-header {
  background: var(--pine-deep);
  color: var(--cream);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow);
}
.site-header .wrap {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.site-header .brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.site-header nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { border-bottom-color: var(--tan); color: #fff; }

main { max-width: 1020px; margin: 0 auto; padding: 28px 20px 56px; }

.hero { text-align: center; margin-bottom: 8px; }
.hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: 2.7rem;
  margin: 22px 0 4px;
  color: var(--pine-deep);
  letter-spacing: 0.01em;
}
.hero .subtitle { font-size: 1.2rem; color: var(--cocoa-soft); margin: 0 0 6px; font-weight: 600; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px auto;
  max-width: 520px;
  color: var(--cranberry);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-top: 2px solid var(--tan);
}
.divider .sprig { font-size: 1.3rem; }

h2.section-title {
  text-align: center;
  color: var(--pine-deep);
  font-size: 2rem;
  margin: 10px 0 4px;
}
h3.sub-title { color: var(--cranberry-deep); font-size: 1.45rem; margin: 30px 0 8px; }

section.letter p { margin: 10px 0; }
figure.photo { margin: 18px auto; max-width: 460px; text-align: center; }
figure.photo img {
  width: 100%;
  border-radius: 14px;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow);
}
figure.photo figcaption { font-weight: 600; color: var(--cocoa-soft); margin-top: 8px; }

.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 6px; }
.moments img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) { .moments { grid-template-columns: 1fr; } .moments img { height: auto; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.nav-card {
  background: var(--paper);
  border: 2px solid var(--tan);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: var(--cocoa);
  box-shadow: var(--shadow);
}
.nav-card h3 { margin: 0 0 6px; color: var(--pine-deep); }
.nav-card p { margin: 0; color: var(--cocoa-soft); }
.nav-card:hover { border-color: var(--pine); }

.give {
  background: var(--paper);
  border: 2px solid var(--pine);
  border-radius: 16px;
  padding: 24px;
  margin: 22px 0;
  box-shadow: var(--shadow);
  text-align: center;
}
.give h2 { margin-top: 0; color: var(--pine-deep); }
.give .code {
  font-weight: 700;
  background: var(--cream-deep);
  padding: 2px 10px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-block;
  background: var(--cranberry);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--cranberry-deep); }
.btn.pine { background: var(--pine); }
.btn.pine:hover { background: var(--pine-deep); }
.btn.ghost {
  background: transparent;
  color: var(--cocoa-soft) !important;
  border: 2px solid var(--tan);
  box-shadow: none;
  padding: 8px 18px;
  font-size: 0.92rem;
}
.btn.ghost:hover { border-color: var(--cocoa-soft); }

.kid-photo { text-align: center; margin: 10px 0 4px; }
.kid-photo img {
  max-width: 340px;
  width: 100%;
  border-radius: 16px;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow);
}

.helper { text-align: center; color: var(--cocoa-soft); font-weight: 600; margin: 18px 0 4px; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.item-card {
  background: var(--paper);
  border: 2px solid var(--tan);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.item-card h3 { margin: 0; font-size: 1.12rem; color: var(--cocoa); }
.item-card .price { font-weight: 700; color: var(--pine-deep); }
.item-card .note { color: var(--cocoa-soft); font-size: 0.95rem; margin: 0; }
.item-card .spacer { flex: 1; }
.item-card .view { font-weight: 700; }
.item-card.purchased { opacity: 0.72; background: var(--cream-deep); }
.item-card.purchased h3 { color: var(--cocoa-soft); }
.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 12px;
  border-radius: 999px;
}
.item-card .picked-note { color: var(--cocoa-soft); font-size: 0.95rem; margin: 0; }

form.list-form {
  background: var(--paper);
  border: 2px solid var(--tan);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 20px auto;
}
form.list-form label { display: block; font-weight: 700; margin: 14px 0 5px; }
form.list-form label .opt { font-weight: 400; color: var(--cocoa-soft); }
form.list-form input, form.list-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 2px solid var(--tan);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--cocoa);
}
form.list-form textarea { min-height: 170px; resize: vertical; }
form.list-form .btn { margin-top: 20px; }
.thankyou {
  background: var(--paper);
  border: 2px solid var(--pine);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 20px auto;
  text-align: center;
}
.form-error { color: var(--cranberry-deep); font-weight: 700; }

footer.site-footer {
  text-align: center;
  color: var(--cocoa-soft);
  padding: 26px 16px 40px;
  font-weight: 600;
}
