/*
Theme Name: Healthy Aging Sheryl
Theme URI: https://healthy-aging-sheryl.fwgsite.com/
Author: Sheryl Worthington
Description: Natural menopause support site: home, blog, recipes, products, about and contact pages.
Version: 1.4.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthy-aging-sheryl
*/

/* =====================================================================
   Healthy Aging Sheryl — shared stylesheet
   Display font: Cormorant Garamond · Body font: Nunito Sans
   Colors are HSL triples so they can take an alpha: hsl(var(--primary) / .5)
   ===================================================================== */

:root {
  --background: 0 0% 100%;
  --foreground: 168 30% 15%;
  --card: 0 0% 99%;
  --primary: 168 80% 22%;
  --primary-foreground: 0 0% 100%;
  --secondary: 350 50% 94%;
  --secondary-foreground: 168 30% 15%;
  --muted: 350 30% 92%;
  --muted-foreground: 168 15% 40%;
  --accent: 168 40% 75%;
  --accent-foreground: 168 30% 15%;
  --border: 168 15% 88%;
  --input: 168 15% 88%;
  --ring: 168 80% 22%;
  --radius: .5rem;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Nunito Sans", sans-serif;

  --shadow-soft: 0 4px 20px -4px hsl(168 30% 15% / .06);
  --shadow-elevated: 0 8px 40px -8px hsl(168 30% 15% / .1);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: hsl(var(--border));
}
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: inherit;
}
p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: transparent; padding: 0; }
[hidden] { display: none !important; }

