@charset "UTF-8";
/* ════════════════════════════════════════════════════════════════
   SNAKE OIL SPICES — PRICING PAGE ONLY (2026-10-12)
   Loaded after site.css on /pricing and nowhere else. Everything here is
   scoped under #counter so Home, Gifts and the shared sheet are untouched.
   Photos: /assets/pricing/*  (sources kept in PICS/pricing-src/)
   ════════════════════════════════════════════════════════════════ */

/* ── 1 · the four-card grid ─────────────────────────────────────── */
#counter .counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6) 1.75rem;            /* 28px between cards on desktop */
  margin-top: var(--s-6);
  align-items: stretch;
}
@media (max-width: 1099px) { #counter .counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) 1.5rem; } }
@media (max-width: 599px)  { #counter .counter-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6) 1rem; } }

/* ── 2 · one card template — picture, badge row, title, price, copy, button ── */
#counter .counter-card {
  display: flex; flex-direction: column; min-width: 0;
  border-top: 1px solid var(--rule); padding-top: var(--s-4);
  background: none; border-radius: 0; box-shadow: none; position: relative;
}
#counter .counter-card.featured { border-top: 2px solid var(--accent); }

/* badge row is the same height on every card, so all four pictures start on one line */
#counter .counter-badge { display: flex; align-items: center; min-height: 2.125rem; margin-bottom: var(--s-3); }
#counter .counter-ribbon {
  position: static; display: inline-block; margin: 0;
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: var(--r-sm);
  padding: 0.2em 0.8em; white-space: nowrap;
}

/* 16:9 picture, never stretched, lids always in frame (sources are 16:9) */
#counter .counter-pic { display: block; margin: 0 0 var(--s-4); }
#counter .counter-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: 50% 50%;
  border: 0; border-radius: var(--r-sm); margin: 0;
  background: var(--paper-deep);
  box-shadow: 0 6px 18px rgba(60, 40, 10, 0.16);
}

#counter .counter-card h3 { min-height: 3.1em; margin: 0; }   /* title + kicker line up across cards */
#counter .counter-price { margin-top: var(--s-3); min-height: 1em; white-space: nowrap; }
#counter .counter-save  { min-height: 1.4em; }
#counter .counter-desc  { flex: 1 1 auto; margin-top: var(--s-3); }
#counter .counter-card .order-btn {
  margin-top: var(--s-4); width: 100%; min-height: 48px;   /* comfortable thumb target */
}
#counter .counter-card .order-btn:focus-visible,
#counter .mf-btn:focus-visible, #counter .mf-download:focus-visible {
  outline: 3px solid var(--ember-bright); outline-offset: 3px;
}

/* ── 3 · lower market feature — picture left, espresso panel right ── */
#counter .market-feature {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  margin-top: var(--s-7);
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-paper);
  --mf-espresso: #2A1A0E; --mf-espresso-deep: #1C1008; --mf-cream: #F5EDDC; --mf-cream-muted: #D9CBAE; --mf-gold: #E8A83A;
}
#counter .mf-media { position: relative; min-height: 100%; background: var(--mf-espresso-deep); }
#counter .mf-media picture, #counter .mf-media img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
}
#counter .mf-panel {
  background: linear-gradient(160deg, var(--mf-espresso) 0%, var(--mf-espresso-deep) 100%);
  color: var(--mf-cream);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
  /* dark world inside a light section: hand the shared tokens their dark values */
  --tx: var(--mf-cream); --tx-muted: var(--mf-cream-muted); --accent: var(--mf-gold); --rule: rgba(232, 168, 58, 0.28);
}
#counter .mf-kicker {
  font: 700 var(--fs-meta) / 1.4 'Lato', sans-serif; letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--mf-gold); margin: 0 0 var(--s-2);
}
#counter .mf-title {
  font: 900 clamp(1.5rem, 2.6vw, 2.125rem) / 1.1 'Playfair Display', serif;
  letter-spacing: var(--track-tight); color: var(--mf-cream); margin: 0; text-wrap: balance;
}
#counter .mf-copy { font-size: var(--fs-lede); line-height: 1.6; color: var(--mf-cream-muted); margin: var(--s-3) 0 0; max-width: 46ch; }

/* compact live price list — filled from /api/products by pricing.js */
#counter .mf-prices {
  margin: var(--s-4) 0 0; padding: var(--s-3) 0 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr; gap: 0;
}
#counter .mf-prices > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
  padding: 0.45em 0; border-bottom: 1px solid rgba(232, 168, 58, 0.14);
}
#counter .mf-prices > div:last-child { border-bottom: 0; }
#counter .mf-prices dt { font: 700 var(--fs-body) / 1.3 'Lato', sans-serif; color: var(--mf-cream); margin: 0; }
#counter .mf-prices dd { margin: 0; text-align: right; font: 700 1.125rem / 1 'Playfair Display', serif; color: var(--mf-gold); white-space: nowrap; }
#counter .mf-prices dd small {
  display: block; margin-top: 0.3em;
  font: 700 0.6875rem / 1.3 'Lato', sans-serif; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--mf-cream-muted);
}
#counter .mf-prices dd small:empty { display: none; }

#counter .mf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
#counter .mf-btn { min-height: 48px; padding-inline: 2.25em; }
#counter .mf-download {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font: 700 var(--fs-meta) / 1.3 'Lato', sans-serif; letter-spacing: var(--track-btn); text-transform: uppercase;
  color: var(--mf-gold); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  min-height: 44px;
}
#counter .mf-download:hover { color: var(--mf-cream); }
#counter .mf-download img {
  width: 34px; height: auto; border-radius: 1px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); background: var(--mf-cream);
}

