﻿:root {
  --cfc-accent: #656dba;
  --cfc-accent-dark: #4f56a7;
  --cfc-muted: rgba(67, 75, 86, 0.7);
}

.cfc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--cfc-muted);
  display: block;
  margin-bottom: 0.75rem;
}

#banner .cfc-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cfc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
}

.cfc-tags li {
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.cfc-inline-link {
  margin-top: 1rem;
}

.cfc-price {
  font-weight: 600;
  color: #434b56;
  margin-bottom: 0.75rem;
}

.cfc-count {
  margin-top: 0.4rem;
  color: var(--cfc-muted);
  font-size: 0.9rem;
}

.cfc-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cfc-muted);
  margin-bottom: 0.35rem;
}

.cfc-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cfc-badge {
  background: var(--cfc-accent);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cfc-badge--category {
  background: rgba(67, 75, 86, 0.12);
  color: #434b56;
}

.product-grid {
  --cfc-card-width: 240px;
  --cfc-card-image-height: 190px;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(var(--cfc-card-width), 1fr));
}

.product-grid.grid-compact {
  --cfc-card-width: 200px;
  --cfc-card-image-height: 160px;
}

.product-grid.grid-standard {
  --cfc-card-width: 240px;
  --cfc-card-image-height: 190px;
}

.product-grid.grid-roomy {
  --cfc-card-width: 280px;
  --cfc-card-image-height: 220px;
}

.product-grid article {
  background: #ffffff;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(30, 36, 50, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-grid .image {
  position: relative;
  height: var(--cfc-card-image-height);
}

.product-grid .image img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-grid .content {
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-grid .actions {
  margin-top: auto;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.recipe-card {
  background: #ffffff;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(30, 36, 50, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card .image {
  position: relative;
  height: 190px;
}

.recipe-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card .content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  flex: 1;
}

.recipe-card .actions {
  margin-top: auto;
}

.recipe-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(67, 75, 86, 0.8);
}

.recipe-detail {
  display: grid;
  gap: 2rem;
}

.recipe-hero .image {
  border-radius: 0.6rem;
  overflow: hidden;
}

.recipe-hero .image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.recipe-section {
  display: grid;
  gap: 0.75rem;
}

.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.recipe-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.3rem;
}

.recipe-steps {
  padding-left: 1.2rem;
}

.recipe-steps li {
  margin-bottom: 0.6rem;
}

.recipe-nutrition {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(67, 75, 86, 0.08);
}

#blog-list.spotlights>article {
  flex-direction: row;
}

#blog-list.spotlights>article:nth-child(2n - 1) {
  flex-direction: row;
}

#blog-list.spotlights>article> :nth-child(1) {
  width: 38%;
}

#blog-list.spotlights>article> :nth-child(2) {
  width: 62%;
}

#blog-list.spotlights>article .image {
  min-height: 220px;
}

#blog-list.spotlights>article .image img {
  object-fit: cover;
}

#blog-list.spotlights>article .content {
  text-align: left;
  padding: 3em;
}

#blog-list.spotlights>article:not(:last-child) {
  border-bottom: 1px solid rgba(67, 75, 86, 0.12);
}

#featured-products.spotlights>article,
#featured-posts.spotlights>article {
  flex-direction: row;
}

#featured-products.spotlights>article:nth-child(2n - 1),
#featured-posts.spotlights>article:nth-child(2n - 1) {
  flex-direction: row;
}

#featured-products.spotlights>article> :nth-child(1),
#featured-posts.spotlights>article> :nth-child(1) {
  width: 38%;
}

#featured-products.spotlights>article> :nth-child(2),
#featured-posts.spotlights>article> :nth-child(2) {
  width: 62%;
}

#featured-products.spotlights>article .image,
#featured-posts.spotlights>article .image {
  min-height: 200px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#featured-products.spotlights>article .image {
  justify-content: center;
}

#featured-products.spotlights>article .image img,
#featured-posts.spotlights>article .image img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

#featured-products.spotlights>article .content,
#featured-posts.spotlights>article .content {
  text-align: left;
  padding: 2em;
}

#featured-products.spotlights>article:not(:last-child),
#featured-posts.spotlights>article:not(:last-child) {
  border-bottom: 1px solid rgba(67, 75, 86, 0.12);
}

@media screen and (max-width: 980px) {
  #blog-list.spotlights>article {
    flex-direction: column;
  }

  #blog-list.spotlights>article:nth-child(2n - 1) {
    flex-direction: column;
  }

  #blog-list.spotlights>article> :nth-child(1),
  #blog-list.spotlights>article> :nth-child(2) {
    width: 100%;
  }

  #featured-products.spotlights>article,
  #featured-posts.spotlights>article {
    flex-direction: column;
  }

  #featured-products.spotlights>article:nth-child(2n - 1),
  #featured-posts.spotlights>article:nth-child(2n - 1) {
    flex-direction: column;
  }

  #featured-products.spotlights>article> :nth-child(1),
  #featured-products.spotlights>article> :nth-child(2),
  #featured-posts.spotlights>article> :nth-child(1),
  #featured-posts.spotlights>article> :nth-child(2) {
    width: 100%;
  }
}

.spotlights>article .image img {
  object-fit: cover;
}

.about-page .profile-card .image.left img {
  width: 200px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.about-page .profile-card::after {
  content: "";
  display: block;
  clear: both;
}

#menu [data-cart-count] {
  background: var(--cfc-accent);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.5rem;
  margin-left: 0.4rem;
  font-size: 0.7rem;
}

