:root {
  --bg: #fffffe;
  --primary-1: #f7dad5;
  --primary-2: #afd8c0;
  --text: #303132;
  --muted: #5f6162;
  --surface: #ffffff;
  --border: #ece9e7;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 10px 28px rgba(48, 49, 50, 0.08);
  --shadow-strong: 0 14px 30px rgba(48, 49, 50, 0.16);
  --premium-glow: 0 0 0 1px rgba(175, 216, 192, 0.6), 0 16px 34px rgba(175, 216, 192, 0.25);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --container: 1120px;
  --wa-green: #25d366;
  --cursor-x: 50%;
  --cursor-y: 50%;
  --fruit-pattern-size: 760px;
  --header-offset: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background: radial-gradient(circle at top right, rgba(247, 218, 213, 0.34), transparent 40%), var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image: url("../img/fruit-pattern.svg");
  background-repeat: repeat;
  background-position: top left;
  background-size: var(--fruit-pattern-size) auto;
  opacity: 0.015;
  filter: grayscale(1) brightness(1.08) contrast(0.85);
}

body::after {
  opacity: 0;
  background-image:
    radial-gradient(circle 110px at var(--cursor-x) var(--cursor-y), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle 220px at var(--cursor-x) var(--cursor-y), rgba(175, 216, 192, 0.34) 0, rgba(247, 218, 213, 0.2) 44%, transparent 76%),
    url("../img/fruit-pattern.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: center, center, top left;
  background-size: auto, auto, var(--fruit-pattern-size) auto;
  filter:
    drop-shadow(0 0 18px rgba(175, 216, 192, 0.22))
    drop-shadow(0 0 26px rgba(247, 218, 213, 0.18))
    brightness(1.08);
  -webkit-mask-image: radial-gradient(circle 230px at var(--cursor-x) var(--cursor-y), rgba(0, 0, 0, 1) 0, rgba(0, 0, 0, 0.78) 34%, transparent 70%);
  mask-image: radial-gradient(circle 230px at var(--cursor-x) var(--cursor-y), rgba(0, 0, 0, 1) 0, rgba(0, 0, 0, 0.78) 34%, transparent 70%);
  transition: opacity 0.24s ease;
}

body.has-pointer-glow::after {
  opacity: 0.22;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[data-review-track]:focus-visible {
  outline: 3px solid var(--primary-2);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-6);
}

.section-head {
  margin-bottom: var(--space-5);
}

.section-kicker {
  display: inline-block;
  margin-bottom: var(--space-1);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: var(--space-2);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.25;
  color: #232425;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-3);
  color: var(--muted);
}

ul,
ol {
  margin-top: 0;
  margin-bottom: var(--space-3);
  padding-left: 1.15rem;
}

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-offset);
}

main {
  flex: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 30;
  border-bottom: 1px solid rgba(236, 233, 231, 0.75);
  background: rgba(255, 255, 254, 0.92);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 18px rgba(48, 49, 50, 0.1);
}

.header-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo img {
  display: block;
  width: auto;
  height: clamp(52px, 7vw, 74px);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: var(--text);
  border-radius: 2px;
}

.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  z-index: 90;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
  max-height: calc(100dvh - 110px);
  overflow: auto;
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

body.nav-open {
  overflow: hidden;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(247, 218, 213, 0.45);
}

.main-nav .nav-login {
  justify-content: center;
  background: linear-gradient(120deg, var(--primary-2), #c8e7d6);
  color: #243127;
  box-shadow: 0 8px 20px rgba(175, 216, 192, 0.35);
}

.main-nav .nav-login:hover,
.main-nav .nav-login.active {
  background: linear-gradient(120deg, #a5ceb7, #d2ecde);
}

.btn,
button,
input[type="submit"] {
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--premium-glow);
}

.btn-primary {
  color: #232425;
  background: linear-gradient(120deg, var(--primary-1), #fce9e5);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  color: #2b4233;
  background: linear-gradient(120deg, var(--primary-2), #cde9db);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  color: var(--text);
  border-color: #d5d2cf;
  background: #fff;
}

.hero {
  padding-block: var(--space-7) var(--space-6);
}

.hero-inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.hero-art {
  border-radius: var(--radius-lg);
  min-height: 280px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.95), transparent 38%),
    radial-gradient(circle at 80% 80%, rgba(175, 216, 192, 0.6), transparent 42%),
    linear-gradient(145deg, #f9eeeb, #e8f3ec);
  box-shadow: var(--shadow-soft);
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(145deg, #f9eeeb, #e8f3ec);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero .hero-actions {
  margin-top: var(--space-3);
}

.hero-inner--single {
  width: min(100%, var(--container));
  grid-template-columns: 1fr;
  max-width: var(--container);
  margin-inline: auto;
  align-items: start;
  justify-items: stretch;
}

.hero-inner--single > * {
  max-width: 760px;
}

.hero-inner.hero-inner--single {
  grid-template-columns: 1fr;
}

.services-more {
  margin-top: var(--space-4);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--premium-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fffffe;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--premium-glow);
}

.service-image-wrap {
  position: relative;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-content {
  position: relative;
  margin-top: 0;
  padding: var(--space-4);
}

.service-badge {
  display: none;
}

.service-title {
  margin-bottom: 0.55rem;
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
}

.service-underline {
  width: 64px;
  height: 2px;
  margin: 0 auto var(--space-3);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary-1), var(--primary-2));
}

.service-desc {
  margin-bottom: var(--space-4);
}

.service-card .btn {
  min-width: 190px;
}

.service-details {
  display: grid;
  gap: var(--space-5);
}

.service-detail {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: var(--space-4);
}

.service-detail .service-content {
  margin-top: 0;
  padding: 0;
  text-align: left;
}

.service-detail .service-title {
  margin-top: 0;
}

.service-detail .service-underline {
  margin-left: 0;
}

.service-detail .service-image {
  border-radius: var(--radius-md);
}

.service-detail ul {
  margin-bottom: var(--space-4);
}

.card .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: #616464;
}