/* icon sizes */
svg { flex-shrink: 0; }
.i-3 { width: .75rem; height: .75rem; }
.i-4 { width: 1rem; height: 1rem; }
.i-5 { width: 1.25rem; height: 1.25rem; }
.i-6 { width: 1.5rem; height: 1.5rem; }
.i-8 { width: 2rem; height: 2rem; }
.i-12 { width: 3rem; height: 3rem; }
.text-primary { color: hsl(var(--primary)); }
.link-hover { transition: color .2s cubic-bezier(.4, 0, .2, 1); }
.link-hover:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout ---------- */
.container-wide, .container-narrow {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container-wide { max-width: 72rem; }
.container-narrow { max-width: 48rem; }
@media (min-width: 1024px) {
  .container-wide, .container-narrow { padding-left: 2rem; padding-right: 2rem; }
}

.section { padding-top: 5rem; padding-bottom: 5rem; }
.bg-secondary { background-color: hsl(var(--secondary)); }
.band-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: hsl(var(--background) / .95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid hsl(var(--border));
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -.025em;
  color: hsl(var(--primary));
}
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.25rem;
  letter-spacing: .025em;
  color: hsl(var(--foreground));
  transition: color .15s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: hsl(var(--primary)); }
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-flex;
  padding: .5rem;
  transition: opacity .15s var(--ease);
}
.icon-btn:hover { opacity: .6; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { display: none; border-top: 1px solid hsl(var(--border)); background-color: hsl(var(--background)); }
.mobile-menu.open { display: block; }
.mobile-menu nav { padding-top: .5rem; padding-bottom: 1rem; }
.mobile-menu a {
  display: block;
  padding: .75rem 0;
  font-size: .875rem;
  letter-spacing: .025em;
}
.mobile-menu a.active { color: hsl(var(--primary)); }

@media (min-width: 1024px) {
  .nav { height: 5rem; }
  .logo { font-size: 1.5rem; line-height: 2rem; }
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 2.75rem;
  padding: 0 2rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  white-space: nowrap;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}
.btn svg { pointer-events: none; }
.btn .icon-after { margin-left: .5rem; }
.btn-primary { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-primary:hover { background-color: hsl(var(--primary) / .9); }
.btn-outline {
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
}
.btn-outline:hover { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-secondary { background-color: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn-secondary:hover { background-color: hsl(var(--secondary) / .8); }
.btn-ghost-light {
  border: 1px solid hsl(var(--primary-foreground));
  background-color: transparent;
  color: hsl(var(--primary-foreground));
}
.btn-ghost-light:hover { background-color: hsl(var(--primary-foreground) / .1); }
.btn-sm { height: 2.5rem; padding: .5rem 1rem; }
.btn-block { width: 100%; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: .75rem;
  line-height: 1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
.section-title {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; line-height: 2.5rem; }
}
.page-title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .page-title { font-size: 3rem; line-height: 1; }
}
.lede { max-width: 42rem; margin-left: auto; margin-right: auto; color: hsl(var(--muted-foreground)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.section-head-center { text-align: center; margin-bottom: 3rem; }
.section-head-center .section-title { margin-bottom: 1rem; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.view-all {
  display: none;
  align-items: center;
  font-size: .875rem;
  line-height: 1.25rem;
  color: hsl(var(--primary));
}
.view-all:hover { text-decoration: underline; }
.view-all svg { margin-left: .25rem; }
.mobile-cta { margin-top: 2rem; text-align: center; }
@media (min-width: 640px) {
  .view-all { display: flex; }
  .mobile-cta { display: none; }
}

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn .6s var(--ease) both; }
.animate-slide-up { animation: slideUp .6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .animate-fade-in, .animate-slide-up { animation: none; }
}

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  background-color: hsl(var(--secondary));
}
.hero > .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-copy { order: 2; }
.hero-art { order: 1; display: flex; justify-content: center; }
.hero .eyebrow { display: inline-block; margin-bottom: 1rem; }
.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 500;
  letter-spacing: -.025em;
}
.hero-lede {
  max-width: 32rem;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }
.portrait-wrap { position: relative; }
.portrait {
  width: 20rem; height: 20rem;
  overflow: hidden;
  border: 2px solid hsl(var(--background) / .5);
  border-radius: 9999px;
  box-shadow: var(--shadow-elevated);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.heart-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  padding: 1rem;
  border-radius: 9999px;
  background-color: hsl(var(--background));
  box-shadow: var(--shadow-soft);
}
.heart-badge svg { color: hsl(var(--primary)); }
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; line-height: 1; }
  .portrait { width: 420px; height: 420px; }
}
@media (min-width: 1024px) {
  .hero > .container-wide { padding-top: 8rem; padding-bottom: 8rem; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .hero h1 { font-size: 3.75rem; }
}

/* ---------- Home: feature tiles ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.feature {
  display: block;
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  transition: background-color .15s var(--ease);
}
.feature:hover { background-color: hsl(var(--secondary)); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / .1);
  transition: background-color .15s var(--ease);
}
.feature:hover .feature-icon { background-color: hsl(var(--primary) / .2); }
.feature-icon svg { color: hsl(var(--primary)); }
.feature h3 {
  margin-bottom: .5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}
.feature p { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Cards (blog, products) ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: hsl(var(--card));
}
.card.on-white { background-color: hsl(var(--background)); }
.card-hover { transition: all .5s var(--ease); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-.25rem); }
.card-media { overflow: hidden; background-color: hsl(var(--muted)); }
.card-media.ratio-16-10 { aspect-ratio: 16 / 10; }
.card-media.ratio-4-3 { aspect-ratio: 4 / 3; }
.card-media.tone-secondary { background-color: hsl(var(--secondary)); }
.image-zoom { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(0, 0, .2, 1); }
.image-zoom:hover { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.tag {
  font-size: .75rem;
  line-height: 1rem;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
.meta { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }
.card-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  transition: color .15s var(--ease);
}
.card:hover .card-title, .recipe:hover .card-title { color: hsl(var(--primary)); }
.card-text { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* home blog teaser */
.post-teaser .card-title { margin-top: .5rem; margin-bottom: .5rem; }
.post-teaser .meta { margin-top: 1rem; }

/* blog index */
.post-card .post-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.post-card .card-title { font-size: 1.25rem; margin-bottom: .5rem; }
.post-card .card-text { margin-bottom: 1rem; }
.read-more { display: inline-flex; align-items: center; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--primary)); }
.read-more svg { margin-left: .25rem; }

