/* ═══════════════════════════════════════════════════════════
   ChopYum v3 — Pickup Limes Inspired
   ═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --cream: #F8F6F1;
  --cream-dark: #EDE9E1;
  --white: #FFFFFF;
  --ink: #1C1C1A;
  --ink-2: #3C3B38;
  --ink-3: #7A7872;
  --sage: #4A6741;
  --sage-mid: #6A8F61;
  --sage-light: #EBF1E8;
  --sage-chip: #D2E4CF;
  --amber: #B87333;
  --amber-light: #F5EBE0;
  --border: #E2DDD6;
  --border-mid: #C5BFB4;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 999px;
  --sh-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --sh-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --sh-md: 0 12px 40px rgba(0, 0, 0, 0.12);
  --sh-lg: 0 24px 80px rgba(0, 0, 0, 0.18);
  --t: 0.25s ease;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--t);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 400;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sage-mid);
}

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.3px;
  transition: color var(--t);
}

.brand img {
  border-radius: var(--r-sm);
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  gap: 2px;
  align-items: center;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-full);
  transition: all var(--t);
}

.site-nav a:hover {
  color: var(--sage);
  background: var(--sage-light);
}

.site-nav a.active {
  color: var(--sage);
  background: var(--sage-light);
}

.nav-cta {
  background: var(--sage) !important;
  border: 1px solid var(--sage) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--r-full) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: all var(--t) !important;
}

.nav-cta:hover {
  background: var(--sage-mid) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: relative;
  z-index: 320;
  transition: background var(--t), border-color var(--t);
}

.nav-toggle:hover {
  background: var(--sage-light);
  border-color: var(--sage-mid);
  color: var(--sage);
}

.nav-toggle.active {
  background: var(--sage-light);
  border-color: var(--sage);
  color: var(--sage);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ══════════════════════════════════
   HERO SLIDER (FULL WIDTH)
══════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 75vh;
  min-height: 510px;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-bottom: 5px solid rgba(106, 143, 97, 0.22);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 255, 255, 0.06) 100%);
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 10%;
  right: 10%;
  z-index: 10;
  pointer-events: none;
}

.hero-text-wrap {
  max-width: 600px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.hero-quote em {
  font-style: italic;
}

.hero-subtext {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  max-width: 500px;
}

/* Hero search - Highly Visible */
.hero-search-wrap {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-full);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: border-color var(--t), box-shadow var(--t);
}

.hero-search-wrap:focus-within {
  border-color: var(--sage-mid);
  box-shadow: 0 0 0 4px rgba(106, 143, 97, 0.15);
}

.hero-search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 15px 22px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
}

.hero-search-wrap input::placeholder {
  color: var(--ink-3);
}

.hero-search-wrap button {
  flex-shrink: 0;
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 12px 28px;
  margin: 5px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--t);
}

.hero-search-wrap button:hover {
  background: var(--sage-mid);
}

/* Search Bar Section (Below Hero) */
.search-bar-section {
  padding: 40px 0 0;
  display: flex;
  justify-content: center;
}

.search-bar-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-full);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: border-color var(--t), box-shadow var(--t);
  padding-left: 20px;
}

.search-bar-inner:focus-within {
  border-color: var(--sage-mid);
  box-shadow: 0 0 0 4px rgba(106, 143, 97, 0.15);
}

.search-bar-inner .search-icon {
  font-size: 16px;
  color: var(--ink-3);
}

.search-bar-inner input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 15px 16px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
}

.search-bar-inner input::placeholder {
  color: var(--ink-3);
}

.search-bar-inner button {
  flex-shrink: 0;
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 12px 28px;
  margin: 5px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--t);
}

.search-bar-inner button:hover {
  background: var(--sage-mid);
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 10%;
  z-index: 15;
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
}

.slider-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

.slider-arrows {
  position: absolute;
  bottom: 28px;
  right: 10%;
  z-index: 15;
  display: flex;
  gap: 8px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: all var(--t);
}

.slider-arrow:hover {
  background: #fff;
  transform: scale(1.05);
}

.hero-scroll-hint {
  display: none;
}

/* ══════════════════════════════════
   CONTENT WRAP
══════════════════════════════════ */
.content-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

@media(max-width:768px) {
  .content-wrap {
    padding: 0 20px;
  }
}

/* ══════════════════════════════════
   FILTERS
══════════════════════════════════ */
.filters-bar {
  padding: 48px 0 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.filters-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.filters-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.diet-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.diet-pill {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--border-mid);
  background: var(--white);
  color: var(--ink-2);
  padding: 6px 16px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t);
}

.diet-pill:hover {
  border-color: var(--sage-mid);
  color: var(--sage);
}

.diet-pill.active {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.cat-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1px;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
}

.cat-tabs {
  display: flex;
  gap: 0;
  width: max-content;
}