@media (max-width: 880px) {
  #counter .market-feature { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-6); }
  #counter .mf-media { min-height: 0; }
  #counter .mf-media img { aspect-ratio: 16 / 9; height: auto; }
  #counter .mf-panel { padding: var(--s-5) var(--s-4) var(--s-5); }
  #counter .mf-actions { gap: var(--s-3) var(--s-4); }
  #counter .mf-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { #counter .counter-card, #counter .market-feature { transition: none; } }
@media print { #counter .market-feature { box-shadow: none; } #counter .mf-panel { background: none; color: #000; } }

/* ── CABIN CALL TO ACTION (2026-10-12, Chad: "use this prominent on that section, use a lot of the pic") ──
   Chad's cabin picture shown whole (never cropped, never edited), edge to edge, at its own 16:9 shape.
   Computers (1100px+): the words and the big $38 sit on the picture's dark wood wall (left 3-25%, above the rug)
   and the room beside it, sized from the picture so they keep the same place on it at every screen size and never
   reach the dog or the jars. The whole picture fits on one screen (see below). Under 1100px: picture on top, words below. */
.cta-banner.cta-cabin {
  position: relative; padding: 0; overflow: hidden; text-align: left;
  background: #140d07; container-type: inline-size;
}
.cta-cabin .cta-cabin-pic { display: block; }
.cta-cabin .cta-cabin-pic img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; }
.cta-cabin .cta-cabin-words {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(1.75rem, 6vw, 2.75rem) var(--gutter) clamp(2.25rem, 8vw, 3.25rem);
}
.cta-cabin .cta-cabin-words h2 { margin: 0; text-wrap: balance; }
.cta-cabin .cta-cabin-words p { margin: var(--s-3, .9rem) 0 0; text-wrap: balance; }
.cta-cabin .cta-cabin-price {
  display: flex; align-items: baseline; gap: .45em; margin-top: var(--s-4, 1.25rem); white-space: nowrap;
  font: 400 1.0625rem / 1 'Lato', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-muted, #CFC2A4);
}
.cta-cabin .cta-cabin-price b {
  font: 900 clamp(3rem, 12vw, 4.5rem) / .9 'Playfair Display', serif; letter-spacing: -.01em; text-transform: none;
  color: #F2B65A; text-shadow: 0 0 22px rgba(255, 138, 61, .35);
}
.cta-cabin .cta-cabin-words .btn-dark { margin-top: var(--s-4, 1.25rem); white-space: nowrap; }

@media (min-width: 1100px) {
  /* The whole picture always fits on one screen: its height is capped at the visible screen height (under the
     menu bar). On wide, short screens the picture then sits flush right and the space on its left continues the
     picture's own dark wood wall (its first 1% stretched sideways, so the plank lines run straight on), fading darker
     to the left. The picture itself is never cropped, never edited. Sizes below are in "u": 1u = 1% of the picture's
     width, so the words keep the same place on the picture at every screen size. */
  .cta-banner.cta-cabin {
    --ih: min(calc(100cqw * 941 / 1672), max(calc(100svh - 64px), 30rem));   /* picture height */
    --iw: calc(var(--ih) * 1672 / 941);                                      /* picture width */
    --ex: calc(100cqw - var(--iw));                                          /* room left of the picture */
    --u: calc(var(--iw) / 100);
  }
  .cta-cabin .cta-cabin-pic {
    height: var(--ih);
    background:
      linear-gradient(90deg, rgba(12, 7, 3, .6), rgba(12, 7, 3, 0)) 0 0 / max(1px, var(--ex)) 100% no-repeat,
      url(/assets/pricing/cabin-jars-960.webp) 0 0 / max(1px, calc(var(--ex) * 100)) 100% no-repeat,
      #1a110a;
  }
  .cta-cabin .cta-cabin-pic img { width: var(--iw); height: var(--ih); margin-left: auto; }
  .cta-cabin .cta-cabin-words {
    position: absolute; left: calc(var(--ex) * .2 + var(--u) * 3.6); top: calc(var(--u) * 4);
    width: calc(var(--ex) * .78 + var(--u) * 21.5); height: calc(var(--u) * 38.5);
    align-items: flex-start; justify-content: center; text-align: left; padding: 0;
  }
  .cta-cabin .cta-cabin-words h2 {
    font-size: calc(var(--u) * 3.1 + var(--ex) * .02); line-height: 1.06; letter-spacing: -.01em; color: #F7EEDC;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
  }
  .cta-cabin .cta-cabin-words p { margin-top: calc(var(--u) * 1.1); font-size: max(.9375rem, calc(var(--u) * 1.12 + var(--ex) * .004)); line-height: 1.45; max-width: none; color: #E6D8BC; }
  .cta-cabin .cta-cabin-price { margin-top: calc(var(--u) * 1.8); font-size: max(.8125rem, calc(var(--u) * 1 + var(--ex) * .003)); }
  .cta-cabin .cta-cabin-price b { font-size: calc(var(--u) * 5.6 + var(--ex) * .03); }
  .cta-cabin .cta-cabin-words .btn-dark { margin-top: calc(var(--u) * 1.9); font-size: max(.75rem, calc(var(--u) * .86 + var(--ex) * .003)); padding: 1.05em 1.6em; letter-spacing: .14em; }
}