.badge-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.66rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(175, 216, 192, 0.22);
  color: #2c4636;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.8rem;
  color: #4f5253;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary-1), var(--primary-2));
  box-shadow: 0 0 0 4px rgba(247, 218, 213, 0.3);
}

.why-process-card {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background:
    radial-gradient(circle at top right, rgba(175, 216, 192, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 245, 0.98));
}

.why-process-card h2 {
  max-width: 12ch;
}

.why-process-card p {
  max-width: 68ch;
}

.why-process-card .feature-list {
  margin-top: var(--space-4);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  text-align: center;
  background: #fff;
}

.stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #222;
}

.cta-band {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(247, 218, 213, 0.75), rgba(175, 216, 192, 0.7));
  box-shadow: var(--shadow-soft);
}

.reviews-section {
  padding-top: 0;
}

.reviews-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.review-section-head {
  margin-bottom: 0;
}

.review-section-head p {
  margin-bottom: 0;
  max-width: 62ch;
}

.reviews-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.review-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.review-nav__button {
  width: 44px;
  height: 44px;
  border: 1px solid #d7d2cf;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.review-nav__button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--premium-glow);
}

.review-nav__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 34vw, 360px);
  gap: var(--space-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: rgba(48, 49, 50, 0.22) transparent;
}

.review-track::-webkit-scrollbar {
  height: 8px;
}

.review-track::-webkit-scrollbar-thumb {
  background: rgba(48, 49, 50, 0.22);
  border-radius: 999px;
}

.review-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 100%;
  padding: var(--space-4);
  border: 1px solid rgba(236, 233, 231, 0.9);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(175, 216, 192, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 245, 0.98));
  box-shadow: var(--shadow-soft);
}