.cat-tab {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--t);
}

.cat-tab:hover {
  color: var(--ink);
}

.cat-tab.active {
  color: var(--sage);
  border-bottom-color: var(--sage);
  font-weight: 600;
}

/* ══════════════════════════════════
   RECIPE GRID
══════════════════════════════════ */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  margin-bottom: 60px;
}

@media(max-width:1100px) {
  .recipes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
}

@media(max-width:780px) {
  .recipes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
}

@media(max-width:480px) {
  .recipes-grid {
    grid-template-columns: 1fr;
  }
}

.recipe-card {
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.recipe-card:hover .card-img img {
  transform: scale(1.05);
}

.recipe-card:hover .card-title {
  color: var(--sage);
}

.card-img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--cream-dark);
  margin-bottom: 14px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-badge-time {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.card-badge-diet {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-full);
}

.badge-vegan {
  background: rgba(210, 228, 207, 0.92);
  color: #2f5430;
}

.badge-vegetarian {
  background: rgba(255, 242, 196, 0.92);
  color: #6b4c00;
}

.badge-nonveg {
  background: rgba(255, 220, 210, 0.92);
  color: #8b2c1a;
}

.card-meta-top {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 5px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
  transition: color var(--t);
}

.card-desc {
  display: none !important;
}

/* Skeleton */
@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}

.skel {
  border-radius: var(--r-md);
  background: var(--cream-dark);
}

.skel-img {
  aspect-ratio: 3/2;
  border-radius: var(--r-md);
  background: linear-gradient(90deg, var(--cream-dark) 0%, #E8E3D8 50%, var(--cream-dark) 100%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
  margin-bottom: 14px;
}

.skel-line {
  height: 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--cream-dark) 0%, #E8E3D8 50%, var(--cream-dark) 100%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
}

.skel-line.short {
  width: 60%;
}

/* Load more */
.load-more-wrap {
  text-align: center;
  padding: 20px 0 80px;
}

.btn-load-more {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  background: transparent;
  border: 1.5px solid var(--sage);
  padding: 13px 44px;
  border-radius: var(--r-full);
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all var(--t);
}

.btn-load-more:hover {
  background: var(--sage);
  color: #fff;
}

.btn-load-more.hidden {
  display: none;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 0;
}

.empty-icon {
  font-size: 52px;
  display: block;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.empty-state.hidden {
  display: none;
}

.btn-reset {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  background: var(--sage-light);
  border: none;
  padding: 10px 24px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t);
}

.btn-reset:hover {
  background: var(--sage);
  color: #fff;
}

/* ══════════════════════════════════
   FEATURE STRIP
══════════════════════════════════ */
.feature-strip {
  background: var(--cream-dark);
  padding: 64px 0;
}

.feature-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.strip-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 12px;
}

.strip-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-style: italic;
  margin-bottom: 48px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

@media(max-width:780px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

.feat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-sm);
}

.feat-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feat-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ══════════════════════════════════
   NEWSLETTER
══════════════════════════════════ */
.newsletter-section {
  background: var(--sage);
  padding: 80px 40px;
  text-align: center;
}

.newsletter-section h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 44px);
  font-style: italic;
  margin-bottom: 10px;
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 32px;
}

.news-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-full);
  overflow: hidden;
}

.news-form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 14px 22px;
  font-size: 13.5px;
  color: #fff;
  font-family: var(--font-sans);
}

.news-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.news-form button {
  flex-shrink: 0;
  background: #fff;
  color: var(--sage);
  border: none;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--t);
}

.news-form button:hover {
  background: var(--cream);
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 40px 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media(max-width:700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand img {
  border-radius: 6px;
  width: 28px;
  height: 28px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

/* ══════════════════════════════════
   RECIPE DETAIL PAGE
══════════════════════════════════ */
.detail-page {
  min-height: 100vh;
}

/* Hero Section Grid */
.detail-hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 4% 40px 4%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media(max-width: 900px) {
  .detail-hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 20px;
  }
}

.detail-hero-left {
  width: 100%;
}

.detail-hero-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.detail-breadcrumb {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.detail-breadcrumb a {
  color: var(--ink-3);
  transition: color var(--t);
}

.detail-breadcrumb a:hover {
  color: var(--sage);
}

.detail-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: left;
}

.detail-badge-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.detail-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.badge-diet {
  background: var(--sage-light);
  color: var(--sage);
  border: 1px solid var(--sage-chip);
}

.badge-cuisine, .badge-meal, .badge-diff {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid #e9dfd3;
}

.detail-desc {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 32px;
  text-align: left;
  white-space: pre-line;
}

/* Quick Info Grid inside Hero */
.detail-quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 32px;
  gap: 16px;
}

@media(max-width: 480px) {
  .detail-quick-info {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.detail-quick-info .info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  border-right: 1px solid var(--border);
}

.detail-quick-info .info-item:last-child {
  border-right: none;
}

@media(max-width: 480px) {
  .detail-quick-info .info-item:nth-child(2) {
    border-right: none;
  }
}

.detail-quick-info .info-item .info-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-3);
}