#menu .links a.active {
  font-weight: 600;
}

.muted {
  color: var(--cfc-muted);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--cfc-accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(36, 48, 58, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cart-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--cfc-accent-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(36, 48, 58, 0.25);
  z-index: 20;
}

.mobile-cart-bar strong {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item .image {
  width: 72px;
  flex: 0 0 72px;
}

.cart-item img {
  border-radius: 0.25rem;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty span {
  min-width: 2ch;
  text-align: center;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 1.25rem;
}

.cart-summary p {
  margin: 0;
}

.prep-sheet {
  padding: 2rem;
}

.prep-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.prep-meta h2 {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #434b56;
}

.prep-line {
  margin-top: 0.5rem;
  border-bottom: 2px solid rgba(67, 75, 86, 0.35);
  height: 1.5rem;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.prep-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.prep-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.prep-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.6rem;
  align-items: start;
}

.prep-box {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(67, 75, 86, 0.5);
  border-radius: 4px;
  margin-top: 3px;
}

.prep-notes {
  display: grid;
  gap: 0.6rem;
}

.prep-notes-lines {
  display: grid;
  gap: 0.9rem;
}

.prep-notes-line {
  border-bottom: 1px dashed rgba(67, 75, 86, 0.4);
  height: 1rem;
}

.post-detail .image {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-detail .image.left {
  max-width: 220px;
}

.post-detail .image.left img {
  width: 100%;
  height: auto;
}

.post-gallery {
  margin-top: 2rem;
}

.post-gallery.is-hidden {
  display: none;
}

.post-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.post-gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.3rem;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--cfc-accent);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(36, 48, 58, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-to-top__label {
  font-weight: 600;
  color: white;
}

.back-to-top__arrow {
  width: 0;
  height: 0;
  margin-left: 0.5rem;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid #ffffff;
  display: inline-block;
  animation: backToTopBounce 1.4s ease-in-out infinite;
}

.back-to-top.is-visible .back-to-top__arrow {
  animation-play-state: running;
}

@keyframes backToTopBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main.accent2 form.combined input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.main.accent2 form.combined input::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.post-detail {
  overflow: hidden;
}

.post-detail p {
  overflow: hidden;
}

#page-wrapper {
  position: relative;
  z-index: 2;
}

#page-wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/cuttingboard.png");
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transform: scale(1.01);
  z-index: 0;
  pointer-events: none;
}

#page-wrapper::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 28, 0.55);
  z-index: 1;
  pointer-events: none;
}

#page-wrapper>* {
  position: relative;
  z-index: 2;
}

#page-wrapper> :first-child,
#page-wrapper> :last-child {
  background-color: transparent;
}

#header nav {
  position: fixed;
  top: 1.5em;
  right: 2em;
  z-index: 2101;
}

#header {
  position: relative;
  z-index: 2100;
}

#header .logo-mark {
  height: 150px;
  width: auto;
  margin-right: 0.6em;
  margin-left: 5em;
  vertical-align: middle;
}

#header .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

@media screen and (min-width: 981px) and (max-width: 1280px) {
  #header nav {
    z-index: 3500;
  }
}

@media screen and (max-width: 980px) {
  #header nav {
    display: none;
  }
}

.menu-fab {
  position: fixed;
  top: 1.1em;
  right: 1.2em;
  z-index: 3000;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.5;
  mix-blend-mode: difference;
}

.menu-fab::after {
  content: "";
  position: absolute;
  inset: -0.35em -0.5em;
  background: rgba(80, 84, 96, 0.35);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
  pointer-events: none;
}

.menu-fab:hover::after,
.menu-fab:focus::after {
  opacity: 1;
}

.menu-fab,
.menu-fab:hover,
.menu-fab:focus {
  text-decoration: none;
  border-bottom: none;
  box-shadow: none;
}

.menu-fab:hover {
  color: rgba(255, 255, 255, 0.7);
}

.menu-fab::before {
  content: "\f0c9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 0.65em;
  order: 2;
}

#header nav a[href="#menu"] {
  display: none;
}

@media screen and (max-width: 980px) {
  #page-wrapper {
    padding-top: 4em;
  }

  #header nav {
    top: 1.5em;
  }

  #header nav a[href="#menu"] {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1em 1em;
    mix-blend-mode: difference;
  }
}

@media screen and (max-width: 736px) {
  #header {
    margin: 0 0 1.5em 0;
    justify-content: center;
    text-align: center;
  }

  #header .logo {
    align-items: center;
    margin: 0 auto;
  }

  #header .logo-mark {
    height: 96px;
    margin-left: 0;
  }
}

@media screen and (max-width: 480px) {
  #page-wrapper {
    padding-top: 2.5em;
  }

  #header {
    height: auto;
    line-height: 1.2;
    padding: 0.75em 1.25em 0;
  }

  #header .logo-mark {
    height: 100px;
  }
}


@media screen and (max-width: 736px) {
  body.has-cart .mobile-cart-bar {
    display: flex;
  }

  body.has-cart main {
    padding-bottom: 5rem;
  }

  .cart-item {
    align-items: flex-start;
  }

  .cart-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {

  body.prep-guide #header,
  body.prep-guide #footer,
  body.prep-guide #menu {
    display: none !important;
  }

  body.prep-guide .wrapper {
    padding: 0;
  }

  body.prep-guide .box {
    border: none;
    box-shadow: none;
  }
}