.review-card__eyebrow,
.review-card__source {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-card__eyebrow {
  color: #2c4435;
  background: rgba(175, 216, 192, 0.26);
}

.review-card h3 {
  margin-bottom: 0;
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.review-stars {
  display: inline-block;
  width: 104px;
  height: 20px;
  flex-shrink: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 20' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='110' y2='0' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F8D86A'/%3E%3Cstop offset='1' stop-color='%23E7A71E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)' stroke='%23D59517' stroke-width='.7'%3E%3Cpath d='M10 1.6l2.5 5.1 5.6.8-4.1 4 .9 5.6-4.9-2.6-4.9 2.6.9-5.6-4.1-4 5.6-.8L10 1.6Z'/%3E%3Cpath d='M32.5 1.6 35 6.7l5.6.8-4.1 4 .9 5.6-4.9-2.6-4.9 2.6.9-5.6-4.1-4 5.6-.8 2.5-5.1Z'/%3E%3Cpath d='M55 1.6l2.5 5.1 5.6.8-4.1 4 .9 5.6-4.9-2.6-4.9 2.6.9-5.6-4.1-4 5.6-.8L55 1.6Z'/%3E%3Cpath d='M77.5 1.6 80 6.7l5.6.8-4.1 4 .9 5.6-4.9-2.6-4.9 2.6.9-5.6-4.1-4 5.6-.8 2.5-5.1Z'/%3E%3Cpath d='M100 1.6l2.5 5.1 5.6.8-4.1 4 .9 5.6-4.9-2.6-4.9 2.6.9-5.6-4.1-4 5.6-.8 2.5-5.1Z'/%3E%3C/g%3E%3C/svg%3E")
      left center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 4px rgba(231, 167, 30, 0.18));
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  vertical-align: middle;
}

.review-card p {
  margin-bottom: 0;
}

.review-card__source {
  margin-top: auto;
  color: #5d5e5f;
  background: rgba(247, 218, 213, 0.34);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: var(--space-4);
}

.chip {
  margin: 0;
  border: 1px solid #d9d4d1;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.9rem;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.chip.is-active {
  border-color: transparent;
  background: rgba(247, 218, 213, 0.65);
  color: var(--text);
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(175, 216, 192, 0.72);
  box-shadow: var(--shadow-soft);
}

.blog-filter-empty {
  margin-top: var(--space-4);
  text-align: center;
  color: var(--muted);
}

.article {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.article-cover {
  margin-bottom: var(--space-4);
  min-height: 220px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #f9ece8, #eaf4ee);
}

blockquote {
  margin: var(--space-4) 0;
  padding: var(--space-3) var(--space-4);
  border-left: 4px solid var(--primary-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(175, 216, 192, 0.12);
  color: #3d5550;
  font-style: italic;
}

.recipe-layout {
  display: grid;
  gap: var(--space-4);
}

.hero-photo--services img {
  object-position: center;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: #4e5051;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3e8f66;
  font-weight: 700;
}

.calculator-grid {
  display: grid;
  gap: var(--space-4);
}

.calc-form {
  display: grid;
  gap: var(--space-2);
}

.form-row {
  display: grid;
  gap: var(--space-1);
}

label {
  font-weight: 600;
  color: #404243;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d8d4d1;
  border-radius: 12px;
  padding: 0.68rem 0.8rem;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkbox-row input {
  width: auto;
}

.result-box {
  margin-top: var(--space-2);
  border: 1px dashed #c9c5c1;
  border-radius: 12px;
  padding: 0.75rem;
  color: #3a3c3d;
  background: #fffdfc;
}

.muted-note {
  margin-top: 0.45rem;
  font-size: 0.86rem;
  color: #6d7071;
}

.contact-layout {
  display: grid;
  gap: var(--space-4);
}

.info-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  background: #fff;
}

.map-placeholder,
.map-embed {
  min-height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(247, 218, 213, 0.4), rgba(175, 216, 192, 0.35));
  box-shadow: var(--shadow-soft);
}

.map-placeholder {
  border: 1px dashed #d3cecb;
  display: grid;
  place-items: center;
  color: #49504e;
  font-weight: 600;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.login-hero {
  padding-block: var(--space-7);
}

.login-card {
  max-width: 460px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.inline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.site-footer {
  margin-top: var(--space-6);
  border-top: 1px solid rgba(236, 233, 231, 0.85);
  background: #fff;
  padding-top: var(--space-5);
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
}

.footer-title {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: #000;
}

.social-list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 40px;
  min-width: 0;
  max-width: 100%;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  border-radius: 999px;
  border: 1px solid #dcd7d4;
  font-size: 0.92rem;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(175, 216, 192, 0.8);
  box-shadow: 0 10px 24px rgba(48, 49, 50, 0.08);
}

.social-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 30px;
  border-radius: 8px;
}

.social-link span {
  display: block;
  line-height: 1;
}

.legal-stack {
  display: grid;
  gap: var(--space-4);
}

.legal-card h2,
.legal-card h3 {
  margin-bottom: var(--space-2);
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.form-status {
  display: none;
  margin-bottom: var(--space-3);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #284236;
  background: rgba(175, 216, 192, 0.24);
  border-color: rgba(175, 216, 192, 0.7);
}

.form-status.is-error {
  color: #6c3030;
  background: rgba(247, 218, 213, 0.34);
  border-color: rgba(247, 218, 213, 0.82);
}

.footer-bottom {
  margin-top: var(--space-5);
  padding-block: var(--space-3);
  border-top: 1px solid #efebe8;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.1rem);
  z-index: 55;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent url("../img/whatsapp.png") center / cover no-repeat;
  box-shadow: 0 12px 26px rgba(48, 49, 50, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 30px rgba(48, 49, 50, 0.24);
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .section {
    padding-block: 2.4rem;
  }

  .hero {
    padding-top: 1.8rem;
    padding-bottom: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 0.85rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem);
    width: 48px;
    height: 48px;
    box-shadow: 0 10px 20px rgba(48, 49, 50, 0.16);
  }

  .hero-inner {
    gap: var(--space-3);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.4rem);
    line-height: 1.05;
  }

  .hero p {
    font-size: 0.98rem;
    margin-bottom: var(--space-2);
  }

  .reviews-actions {
    width: 100%;
    justify-content: space-between;
  }

  .review-track {
    grid-auto-columns: 84%;
  }

  .hero-photo {
    min-height: 0;
  }

  .hero-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 4.8;
    object-fit: cover;
    object-position: center 18%;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body::after {
    display: none;
  }
}

@media (min-width: 768px) {
  .grid.two-up,
  .grid.three-up,
  .calculator-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-inner.hero-inner--single {
    grid-template-columns: 1fr;
  }

  .recipe-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    z-index: 80;
  }

  .site-header.menu-open {
    z-index: 120;
  }

  .reviews-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .main-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }

  .main-nav a {
    width: auto;
    justify-content: center;
    padding: 0.45rem 0.65rem;
  }

  .grid.three-up,
  .calculator-grid,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ============ Form & Auth additions ============ */
.flash {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
}
.flash-success { background: #ecf6ee; border-color: #bedcc4; color: #1f4a30; }
.flash-error   { background: #fbeceb; border-color: #e8c2bd; color: #6c1d18; }
.flash-info    { background: #eef3fb; border-color: #c1d2ed; color: #1f3357; }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field .err  { font-size: 0.85rem; color: #b3261e; }
.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid #e1d8d4;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(175, 216, 192, 0.35);
}
.textarea { min-height: 120px; resize: vertical; }
.checkbox-row {
  display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: var(--muted);
}
.checkbox-row input { margin-top: 0.2rem; }

.auth-card {
  max-width: 440px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 2rem;
}
.auth-card h1 { margin: 0 0 1.5rem; font-family: 'Playfair Display', serif; font-size: 1.75rem; }
.auth-divider { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 1rem 0; }
.auth-meta { font-size: 0.9rem; color: var(--muted); text-align: center; margin-top: 1rem; }
.btn-google {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #fff; color: var(--text);
  border: 1px solid #ddd; border-radius: var(--radius-md);
  padding: 0.7rem 1rem; font-weight: 600; cursor: pointer;
}
.btn-google:hover { background: #f7f7f7; }
.btn-block { width: 100%; }

/* ============ Dashboard ============ */
.dash-shell {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 2rem; padding: 2rem 0;
}
@media (max-width: 768px) { .dash-shell { grid-template-columns: 1fr; padding: 1rem 0; } }
.dash-side {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 1.25rem; height: fit-content;
}
.dash-side .menu-title { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.5rem; }
.dash-side ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.dash-side a {
  display: block; padding: 0.6rem 0.8rem; border-radius: var(--radius-md);
  color: var(--text); text-decoration: none;
}
.dash-side a:hover, .dash-side a.active { background: var(--primary-1); color: var(--text); }
.dash-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 1.5rem; margin-bottom: 1.25rem;
}
.dash-card h2 { margin-top: 0; font-family: 'Playfair Display', serif; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.kpi {
  background: var(--primary-1); padding: 1rem 1.25rem; border-radius: var(--radius-md);
}
.kpi .kpi-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi .kpi-value { font-size: 1.4rem; font-weight: 700; margin-top: 0.25rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid #eee2dd; font-size: 0.95rem; }
.table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tag {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; background: #eef0e9; color: #4f5645;
}
.tag-pending { background: #fff0d6; color: #6e4d12; }
.tag-active { background: #e1f1e7; color: #1f4a30; }
.tag-suspended { background: #fbeceb; color: #6c1d18; }
.tag-admin { background: #e8e1f5; color: #3f2a72; }
.action-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-danger { background: #b3261e; color: #fff; }
.btn-danger:hover { background: #8e1c17; }

/* ============ Program Editor ============ */
.program-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.25rem;
  background: #fafaf6;
  border-radius: var(--radius-md);
}
.program-tab {
  flex: 1 1 auto;
  min-width: 80px;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.program-tab:hover { background: #fff; border-color: var(--border, #e1d8d4); }
.program-tab.active {
  background: var(--primary-1);
  border-color: var(--primary-1);
  color: var(--text);
}
.day-pane.hidden { display: none; }

.meal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.meal-card {
  background: #fffaf8;
  border: 1px solid #efe1dc;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.meal-card__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: space-between;
}
.meal-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.meal-card__time {
  width: 110px;
  flex: 0 0 auto;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
}
.meal-card__content {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  font-size: 0.93rem;
  line-height: 1.4;
}

/* ============ Plan List ============ */
.plan-list { display: flex; flex-direction: column; gap: 0.85rem; }
.plan-row {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
}
.plan-row__main { min-width: 0; }
.plan-row__title { margin: 0 0 0.25rem; font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.plan-row__desc { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.95rem; }
.plan-row__meta { margin: 0; font-size: 0.8rem; color: var(--muted); }
.plan-row__actions { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: flex-start; }
.plan-row__details {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee2dd;
}
.plan-row__details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.88rem;
}
.plan-row__dup {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: var(--primary-1);
  border-radius: var(--radius-md);
}
@media (max-width: 640px) {
  .plan-row { grid-template-columns: 1fr; }
  .plan-row__actions { justify-content: flex-start; }
}

/* ============ Calendar (Appointments) ============ */
.cal-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cal-header h2 { margin: 0; }
.cal-subtle { color: var(--muted); font-size: 0.88rem; margin: 0.25rem 0 0; }
.cal-header__actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.cal-view-switch {
  display: inline-flex; gap: 0; background: #fafaf6; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.2rem; overflow: hidden;
}
.cal-view-btn {
  padding: 0.4rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cal-view-btn:hover { background: #fff; color: var(--text); }
.cal-view-btn.is-active { background: var(--primary-1); color: var(--text); }

.cal-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin: 0.85rem 0 1rem; flex-wrap: wrap;
}
.cal-nav { display: inline-flex; align-items: center; gap: 0.6rem; }
.cal-nav__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: 1.2rem; font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cal-nav__btn:hover { transform: translateY(-1px); border-color: var(--primary-2); box-shadow: var(--shadow-soft); }
.cal-nav__label { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; }

/* Month grid */
.cal-month {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: #fff; overflow: hidden;
}
.cal-month__head {
  display: grid; grid-template-columns: repeat(7, 1fr);
  background: #fafaf6; border-bottom: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
}
.cal-month__head > div { padding: 0.55rem 0.65rem; text-align: center; }
.cal-month__head .weekend { color: #b04; }
.cal-month__grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  background: var(--border);
  gap: 1px;
}
.cal-day {
  display: flex; flex-direction: column; gap: 0.25rem;
  min-height: 110px; padding: 0.5rem 0.55rem;
  background: #fff; color: var(--text);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cal-day:hover { background: #fafaf6; }
.cal-day.is-out { background: #f8f6f4; color: #b6b1ad; }
.cal-day.is-today { background: linear-gradient(180deg, rgba(247, 218, 213, 0.3), #fff 60%); }
.cal-day.is-closed { background: repeating-linear-gradient(45deg, #fff, #fff 8px, #fafaf6 8px, #fafaf6 16px); }
.cal-day__num {
  font-weight: 700; font-size: 0.95rem; color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; border-radius: 999px;
}
.cal-day.is-today .cal-day__num {
  background: var(--primary-2); color: #1f3326;
}
.cal-day__items { display: grid; gap: 3px; }
.cal-day__cancel { font-size: 0.72rem; color: #a3543c; }

.cal-chip {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 2px 6px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 500; line-height: 1.25;
  background: rgba(175, 216, 192, 0.4); color: #1f3a2c;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-chip strong { font-weight: 700; }
.cal-chip--pending   { background: #fff0d6; color: #6e4d12; }
.cal-chip--confirmed { background: #e1f1e7; color: #1f4a30; }
.cal-chip--completed { background: #e2eaf7; color: #1d3a6c; }
.cal-chip--cancelled { background: #f7e3e1; color: #6c3030; text-decoration: line-through; }
.cal-chip--no_show   { background: #efe1f5; color: #4a2872; }
.cal-chip--more      { background: #ece9e7; color: var(--muted); }

/* Mini month for client picker */
.cal-month--compact .cal-day { min-height: 50px; padding: 0.35rem; align-items: center; justify-content: center; }
.cal-month--compact .cal-day__num { font-size: 0.92rem; }
.cal-day--mini { display: inline-flex; align-items: center; justify-content: center; }
.cal-day.is-disabled { opacity: 0.45; cursor: not-allowed; }
.cal-day.is-selected { background: var(--primary-2); color: #1f3a2c; }
.cal-day.is-selected .cal-day__num { background: rgba(0,0,0,0.1); color: inherit; }

/* Week view */
.cal-week {
  display: grid; grid-template-columns: 60px repeat(7, minmax(0, 1fr));
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: auto; background: #fff;
}
.cal-week__times { display: flex; flex-direction: column; border-right: 1px solid var(--border); }
.cal-week__time-head { height: 48px; border-bottom: 1px solid var(--border); background: #fafaf6; }
.cal-week__time {
  height: 60px; padding: 4px 6px;
  font-size: 0.75rem; color: var(--muted);
  border-bottom: 1px dashed #ebe6e2;
}
.cal-week__col { display: flex; flex-direction: column; border-right: 1px solid var(--border); min-width: 0; }
.cal-week__col:last-child { border-right: none; }
.cal-week__col.is-closed .cal-week__lane { background: repeating-linear-gradient(45deg, #fff, #fff 6px, #faf7f4 6px, #faf7f4 12px); }
.cal-week__head {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 48px; border-bottom: 1px solid var(--border); background: #fafaf6;
  font-size: 0.85rem; line-height: 1.1;
}
.cal-week__head:hover { background: #f3f0ec; }
.cal-week__day { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }
.cal-week__date { font-weight: 700; }
.cal-week__date.is-today {
  background: var(--primary-2); color: #1f3a2c;
  width: 28px; height: 28px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.cal-week__lane {
  position: relative; flex: 1;
  --slot-h: 60px; /* px per 60 minutes */
  height: calc((var(--cal-end) - var(--cal-start)) * var(--slot-h) / 60);
  background-image: repeating-linear-gradient(to bottom, #ebe6e2 0 1px, transparent 1px var(--slot-h));
}
.cal-event {
  position: absolute; left: 4px; right: 4px;
  top: calc(var(--top) * var(--slot-h) / 60);
  height: calc(var(--dur) * var(--slot-h) / 60 - 2px);
  border: 1px solid transparent; border-radius: 8px;
  padding: 4px 6px;
  font-size: 0.78rem; line-height: 1.2;
  text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 1px;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cal-event:hover { transform: scale(1.01); box-shadow: var(--shadow-soft); }
.cal-event__time { font-weight: 700; font-size: 0.78rem; }
.cal-event__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event__meta { font-size: 0.7rem; opacity: 0.85; }
.cal-event--lunch {
  background: repeating-linear-gradient(45deg, #fdeeea, #fdeeea 6px, #f9e1db 6px, #f9e1db 12px);
  color: #803d2c; cursor: default; align-items: center; justify-content: center;
}
.cal-event--block {
  background: repeating-linear-gradient(45deg, #efeae7, #efeae7 6px, #ddd6d2 6px, #ddd6d2 12px);
  color: #4a4541; cursor: default; align-items: center; justify-content: center;
}
.cal-event--appt { background: rgba(175, 216, 192, 0.45); color: #173b29; border-color: #9ec9ad; }
.cal-event--pending   { background: #fff0d6; color: #5e3f0d; border-color: #f0d59a; }
.cal-event--confirmed { background: #d2ecda; color: #173b29; border-color: #9ec9ad; }
.cal-event--completed { background: #d6e1f3; color: #15315a; border-color: #a4b9da; }
.cal-event--cancelled { background: #f3d8d4; color: #6c1d18; border-color: #e0aea9; opacity: 0.7; }
.cal-event--no_show   { background: #e2d0f0; color: #371b59; border-color: #b9a1d4; }

/* Day view */
.cal-day-view { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 900px) { .cal-day-view { grid-template-columns: 2fr 1fr; } }
.cal-day-view__head { margin: 0 0 0.6rem; font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; }
.cal-empty { color: var(--muted); font-size: 0.92rem; }
.cal-slots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}
.cal-slots--client { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.cal-slot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 0.6rem 0.7rem; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: #fff; color: var(--text);
  font-size: 0.85rem; cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cal-slot strong { font-size: 0.95rem; font-weight: 700; }
.cal-slot span { color: var(--muted); font-size: 0.78rem; }
.cal-slot em { color: var(--muted); font-size: 0.72rem; font-style: normal; }
.cal-slot--free:hover { transform: translateY(-2px); border-color: var(--primary-2); box-shadow: var(--shadow-soft); }
.cal-slot--free { border-color: rgba(175, 216, 192, 0.6); }
.cal-slot--blocked { background: #fafaf6; color: var(--muted); cursor: not-allowed; opacity: 0.6; }
.cal-slot--booked { background: rgba(247, 218, 213, 0.35); border-color: #e8c2bd; }
.cal-slot.is-selected { background: var(--primary-2); border-color: var(--primary-2); color: #1f3a2c; }
.cal-slot.is-selected span { color: #1f3a2c; }

.cal-day-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.cal-day-list__item {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.7rem; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--border); cursor: pointer; text-align: left;
  font-size: 0.92rem;
}
.cal-day-list__item:hover { border-color: var(--primary-2); box-shadow: var(--shadow-soft); }
.cal-day-list__time { font-weight: 700; }
.cal-day-list__name { color: var(--text); }
.cal-day-list__tag { justify-self: end; }

/* Tags for appointment statuses */
.tag-appt-pending   { background: #fff0d6; color: #6e4d12; }
.tag-appt-confirmed { background: #d2ecda; color: #173b29; }
.tag-appt-completed { background: #d6e1f3; color: #15315a; }
.tag-appt-cancelled { background: #f3d8d4; color: #6c1d18; }
.tag-appt-no_show   { background: #e2d0f0; color: #371b59; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
}
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28, 26, 24, 0.45); backdrop-filter: blur(2px); }
.modal__panel {
  position: relative; width: min(640px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem); overflow: auto;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.modal__head h3 { margin: 0; font-family: 'Playfair Display', Georgia, serif; }
.modal__close {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.modal__close:hover { border-color: var(--primary-2); }
.modal__grid {
  display: grid; grid-template-columns: 1fr; gap: 0.5rem 0.75rem;
  padding: 1rem 1.25rem;
}
@media (min-width: 640px) { .modal__grid { grid-template-columns: 1fr 1fr; } }
.modal__foot {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); background: #fafaf6;
}

/* Block form */
.block-form .block-form__row {
  display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* ============ Client appointment picker ============ */
.cal-pick-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.cal-pick-head__title { margin: 0 0 0.25rem; }
.cal-pick-legend {
  display: inline-flex; align-items: center; gap: 0.4rem 0.75rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.85rem;
  background: #fafaf6; border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem; color: var(--muted);
}
.cal-pick-legend__dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  margin-right: 2px;
}
.cal-pick-legend__dot--free  { background: var(--primary-2); }
.cal-pick-legend__dot--busy  { background: #d8c8c4; }
.cal-pick-legend__dot--today { background: #f0c9c2; outline: 2px solid var(--primary-1); outline-offset: -1px; }

.cal-pick {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 1024px) {
  .cal-pick {
    grid-template-columns: minmax(280px, 1.05fr) minmax(240px, 1.1fr) minmax(260px, 0.95fr);
    gap: 1.25rem;
  }
}
.cal-pick__col {
  background: linear-gradient(180deg, #ffffff 0%, rgba(250, 247, 245, 0.45) 100%);
  border: 1px solid #f0ebe7;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  min-width: 0;
}

/* Calendar inside picker */
.cal-pick__cal .cal-toolbar { margin: 0 0 0.6rem; }
.cal-pick__cal .cal-nav__btn {
  width: 32px; height: 32px; font-size: 1.05rem;
  background: transparent; border-color: transparent;
  color: var(--muted);
}
.cal-pick__cal .cal-nav__btn:hover {
  background: rgba(247, 218, 213, 0.5); border-color: transparent;
  color: var(--text);
  box-shadow: none; transform: none;
}
.cal-pick__cal .cal-nav__label { font-size: 1.05rem; }

.cal-month--client {
  border: none; background: transparent; overflow: visible;
}
.cal-month--client .cal-month__head {
  background: transparent; border: none;
  padding-bottom: 4px;
}
.cal-month--client .cal-month__head > div {
  padding: 0.35rem 0;
  font-size: 0.7rem; letter-spacing: 0.08em;
}
.cal-month--client .cal-month__grid {
  background: transparent; gap: 6px; padding: 4px 0;
}
.cal-month--client .cal-day--mini {
  min-height: 40px;
  padding: 0;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cal-month--client .cal-day__num {
  width: auto; height: auto;
  background: transparent !important;
  font-size: 0.92rem; font-weight: 600;
  color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
}
.cal-month--client .cal-day--mini:not(.is-disabled):not(.is-selected):hover {
  background: rgba(247, 218, 213, 0.45);
  transform: translateY(-1px);
}
.cal-month--client .cal-day.is-out { opacity: 0.25; }
.cal-month--client .cal-day.is-disabled {
  cursor: not-allowed;
  color: #c2bcb6;
  background: transparent !important;
}
.cal-month--client .cal-day.is-today:not(.is-selected) {
  border-color: rgba(247, 218, 213, 0.95);
  background: rgba(247, 218, 213, 0.18);
}
.cal-month--client .cal-day.is-today:not(.is-selected) .cal-day__num { color: #92402f; }
.cal-month--client .cal-day.is-selected {
  background: linear-gradient(135deg, var(--primary-2), #c8e7d6);
  border-color: transparent;
  color: #14321f;
  box-shadow: 0 10px 22px rgba(175, 216, 192, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}
.cal-month--client .cal-day.is-selected .cal-day__num { color: #14321f; font-weight: 700; }

/* Slot column */
.cal-pick__slots-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 0.5rem; margin-bottom: 0.85rem;
}
.cal-pick__slots-title {
  margin: 0; font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem; line-height: 1.15;
}
.cal-pick__slots-sub { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-pick__slots-group {
  margin: 0.65rem 0 0.4rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.45rem;
}
.cal-pick__slots-group::before {
  content: ""; flex: 0 0 6px; width: 6px; height: 6px;
  background: var(--primary-2); border-radius: 999px;
}
.cal-pick__slots-group:first-child { margin-top: 0; }

.cal-slots--client {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.45rem;
}
.cal-pick__slots .cal-slot {
  border: 1.5px solid #ece5df;
  background: #fff;
  border-radius: 14px;
  padding: 0.55rem 0.75rem 0.6rem;
  position: relative;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.cal-pick__slots .cal-slot strong { font-size: 0.98rem; font-weight: 700; }
.cal-pick__slots .cal-slot span { font-size: 0.74rem; }
.cal-pick__slots .cal-slot--free { border-color: rgba(175, 216, 192, 0.55); }
.cal-pick__slots .cal-slot--free::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(175, 216, 192, 0.25);
}
.cal-pick__slots .cal-slot--free:hover {
  transform: translateY(-2px);
  border-color: var(--primary-2);
  box-shadow: 0 10px 20px rgba(175, 216, 192, 0.32);
}
.cal-pick__slots .cal-slot--blocked {
  background: #faf7f4;
  color: #b3aea8;
  border-color: #efe9e3;
  border-style: dashed;
  opacity: 0.85;
}
.cal-pick__slots .cal-slot--blocked strong { color: #a09a93; font-weight: 600; }
.cal-pick__slots .cal-slot.is-selected {
  background: linear-gradient(135deg, var(--primary-2), #c8e7d6);
  border-color: transparent;
  color: #14321f;
  box-shadow: 0 14px 28px rgba(175, 216, 192, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.cal-pick__slots .cal-slot.is-selected strong,
.cal-pick__slots .cal-slot.is-selected span { color: #14321f; }
.cal-pick__slots .cal-slot.is-selected::after {
  content: "✓";
  width: 18px; height: 18px;
  background: rgba(255, 255, 255, 0.85);
  color: #14321f;
  font-size: 0.7rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  top: 8px; right: 8px;
}

/* Form column */
.cal-pick__form-title {
  margin: 0 0 0.85rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
}

/* Chosen-slot card */
.chosen-card {
  position: relative;
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1.5px dashed #d9d2cc;
  background: #fdfcfa;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}
.chosen-card__label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.chosen-card__value {
  font-size: 1.08rem; font-weight: 700;
  color: var(--text);
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.01em;
}
.chosen-card.is-active {
  border-style: solid;
  border-color: rgba(175, 216, 192, 0.7);
  background:
    radial-gradient(circle at top right, rgba(175, 216, 192, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(247, 218, 213, 0.18), rgba(255, 255, 255, 0.95));
  box-shadow: 0 10px 24px rgba(175, 216, 192, 0.18);
}
.chosen-card.is-active::after {
  content: "✓";
  position: absolute; top: 12px; right: 14px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-2); color: #14321f;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 4px 8px rgba(175, 216, 192, 0.4);
}

/* Mode toggle (pill cards) */
.mode-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
.mode-toggle__opt {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
  height: 100%;
}
.mode-toggle__opt input {
  position: absolute; opacity: 0; pointer-events: none;
}
.mode-toggle__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem;
  padding: 0.8rem 0.85rem;
  height: 100%;
  border: 1.5px solid #ece5df;
  border-radius: var(--radius-md);
  background: #fff;
  transition: all 0.15s ease;
}
.mode-toggle__icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(175, 216, 192, 0.18);
  color: #2c4636;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mode-toggle__text { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.mode-toggle__text strong {
  font-size: 0.9rem; font-weight: 700; line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
}
.mode-toggle__text small {
  font-size: 0.73rem; color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mode-toggle__opt:hover .mode-toggle__card {
  border-color: var(--primary-2);
  transform: translateY(-1px);
}
.mode-toggle__opt input:focus-visible + .mode-toggle__card {
  outline: 3px solid var(--primary-2); outline-offset: 2px;
}
.mode-toggle__opt input:checked + .mode-toggle__card {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(175, 216, 192, 0.3), rgba(247, 218, 213, 0.18));
  box-shadow: 0 10px 22px rgba(175, 216, 192, 0.3), inset 0 0 0 1.5px var(--primary-2);
}
.mode-toggle__opt input:checked + .mode-toggle__card .mode-toggle__icon {
  background: var(--primary-2); color: #14321f;
}

@media (max-width: 380px) {
  .mode-toggle__text small { white-space: normal; }
}

/* CTA button */
.btn-cta {
  padding-block: 0.95rem;
  font-size: 0.98rem; letter-spacing: 0.01em;
  background: linear-gradient(120deg, var(--primary-1), #fce9e5);
}
.btn-cta:not(:disabled) {
  background: linear-gradient(120deg, var(--primary-2), #c8e7d6);
  color: #14321f;
  box-shadow: 0 14px 26px rgba(175, 216, 192, 0.4);
}
.btn-cta:disabled {
  opacity: 0.6; cursor: not-allowed;
  background: #f1ece8; color: var(--muted);
  box-shadow: none;
}
.btn-cta:disabled:hover { transform: none; box-shadow: none; }

/* Backwards-compat shim for old class name */
.cal-pick__chosen {
  padding: 0.6rem 0.8rem; border: 1px dashed #c9c5c1; border-radius: var(--radius-md);
  background: #fffdfc; margin-bottom: 0.75rem; font-weight: 600;
}

/* Appointment list (client side) */
.appt-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.appt-item {
  display: grid; gap: 0.4rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--border);
}
.appt-item__date { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.appt-item__date strong { font-size: 1rem; }
.appt-item .meta { color: var(--muted); font-size: 0.85rem; }
.appt-item__note { font-size: 0.88rem; color: var(--muted); }
.appt-item__actions { display: flex; gap: 0.4rem; align-items: stretch; }
.appt-item__actions .input { flex: 1; }
.appt-item--cancelled { opacity: 0.6; }

/* Dashboard cards extra */
.dash-upcoming { display: grid; gap: 0.55rem; }
.dash-upcoming__row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 0.4rem; align-items: center;
  padding: 0.55rem 0.75rem; border-radius: var(--radius-md);
  background: #fafaf6;
}
.dash-upcoming__when { font-weight: 700; }
.dash-upcoming__who { color: var(--muted); font-size: 0.88rem; }

@media (max-width: 720px) {
  .cal-week { grid-template-columns: 50px repeat(7, minmax(120px, 1fr)); overflow-x: auto; }
  .cal-day { min-height: 80px; }
  .cal-pick__cal, .cal-pick__slots, .cal-pick__form { min-width: 0; }
}

/* ============================================================
   Blog & Recipe — utilities, admin editor, public detail
   ============================================================ */

/* --- shared utilities --- */
.container-narrow { max-width: 780px; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-ghost:hover { border-color: var(--primary-2); color: var(--text); }

.pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
}
.pill-on { background: #e1f1e7; color: #1f4a30; }
.pill-draft { background: #f1efec; color: #6b6d6e; }

/* --- admin: post list --- */
.posts-section { margin-bottom: var(--space-5); }
/* Colored title bar keys each section to its row accent (blush=blog, sage=recipe). */
.posts-section .post-head h2 {
  padding-left: 14px;
  border-left: 5px solid var(--border);
  line-height: 1.05;
}
.posts-section--blog .post-head h2 { border-left-color: var(--primary-1); }
.posts-section--recipe .post-head h2 { border-left-color: var(--primary-2); }
.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.post-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); }
.post-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }
/* Colored left accent so blog vs recipe is distinguishable at a glance. */
.post-row--blog { border-left-color: var(--primary-1); }
.post-row--recipe { border-left-color: var(--primary-2); }
.post-row-thumb {
  width: 68px; height: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f2ef;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-row-noimg { font-size: 0.6rem; color: #b7afa9; text-align: center; line-height: 1.2; padding: 2px; }
.post-row-title a { font-weight: 600; font-size: 1.02rem; color: var(--text); text-decoration: none; }
.post-row-title a:hover { color: #7a3a32; }
.post-row-meta { display: flex; align-items: center; gap: var(--space-2); margin-top: 6px; flex-wrap: wrap; }
.post-row-date { font-size: 0.8rem; color: var(--muted); }
.post-row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.post-row-actions form { margin: 0; }

/* --- admin: editor --- */
.editor-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}
.editor-back { font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.editor-back:hover { color: var(--text); }
.editor-topbar-actions { display: flex; gap: 8px; }
.kind-chip {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary-2);
  color: #1f4a30;
}
.card-lead {
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
  display: flex; align-items: center; gap: 8px;
}
.card-ico { font-size: 1.15rem; line-height: 1; }
.req { color: #b4443b; }
.opt { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.field-hint { margin: -2px 0 8px; font-size: 0.82rem; color: var(--muted); }
.card-accent { border-left: 4px solid var(--primary-2); }

.recipe-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.recipe-meta-grid .field { margin: 0; }
.list-area { line-height: 1.9; font-size: 0.98rem; resize: vertical; }
textarea.js-autogrow { overflow: hidden; resize: vertical; }

.cover-current { margin-bottom: var(--space-3); }
.cover-current img {
  max-width: 320px; width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}
.cover-remove { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.cover-preview { margin-top: var(--space-3); }
.cover-preview img {
  max-width: 320px; width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-2);
  display: block;
}

.status-choice { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.status-opt {
  flex: 1 1 200px;
  display: flex; align-items: center; gap: 10px;
  padding: var(--space-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.status-opt span { display: flex; flex-direction: column; }
.status-opt small { color: var(--muted); font-size: 0.78rem; }
.status-opt.is-sel { border-color: var(--primary-2); background: #f3faf5; }
.editor-submit { margin-top: var(--space-4); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* --- public: post cards (list) --- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: #f6f2ef; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card-body h3 { margin: 2px 0; }
.post-card-body .btn { margin-top: auto; align-self: flex-start; }

/* --- public: post/recipe detail --- */
.post-back { display: inline-block; margin-bottom: var(--space-3); font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.post-back:hover { color: #7a3a32; }
.post-hero-head { margin-bottom: var(--space-4); }
.post-title { margin: 8px 0 10px; line-height: 1.15; }
.post-meta { display: flex; gap: 8px; color: var(--muted); font-size: 0.9rem; margin: 0; }
.post-cover {
  margin: 0 0 var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.post-cover img { width: 100%; display: block; max-height: 460px; object-fit: cover; }
.post-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  padding-left: var(--space-4);
  border-left: 4px solid var(--primary-1);
  margin: 0 0 var(--space-5);
}
.post-body { font-size: 1.05rem; line-height: 1.8; color: #3a3b3c; }
.post-body p { margin: 0 0 var(--space-4); }

.post-cta {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f7faf6, #fbf1ef);
  text-align: center;
}
.post-cta p { margin: 0 0 var(--space-3); font-size: 1.05rem; }

/* recipe facts strip */
.recipe-facts {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin: 0 0 var(--space-5);
}
.recipe-fact {
  flex: 1 1 120px;
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: #f7faf6;
  border: 1px solid var(--border);
  text-align: center;
}
.recipe-fact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.recipe-fact-value { font-size: 1.1rem; font-weight: 700; color: #1f4a30; }

/* recipe content cards */
.recipe-cards { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-2); }
.recipe-card {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.recipe-card h2 { margin: 0 0 var(--space-3); font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.recipe-card-ing { background: #fbf1ef; border-color: #f3d9d3; }
.recipe-card-steps { background: var(--surface); }
.recipe-card-tips { background: #f2f9f4; border-color: #d5ebdd; }
.recipe-empty { color: var(--muted); margin: 0; }

.recipe-ing-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--space-5); }
.recipe-ing-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  break-inside: avoid;
  line-height: 1.5;
}
.recipe-ing-list li::before {
  content: "";
  position: absolute; left: 4px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #c9776c;
}
.recipe-step-list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.recipe-step-list li {
  position: relative;
  padding: 0 0 var(--space-4) 52px;
  min-height: 40px;
  line-height: 1.7;
}
.recipe-step-list li:last-child { padding-bottom: 0; }
.recipe-step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--primary-2);
  color: #1f4a30;
  font-weight: 700;
}
.recipe-tip-list { margin: 0; padding: 0; list-style: none; }
.recipe-tip-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  line-height: 1.6;
}
.recipe-tip-list li::before {
  content: "✓";
  position: absolute; left: 4px; top: 8px;
  color: #2f7a4d;
  font-weight: 700;
}

@media (max-width: 640px) {
  .recipe-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-ing-list { columns: 1; }
  .post-row { grid-template-columns: 52px 1fr; column-gap: var(--space-2); }
  .post-row-thumb { width: 52px; height: 52px; }
  .post-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid var(--border);
  }
}