.detail-quick-info .info-item strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.detail-back-wrap {
  margin-top: 8px;
}

.detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  background: var(--sage-light);
  padding: 8px 20px;
  border-radius: var(--r-full);
  transition: all var(--t);
}

.detail-back-btn:hover {
  background: var(--sage);
  color: #fff;
  transform: translateX(-3px);
}

/* Image Card Styling */
.detail-image-card {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  background: var(--cream-dark);
}

.detail-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail body */
.detail-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4% 80px 4%;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

@media(max-width:900px) {
  .detail-body {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
    gap: 48px;
  }
}

.detail-left {
  position: relative;
}

.detail-ingredients-card {
  position: sticky;
  top: 100px;
  background: #f6f4ee; /* Pick Up Limes signature warm gray-white background */
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--sh-xs);
}

@media(max-width:900px) {
  .detail-ingredients-card {
    position: static;
    padding: 28px 24px;
  }
}

.detail-right {
  padding-left: 0;
}

/* Section heading */
.sec-head {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.servings-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--cream-dark);
  border-radius: var(--r-full);
  padding: 4px;
}

.sc-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all var(--t);
  line-height: 1;
}

.sc-btn:hover {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.sc-num {
  min-width: 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.ing-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 22px 0 10px;
}

.ing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ing-item {
  display: flex;
}

.ing-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t);
}

.ing-label:hover {
  background: rgba(74, 103, 65, 0.05); /* very light sage hue on hover */
}

.ing-chk-input {
  display: none;
}

.ing-chk-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid var(--border-mid);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  background: var(--white);
}

.ing-chk-input:checked~.ing-chk-box {
  background: var(--sage);
  border-color: var(--sage);
}

.ing-chk-input:checked~.ing-chk-box::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ing-chk-input:checked~.ing-text {
  text-decoration: line-through;
  color: var(--ink-3);
  opacity: 0.6;
}

.ing-text {
  font-size: 14.5px;
  line-height: 1.55;
}

.ing-qty {
  font-weight: 600;
  color: var(--sage);
  margin-right: 3px;
}

.ing-prep {
  color: var(--ink-3);
  font-style: italic;
}

/* Storage block */
.storage-block {
  margin-top: 32px;
  background: var(--cream-dark);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.storage-block h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  margin-bottom: 12px;
}

.storage-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.stor-chip {
  font-size: 12.5px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--r-full);
  color: var(--ink-2);
}

.storage-block p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.storage-block.hidden {
  display: none;
}

/* Steps */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 24px;
  cursor: pointer;
  padding: 12px;
  border-radius: var(--r-md);
  transition: all var(--t);
}

.step-item:hover {
  background: rgba(74, 103, 65, 0.03);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  color: var(--sage-mid);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  text-align: right;
  transition: all var(--t);
}

.step-text {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.75;
  flex-grow: 1;
  transition: all var(--t);
}

/* Method step checklist completion states */
.step-item.completed .step-number {
  color: var(--border-mid);
  text-decoration: line-through;
}

.step-item.completed .step-text {
  color: var(--ink-3);
  text-decoration: line-through;
  opacity: 0.6;
}

/* Nutrition */
.nut-block {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.nut-block h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  margin-bottom: 20px;
}

.nut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.nut-cell {
  background: var(--cream-dark);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
}

.nut-val {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--sage);
}

.nut-lbl {
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nut-block.hidden {
  display: none;
}

/* Loading skeleton for detail */
.detail-skel-hero {
  height: 55vh;
  min-height: 400px;
  background: linear-gradient(90deg, var(--cream-dark) 0%, #E8E3D8 50%, var(--cream-dark) 100%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
}

.shimmer-text {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--cream-dark) 0%, #E8E3D8 50%, var(--cream-dark) 100%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite linear;
}

/* Ad Placeholders */
.chopyum-ad-placeholder {
  display: block;
  margin: 32px auto;
  padding: 16px;
  max-width: 100%;
  text-align: center;
  background: var(--cream-dark);
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-md);
  min-height: 100px;
  box-sizing: border-box;
}

.chopyum-ad-placeholder .ad-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-3);
  margin-bottom: 12px;
}

