/** Shopify CDN: Minification failed

Line 44:0 All "@import" rules must come first

**/
/* ==========================================================================
   THE FUDGE CO. — theme stylesheet
   Design tokens grounded in the product: espresso dark chocolate, salted
   caramel, and cream — not a generic cream+terracotta template palette.
   ========================================================================== */

:root {
  /* Color */
  --fc-espresso: #241611;     /* near-black, dark chocolate ganache */
  --fc-cocoa: #40261A;        /* deep chocolate, secondary dark */
  --fc-caramel: #C07C3E;      /* salted caramel accent */
  --fc-caramel-dark: #9C5F2C;
  --fc-rust: #8B3A2B;         /* burnt-sugar accent, used sparingly for CTAs on light bg */
  --fc-cream: #FBF6EC;        /* page background */
  --fc-cream-deep: #F1E4CC;   /* panel background */
  --fc-paper: #FFFDF9;
  --fc-line: rgba(36, 22, 17, 0.12);
  --fc-text: #241611;
  --fc-text-soft: #6B584C;

  /* Type */
  --fc-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --fc-font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --fc-h1: clamp(2.6rem, 4.2vw + 1rem, 4.6rem);
  --fc-h2: clamp(1.9rem, 2.2vw + 1rem, 2.75rem);
  --fc-h3: clamp(1.25rem, 1vw + 1rem, 1.6rem);
  --fc-body: 1.0625rem;

  --fc-radius-sm: 3px;
  --fc-radius: 6px;
  --fc-max: 1240px;
}

/* Font loading — Fraunces for display, Work Sans for body.
   If your Horizon theme already defines these via Theme Settings > Typography,
   remove this @import and map the settings instead. */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@400;500;600&display=swap");

.fc-section {
  background: var(--fc-cream);
  color: var(--fc-text);
  font-family: var(--fc-font-body);
}

.fc-wrap {
  max-width: var(--fc-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.fc-display {
  font-family: var(--fc-font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--fc-espresso);
}

/* -------------------------------------------------------------- Hero --- */

.fc-hero {
  background: var(--fc-espresso);
  color: var(--fc-cream);
  position: relative;
  overflow: hidden;
}

.fc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 640px;
}

.fc-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
}

.fc-hero__kicker {
  font-family: var(--fc-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fc-caramel);
}

.fc-hero__title {
  font-size: var(--fc-h1);
  color: var(--fc-cream);
  max-width: 12ch;
}

.fc-hero__desc {
  font-size: 1.1rem;
  color: rgba(251, 246, 236, 0.78);
  max-width: 42ch;
  line-height: 1.55;
}

.fc-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.fc-hero__rating {
  font-size: 0.9rem;
  color: rgba(251, 246, 236, 0.75);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fc-hero__image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.fc-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  /* soft drip-edge vignette instead of a hard rectangle seam between panels */
  box-shadow: inset 24px 0 40px -30px rgba(0, 0, 0, 0.55);
}

@media (max-width: 900px) {
  .fc-hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .fc-hero__image { min-height: 320px; order: -1; }
}

/* ---------------------------------------------------------- Buttons --- */

.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--fc-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--fc-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.fc-btn--caramel {
  background: var(--fc-caramel);
  color: var(--fc-espresso);
}
.fc-btn--caramel:hover { background: #cf8b49; }

.fc-btn--rust {
  background: var(--fc-rust);
  color: var(--fc-cream);
}
.fc-btn--rust:hover { background: #9c4531; }

.fc-btn--outline {
  background: transparent;
  border-color: var(--fc-line);
  color: var(--fc-text);
}
.fc-btn--outline:hover { border-color: var(--fc-espresso); }

.fc-btn--ghost-light {
  background: transparent;
  border-color: rgba(251, 246, 236, 0.35);
  color: var(--fc-cream);
}
.fc-btn--ghost-light:hover { border-color: var(--fc-cream); }

.fc-btn:active { transform: scale(0.98); }
.fc-btn:focus-visible { outline: 2px solid var(--fc-caramel); outline-offset: 2px; }

/* ------------------------------------------------------- Features bar --- */

.fc-features {
  border-top: 1px solid var(--fc-line);
  border-bottom: 1px solid var(--fc-line);
  background: var(--fc-paper);
}

.fc-features__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.75rem 0;
}

.fc-features__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.5rem;
  border-left: 1px solid var(--fc-line);
}
.fc-features__item:first-child { border-left: none; }

.fc-features__icon { flex: none; color: var(--fc-caramel-dark); }
.fc-features__title { font-weight: 600; font-size: 0.95rem; }
.fc-features__sub { font-size: 0.85rem; color: var(--fc-text-soft); }

@media (max-width: 760px) {
  .fc-features__row { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .fc-features__item { border-left: none; padding: 0 0.75rem; }
}

/* ----------------------------------------------------- Section header --- */

.fc-section-head {
  text-align: left;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}
.fc-section-head__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fc-caramel-dark);
  margin-bottom: 0.5rem;
}
.fc-section-head__title { font-size: var(--fc-h2); }
.fc-section-head__desc { margin-top: 0.6rem; color: var(--fc-text-soft); }

