/* ---------- Design tokens ---------- */
:root {
  --cream: #fbf6ee;
  --cream-dark: #f2e8d8;
  --paper: #ffffff;
  --brown-900: #4a3728;
  --brown-600: #80624e;
  --blush: #e8ab9c;
  --blush-dark: #a64f3b;
  --blush-hover: #8f3f31;
  --sage: #61765a;
  --gold: #e3b23c;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(74, 55, 40, 0.08);
  --shadow-hover: 0 10px 28px rgba(74, 55, 40, 0.14);
  --font-head: "Fredoka", sans-serif;
  --font-body: "Nunito", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown-900);
  background: var(--cream);
  line-height: 1.6;
}

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
}

p { margin: 0 0 12px; }

a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--blush-dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--blush-hover); transform: translateY(-2px); }

.btn-secondary {
  background: var(--cream-dark);
  color: var(--brown-900);
  font-size: 0.9rem;
  padding: 10px 18px;
}
.btn-secondary:hover { background: var(--sage); color: #fff; }

.btn-disabled {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: #e5e0d8;
  color: #a39c8f;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(74, 55, 40, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--brown-900);
}
.site-nav a {
  text-decoration: none;
  color: var(--brown-900);
  font-weight: 600;
  margin-left: 28px;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--blush-dark); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background: radial-gradient(circle at 80% 20%, var(--cream-dark), transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(169, 184, 160, 0.25), transparent 55%);
}
.hero-inner { max-width: 680px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blush-dark);
  background: rgba(232, 171, 156, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; }
.hero-sub { font-size: 1.1rem; color: var(--brown-600); margin-bottom: 28px; }

/* ---------- Section shared ---------- */
section { padding: 64px 0; }
.section-title { font-size: 2rem; }
.section-sub { color: var(--brown-600); margin-bottom: 36px; max-width: 560px; }

/* ---------- Shop grid ---------- */
.shop { background: var(--paper); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-sold { opacity: 0.7; }

.card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-dark);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.02em;
}
.badge-ooak { background: var(--sage); }
.badge-sold { background: var(--brown-600); }

.card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card-blurb { font-size: 0.92rem; color: var(--brown-600); flex: 1; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--blush-dark);
}

/* ---------- About ---------- */
.about { background: var(--cream-dark); }
.about-inner { max-width: 680px; }

/* ---------- Contact / order form ---------- */
.contact { background: var(--paper); }
.contact-inner { max-width: 560px; }
.order-form { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.92rem; }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(74, 55, 40, 0.18);
  background: var(--cream);
  color: var(--brown-900);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
}
.order-form .btn { align-self: flex-start; margin-top: 4px; }
.form-fallback { font-size: 0.88rem; color: var(--brown-600); }
.form-fallback a { color: var(--blush-dark); font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-900);
  color: var(--cream);
  padding: 32px 0;
  text-align: center;
}
.footer-sub { font-size: 0.82rem; color: rgba(251, 246, 238, 0.65); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 2rem; }
  section { padding: 48px 0; }
  .site-nav a { margin-left: 16px; font-size: 0.88rem; }
}
