:root {
  --charcoal: #303030;
  --cream: #F6F1E8;
  --sky: #62A4C1;
  --sage: #789C90;
  --sage-light: #A5BDAD;
  --chocolate: #5C3A21;
  --blush: #F5E3DD;
  --terracotta: #DBA297;

  /* ===== Typography system — דואגת לעצמי Design System (desktop base) ===== */
  --font-heading: 'Frank Ruhl Libre', serif;
  --font-body: 'Assistant', sans-serif;

  /* כותרת ראשית */
  --fs-heading-primary: 38px;
  --fw-heading-primary: 600;
  --lh-heading-primary: 1.2;

  /* כותרת משנית */
  --fs-heading-secondary: 28px;
  --fw-heading-secondary: 600;
  --lh-heading-secondary: 1.25;

  /* כותרת אזור/כרטיס */
  --fs-heading-card: 19px;
  --fw-heading-card: 500;
  --lh-heading-card: 1.3;

  /* טקסט ביניים */
  --fs-text-intermediate: 17px;
  --fw-text-intermediate: 400;
  --lh-text-intermediate: 1.55;

  /* טקסט רץ */
  --fs-text-body: 16px;
  --fw-text-body: 400;
  --lh-text-body: 1.65;

  /* טקסט קטן */
  --fs-text-small: 13px;
  --fw-text-small: 600;
  --lh-text-small: 1.4;

  /* כפתורים וקישורים */
  --fs-button: 15px;
  --fw-button: 600;
}

* { box-sizing: border-box; }

.password-gate { display: none; }

html.dl-locked .site-header,
html.dl-locked main,
html.dl-locked .site-footer {
  display: none;
}

html.dl-locked .password-gate {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: #f6f1e8 url('/images/password-gate-bg.jpg') center/cover no-repeat;
  padding: 2rem 20vw 2rem 2rem;
}

.password-gate-box {
  position: relative;
  width: 100%;
  max-width: 340px;
  text-align: center;
  color: var(--charcoal);
}

.password-gate-logo {
  width: 96px;
  margin: 0 auto 1.1rem;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(48, 48, 48, 0.18));
}

.password-gate-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(48, 48, 48, 0.65);
}

.password-gate-title {
  margin: 0 0 0.6rem;
  color: var(--chocolate);
  font-size: 2.4rem;
}

.password-gate-intro {
  margin: 0 0 1.75rem;
  font-size: var(--fs-text-intermediate);
  font-weight: var(--fw-text-intermediate);
  line-height: var(--lh-text-intermediate);
  color: rgba(48, 48, 48, 0.75);
}

#dl-password-form {
  display: flex;
  gap: 0.4rem;
}

.password-field {
  position: relative;
  flex: 1;
  display: flex;
}

#dl-password-input {
  width: 100%;
  padding: 0.6rem 1rem;
  padding-left: 2.2rem;
  border: 1px solid rgba(48, 48, 48, 0.2);
  border-radius: 999px;
  font-family: 'Assistant', sans-serif;
  font-size: 0.95rem;
  background: rgba(255, 254, 254, 0.94);
  box-shadow: 0 2px 14px rgba(48, 48, 48, 0.1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#dl-password-input::placeholder { color: rgba(48, 48, 48, 0.4); }

#dl-password-input:focus {
  outline: none;
  border-color: var(--sage-light);
  box-shadow: 0 2px 14px rgba(48, 48, 48, 0.1), 0 0 0 3px rgba(165, 189, 173, 0.35);
}

#dl-password-toggle {
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  background: none;
  color: #7a7168;
  cursor: pointer;
  line-height: 0;
}

#dl-password-toggle svg {
  width: 16px;
  height: 16px;
}

#dl-password-toggle:hover {
  color: var(--charcoal);
}

#dl-password-toggle:focus-visible {
  outline: 2px solid var(--sage-light);
  outline-offset: 2px;
  border-radius: 4px;
}

#dl-password-toggle .icon-eye-off { display: none; }

#dl-password-form button {
  padding: 0.6rem 1.3rem;
  border: none;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-family: 'Assistant', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

