@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #9B1B2E;
  --green: #1F5D3A;
  --green-deep: #143D27;
  --gold: #C9A227;
  --gold-light: #F0D78C;
  --cream: #FFF6EA;
  --ink: #1C1612;
  --paper: #FFFBF4;
  --muted: #5C5148;
  --line: rgba(201, 162, 39, 0.45);
  --shadow: 0 10px 28px rgba(20, 61, 39, 0.12);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Segoe UI", system-ui, sans-serif;
  --snowflake: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72' fill='none' stroke='%23C9A227' stroke-width='1.2' opacity='0.28'><path d='M36 8v56M12 22l48 28M12 50l48-28'/><path d='M36 16l-6-6M36 16l6-6M36 56l-6 6M36 56l6 6M18 25l-8 0M18 25l-4-7M54 47h8M54 47l4 7M18 47h-8M18 47l-4 7M54 25h8M54 25l4-7'/></svg>");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--green-deep);
  background-image: var(--snowflake), linear-gradient(180deg, var(--green-deep) 0%, #0c2418 100%);
  background-size: 72px 72px, 100% 100%;
  min-height: 100%;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: var(--red); }

.wrap {
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 0 16px 48px;
}

.example-banner {
  background: var(--gold-light);
  color: var(--ink);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-bottom: 2px solid var(--gold);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 8px;
  color: var(--cream);
}
.logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.logo-badge .mono {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--red);
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  margin: 0;
  line-height: 1.15;
  color: var(--cream);
}
.brand-place {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.hero {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  margin: 12px 0 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "❄";
  position: absolute;
  color: var(--gold);
  opacity: 0.45;
  font-size: 1.4rem;
  pointer-events: none;
}
.hero::before { top: 10px; left: 12px; }
.hero::after { top: 10px; right: 12px; }
.kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 8px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.15;
  color: var(--red);
}
.hero .sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 18px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 18px;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--green-deep);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green);
}
.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.section-title {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.7rem;
  margin: 28px 0 12px;
  text-align: center;
}
.section-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px 16px;
}

.tray-list { display: grid; gap: 14px; }
.tray {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
}
.tray-photo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(160deg, var(--green) 0%, var(--red) 100%);
  border: 1px solid var(--line);
}
.tray-photo.placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  padding: 6px;
}
.tray h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--red);
  line-height: 1.2;
}
.tray .meta { margin: 0; font-size: 0.88rem; color: var(--green-deep); font-weight: 700; }
.tray .price { margin: 2px 0; font-weight: 700; color: var(--ink); }
.tray .price.pending { color: var(--muted); font-weight: 400; font-style: italic; }
.tray .blurb { margin: 4px 0 0; font-size: 0.86rem; color: var(--muted); }

.form-card { margin-top: 8px; }
.form-intro { color: var(--muted); margin: 0 0 16px; text-align: center; }
label { display: block; font-weight: 700; font-size: 0.88rem; margin: 0 0 6px; }
.field { margin: 0 0 14px; }
input[type="text"], input[type="tel"], input[type="date"], textarea, select {
  width: 100%;
  border: 1.5px solid #d9cbb3;
  border-radius: 12px;
  padding: 12px 12px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid var(--gold-light);
  border-color: var(--gold);
}
textarea { min-height: 88px; resize: vertical; }
.hint { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--muted); font-weight: 400; }

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.qty-row:last-child { border-bottom: 0; }
.qty-name { flex: 1; font-weight: 700; }
.qty-serves { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-ctrl button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  background: #fff;
  color: var(--green-deep);
  font-weight: 700;
  cursor: pointer;
}
.qty-ctrl span { min-width: 1.4rem; text-align: center; font-weight: 700; }

.form-error {
  background: #fde8ea;
  color: var(--red);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.form-ok {
  background: #e7f6ec;
  color: var(--green-deep);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.preview-msg {
  background: #fff;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 12px;
  white-space: pre-wrap;
  font-size: 0.88rem;
  margin: 0 0 14px;
  color: var(--ink);
}

.site-footer {
  color: var(--gold-light);
  text-align: center;
  font-size: 0.85rem;
  margin-top: 28px;
  padding: 8px 8px 24px;
}
.site-footer a { color: var(--gold-light); }
.site-footer .fine { opacity: 0.8; font-size: 0.78rem; }

.hidden { display: none !important; }

@media (min-width: 720px) {
  .tray-list { grid-template-columns: 1fr; }
  .hero { padding: 36px 40px 32px; }
}
