/* shop-promo-homepage v1.8.0 · CSS box */
/* ============================================================
   Setlist Shop promo module — homepage
   Namespace: .sfmshop-promo / --sfmshop-* / #sfmshop-promo-*
   ------------------------------------------------------------
   Theme: dark values are the design spec; light values map to
   setlist.fm's light Bootstrap tokens. Where the site exposes an
   exactly-matching CSS variable we consume it with a hard
   fallback (var(--bs-*, <design value>)) so the module tracks
   the page theme automatically; everything else switches under
   html[data-bs-theme=light].
   ============================================================ */

.sfmshop-promo {
  /* --- theme tokens (dark defaults = design spec) --- */
  --sfmshop-box: var(--bs-body-bg-bright, #212529);   /* container / tile bg  (#212529 dark, #fff light) */
  --sfmshop-bar: var(--bs-body-bg-bright, #212529);   /* header bar — same surface as the boxes */
  --sfmshop-divider: #3a3f44;                         /* 1px grid gap colour */
  --sfmshop-separator: #52575c;                       /* header vertical rule */
  --sfmshop-muted: #999;                              /* tips, prices, bar text/links */
  --sfmshop-strong: #fff;                             /* product names */
  --sfmshop-tile-hover: #2c3038;
  --sfmshop-link-hover: #ccebac;
  --sfmshop-skeleton: #2c3034;
  --sfmshop-green: #85b146;
  --sfmshop-green-edge: #779f3f;
  --sfmshop-green-hover: #93bd57;
  --sfmshop-green-active: #6a8e39;
  --sfmshop-focus: rgba(133, 177, 70, 0.55);
  /* CTA button colours — overridable per button via config.ctaColors
     (JS sets these as inline custom props); defaults = design spec */
  --sfmshop-cta1-bg: var(--sfmshop-green);
  --sfmshop-cta1-text: #fff;
  --sfmshop-cta1-border: var(--sfmshop-green-edge);
  --sfmshop-cta1-bg-hover: var(--sfmshop-green-hover);
  --sfmshop-cta1-bg-active: var(--sfmshop-green-active);
  --sfmshop-cta2-bg: transparent;
  --sfmshop-cta2-text: #fff;
  --sfmshop-cta2-border: rgba(255, 255, 255, 0.75);
  --sfmshop-cta2-bg-hover: rgba(255, 255, 255, 0.12);
  --sfmshop-cta2-bg-active: rgba(255, 255, 255, 0.2);
  /* the wordmark is an inline SVG: the "setlist" text takes this
     colour via currentColor, the ":SHOP" part stays brand green */
  --sfmshop-wordmark-color: #fff;

  /* --- responsive tokens (desktop, 3 products = defaults) --- */
  --sfmshop-grid-cols: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  --sfmshop-tile-aspect: 1.2;
  --sfmshop-tile-pad: 10px 12px 12px;
  --sfmshop-tip-size: 10.5px;
  --sfmshop-name-size: 14px;
  --sfmshop-price-size: 13px;
  --sfmshop-headline-size: 22px;
  --sfmshop-eyebrow-size: 10.5px;
  --sfmshop-copy-inset: 16px;
  --sfmshop-copy-bottom: 14px;
  --sfmshop-bar-pad: 8px 15px;
  --sfmshop-wordmark-h: 18px;
  --sfmshop-bar-text: 12px;
  --sfmshop-margin-top: 0px;
  --sfmshop-margin-bottom: 0px;

  display: block;
  container-type: inline-size;
  container-name: sfmshop-promo;
  font-family: Roboto, Arial, sans-serif; /* page-hosted; site body font */
  font-size: 14px;
  line-height: 1.4285714286;
}

/* light theme (mapped to setlist.fm light tokens) */
[data-bs-theme="light"] .sfmshop-promo {
  --sfmshop-box: var(--bs-body-bg-bright, #fff);
  --sfmshop-bar: var(--bs-body-bg-bright, #fff);
  --sfmshop-divider: #ddd;
  --sfmshop-separator: #ccc;
  --sfmshop-muted: #777;
  --sfmshop-strong: #333;
  --sfmshop-tile-hover: #f5f5f5;
  --sfmshop-link-hover: #6a8e39;
  --sfmshop-skeleton: #eee;
  --sfmshop-wordmark-color: #232421; /* logo's own near-black */
}

.sfmshop-promo,
.sfmshop-promo *,
.sfmshop-promo *::before,
.sfmshop-promo *::after {
  box-sizing: border-box;
}

.sfmshop-promo[hidden] { display: none; }

/* --- outer box --- */
.sfmshop-promo__m {
  margin: var(--sfmshop-margin-top) 0 var(--sfmshop-margin-bottom);
  border-radius: 3px;
  overflow: hidden;
  background: var(--sfmshop-box);
}

/* --- header bar --- */
.sfmshop-promo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: var(--sfmshop-bar-pad);
  background: var(--sfmshop-bar);
}

.sfmshop-promo__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sfmshop-promo__wordmark {
  height: var(--sfmshop-wordmark-h);
  flex: none;
  display: block;
  color: var(--sfmshop-wordmark-color);
  text-decoration: none;
}

/* the wordmark is a link; pin :hover/:visited or the SVG's
   currentColor picks up the page's a:hover / a:visited colours
   (visited values hard-coded — browsers drop var() in :visited) */
.sfmshop-promo__wordmark:hover,
.sfmshop-promo__wordmark:focus-visible { color: var(--sfmshop-wordmark-color); }
.sfmshop-promo__wordmark:visited,
.sfmshop-promo__wordmark:visited:hover { color: #fff; }
[data-bs-theme="light"] .sfmshop-promo__wordmark:visited,
[data-bs-theme="light"] .sfmshop-promo__wordmark:visited:hover { color: #232421; }

.sfmshop-promo__wordmark svg {
  height: 100%;
  width: auto;
  display: block;
}

.sfmshop-promo__series {
  font-size: var(--sfmshop-bar-text);
  line-height: 18px;
  color: var(--sfmshop-muted);
  padding-left: 10px;
  border-left: 1px solid var(--sfmshop-separator);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sfmshop-promo__all {
  font-size: var(--sfmshop-bar-text);
  line-height: 18px;
  color: var(--sfmshop-muted);
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sfmshop-promo__all:hover,
.sfmshop-promo__all:focus-visible {
  color: var(--sfmshop-link-hover);
  text-decoration: none;
}

.sfmshop-promo__chev {
  display: block;
  flex: none;
}

/* --- tile grid (1px column gaps painted by grid background) ---
   Two shared rows — images and labels — with each product tile
   subgridded across them: names wrap as tall as they need, and the
   label row automatically equalizes to the tallest label so every
   image stays aligned. (Browsers without subgrid fall back to
   per-tile label heights — aligned only when contents match.) */
.sfmshop-promo__grid {
  display: grid;
  grid-template-columns: var(--sfmshop-grid-cols);
  grid-template-rows: auto auto;
  column-gap: 1px;
  row-gap: 0;
  background: var(--sfmshop-divider);
  /* bar and tiles share a surface now — keep a 1px line between them */
  border-top: 1px solid var(--sfmshop-divider);
}

/* --- feature tile --- */
/* flex (not absolute) placement of the copy keeps the tile itself the
   containing block for the headline's stretched-link overlay, so the
   whole tile — image included — is clickable */
.sfmshop-promo__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-row: 1 / 3; /* spans the shared image + label rows */
  background: var(--sfmshop-box);
  color: #fff;
  min-height: 210px;
  overflow: hidden;
}

.sfmshop-promo__feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.sfmshop-promo__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.92));
  pointer-events: none;
}

.sfmshop-promo__copy {
  /* in-flow (bottom-aligned by the tile's flex) — must NOT be
     positioned, or it would trap the headline's ::after overlay.
     z-index works on static flex items and lifts the text above the
     absolutely-positioned image/scrim. */
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 var(--sfmshop-copy-inset) var(--sfmshop-copy-bottom);
  z-index: 1;
}

.sfmshop-promo__eyebrow {
  display: block;
  font-size: var(--sfmshop-eyebrow-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccc;
  line-height: 1.3;
}

/* headline is the tile's link; its ::after stretches over the tile
   (no nested anchors, CTAs sit above it on their own z level) */
.sfmshop-promo__headline {
  font-family: Georama, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: var(--sfmshop-headline-size);
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  text-wrap: pretty;
}

.sfmshop-promo__headline::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sfmshop-promo__headline:hover,
.sfmshop-promo__headline:focus-visible {
  color: #fff;
  text-decoration: none;
}

.sfmshop-promo__feature:has(.sfmshop-promo__headline:hover) .sfmshop-promo__scrim {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 15%, rgba(0, 0, 0, 0.92));
}

.sfmshop-promo__blurb {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}

/* --- CTAs (config: showCtas; may coexist with the blurb) --- */
.sfmshop-promo__ctas {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  /* never wrap: the module swaps in the configured short labels when
     the full ones would overflow (and only wraps as a last resort,
     set inline by the fitter when even shorts don't fit) */
  flex-wrap: nowrap;
  position: relative; /* above the stretched headline link */
  z-index: 2;
}

.sfmshop-promo__btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 5px;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.sfmshop-promo__btn:hover,
.sfmshop-promo__btn:focus-visible {
  text-decoration: none;
}

.sfmshop-promo__btn--primary {
  background: var(--sfmshop-cta1-bg);
  color: var(--sfmshop-cta1-text);
  box-shadow: inset 0 0 0 1px var(--sfmshop-cta1-border);
  border: 0;
}

.sfmshop-promo__btn--primary:hover,
.sfmshop-promo__btn--primary:focus-visible { background: var(--sfmshop-cta1-bg-hover); color: var(--sfmshop-cta1-text); }
.sfmshop-promo__btn--primary:active { background: var(--sfmshop-cta1-bg-active); }

.sfmshop-promo__btn--ghost {
  background: var(--sfmshop-cta2-bg);
  color: var(--sfmshop-cta2-text);
  border: 1px solid var(--sfmshop-cta2-border);
}

.sfmshop-promo__btn--ghost:hover,
.sfmshop-promo__btn--ghost:focus-visible { background: var(--sfmshop-cta2-bg-hover); color: var(--sfmshop-cta2-text); }
.sfmshop-promo__btn--ghost:active { background: var(--sfmshop-cta2-bg-active); }

/* CTAs render only when config.showCtas; the blurb is independent
   and may sit above them */
.sfmshop-promo__ctas { display: none; }
.sfmshop-promo--ctas .sfmshop-promo__ctas { display: flex; }

/* --- product tiles (subgridded onto the shared image/label rows) --- */
.sfmshop-promo__tile {
  display: grid;
  grid-row: 1 / 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: var(--sfmshop-box);
  min-width: 0;
  text-decoration: none;
}

.sfmshop-promo__tile:hover,
.sfmshop-promo__tile:focus-visible {
  background: var(--sfmshop-tile-hover);
  text-decoration: none;
}

.sfmshop-promo__tile-imgwrap {
  display: block;
  grid-row: 1;
  aspect-ratio: var(--sfmshop-tile-aspect); /* sizes the shared image row */
  height: 100%;                             /* …then fill it exactly (cover crops) */
  overflow: hidden;
  min-height: 0;
}

.sfmshop-promo__tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.sfmshop-promo__tile-label {
  display: flex;
  flex-direction: column;
  grid-row: 2;
  padding: var(--sfmshop-tile-pad);
}

.sfmshop-promo__tip {
  display: block;
  font-size: var(--sfmshop-tip-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sfmshop-muted);
  line-height: 1.4;
  min-height: 1.4em; /* keeps its line when one tile's tip is blank */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the template always prints the tip span (logic-less Handlebars can't
   look across sibling items); when NO tile has one, drop the line so the
   label matches the design module's height */
.sfmshop-promo__grid:not(:has(.sfmshop-promo__tip:not(:empty))) .sfmshop-promo__tip { display: none; }

.sfmshop-promo__row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}

.sfmshop-promo__name {
  font-weight: 700;
  font-size: var(--sfmshop-name-size);
  color: var(--sfmshop-strong);
  min-width: 0;
  line-height: 1.2;
  /* names wrap as tall as they need; the shared label row (subgrid)
     equalizes every tile to the tallest label */
}

.sfmshop-promo__price {
  font-size: var(--sfmshop-price-size);
  color: var(--sfmshop-muted);
  flex: none;
  line-height: 1.35;
  min-height: 1.35em; /* an empty price (sibling has one) still holds its line */
}

/* --- visited --- */
/* the page styles a:visited (blue in light mode) at (0,1,1), which
   outranks our single-class rules; pin every link's colours so
   visited looks identical to unvisited. Colours are hard-coded:
   browsers drop var() references inside :visited rules for privacy. */
.sfmshop-promo__all:visited { color: #999; }
.sfmshop-promo__all:visited:hover,
.sfmshop-promo__all:visited:focus-visible { color: #ccebac; }
[data-bs-theme="light"] .sfmshop-promo__all:visited { color: #777; }
[data-bs-theme="light"] .sfmshop-promo__all:visited:hover,
[data-bs-theme="light"] .sfmshop-promo__all:visited:focus-visible { color: #6a8e39; }

.sfmshop-promo__headline:visited,
.sfmshop-promo__headline:visited:hover,
.sfmshop-promo__btn:visited,
.sfmshop-promo__btn:visited:hover { color: #fff; }

.sfmshop-promo__tile:visited { color: #fff; } /* children set their own colours */
[data-bs-theme="light"] .sfmshop-promo__tile:visited { color: #333; }

/* --- focus --- */
.sfmshop-promo a:focus-visible {
  outline: 2px solid var(--sfmshop-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.sfmshop-promo__btn:focus-visible { border-radius: 5px; }

/* --- loading skeleton (flat blocks, no shimmer) --- */
.sfmshop-promo--loading .sfmshop-promo__feature,
.sfmshop-promo--loading .sfmshop-promo__tile {
  background: var(--sfmshop-skeleton);
}

.sfmshop-promo--loading .sfmshop-promo__skel-label {
  display: block;
  padding: var(--sfmshop-tile-pad);
}

.sfmshop-promo--loading .sfmshop-promo__skel-line {
  display: block;
  height: 10px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--sfmshop-divider);
  opacity: 0.6;
}

/* ============================================================
   4-product configuration (compact labels at every width)
   ============================================================ */
.sfmshop-promo--four > .sfmshop-promo__m {
  --sfmshop-grid-cols: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
  --sfmshop-tile-aspect: 1;
  --sfmshop-tile-pad: 8px 10px 10px;
  --sfmshop-tip-size: 9.5px;
  --sfmshop-name-size: 12.5px;
  --sfmshop-price-size: 12px;
}

/* ============================================================
   container-width breakpoints
   ============================================================ */

/* tablet: 700–899px module width — same row, compact labels */
@container sfmshop-promo (max-width: 899.98px) {
  .sfmshop-promo__m {
    --sfmshop-tile-pad: 8px 10px 10px;
    --sfmshop-tip-size: 9.5px;
    --sfmshop-name-size: 12.5px;
    --sfmshop-price-size: 12px;
    --sfmshop-headline-size: 20px;
  }
}

/* mobile: < 700px module width — stacked feature, one product row */
@container sfmshop-promo (max-width: 699.98px) {
  .sfmshop-promo__m {
    --sfmshop-grid-cols: repeat(3, minmax(0, 1fr));
    --sfmshop-tile-aspect: 1;
    --sfmshop-headline-size: 20px;
    --sfmshop-eyebrow-size: 10px;
    --sfmshop-copy-inset: 14px;
    --sfmshop-copy-bottom: 12px;
    --sfmshop-bar-pad: 8px 12px;
    --sfmshop-wordmark-h: 16px;
    --sfmshop-bar-text: 11.5px;
    --sfmshop-margin-top: 16px;
  }

  .sfmshop-promo--four > .sfmshop-promo__m {
    --sfmshop-grid-cols: repeat(4, minmax(0, 1fr));
    --sfmshop-name-size: 11.5px;
  }

  .sfmshop-promo__grid { grid-template-rows: auto auto auto; }

  .sfmshop-promo__feature {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 9;
    min-height: 0;
    /* replaces the row gap as the divider above the product tiles */
    border-bottom: 1px solid var(--sfmshop-divider);
  }

  .sfmshop-promo__tile { grid-row: 2 / 4; }

  /* price sits under the name; anchored to the label bottom so the
     equalized labels read cleanly whatever each name's height is */
  .sfmshop-promo__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
  }

  .sfmshop-promo__price { margin-top: auto; }
}

/* ============================================================
   fallback for browsers without container queries
   (viewport approximation on setlist.fm's bootstrap breakpoints)
   ============================================================ */
@supports not (container-type: inline-size) {
  @media (max-width: 991.98px) {
    .sfmshop-promo__m {
      --sfmshop-tile-pad: 8px 10px 10px;
      --sfmshop-tip-size: 9.5px;
      --sfmshop-name-size: 12.5px;
      --sfmshop-price-size: 12px;
      --sfmshop-headline-size: 20px;
    }
  }

  @media (max-width: 767.98px) {
    .sfmshop-promo__m {
      --sfmshop-grid-cols: repeat(3, minmax(0, 1fr));
      --sfmshop-tile-aspect: 1;
      --sfmshop-headline-size: 20px;
      --sfmshop-eyebrow-size: 10px;
      --sfmshop-copy-inset: 14px;
      --sfmshop-copy-bottom: 12px;
      --sfmshop-bar-pad: 8px 12px;
      --sfmshop-wordmark-h: 16px;
      --sfmshop-bar-text: 11.5px;
      --sfmshop-margin-top: 16px;
    }

    .sfmshop-promo--four > .sfmshop-promo__m {
      --sfmshop-grid-cols: repeat(4, minmax(0, 1fr));
      --sfmshop-name-size: 11.5px;
    }

    .sfmshop-promo__grid { grid-template-rows: auto auto auto; }

    .sfmshop-promo__feature {
      grid-column: 1 / -1;
      grid-row: 1;
      aspect-ratio: 16 / 9;
      min-height: 0;
      border-bottom: 1px solid var(--sfmshop-divider);
    }

    .sfmshop-promo__tile { grid-row: 2 / 4; }

    .sfmshop-promo__row {
      flex-direction: column;
      align-items: flex-start;
      gap: 2px;
      flex: 1;
    }

    .sfmshop-promo__price { margin-top: auto; }
  }
}

/* --- feature video (plays over the feature image; image = poster/fallback) --- */
.sfmshop-promo__feature-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* the stretched headline link stays the click target */
}

/* --- festival tiles: per-item blurb line --- */
.sfmshop-promo__tile-blurb {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--sfmshop-muted);
}

/* --- festival card layout (templates/festival.hbs) --- */
.sfmshop-promo--card {
  max-width: 480px;
  color: var(--sfmshop-strong, #ddd);
}

.sfmshop-promo--card .sfmshop-promo__m {
  border-radius: 8px;
}

.sfmshop-promo__chero {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* decorative fallback when no hero image is set */
.sfmshop-promo__chero--pattern {
  background:
    radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.6px) 6px 6px / 26px 26px,
    linear-gradient(100deg, #3b1f63, #55308a);
}

.sfmshop-promo__chero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sfmshop-promo__chero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
}

.sfmshop-promo__chero-copy {
  position: relative;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #fff;
}

.sfmshop-promo__chero-name {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.sfmshop-promo__chero-name:hover { text-decoration: underline; }

.sfmshop-promo__chero-brand { display: block; }
.sfmshop-promo__chero-brand svg { height: 18px; width: auto; display: block; color: #fff; }

.sfmshop-promo__chero-sub {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.sfmshop-promo__cbody { padding: 14px 16px 16px; }

.sfmshop-promo__cheading {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 18px;
  color: var(--sfmshop-strong, #fff);
}

.sfmshop-promo__cnote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  color: var(--sfmshop-muted, #999);
  font-size: 13px;
  line-height: 1.45;
}

.sfmshop-promo__cnote-ico {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  fill: var(--sfmshop-cta1-bg, #91c843);
}

.sfmshop-promo__crow {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--sfmshop-divider, #333);
  text-decoration: none;
  color: inherit;
}

.sfmshop-promo__crow:first-child { border-top: 0; }
.sfmshop-promo__crow:hover { background: var(--sfmshop-tile-hover, rgba(255, 255, 255, 0.04)); }

.sfmshop-promo__crow-imgwrap {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sfmshop-skeleton, #2a2a2a);
}

.sfmshop-promo__crow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sfmshop-promo__crow-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sfmshop-promo__crow .sfmshop-promo__name { font-weight: 700; font-size: 14.5px; }

.sfmshop-promo__crow-blurb {
  color: var(--sfmshop-muted, #999);
  font-size: 12.5px;
  line-height: 1.35;
}

.sfmshop-promo__crow .sfmshop-promo__price {
  margin-left: auto;
  flex: none;
  color: var(--sfmshop-muted, #aaa);
  font-size: 14px;
}

.sfmshop-promo__ccta {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--sfmshop-cta1-bg, #91c843);
  color: #16210a;
}

.sfmshop-promo__ccta:hover { filter: brightness(1.07); }

.sfmshop-promo__cfoot {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: var(--sfmshop-muted, #888);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sfmshop-promo__cfoot .sfmshop-promo__wordmark svg { height: 13px; width: auto; display: block; }

/* --- sponsored festival card (templates/festival-sponsored.hbs) --- */
/* owns its skin: fixed near-black body in both themes, sponsor accents */
.sfmshop-promo--sponsored .sfmshop-promo__m {
  background: #0d0d0d;
  color: #e8e8e8;
}

.sfmshop-promo--sponsored .sfmshop-promo__chero { min-height: 160px; }

.sfmshop-promo__chero-scrim--heavy {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.78));
}

.sfmshop-promo__schip {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
}

.sfmshop-promo__ssponsor {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.sfmshop-promo__ssponsor b { font-weight: 900; }

.sfmshop-promo--sponsored .sfmshop-promo__cnote { color: #9a9a9a; }
.sfmshop-promo--sponsored .sfmshop-promo__cnote-ico { fill: var(--sfmshop-cta1-bg, #06c167); }

.sfmshop-promo__sgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.sfmshop-promo__scard {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
  border: 1px solid #262626;
  border-radius: 8px;
  background: #161616;
  text-decoration: none;
  color: inherit;
}

.sfmshop-promo__scard:hover { border-color: #3a3a3a; }

.sfmshop-promo__scard-imgwrap {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #222;
  margin-bottom: 4px;
}

.sfmshop-promo__scard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sfmshop-promo__scard-tip {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sfmshop-cta1-bg, #06c167);
}

.sfmshop-promo__scard-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.sfmshop-promo__scard-row .sfmshop-promo__name { font-weight: 700; font-size: 13.5px; }
.sfmshop-promo__scard-row .sfmshop-promo__price { color: #9a9a9a; font-size: 13px; flex: none; }

.sfmshop-promo__scard-blurb {
  color: #9a9a9a;
  font-size: 11.5px;
  line-height: 1.35;
}

.sfmshop-promo--sponsored .sfmshop-promo__ccta { color: #04150c; }

.sfmshop-promo__ccta--sponsor,
.sfmshop-promo--sponsored .sfmshop-promo__ccta--sponsor {
  margin-top: 8px;
  background: #000;
  color: #fff;
  border: 1px solid #333;
}

.sfmshop-promo__ccta--sponsor:hover { border-color: #666; filter: none; }

.sfmshop-promo--sponsored .sfmshop-promo__cfoot { color: #8a8a8a; }