#dl-password-form button:hover {
  background: #688f82;
  transform: translateY(-1px);
}

.password-gate-error {
  margin: 0.9rem auto 0;
  max-width: 340px;
  color: var(--chocolate);
  background: rgba(219, 162, 151, 0.22);
  border: 1px solid rgba(219, 162, 151, 0.6);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  html.dl-locked .password-gate {
    justify-content: center;
    padding: 2rem 3.5rem 2rem 1.25rem;
    background-position: 71% center;
  }

  .password-gate-box { max-width: 300px; }
  .password-gate-title { font-size: 1.9rem; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-text-body);
  background: #ffffff;
  color: var(--charcoal);
  line-height: var(--lh-text-body);
}

.home-search-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
}

.home-search-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 420px;
  color: rgba(48,48,48,0.55);
}

.home-search-input {
  flex: 1;
  border: none;
  background: none;
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(48,48,48,0.25);
  padding: 0.2rem 0.1rem;
}
.home-search-input:focus { outline: none; border-bottom-color: var(--sky); }
.home-search-input::placeholder { color: rgba(48,48,48,0.45); font-weight: 400; }

.add-home-modal[hidden] { display: none; }
.add-home-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(48, 48, 48, 0.5);
  padding: 1.5rem;
}

.add-home-modal-box {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(48, 48, 48, 0.25);
}