/* ------------------------------------------------------- Product grid --- */

.fc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .fc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .fc-grid { grid-template-columns: 1fr; }
}

.fc-card { display: flex; flex-direction: column; }

.fc-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--fc-radius);
  background: var(--fc-cream-deep);
  margin-bottom: 0.9rem;
}
.fc-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.fc-card:hover .fc-card__media img { transform: scale(1.04); }

.fc-card__badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--fc-espresso); color: var(--fc-cream);
  font-size: 0.7rem; font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: 999px;
}

.fc-card__title { font-family: var(--fc-font-display); font-size: 1.15rem; font-weight: 500; color: var(--fc-espresso); }
.fc-card__tags { font-size: 0.85rem; color: var(--fc-text-soft); margin: 0.2rem 0 0.6rem; }
.fc-card__price { font-weight: 600; margin-bottom: 0.85rem; }
.fc-card__price s { color: var(--fc-text-soft); font-weight: 400; margin-right: 0.4rem; }

.fc-card__btn {
  width: 100%;
  background: var(--fc-cream-deep);
  border: 1px solid var(--fc-line);
  color: var(--fc-espresso);
  font-weight: 600; font-size: 0.9rem;
  padding: 0.75rem 1rem; border-radius: var(--fc-radius-sm);
  cursor: pointer; transition: background-color 0.15s ease;
}
.fc-card__btn:hover { background: var(--fc-caramel); border-color: var(--fc-caramel); }
.fc-card__btn:disabled { cursor: default; opacity: 0.7; }

/* ---------------------------------------------------------- Split story --- */