/* Mobile nav & Responsive Layouts */
@media(max-width:768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-wrap {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-sm);
  }

  .nav-wrap.open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    width: 100%;
  }

  .site-nav a {
    color: var(--ink-2) !important;
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--r-sm);
  }

  .nav-cta {
    color: #fff !important;
    background: var(--sage) !important;
    border-color: var(--sage) !important;
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px !important;
    margin-top: 10px;
  }

  .header-inner {
    padding: 0 20px;
  }

  /* Hero Slider Mobile Adaptations */
  .hero-slider {
    width: 100%;
    border-radius: 0;
    margin-top: 72px;
    height: 48vh;
    min-height: 380px;
  }

  .hero-content {
    left: 16px;
    right: 16px;
    bottom: 30px;
  }

  .hero-text-wrap {
    padding: 24px 20px;
    border-radius: var(--r-lg);
    background: rgba(0, 0, 0, 0.45);
    max-width: 100%;
  }

  .hero-quote {
    font-size: clamp(24px, 4.5vw, 32px);
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-subtext {
    font-size: 13px;
    max-width: 100%;
  }

  .hero-badge {
    padding: 4px 10px;
    font-size: 9px;
    margin-bottom: 12px;
  }

  .slider-dots {
    left: 20px;
    bottom: 16px;
  }

  .slider-arrows {
    right: 20px;
    bottom: 16px;
  }

  /* Search bar responsiveness */
  .search-bar-section {
    padding: 24px 20px 0;
  }

  .search-bar-inner {
    padding-left: 14px;
  }

  .search-bar-inner input {
    padding: 10px 8px;
    font-size: 13.5px;
  }

  .search-bar-inner button {
    padding: 8px 16px;
    font-size: 12.5px;
  }

  .detail-hero-info {
    padding: 24px 20px;
  }

  .detail-meta-bar {
    padding: 0 20px;
  }
}

@media(max-width:900px) {
  .detail-ingredients-card {
    position: static !important;
  }
}

body.no-scroll {
  overflow: hidden;
}

/* ─── Legal Pages Layout ─────────────────────────────────────── */
.top-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--amber) 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 290;
  pointer-events: none;
}

.page-hero {
  background: linear-gradient(180deg, var(--sage-light) 0%, var(--cream) 100%);
  padding: 80px 24px 60px;
  text-align: center;
  margin-top: 0px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  color: var(--ink);
}

.page-hero p.subtitle {
  color: var(--ink-3);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

main.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 28px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-xs);
}

.card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sage) 0%, var(--amber) 100%);
}

.card h2 {
  font-size: 22px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--sage);
  font-weight: 600;
}

.card p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.card li {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.card p + p,
.card p + ul,
.card p + ol,
.card ul + p,
.card ol + p {
  margin-top: 14px;
}

.card strong {
  color: var(--sage);
  font-weight: 600;
}

.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 30px;
  margin-bottom: 30px;
  box-shadow: var(--sh-xs);
}

.toc h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media(max-width: 580px) {
  .toc ol {
    grid-template-columns: 1fr;
  }
}

.toc a {
  display: flex;
  align-items: center;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--cream);
  border: 1px solid var(--border);
}

.toc a:hover {
  color: var(--sage);
  border-color: var(--sage);
  background-color: var(--sage-light);
}

.contact-box {
  background: linear-gradient(135deg, var(--sage), var(--sage-mid));
  border-radius: var(--r-xl);
  padding: 40px 28px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--sh-sm);
}

.contact-box h2 {
  color: var(--cream);
  justify-content: center;
  margin-bottom: 12px;
}

.contact-box p {
  color: var(--sage-light);
  margin-bottom: 24px;
}

.contact-box .btn {
  background: var(--cream);
  color: var(--sage);
  padding: 10px 24px;
  border-radius: var(--r-full);
  display: inline-block;
  font-weight: 600;
}

.contact-box .btn:hover {
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

td {
  color: var(--ink-2);
}

th {
  color: var(--sage);
  background: var(--cream-dark);
  font-weight: 600;
}

/* Feature grid on About page */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media(max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: left;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card p {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

.feature-card .icon {
  font-size: 24px;
  margin-bottom: 10px;
}

/* ══════════════════════════════════
   MOBILE LEGAL & NAV RESPONSIVE
══════════════════════════════════ */
@media(max-width: 580px) {
  .page-hero {
    padding: 40px 20px 36px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 12px;
  }

  .page-hero p.subtitle {
    font-size: 14.5px;
  }

  main.legal {
    padding: 20px 14px 60px;
  }

  .card {
    padding: 18px 16px;
    margin-bottom: 14px;
    border-radius: var(--r-md);
  }

  .card h2 {
    font-size: 18px;
  }

  .card p,
  .card li {
    font-size: 14px;
  }

  .toc {
    padding: 18px 16px;
    margin-bottom: 18px;
  }

  .toc h2 {
    font-size: 15px;
  }

  .contact-box {
    padding: 28px 20px;
    border-radius: var(--r-lg);
  }

  .contact-box h2 {
    font-size: 20px;
  }

  .contact-box p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  th, td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .feature-card {
    padding: 16px;
  }
}

@media(max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}