.add-home-modal-box h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.add-home-modal-box p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.add-home-modal-close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border: none;
  background: none;
  font-size: 1.1rem;
  color: rgba(48, 48, 48, 0.5);
  cursor: pointer;
  line-height: 1;
  padding: 0.4rem;
}
.add-home-modal-close:hover { color: var(--charcoal); }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 2rem;
  border-bottom: 1px solid rgba(48, 48, 48, 0.12);
}
.site-header .brand { justify-self: center; }
.site-header .site-nav:first-child { justify-self: start; }
.site-header .site-nav:last-child { justify-self: end; }

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
  .site-header .brand,
  .site-header .site-nav:first-child,
  .site-header .site-nav:last-child {
    justify-self: center;
  }
  .site-header .brand { order: -1; }
  .site-nav { justify-content: center; }
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--sky); }
.site-nav .soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(48,48,48,0.4);
  cursor: default;
}
.site-nav .soon i {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(48,48,48,0.35);
  background: rgba(48,48,48,0.06);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.header-icon-wrap {
  display: flex;
  align-items: center;
}

.add-home-btn {
  padding: 0.35rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-family: 'Assistant', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.add-home-btn:hover { background: #688f82; transform: translateY(-1px); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
}

.brand-logo {
  height: 92px;
  width: auto;
  object-fit: contain;
}

.brand span {
  font-weight: 400;
  font-size: 1rem;
  color: var(--sky);
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

article.recipe {
  max-width: 640px;
  margin: 0 auto;
}

h1, h2, h3 { color: var(--chocolate); font-family: var(--font-heading); letter-spacing: normal; }
h1 { font-size: var(--fs-heading-primary); font-weight: var(--fw-heading-primary); line-height: var(--lh-heading-primary); margin-bottom: 0.25rem; }
/* bare h2 is used for in-page subsection labels (e.g. "המרכיבים"), visually a "כותרת אזור/כרטיס" — not the big section-level כותרת משנית. Sections that need the big secondary heading use their own class (.hamsa-text h2, .about-text h2, .story-inner h2). */
h2 { font-size: var(--fs-heading-card); font-weight: var(--fw-heading-card); line-height: var(--lh-heading-card); margin-top: 2rem; margin-bottom: 0.6rem; }
h3 { line-height: var(--lh-heading-card); }

/* ===== Typography — responsive overrides (tablet/mobile) =====
   Redefining the root variables here cascades the new sizes to every
   component automatically (they all read from var(--fs-...) etc.) —
   no need to touch individual selectors per breakpoint. */
@media (max-width: 1024px) {
  :root {
    --fs-heading-primary: 32px;
    --fs-heading-secondary: 24px;
    --fs-heading-card: 18px;
    --fs-text-intermediate: 16px;
    --fw-text-intermediate: 500;
  }
}
@media (max-width: 640px) {
  :root {
    --fs-heading-primary: 28px;
    --fs-heading-secondary: 22px;
    --fs-heading-card: 17px;
    --fs-text-intermediate: 16px;
    --fw-text-intermediate: 500;
  }
}

.category-subtitle { color: rgba(48,48,48,0.65); margin-top: 0; font-size: var(--fs-text-intermediate); font-weight: var(--fw-text-intermediate); line-height: var(--lh-text-intermediate); }

.breadcrumb a { color: var(--sky); text-decoration: none; font-size: var(--fs-text-small); line-height: var(--lh-text-small); }
.serving-note { color: rgba(48,48,48,0.6); font-size: var(--fs-text-small); line-height: var(--lh-text-small); margin-top: 0; }

.badges { margin: 0.5rem 0; }
.badge {
  display: inline-block;
  background: var(--sky);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  font-size: 0.85rem;
}

ul, ol { padding-inline-start: 1.4rem; }
li { margin-bottom: 0.4rem; }

.home {
  margin-top: -2rem;
}

.weekly-feature {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 1.75rem;
  background: #ffffff;
}

.weekly-slide {
  display: none;
  position: relative;
  align-items: center;
  width: 100%;
  aspect-ratio: 2.88 / 1;
  min-height: 300px;
  max-height: 500px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.weekly-slide.is-active { display: flex; }

.weekly-feature-arrow {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--charcoal);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(48,48,48,0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}
.weekly-feature-arrow:hover { background: #fff; transform: scale(1.06); }

.weekly-feature-text {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin-left: auto;
  margin-right: clamp(1.5rem, 6vw, 6rem);
  padding: 2.25rem 0;
}
.weekly-feature-text .kicker {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--chocolate);
  font-size: var(--fs-text-small);
  font-weight: var(--fw-text-small);
  line-height: var(--lh-text-small);
}
.weekly-feature-text h1,
.weekly-feature-text p,
.weekly-feature-text .kicker,
.weekly-feature-cta {
  text-shadow: 0 1px 3px rgba(255,255,255,0.8), 0 2px 16px rgba(255,255,255,0.8);
}
.weekly-feature-text h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: var(--fs-heading-primary);
  font-weight: var(--fw-heading-primary);
  letter-spacing: normal;
  line-height: var(--lh-heading-primary);
}
.weekly-feature-text p {
  margin: 0;
  font-size: var(--fs-text-intermediate);
  font-weight: var(--fw-text-intermediate);
  line-height: var(--lh-text-intermediate);
  color: var(--charcoal);
}
.weekly-feature-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: var(--fs-button);
  font-weight: 700;
  color: var(--chocolate);
}

.weekly-feature-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 640px) {
  .weekly-slide {
    flex-direction: column;
    align-items: stretch;
    aspect-ratio: auto;
    min-height: auto;
    max-height: none;
  }
  .weekly-feature-photo {
    position: static;
    width: 100%;
    height: 300px;
    order: -1;
  }
  .weekly-feature-text {
    max-width: none;
    margin: 0;
    padding: 1.5rem 1.25rem 2rem;
  }
  .weekly-feature-text h1,
  .weekly-feature-text p,
  .weekly-feature-text .kicker,
  .weekly-feature-cta {
    text-shadow: none;
  }
}

.hamsa-section {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 3.5rem;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  padding: 5.5rem 2rem;
}
.hamsa-text { max-width: 460px; }
.hamsa-text h2 { margin: 0 0 1.25rem; font-size: var(--fs-heading-secondary); font-weight: var(--fw-heading-secondary); letter-spacing: normal; line-height: var(--lh-heading-secondary); }
.hamsa-text p { margin: 0 0 1rem; font-size: var(--fs-text-body); line-height: var(--lh-text-body); }
.hamsa-text p:last-child { margin-bottom: 0; }
.hamsa-illustration {
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
}

.hamsa-illustration-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
}
.hamsa-hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.88);
  color: var(--chocolate);
  font-family: 'Assistant', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(48,48,48,0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}