.fc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.fc-split__image { aspect-ratio: 4 / 3; overflow: hidden; }
.fc-split__image img { width: 100%; height: 100%; object-fit: cover; }
.fc-split__content { padding: clamp(2rem, 5vw, 4.5rem); background: var(--fc-cream-deep); height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.fc-split__content .fc-section-head { margin-bottom: 0; }

@media (max-width: 860px) {
  .fc-split { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------ Flavor explorer --- */

.fc-explorer {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.fc-flavors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.fc-flavor {
  text-align: center;
  text-decoration: none;
  color: var(--fc-text);
}
.fc-flavor__swatch {
  aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
  margin: 0 auto 0.7rem; border: 1px solid var(--fc-line);
}
.fc-flavor__swatch img { width: 100%; height: 100%; object-fit: cover; }
.fc-flavor__name { font-weight: 600; font-size: 0.9rem; }
.fc-flavor__sub { font-size: 0.8rem; color: var(--fc-text-soft); }

.fc-giftpanel {
  background: var(--fc-espresso); color: var(--fc-cream);
  border-radius: var(--fc-radius);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.75rem;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden; min-height: 340px; justify-content: flex-end;
}
.fc-giftpanel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(24,14,10,0.92) 10%, rgba(24,14,10,0.15) 65%);
}
.fc-giftpanel > * { position: relative; z-index: 1; }
.fc-giftpanel__kicker { font-size: 0.8rem; font-weight: 600; color: var(--fc-caramel); }
.fc-giftpanel__title { font-family: var(--fc-font-display); font-size: 1.7rem; }

@media (max-width: 860px) {
  .fc-explorer { grid-template-columns: 1fr; }
  .fc-flavors { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------- Reviews --- */

.fc-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fc-review__stars { color: var(--fc-caramel-dark); margin-bottom: 0.6rem; font-size: 0.9rem; }
.fc-review__quote { font-family: var(--fc-font-display); font-size: 1.05rem; line-height: 1.45; color: var(--fc-espresso); }
.fc-review__author { margin-top: 0.75rem; font-size: 0.85rem; color: var(--fc-text-soft); }

@media (max-width: 760px) {
  .fc-reviews { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---------------------------------------------------------- Promo bar --- */

.fc-promo {
  background: var(--fc-cocoa);
  color: var(--fc-cream);
  background-size: cover; background-position: center;
  position: relative;
}
.fc-promo::before { content:""; position:absolute; inset:0; background: rgba(28,16,12,0.72); }
.fc-promo__row {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem;
  padding: 2.5rem 0;
}
.fc-promo__code {
  display: inline-block; border: 1px dashed rgba(251,246,236,0.5);
  padding: 0.3rem 0.7rem; border-radius: 4px; font-weight: 600; letter-spacing: 0.02em;
  margin-top: 0.4rem;
}

/* --------------------------------------------------------- Closing CTA --- */

.fc-closing {
  background: var(--fc-espresso); color: var(--fc-cream); text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.fc-closing__title { font-size: var(--fc-h2); }
.fc-closing__meta { display:flex; justify-content:center; gap:2rem; flex-wrap:wrap; margin: 1.5rem 0 2rem; font-size:0.9rem; color: rgba(251,246,236,0.7);}

/* ====================================================================
   PRODUCT PAGE
   ==================================================================== */

.fc-pdp {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.fc-pdp__gallery { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; }
.fc-pdp__thumbs { display: flex; flex-direction: column; gap: 0.75rem; }
.fc-pdp__thumb {
  aspect-ratio: 1/1; border-radius: var(--fc-radius-sm); overflow: hidden;
  border: 1px solid var(--fc-line); cursor: pointer; background: var(--fc-cream-deep);
}
.fc-pdp__thumb.is-active { border-color: var(--fc-espresso); border-width: 2px; }
.fc-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }

.fc-pdp__main { aspect-ratio: 1/1; border-radius: var(--fc-radius); overflow: hidden; background: var(--fc-cream-deep); }
.fc-pdp__main img { width: 100%; height: 100%; object-fit: cover; }

.fc-pdp__info { display: flex; flex-direction: column; }
.fc-pdp__eyebrow { font-size: 0.8rem; font-weight: 600; color: var(--fc-caramel-dark); margin-bottom: 0.4rem; }
.fc-pdp__title { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem); margin-bottom: 0.5rem; }
.fc-pdp__rating { display:flex; align-items:center; gap:0.5rem; font-size:0.9rem; color: var(--fc-text-soft); margin-bottom: 1rem; }
.fc-pdp__price { font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.fc-pdp__price s { font-size: 1rem; color: var(--fc-text-soft); font-weight: 400; margin-right: 0.5rem; }
.fc-pdp__desc { color: var(--fc-text-soft); line-height: 1.6; margin-bottom: 1.5rem; max-width: 52ch; }

.fc-pdp__label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 0.6rem; display:block; }

.fc-swatches { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.fc-swatch {
  border: 1px solid var(--fc-line); background: var(--fc-paper);
  border-radius: var(--fc-radius-sm); padding: 0.65rem 1.1rem;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.fc-swatch.is-selected { background: var(--fc-espresso); color: var(--fc-cream); border-color: var(--fc-espresso); }

.fc-qty {
  display: inline-flex; align-items: center; border: 1px solid var(--fc-line); border-radius: var(--fc-radius-sm);
  width: fit-content; margin-bottom: 1.5rem;
}
.fc-qty button { background: none; border: none; width: 2.6rem; height: 2.6rem; font-size: 1.1rem; cursor: pointer; }
.fc-qty input { width: 2.6rem; height: 2.6rem; text-align: center; border: none; border-left: 1px solid var(--fc-line); border-right: 1px solid var(--fc-line); font-family: var(--fc-font-body); }

.fc-pdp__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.fc-pdp__actions .fc-btn { width: 100%; padding: 1rem; }

.fc-pdp__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--fc-line); }

@media (max-width: 860px) {
  .fc-pdp { grid-template-columns: 1fr; }
  .fc-pdp__gallery { grid-template-columns: 1fr; }
  .fc-pdp__thumbs { flex-direction: row; overflow-x: auto; }
  .fc-pdp__thumbs .fc-pdp__thumb { flex: none; width: 64px; }
  .fc-pdp__features { grid-template-columns: repeat(2, 1fr); }
}

/* Sticky mobile add-to-cart — improvement over the mockup: keeps the
   primary action reachable while the customer scrolls the long PDP. */
.fc-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--fc-paper); border-top: 1px solid var(--fc-line);
  padding: 0.85rem 1rem; display: none;
  align-items: center; gap: 0.9rem;
  box-shadow: 0 -6px 18px rgba(36,22,17,0.08);
}
.fc-sticky-atc__price { font-weight: 600; white-space: nowrap; }
.fc-sticky-atc .fc-btn { flex: 1; }

@media (max-width: 760px) {
  .fc-sticky-atc.is-visible { display: flex; }
  body.fc-has-sticky-atc { padding-bottom: 4.5rem; }
}

/* Ingredients / nutrition tabs */
.fc-tabs__nav { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--fc-line); margin-bottom: 1.25rem; }
.fc-tabs__btn { background: none; border: none; padding: 0 0 0.85rem; font-weight: 600; font-size: 0.95rem; color: var(--fc-text-soft); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.fc-tabs__btn.is-active { color: var(--fc-espresso); border-color: var(--fc-espresso); }
.fc-tabs__panel { display: none; color: var(--fc-text-soft); line-height: 1.6; }
.fc-tabs__panel.is-active { display: block; }
.fc-tabs__panel strong { color: var(--fc-text); }

.fc-recirc-note {
  background: var(--fc-cream-deep); border-radius: var(--fc-radius);
  padding: 1.5rem; display: flex; gap: 1.25rem; align-items: center;
}
.fc-recirc-note svg { flex: none; }
.fc-recirc-note__title { font-family: var(--fc-font-display); font-size: 1.05rem; margin-bottom: 0.25rem; }
.fc-recirc-note__sub { font-size: 0.85rem; color: var(--fc-text-soft); }

@media (max-width: 640px) {
  .fc-section-head__title { font-size: 1.6rem; }
}
