/* ==========================================================================
   Ninja Creami Veggie-Base Recipes Theme Stylesheet
   ========================================================================== */

.creami-site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Top Banner */
.creami-top-banner {
  background-color: #E9E5D9;
  border-bottom: 1px solid rgba(212, 209, 199, 0.7);
  padding: 10px 16px;
  text-align: center;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5A5A40;
  font-weight: 700;
}
.creami-top-banner a {
  color: #5A5A40;
  text-decoration: underline;
  margin-left: 8px;
}

/* Header */
.creami-header {
  padding: 36px 0 24px;
  border-bottom: 1px solid #D4D1C7;
  margin-bottom: 30px;
}
.creami-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}
.creami-brand h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #5A5A40;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.creami-brand h1 a {
  color: #5A5A40;
}
.creami-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: #8C897D;
  max-width: 600px;
}
.creami-badges {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.creami-badge {
  padding: 4px 12px;
  background-color: #EBE8DF;
  color: #5A5A40;
  border-radius: 9999px;
  border: 1px solid #D4D1C7;
}

/* Master Navigation Bar */
.creami-nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background-color: rgba(233, 229, 217, 0.45);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(212, 209, 199, 0.6);
  margin-bottom: 36px;
}
.creami-nav-link {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
  color: #5A5A40;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.creami-nav-link:hover {
  background-color: rgba(233, 229, 217, 0.7);
  color: #43432F;
}
.creami-nav-link.active {
  background-color: #5A5A40;
  color: #F9F7F2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Catalog Toolbar */
.creami-catalog-toolbar {
  margin-bottom: 28px;
}
.creami-search-box {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #D4D1C7;
  border-radius: 14px;
  font-size: 0.95rem;
  background-color: #FFFFFF;
  margin-bottom: 16px;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.creami-search-box:focus {
  border-color: #5A5A40;
}
.creami-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.creami-pill {
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: #FFFFFF;
  border: 1px solid #D4D1C7;
  color: #5A5A40;
  cursor: pointer;
  transition: all 0.15s ease;
}
.creami-pill:hover,
.creami-pill.active {
  background-color: #5A5A40;
  color: #F9F7F2;
  border-color: #5A5A40;
}

/* Recipe Grid */
.creami-recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}
.creami-recipe-card {
  background-color: #FFFFFF;
  border: 1px solid #D4D1C7;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.creami-recipe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}
.creami-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.creami-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #3D3D33;
  line-height: 1.3;
}
.creami-card-title a {
  color: #3D3D33;
}
.creami-card-category {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  background-color: #EBE8DF;
  color: #5A5A40;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.creami-card-desc {
  font-size: 0.85rem;
  color: #5A5A40;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Macros Bar */
.creami-macros-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background-color: #F9F7F2;
  border: 1px solid #E9E5D9;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  margin-bottom: 16px;
}
.creami-macro-item .macro-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: #5A5A40;
  display: block;
}
.creami-macro-item .macro-lbl {
  font-size: 9px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8C897D;
}

/* Key Ingredients List */
.creami-ingredients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.75rem;
}
.creami-tag {
  background-color: #F3EFE6;
  border: 1px solid #E2DEC3;
  color: #4A4A33;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Instructions Dropdown / Button */
.creami-instructions-toggle {
  background-color: #F9F7F2;
  border: 1px solid #D4D1C7;
  color: #5A5A40;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: center;
}
.creami-instructions-content {
  margin-top: 12px;
  padding: 12px;
  background-color: #F9F7F2;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #3D3D33;
  border-left: 3px solid #5A5A40;
}

/* Single Recipe Page */
.creami-single-container {
  max-width: 800px;
  margin: 0 auto 60px;
}
.creami-single-hero {
  background-color: #FFFFFF;
  border: 1px solid #D4D1C7;
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 30px;
}
.creami-single-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #3D3D33;
  margin-bottom: 12px;
}
.creami-single-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.creami-print-btn {
  padding: 8px 16px;
  background-color: #EBE8DF;
  border: 1px solid #D4D1C7;
  border-radius: 8px;
  color: #5A5A40;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Footer */
.creami-footer {
  margin-top: auto;
  border-top: 1px solid #D4D1C7;
  background-color: #E9E5D9;
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #5A5A40;
}
.creami-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .creami-brand h1 {
    font-size: 1.8rem;
  }
  .creami-recipe-grid {
    grid-template-columns: 1fr;
  }
  .creami-macros-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}
