/* BonnieJeanStudio app shell — matches the approved v6 home-screen layout */
:root {
  --mint-blue: #A8DCD8;
  --mint: #1E716A;
  --mint-deep: #11403D;
  --red: #D4000C;
  --red-dark: #9A0009;
  --yellow: #F8C21A;
  --yellow-soft: #FBE38A;
  --cream: #FFF3D9;
  --cream-deep: #F6E4B8;
  --paper: #FFFBF3;
  --ink: #1C2B2C;
  --olive: #6E7344;
  --white: #FFFAF4;
  --tan: #E8D7A8;
  --logo-cream: #FCF7F1;
  --muted: #5A6A6B;
  --mint-band: #B5D6CE;
  --tab-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--paper); color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 6px;
  background: var(--paper);
}
.app-header img.seal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.app-header .word {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--mint-deep);
}
.app-header .art-label {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-left: 4px;
}

.home-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  font-family: "Fredoka", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--mint);
}

.wrap { padding: 0 18px 24px; }
.kicker {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 4px;
}
.kicker.mint { color: var(--mint); }
h1.screen-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 30px;
  color: var(--mint-deep);
  margin: 0 0 8px;
  line-height: 1.15;
}
.lede {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}
.note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  margin: 12px 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  text-align: center;
}
.btn.wide { width: 100%; }
.btn.compact { min-height: 40px; font-size: 15px; padding: 8px 16px; }
.btn.teal { background: var(--mint); color: #fff; }
.btn.yellow { background: var(--yellow); color: var(--mint-deep); }
.btn.red { background: var(--red); color: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--mint-deep);
  border: 1.5px solid var(--tan);
}
.btn.mint-outline {
  background: transparent;
  color: var(--mint);
  border: 1.5px solid var(--mint);
}
.btn-row { display: flex; gap: 10px; margin: 8px 0 14px; }
.btn-row .btn { flex: 1; }

/* Home */
.home-hero { display: flex; justify-content: center; padding: 8px 0 10px; }
.home-hero img {
  width: min(220px, 52vw, 26vh);
  height: auto;
  background: transparent;
}
.home-cta { display: flex; gap: 10px; margin-bottom: 6px; }
.home-cta .btn { flex: 1; }
.newsletter-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 4px 0 14px;
  font-family: "Fredoka", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
}
.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.tile {
  background: var(--white);
  border: 1.5px solid var(--tan);
  border-radius: 16px;
  padding: 10px 8px 8px;
  text-align: center;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tile:active { opacity: 0.85; }
.tile img {
  width: 100%;
  max-width: 72px;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--logo-cream);
  border-radius: 12px;
}
.tile img.cover { object-fit: cover; }
.tile span {
  margin-top: 6px;
  font-family: "Fredoka", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint-deep);
}
.install-wrap { margin: 16px 0 8px; }
.install-wrap[hidden], .install-sheet[hidden] { display: none !important; }

/* Book / wellness lists */
.group { margin: 10px 0 16px; }
.group-title {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: var(--mint);
  margin: 0 0 6px;
}
.svc {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tan);
}
.svc-name { font-family: "Fredoka", sans-serif; font-size: 16px; color: var(--mint-deep); margin: 0 0 2px; }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.4; margin: 4px 0 0; }
.svc-price { font-family: "Fredoka", sans-serif; font-size: 16px; color: var(--mint-deep); text-align: right; margin: 0; }
.svc-dur { font-size: 12px; color: var(--muted); text-align: right; }
.session {
  background: var(--white);
  border: 1.5px solid var(--tan);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}
.session-top { display: flex; justify-content: space-between; gap: 10px; }

/* Shop */
.band {
  background: var(--mint-band);
  margin: 0 -18px 16px;
  padding: 14px 18px;
}
.art-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.art-head img {
  width: 72px; height: 72px; border-radius: 14px; object-fit: cover;
  background: var(--logo-cream); flex: 0 0 auto;
}
.byline {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--olive);
  margin: 2px 0 0;
}
.meet-bonnie { width: 100%; border-radius: 16px; margin: 0 0 16px; }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.prod {
  background: var(--white);
  border: 1.5px solid var(--tan);
  border-radius: 16px;
  overflow: hidden;
}
.prod img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prod-body { padding: 10px 10px 12px; }
.prod-title { font-family: "Fredoka", sans-serif; font-size: 14px; color: var(--mint-deep); margin: 0 0 4px; line-height: 1.25; }
.prod-price { font-size: 14px; color: var(--muted); margin: 0; }
.block-title {
  font-family: "Fredoka", sans-serif;
  font-size: 20px;
  color: var(--mint-deep);
  margin: 22px 0 6px;
}

/* Coming soon cards */
.soon {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--tan);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 10px;
}
.soon img { width: 100%; height: 160px; object-fit: cover; object-position: top; }
.soon-body { padding: 10px 12px 12px; }
.soon-title { font-family: "Fredoka", sans-serif; font-size: 16px; color: var(--mint-deep); margin: 0 0 4px; }
.soon-meta { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin: 0; }
.badge-soon {
  display: inline-block;
  background: var(--yellow);
  color: var(--mint-deep);
  font-family: "Fredoka", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.soon .badge-soon.over { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* Studio Post form */
.news-form { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 6px; }
.news-form label { font-family: "Fredoka", sans-serif; font-size: 14px; color: var(--mint-deep); }
.news-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--tan);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 16px;
  background: var(--white);
  color: var(--ink);
}
.news-form input[type="email"]::placeholder { color: #8A8078; }
.news-captcha { margin: 8px 0; min-height: 78px; }
.news-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* Tab bar */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--tan);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  font-family: "Fredoka", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--olive);
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.is-on { color: var(--mint-deep); }

/* Install popover */
.install-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 64, 61, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.install-card {
  width: min(420px, 100%);
  background: var(--paper);
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(17, 64, 61, 0.2);
}
.install-card .card-seal {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px;
}
.install-card h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 20px;
  color: var(--mint-deep);
  text-align: center;
  margin: 0 0 6px;
}
.install-card .lead {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}
.steps { list-style: none; margin: 0 0 16px; padding: 0; }
.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.step-num {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-ico {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  color: var(--mint-deep);
  margin-top: 2px;
}
.install-card .close-row { display: flex; justify-content: center; }

/* Gym + BJJ photos on the Wellness screen */
.wellness-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 18px;
}
.wellness-photos figure { margin: 0; }
.wellness-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: var(--logo-cream);
}
.wellness-photos img.thumb-gym { object-position: center center; }
.wellness-photos img.thumb-bjj { object-position: 68% 36%; }
.wellness-photos figcaption {
  font-family: "Fredoka", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--mint-deep);
  text-align: center;
  margin: 6px 0 0;
}

/* SEO: visible H1 on the app home */
.home-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  text-align: center;
  color: var(--mint-deep);
  margin: 0 0 12px;
}
