/* Placeholder look until brand guidelines exist: swap these tokens first. */
:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --ink: #2b2118;
  --muted: #7a6a5b;
  --line: #e8dfd2;
  --accent: #f598b1; /* logo pink */
  --accent-ink: #2b2118; /* dark text reads well on the light pink */
  --accent-strong: #b83f67; /* deeper pink for links and text on cream */
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / footer */
.site-header {
  padding: 20px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: block;
  line-height: 0;
}
.logo img {
  width: 56px;
  height: 56px;
}
.site-footer {
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-small {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* Splash */
.hero {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero-logo {
  width: min(300px, 70vw);
  height: auto;
}
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 28px;
}
.hero .details {
  margin-top: 28px;
  font-size: 0.95rem;
}

/* Order page */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
}
@media (max-width: 820px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
  .cart {
    position: static;
  }
  /* Keep the footer clear of the floating "View order" bar. */
  body:has(.mobile-cart-bar:not([hidden])) .site-footer {
    padding-bottom: 96px;
  }
}

/* Phone-only shortcut to the order summary, which sits below the menu. */
.mobile-cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.mobile-cart-bar[hidden] {
  display: none;
}
@media (min-width: 821px) {
  .mobile-cart-bar {
    display: none;
  }
}

.intro {
  padding: 12px 0 28px;
}
.intro p {
  color: var(--muted);
  margin: 0;
}

.banner {
  background: #fff4d6;
  border: 1px solid #f0dc9c;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product img,
.product-img-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #efe4d3, #e2cfb4);
}
.product-body {
  padding: 18px;
}
.product-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.variant-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.variant-name {
  font-weight: 500;
}
.price {
  margin-right: auto;
  color: var(--muted);
}
.variant-name + .price {
  margin-right: auto;
  margin-left: 0;
}
.sold-out {
  color: var(--muted);
  font-size: 0.9rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
}
.stepper output {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.cart {
  position: sticky;
  top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.cart ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.cart li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.95rem;
}
.cart-empty {
  color: var(--muted);
  font-size: 0.95rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-bottom: 16px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
}
.method {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
.method legend {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  padding: 0;
}
.method-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.method-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--bg);
}
.method-option input {
  margin-top: 3px;
  accent-color: var(--accent-strong);
}
.method-option small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.help {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 6px 0 0;
  min-height: 1em;
}
.cart .btn {
  width: 100%;
}
.error {
  color: #a3261b;
  font-size: 0.9rem;
  margin: 10px 0 0;
}
.fine-print {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 12px 0 0;
}