.hamsa-hotspot:hover { transform: scale(1.12); background: #fff; }
.hamsa-hotspot--fat { top: 58%; left: 6%; }
.hamsa-hotspot--protein { top: 22%; left: 27%; }
.hamsa-hotspot--fiber { top: 8%; left: 47%; }
.hamsa-hotspot--processing { top: 12%; left: 66%; }
.hamsa-hotspot--glycemic { top: 18%; left: 86%; }

@media (max-width: 640px) {
  .hamsa-section {
    flex-direction: column;
    padding: 2.5rem 1.25rem;
    gap: 1.5rem;
    text-align: center;
  }
  .hamsa-text { max-width: none; }
  .hamsa-illustration { max-width: 240px; }
  .hamsa-illustration-wrap { max-width: 240px; margin: 0 auto; }
  .hamsa-hotspot { width: 26px; height: 26px; font-size: 15px; }
}

.about-strip {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 3rem 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(48,48,48,0.08);
}
.about-photo {
  flex: 0 0 312px;
  width: 312px;
  aspect-ratio: 705 / 1000;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

@media (max-width: 640px) {
  .about-strip { flex-direction: column; }
  .about-photo { flex: 0 0 auto; width: 100%; aspect-ratio: 705 / 1000; height: auto; }
}
.about-text { flex: 1 1 auto; }
.about-text h2 { font-size: var(--fs-heading-secondary); font-weight: var(--fw-heading-secondary); line-height: var(--lh-heading-secondary); margin: 0 0 1rem; }
.hero-credibility {
  font-weight: 600;
  color: var(--sky);
  margin: 0 0 0.3rem;
  font-size: 1rem;
}
.about-text p { margin: 0 0 0.3rem; }

.read-more-arrow {
  display: inline-block;
  margin: 0.5rem 0 1.1rem;
  font-size: var(--fs-button);
  font-weight: 700;
  color: var(--chocolate);
  text-decoration: none;
}
.read-more-arrow:hover { color: var(--sky); }

.whatsapp-link {
  display: inline-block;
  margin-top: 0.6rem;
  background: var(--sage);
  color: white;
  text-decoration: none;
  font-weight: var(--fw-button);
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: var(--fs-button);
  transition: background 0.15s ease, transform 0.15s ease;
}
.whatsapp-link:hover { background: #688f82; transform: translateY(-1px); }

.about-strip .whatsapp-link {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.recipe-card {
  display: block;
  background: white;
  border: 1px solid rgba(48,48,48,0.1);
  border-radius: 12px;
  padding: 1.2rem;
  text-decoration: none;
  color: var(--charcoal);
  transition: box-shadow 0.15s ease;
}

.recipe-card:hover { box-shadow: 0 4px 14px rgba(48,48,48,0.12); }
.recipe-card { padding: 0; overflow: hidden; }
.recipe-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.category-card img {
  aspect-ratio: 1 / 1;
}
.category-card.no-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  padding: 1.2rem;
}
.category-card.no-image h3 { padding: 0; }
.recipe-grid--square .recipe-card { border-radius: 0; }
.recipe-card.no-image { padding: 1.2rem; }
.recipe-card.no-image h3 { padding: 0; }
.recipe-card h3 { margin: 0; font-size: var(--fs-heading-card); font-weight: var(--fw-heading-card); padding: 0.9rem 1.2rem; }

.featured-wide {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-bottom: 3.5rem;
}
.featured-wide-inner {
  width: 92%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.featured-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

.featured-grid { gap: 1.5rem 1.25rem; }

.featured-card {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.featured-card:hover { box-shadow: none; }
.featured-card img { border-radius: 0; aspect-ratio: 16 / 9; }

.featured-card p {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: rgba(48,48,48,0.7);
  line-height: 1.45;
}
.featured-card h3 { padding: 0; margin: 0.9rem 0 0.35rem; font-size: var(--fs-heading-card); font-weight: var(--fw-heading-card); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.video-thumb {
  aspect-ratio: 16 / 9;
  background: var(--cream);
  border-radius: 8px;
}
.video-card h3 { margin: 0.9rem 0 0.35rem; font-size: var(--fs-heading-card); font-weight: var(--fw-heading-card); }
.video-card { display: block; text-decoration: none; color: inherit; }
.video-thumb--playable {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-icon {
  display: block;
  color: #fff;
  background: rgba(30, 20, 14, 0.55);
  border-radius: 50%;
  padding: 0.6rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.video-card:hover .play-icon {
  background: rgba(30, 20, 14, 0.75);
  transform: scale(1.06);
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
}

.coming-soon {
  opacity: 0.55;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem;
}
.video-card.coming-soon { padding: 0; }
.soon-label {
  align-self: flex-start;
  font-size: 0.75rem;
  background: rgba(48,48,48,0.08);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

.recipe-photo {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.recipe-photo--square { border-radius: 0; }

.guide-page { background: #ffffff; }
.guide-page .site-header { border-bottom-color: rgba(48,48,48,0.08); }

.guide-hero-illustration {
  display: block;
  width: 520px;
  max-width: 90%;
  margin: 0 auto 1rem;
}

.guide-hero-photo {
  display: block;
  width: 312px;
  max-width: 80%;
  aspect-ratio: 705 / 1000;
  object-fit: cover;
  border-radius: 0;
  margin: 0 auto 1.5rem;
}

.story-section { padding: 4.5rem 2rem 1rem; }
.story-inner { max-width: 640px; margin: 0 auto; }
.story-photo {
  display: block;
  width: 260px;
  aspect-ratio: 705 / 1000;
  object-fit: cover;
  margin: 0 auto 2.5rem;
}
.story-inner h2 { font-size: var(--fs-heading-secondary); font-weight: var(--fw-heading-secondary); line-height: var(--lh-heading-secondary); text-align: center; margin: 0 0 2.5rem; }
.story-inner p {
  margin: 0 0 1.3rem;
  font-size: var(--fs-text-body);
  line-height: var(--lh-text-body);
  color: var(--charcoal);
}
.story-inner p a { color: var(--chocolate); font-weight: 700; }
.story-line--emphasis { color: var(--chocolate); font-weight: 700; font-size: 1.15rem; }

@media (max-width: 640px) {
  .story-section { padding: 3rem 1.25rem 0.5rem; }
  .story-inner h2 { margin-bottom: 1.75rem; }
  .story-photo { width: 190px; margin-bottom: 2rem; }
}

.poem-section {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  background: var(--blush);
  padding: 6rem 2rem 7rem;
  text-align: center;
}
.poem-inner { max-width: 620px; margin: 0 auto; }
.poem-stanza { margin-bottom: 3rem; }
.poem-stanza--closing { margin-bottom: 3.5rem; }
.poem-line {
  font-family: 'Frank Ruhl Libre', serif;
  color: var(--charcoal);
  font-size: 1.35rem;
  line-height: 1.9;
  margin: 0 0 0.3rem;
}
.poem-line--emphasis {
  color: var(--chocolate);
  font-weight: 700;
  font-size: 1.55rem;
}
.poem-section .whatsapp-link { margin-top: 0.5rem; }

@media (max-width: 640px) {
  .poem-section { padding: 3.5rem 1.25rem 4rem; }
  .poem-line { font-size: 1.1rem; line-height: 1.75; }
  .poem-line--emphasis { font-size: 1.3rem; }
  .poem-stanza { margin-bottom: 2.25rem; }
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-text-small);
  line-height: var(--lh-text-small);
  font-weight: 700;
  color: var(--sky);
  background: rgba(98,164,193,0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.pantry-categories {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  margin-top: 2.5rem;
  counter-reset: pantry;
}

.pantry-item {
  counter-increment: pantry;
  background: #fdfcfa;
  border: 1px solid rgba(48,48,48,0.06);
  border-radius: 18px;
  padding: 1.6rem 1.8rem 1.8rem;
}
.pantry-item h3 {
  margin: 0 0 0.5rem;
  font-size: var(--fs-heading-card);
  font-weight: var(--fw-heading-card);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pantry-item h3::before {
  content: counter(pantry);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--sky);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pantry-item p { margin: 0 0 1.2rem; font-size: 0.95rem; color: rgba(48,48,48,0.75); max-width: 640px; }

.pantry-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}
.pantry-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(48,48,48,0.08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(48,48,48,0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.pantry-photos img:hover {
  box-shadow: 0 6px 16px rgba(48,48,48,0.12);
  transform: translateY(-2px);
}

.category-intro a,
.pantry-item p a {
  color: var(--sky);
  text-decoration: underline;
  text-decoration-color: rgba(98,164,193,0.4);
}
.category-intro a:hover,
.pantry-item p a:hover { text-decoration-color: var(--sky); }

.guide-note {
  margin-top: 2.5rem;
  padding: 1rem 1.2rem;
  background: rgba(98,164,193,0.08);
  border-radius: 10px;
  font-size: 0.85rem;
  color: rgba(48,48,48,0.7);
}

.pantry-categories--avoid,
.pantry-categories--eat {
  counter-reset: pantry;
  margin-top: 1.5rem;
}
.pantry-categories--avoid .section-label,
.pantry-categories--eat .section-label {
  margin-bottom: 1.2rem;
}
.pantry-item--avoid h3::before { background: #b3452e; }
.pantry-item--eat h3::before { background: var(--sage); }

.table-scroll { overflow-x: auto; margin: 1rem 0 0.5rem; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table th,
.data-table td {
  padding: 0.55rem 0.9rem;
  text-align: right;
  border-bottom: 1px solid rgba(48,48,48,0.08);
  font-variant-numeric: tabular-nums;
}
.data-table thead th {
  color: var(--chocolate);
  font-weight: 700;
  border-bottom: 2px solid rgba(48,48,48,0.15);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.guide-card {
  display: block;
  background: white;
  border: 1px solid rgba(98,164,193,0.3);
  border-radius: 12px;
  padding: 1.2rem;
  text-decoration: none;
  color: var(--charcoal);
}
.guide-card h3 { margin: 0; font-size: var(--fs-heading-card); font-weight: var(--fw-heading-card); }

.section-label {
  font-size: var(--fs-text-small);
  line-height: var(--lh-text-small);
  font-weight: 700;
  color: rgba(48,48,48,0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 0;
}
.section-label--first { margin-top: 0; }

.recipes-hero {
  text-align: center;
  padding: 2rem 0 3rem;
}
.recipes-hero h1 {
  margin: 0 0 1.25rem;
}
.recipes-search { max-width: 460px; margin: 0 auto; }
.recipes-search-input {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(48,48,48,0.15);
  background: #ffffff;
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.recipes-search-input::placeholder { color: rgba(48,48,48,0.4); }
.recipes-search-input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(98,164,193,0.15);
}

.search-results-section .search-empty {
  text-align: center;
  color: rgba(48,48,48,0.55);
  margin-top: 1.5rem;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: rgba(48,48,48,0.5);
  font-size: 0.85rem;
}

.quote-section {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: 3.5rem;
  background: var(--cream);
  text-align: center;
  padding: 5rem 2rem;
}
.quote-line {
  font-family: 'Frank Ruhl Libre', serif;
  direction: ltr;
  margin: 0;
  color: rgba(48,48,48,0.45);
  font-size: 1.6rem;
  font-style: italic;
}
.quote-attr {
  direction: ltr;
  margin: 0.4rem 0 0;
  color: rgba(48,48,48,0.5);
  font-size: 0.95rem;
}
.quote-line--main {
  color: var(--chocolate);
  font-size: 2.75rem;
  font-weight: 700;
  font-style: normal;
  margin-top: 2rem;
}
.quote-line--main + .quote-attr { font-size: 1.05rem; color: rgba(48,48,48,0.65); }

@media (max-width: 640px) {
  .quote-section { padding: 3.5rem 1.25rem; }
  .quote-line { font-size: 1.25rem; }
  .quote-line--main { font-size: 2rem; margin-top: 1.5rem; }
}