/* products */
.product-grid { max-width: 56rem; margin: 0 auto; }
.product-card .card-title { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: .5rem; }
.product-card .card-text { margin-bottom: 1rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.link-primary { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--primary)); }
.product-index .product-card .card-title { margin-bottom: .75rem; }
.product-index .badges { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.badge-download { display: flex; align-items: center; gap: .25rem; font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }
.center-cta { margin-top: 2.5rem; text-align: center; }

.supplement-note { margin-top: 4rem; text-align: center; }
.supplement-note-inner {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.supplement-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / .1);
}
.supplement-icon svg { color: hsl(var(--primary)); }
.supplement-note h2 { margin-bottom: .5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.supplement-note p { margin-bottom: 1rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.supplement-note a { display: inline-flex; align-items: center; font-size: .875rem; color: hsl(var(--primary)); }
.supplement-note a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .card-grid.cols-3-md { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Recipes ---------- */
.recipe { display: block; }
.recipe-media {
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.recipe .tag { display: block; }
.recipe .card-title { margin-top: .25rem; margin-bottom: .5rem; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.pill {
  padding: .25rem .5rem;
  border-radius: .25rem;
  background-color: hsl(var(--secondary));
  font-size: .75rem;
  line-height: 1rem;
}
.recipe-index .card-title { margin-top: 0; }
.recipe-stats { display: flex; align-items: center; gap: 1rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.recipe-stats span { display: flex; align-items: center; gap: .25rem; }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 3rem; }
.chip {
  padding: .625rem 1.25rem;
  border-radius: 9999px;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: .875rem;
  line-height: 1.25rem;
  transition: all .3s var(--ease);
}
.chip:hover { background-color: hsl(var(--muted)); }
.chip.active { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

/* ---------- About block (home) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.split-media { max-width: 28rem; margin: 0 auto; }
.split-media .frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.prose > * + * { margin-top: 1rem; }
.prose { color: hsl(var(--muted-foreground)); line-height: 1.625; }
.split .btn { margin-top: 2rem; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
  .split-media { margin-left: 0; margin-right: 0; }
  .split .first-lg { order: 1; }
  .split .second-lg { order: 2; }
}
.split .first-sm { order: 2; }
.split .second-sm { order: 1; }
@media (min-width: 1024px) {
  .split .first-sm { order: 1; }
  .split .second-sm { order: 2; }
}

/* ---------- Newsletter / CTA band ---------- */
.band-primary h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
}
@media (min-width: 768px) { .band-primary h2 { font-size: 1.875rem; line-height: 2.25rem; } }
.band-primary .band-text {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: hsl(var(--primary-foreground) / .8);
}
.band-center { text-align: center; }
.newsletter-form { display: flex; flex-direction: column; gap: .75rem; max-width: 28rem; margin: 0 auto; }
.newsletter-form input {
  flex: 1 1 0%;
  padding: .75rem 1rem;
  border: 0;
  border-radius: .25rem;
  background-color: hsl(var(--primary-foreground));
  color: hsl(var(--foreground));
  font-size: .875rem;
  line-height: 1.25rem;
}
.newsletter-form input::placeholder { color: hsl(var(--muted-foreground)); }
.newsletter-form input:focus { outline: none; box-shadow: 0 0 0 2px hsl(var(--primary-foreground) / .5); }
.newsletter-form .btn { padding: .5rem 1.5rem; }
.fine-print { margin-top: 1rem; font-size: .75rem; line-height: 1rem; color: hsl(var(--primary-foreground) / .6); }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
  .cta-actions { flex-direction: row; }
}

/* ---------- About page ---------- */
.about-main { padding-top: 2rem; }
@media (min-width: 1024px) { .about-main { padding-top: 3rem; } }
.about-hero { padding-top: 3rem; padding-bottom: 3rem; }
.about-hero h1 { margin-top: .5rem; margin-bottom: 1.5rem; }
.about-hero .page-title { margin-top: .5rem; margin-bottom: 1.5rem; }
.about-sub { margin-bottom: 1.5rem; font-size: 1.25rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.social-row { display: flex; gap: 1rem; }
.social-circle {
  padding: .75rem;
  border-radius: 9999px;
  background-color: hsl(var(--secondary));
  transition: background-color .15s var(--ease);
}
.social-circle:hover { background-color: hsl(var(--muted)); }
.about-portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.story-title { margin-bottom: 2rem; text-align: center; font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; }
.story { font-size: 1.125rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.story > * + * { margin-top: 1.5rem; }
.highlight {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-align: center;
}
.highlight.pad-y { padding: 1rem 0; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.5rem 0; }
.story-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  text-align: center;
  border-radius: var(--radius);
  background-color: hsl(var(--background));
}
.story-tile svg { margin-bottom: .5rem; color: hsl(var(--primary)); }
.story-tile span { font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: hsl(var(--foreground)); }
.story-tile:last-child { grid-column: span 2; }
@media (min-width: 768px) {
  .story-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .story-tile:last-child { grid-column: span 1; }
}
.mission-title { margin-bottom: 1.5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; }
.mission-list > li { display: flex; align-items: center; gap: .75rem; }
.mission-list > li + li { margin-top: .75rem; }
.mission-list svg { color: hsl(var(--primary)); }
.signoff { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--primary)); }
.mission .highlight, .mission .prose .highlight { text-align: left; }
.cta-band-sm { padding-top: 4rem; padding-bottom: 4rem; }

/* ---------- Page header (blog, recipes, products, contact) ---------- */
.page-main { padding-top: 6rem; }
@media (min-width: 1024px) { .page-main { padding-top: 7rem; } }
.page-wrap { padding-top: 3rem; padding-bottom: 3rem; }
.page-head { text-align: center; margin-bottom: 3rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.contact-grid h2 { margin-bottom: 1.5rem; font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
.form-stack > * + * { margin-top: 1.5rem; }
.name-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .875rem; line-height: 1; font-weight: 500; }
.input {
  display: flex;
  width: 100%;
  height: 2.5rem;
  padding: .5rem .75rem;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 2px);
  background-color: hsl(var(--background));
  font-size: 1rem;
  line-height: 1.5rem;
}
.input::placeholder { color: hsl(var(--muted-foreground)); }
.input:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}
textarea.input { height: auto; min-height: 60px; font-size: .875rem; line-height: 1.25rem; resize: vertical; }
@media (min-width: 768px) { .input { font-size: .875rem; line-height: 1.25rem; } }

.contact-line { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.contact-badge {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background-color: hsl(var(--secondary));
}
.contact-badge svg { color: hsl(var(--primary)); }
.contact-line .label { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.contact-line a { font-weight: 500; transition: color .15s var(--ease); }
.contact-line a:hover { color: hsl(var(--primary)); }
.follow-title { margin-bottom: 1rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.follow-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.5rem; }
.follow-list a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
  transition: background-color .15s var(--ease);
}
.follow-list a:hover { background-color: hsl(var(--muted)); }
.follow-list span { font-size: .875rem; line-height: 1.25rem; }

.faq { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid hsl(var(--border)); }
.faq-head { text-align: center; margin-bottom: 4rem; }
.faq-head h2 { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 500; }
.faq-head p { max-width: 42rem; margin: 0 auto; font-size: 1.125rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); }
.accordion { max-width: 56rem; margin: 0 auto; }
.faq-item { padding: .5rem 0; border-bottom: 1px solid hsl(var(--border)); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { text-decoration: underline; }
.faq-item summary svg { transition: transform .2s ease-out; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer { padding-bottom: 1rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 5rem; border-top: 1px solid hsl(var(--border)); }
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -.025em;
}
.footer-brand p { max-width: 24rem; margin-top: 1rem; font-size: .875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social a { padding: .5rem; transition: color .15s var(--ease); }
.social a:hover { color: hsl(var(--primary)); }
.footer-col h4 { margin-bottom: 1rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.footer-col ul > li + li { margin-top: .75rem; }
.footer-col li a { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); transition: color .15s var(--ease); }
.footer-col li a:hover { color: hsl(var(--foreground)); }
.footer-col .mail-line { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.footer-col .mail-line a:hover { color: hsl(var(--foreground)); }
.footer-col .more { margin-top: 1.5rem; }
.footer-col .more a { font-size: .875rem; color: hsl(var(--primary)); }
.footer-col .more a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}
.footer-bottom p { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .footer-inner { padding-top: 4rem; padding-bottom: 4rem; }
  .footer-grid { gap: 3rem; }
}

/* ---------- Forms: status line ---------- */
.form-status {
  margin-top: .75rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.form-status:empty { display: none; }
.form-stack > .form-status { margin-top: .75rem; }
.band-primary .form-status { color: hsl(var(--primary-foreground) / .9); }

/* ---------- Small helpers ---------- */
.split .section-title { margin-bottom: 1.5rem; }

/* ---------- Detail pages: shared ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 2rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
  transition: color .2s cubic-bezier(.4, 0, .2, 1);
}
.back-link:hover { color: hsl(var(--foreground)); }
.back-link svg { margin-right: .5rem; }

/* ---------- Blog post ---------- */
.article-head { margin-bottom: 2rem; }
.article-cat {
  font-size: .875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .025em;
  color: hsl(var(--primary));
}
.article-title {
  margin: .5rem 0 1.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 500;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.article-meta span { display: inline-flex; align-items: center; gap: .375rem; }
.article-hero {
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.prose-content {
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}
.prose-content p { margin-bottom: 1rem; }
.prose-content strong { font-weight: 600; }
.prose-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}
.prose-content h3 {
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}
.prose-content ul { margin-bottom: 1rem; list-style-position: inside; list-style-type: disc; }
.prose-content ol { margin-bottom: 1rem; list-style-position: inside; list-style-type: decimal; }
.prose-content li + li { margin-top: .5rem; }

.share {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}
.share-row { display: flex; align-items: center; gap: 1rem; }
.share-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.share-btns { display: flex; gap: .5rem; }
.share-btn {
  display: inline-flex;
  padding: .5rem;
  border-radius: 9999px;
  background-color: hsl(var(--secondary));
  transition: background-color .2s cubic-bezier(.4, 0, .2, 1);
}
.share-btn:hover { background-color: hsl(var(--muted)); }

@media (min-width: 768px) {
  .article-title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .article-title { font-size: 3rem; line-height: 1; }
}

/* ---------- Recipe ---------- */
.recipe-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.recipe-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pill-primary {
  padding: .25rem .75rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  font-size: .75rem;
  line-height: 1rem;
}
.recipe-title {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 500;
}
.recipe-lede { margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); }
.recipe-facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.fact { display: flex; align-items: center; gap: .5rem; }
.fact svg { color: hsl(var(--primary)); }
.fact-label { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }
.fact-value { font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.recipe-actions { display: flex; gap: .75rem; }
.btn-label { display: inline; }

.recipe-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
}
.recipe-h2 { margin-bottom: 1.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.ingredients > li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; line-height: 1.25rem; }
.ingredients > li + li { margin-top: .75rem; }
.ingredients .dot {
  flex-shrink: 0;
  width: .5rem; height: .5rem;
  margin-top: .375rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
}
.steps > li { display: flex; gap: 1rem; }
.steps > li + li { margin-top: 1.5rem; }
.step-num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.steps p { padding-top: .25rem; color: hsl(var(--muted-foreground)); }
.nutrition {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.nutrition h3 { margin-bottom: .5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.nutrition p { font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }

@media (min-width: 768px) {
  .recipe-title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
  .recipe-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .recipe-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4rem; }
  .recipe-steps-col { grid-column: span 2 / span 2; }
}

/* hidden spam trap in forms: people never see it, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Shop: header cart ---------- */
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -.125rem; right: -.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
}
.cart-badge[hidden] { display: none; }
body.no-scroll { overflow: hidden; }
.cart-overlay[hidden], .cart-drawer[hidden], .cart-empty[hidden], .cart-body[hidden], .cart-foot[hidden] { display: none; }
.buy-add { flex: 1 1 0%; }
@keyframes cartFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cartSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-overlay { animation: cartFade .3s ease-out; }
.cart-drawer { animation: cartSlide .3s ease-out; }
@media (prefers-reduced-motion: reduce) { .cart-overlay, .cart-drawer { animation: none; } }

/* ---------- Shop: cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: hsl(var(--foreground) / .2);
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  height: 100%;
  background-color: hsl(var(--background));
  box-shadow: var(--shadow-elevated);
}
.cart-drawer:focus { outline: none; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}
.cart-head h2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.cart-close { padding: .25rem; }
.cart-body { flex: 1 1 auto; overflow-y: auto; padding: 1.5rem; }
.cart-empty {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.cart-empty svg { width: 3rem; height: 3rem; margin-bottom: 1rem; color: hsl(var(--muted-foreground)); }
.cart-empty p { margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); }
.cart-item { display: flex; gap: 1rem; }
.cart-item + .cart-item { margin-top: 1.5rem; }
.cart-thumb {
  flex-shrink: 0;
  display: block;
  width: 5rem; height: 6rem;
  overflow: hidden;
  border-radius: .25rem;
  background-color: hsl(var(--secondary));
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { flex: 1 1 0%; min-width: 0; }
.cart-name { font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.cart-name a:hover { opacity: .7; }
.cart-price { margin-top: .125rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.cart-qty { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.cart-qty .count { width: 1.5rem; text-align: center; font-size: .875rem; line-height: 1.25rem; }
.qty-btn { padding: .25rem; border-radius: .25rem; transition: background-color .2s cubic-bezier(.4, 0, .2, 1); }
.qty-btn:hover { background-color: hsl(var(--secondary)); }
.cart-remove {
  margin-left: auto;
  font-size: .75rem;
  line-height: 1rem;
  color: hsl(var(--muted-foreground));
  transition: color .2s cubic-bezier(.4, 0, .2, 1);
}
.cart-remove:hover { color: hsl(var(--foreground)); }
.cart-foot { padding: 1.5rem; border-top: 1px solid hsl(var(--border)); }
.cart-foot > * + * { margin-top: 1rem; }
.cart-row { display: flex; justify-content: space-between; font-size: .875rem; line-height: 1.25rem; }
.cart-row span:first-child { color: hsl(var(--muted-foreground)); }
.cart-row span:last-child { font-weight: 500; }
.cart-note { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }

/* ---------- Shop: product page ---------- */
.back-wrap { padding: 1.5rem 0; }
.back-wrap .back-link { margin-bottom: 0; }
.product-detail { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; }
.product-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.product-kicker .cat { font-size: .75rem; line-height: 1rem; letter-spacing: .2em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.product-kicker .dl { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; line-height: 1rem; color: hsl(var(--primary)); }
.product-title { margin: .5rem 0 1rem; font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
.product-price { margin-bottom: 1.5rem; font-size: 1.25rem; line-height: 1.75rem; }
.product-desc { margin-bottom: 2rem; line-height: 1.625; color: hsl(var(--muted-foreground)); }
.buy-row { display: flex; gap: 1rem; margin-bottom: 2rem; }
.qty-box { display: flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: .25rem; }
.qty-box button { padding: .75rem 1rem; transition: background-color .2s cubic-bezier(.4, 0, .2, 1); }
.qty-box button:hover { background-color: hsl(var(--secondary)); }
.qty-box .val { min-width: 48px; padding: .75rem 1rem; text-align: center; }
.learn { padding-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.learn h3 { margin-bottom: 1rem; font-family: var(--font-body); font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.learn li { display: flex; align-items: flex-start; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.learn li + li { margin-top: .5rem; }
.learn .dot { flex-shrink: 0; width: .375rem; height: .375rem; margin: .5rem .75rem 0 0; border-radius: 9999px; background-color: hsl(var(--primary)); }
.related { padding: 5rem 0; border-top: 1px solid hsl(var(--border)); }
.related h2 { margin-bottom: 2.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.related-card { display: block; }
.related-media {
  position: relative;
  aspect-ratio: 3 / 4;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: hsl(var(--secondary));
}
.related-media img { width: 100%; height: 100%; object-fit: cover; }
.related-badge {
  position: absolute;
  top: .75rem; right: .75rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.related-card .cat { display: block; font-size: .75rem; line-height: 1rem; letter-spacing: .025em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.related-card h3 { margin-top: .25rem; font-family: var(--font-body); font-size: .875rem; line-height: 1.25rem; font-weight: 500; transition: color .2s cubic-bezier(.4, 0, .2, 1); }
.related-card:hover h3 { color: hsl(var(--primary)); }
.related-card .price { margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; line-height: 2.25rem; } }
@media (min-width: 1024px) {
  .product-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .product-info { padding: 2.5rem 0; }
  .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .related h2 { font-size: 1.5rem; line-height: 2rem; }
}

/* ---------- Shop: checkout ---------- */
.checkout-page { min-height: 100vh; }
.checkout-wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.checkout-title { margin-bottom: 2.5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.co-summary { order: 2; }
.co-form { order: 1; }
.checkout-grid h2 { margin-bottom: 1.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; }
.co-items { margin-bottom: 2rem; }
.co-item { display: flex; gap: 1rem; }
.co-item + .co-item { margin-top: 1.5rem; }
.co-thumb { flex-shrink: 0; width: 5rem; height: 6rem; overflow: hidden; border-radius: .25rem; background-color: hsl(var(--secondary)); }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-info { flex: 1 1 0%; min-width: 0; }
.co-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; line-height: 1.25rem; font-weight: 500; transition: opacity .2s cubic-bezier(.4, 0, .2, 1); }
.co-name:hover { opacity: .7; }
.co-tag { display: flex; align-items: center; gap: .5rem; margin-top: .25rem; font-size: .75rem; line-height: 1rem; color: hsl(var(--primary)); }
.co-unit { margin-top: .125rem; font-size: .875rem; line-height: 1.25rem; color: hsl(var(--muted-foreground)); }
.co-item .cart-qty .trash { margin-left: auto; padding: .25rem; color: hsl(var(--muted-foreground)); transition: color .2s cubic-bezier(.4, 0, .2, 1); }
.co-item .cart-qty .trash:hover { color: hsl(0 84% 60%); }
.co-line { font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.co-totals { padding-top: 1.5rem; border-top: 1px solid hsl(var(--border)); }
.co-totals > * + * { margin-top: .75rem; }
.co-totals .row { display: flex; justify-content: space-between; font-size: .875rem; line-height: 1.25rem; }
.co-totals .row span:first-child { color: hsl(var(--muted-foreground)); }
.co-totals .total { padding-top: .75rem; border-top: 1px solid hsl(var(--border)); font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.co-totals .total span:first-child { color: inherit; }
.co-form form > * + * { margin-top: 2rem; }
.co-info-box { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border-radius: var(--radius); background-color: hsl(var(--secondary)); }
.co-info-box svg { margin-top: .125rem; color: hsl(var(--primary)); }
.co-info-box h3 { margin-bottom: .25rem; font-family: var(--font-body); font-size: .875rem; line-height: 1.25rem; font-weight: 500; }
.co-info-box p { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); }
.co-form h2 { margin-bottom: 1rem; }
.co-fields > * + * { margin-top: .75rem; }
.co-fields .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.input-lg {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: .25rem;
  background-color: hsl(var(--background));
  font-size: .875rem;
  line-height: 1.25rem;
}
.input-lg::placeholder { color: hsl(var(--muted-foreground)); }
.input-lg:focus { outline: none; box-shadow: 0 0 0 1px hsl(var(--ring)); }
.co-small { font-size: .75rem; line-height: 1rem; color: hsl(var(--muted-foreground)); text-align: center; }
.co-status:empty { display: none; }
.co-status { padding: 1rem; border-radius: var(--radius); background-color: hsl(var(--secondary)); font-size: .875rem; line-height: 1.25rem; }
.co-status ul { margin-top: .5rem; }
.co-status li + li { margin-top: .25rem; }
.co-status a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px; }
.co-empty { padding: 4rem 0; text-align: center; }
.co-empty p { margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); }
.co-empty[hidden], .checkout-grid[hidden] { display: none; }
@media (min-width: 768px) { .checkout-title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
  .co-summary { order: 1; }
  .co-form { order: 2; }
}

/* ---------- Print (recipe cards, articles) ---------- */
@media print {
  .site-header, .site-footer, .recipe-actions, .share, .back-link { display: none !important; }
  .page-main { padding-top: 0; }
  .page-wrap { padding-top: 0; }
  .animate-fade-in, .animate-slide-up { animation: none; opacity: 1; transform: none; }
}

/* ---------- Product covers, Coming Soon, introductory price ---------- */
/* the covers are book mock-ups on a transparent background: show the whole book, never crop it */
.card-media, .product-photo { position: relative; }
.card-media img.cover, .product-photo img.cover, .related-media img.cover { padding: .5rem; }
.card-media.ratio-4-3 img.cover { object-fit: contain; }

.soon-badge {
  position: absolute;
  top: .75rem; right: .75rem;
  padding: .25rem .75rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.price-soon, .product-price-soon {
  color: hsl(var(--primary));
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-price-soon { margin-bottom: 1.5rem; }
.intro-tag {
  display: inline-block;
  margin-left: .625rem;
  padding: .125rem .625rem;
  border-radius: 9999px;
  background-color: hsl(var(--secondary));
  color: hsl(var(--primary));
  font-family: var(--font-body);
  font-size: .6875rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.product-foot { flex-wrap: wrap; gap: .5rem 1rem; }
.buy-add:disabled { opacity: .55; cursor: not-allowed; }
.buy-add:disabled:hover { background-color: hsl(var(--primary)); }

/* long product names: let the checkout summary shrink and the name wrap, instead of widening the page */
.checkout-grid > *, .co-summary, .co-form { min-width: 0; }
.co-name { white-space: normal; }


/* ---------- WordPress extras ---------- */
/* keep the fixed header below the admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* embedded forms (systeme.io etc.) */
.embed-slot { max-width: 100%; }
.embed-slot iframe { max-width: 100%; border: 0; }
.band-primary .embed-slot { max-width: 30rem; margin: 0 auto; padding: 1rem; border-radius: var(--radius); background-color: hsl(var(--background)); color: hsl(var(--foreground)); text-align: left; }

/* fallback pages (posts, generic pages) */
.entry + .entry { margin-top: 3rem; }
.entry-content { color: hsl(var(--muted-foreground)); line-height: 1.625; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); color: hsl(var(--foreground)); font-weight: 500; }
.entry-content a, .page-title a:hover { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-nav { margin-top: 2rem; text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
