/* Drip Fact (Graza "Fun Fact" style), the last block above the footer: a one-color doodle flush with
   the left edge, one fact at a time with a ← → pill on the right, a slow brand strip underneath.
   Colors: --funfact-* tokens, overridden from the editor through --bdff-*. */

/* No dotted rules above the section or the strip (5px system, 2026-10-17): the band's own colour and the strip's
   colour are its edges, and the 1.5px rules made the outer height fractional */
.cc_v6ia3flz_jgcX8enEek .bdff {
  background: var(--bdff-bg, var(--funfact-bg));
  color: var(--bdff-fg, var(--funfact-fg));
  overflow: hidden;
}

.cc_v6ia3flz_jgcX8enEek .bdff-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-25);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-40) 0 var(--space-55);
}

@media (min-width: 1024px) {
  .cc_v6ia3flz_jgcX8enEek .bdff-inner {
    /* The doodle column is only as wide as the doodle, the fact takes the rest */
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-30);
    padding: var(--space-25) var(--space-40) var(--space-25) 0;
  }
}

/* ─── Illustration ─────────────────────────────────────── */

.cc_v6ia3flz_jgcX8enEek .bdff-art {
  position: relative;
  /* The lace runs into the left edge, so the art sits flush left with no gutter */
  width: min(100%, 44.0625rem);
  /* Scroll reveal grows it out of that edge; the section colour keeps a multiply-blended upload from flashing white */
  transform-origin: 0 50%;
  background: var(--bdff-bg, var(--funfact-bg));
}

.cc_v6ia3flz_jgcX8enEek .bdff-svg, .cc_v6ia3flz_jgcX8enEek .bdff-img {
  display: block;
  width: 100%;
  height: auto;
}

.cc_v6ia3flz_jgcX8enEek .bdff-img { mix-blend-mode: multiply; background: light-dark(transparent, var(--product-tile-bg)); }

/* The original doodle's ink fills its whole square (the lace runs off the left edge), the other 24 leave ~8% air:
   shrunk from the left edge so every fact's drawing reads at the same size */
.cc_v6ia3flz_jgcX8enEek .bdff-svg--bleed { scale: 0.92; transform-origin: 0 50%; }

/* Holds the doodle's square (every doodle is 1:1) while its chunk loads */
.cc_v6ia3flz_jgcX8enEek .bdff-art-wait { aspect-ratio: 1 / 1; }

/* A new topic fades the doodle in; facts on the same topic keep it still */
.cc_v6ia3flz_jgcX8enEek .bdff-art-swap { animation: cc_v6ia3flz_jgcX8enEek_bdff-art-in 450ms var(--ease-out) both; }

.cc_v6ia3flz_jgcX8enEek .bdff-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─── Fact + arrows ────────────────────────────────────── */

.cc_v6ia3flz_jgcX8enEek .bdff-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-30);
  padding: 0 var(--space-15);
  text-align: center;
}

/* One grid cell holds the visible fact plus every fact as an invisible ghost: the cell takes the
   tallest one's height, so the pair card and the arrows stay put whichever fact is showing */
.cc_v6ia3flz_jgcX8enEek .bdff-fact-box {
  display: grid;
  width: min(100%, 27rem);
}

.cc_v6ia3flz_jgcX8enEek .bdff-fact-box > .bdff-fact { grid-area: 1 / 1; }

.cc_v6ia3flz_jgcX8enEek .bdff-fact.bdff-fact--ghost {
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

/* A short explanatory paragraph, so the reading serif of the site's ledes, not the display face */
.cc_v6ia3flz_jgcX8enEek .bdff-fact {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--type-lede);
  font-weight: 400;
  line-height: var(--leading-lede);
  text-wrap: pretty;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cc_v6ia3flz_jgcX8enEek_bdff-in 500ms var(--ease-out) both;
}

/* ─── In-stock pair under the fact ─────────────────────── */

/* One card size for every fact: room for a two-line name, so a short name just sits centered. A floor, not a fixed
   height: with enlarged text (200%) the label and the wrapped price need more, and the card grows to hold them
   (phones raise the floor to the tallest pair there, see the 16em rule below, so the arrows stay put) */
.cc_v6ia3flz_jgcX8enEek .bdff-panel { --bdff-card-h: 5.9375rem; }

.cc_v6ia3flz_jgcX8enEek .bdff-product-slot {
  display: flex;
  justify-content: center;
  width: min(100%, 26.875rem);
  min-height: var(--bdff-card-h);
  align-items: center;
}

.cc_v6ia3flz_jgcX8enEek .bdff-product {
  display: flex;
  align-items: center;
  gap: var(--space-15);
  width: 100%;
  min-height: var(--bdff-card-h);
  box-sizing: border-box;
  padding: var(--space-10);
  border: 1px dashed currentColor;
  border-radius: 15px;
  color: inherit;
  text-decoration: none;
  text-align: left;
  animation: cc_v6ia3flz_jgcX8enEek_bdff-in 400ms var(--ease-out) both;
  transition: background-color 200ms var(--ease-out);
}

.cc_v6ia3flz_jgcX8enEek a.bdff-product:hover { background: rgb(var(--bd-mocha-rgb) / 0.05); }
.cc_v6ia3flz_jgcX8enEek a.bdff-product:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.cc_v6ia3flz_jgcX8enEek .bdff-product-thumb {
  flex-shrink: 0;
  width: var(--space-75);
  height: var(--space-75);
  border-radius: 10px;
  background: var(--product-tile-bg);
  overflow: hidden;
}

.cc_v6ia3flz_jgcX8enEek .bdff-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cc_v6ia3flz_jgcX8enEek .bdff-product-lines {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
  min-width: 0;
}

/* Eyebrow + product name in the site's card roles: display eyebrow (like .bdtr-card-eyebrow), Geist name (like
   .product-card-name) */
.cc_v6ia3flz_jgcX8enEek .bdff-product-label {
  font-family: var(--font-display);
  font-size: var(--type-eyebrow);
  line-height: 1.25rem;
  opacity: 0.75;
}

.cc_v6ia3flz_jgcX8enEek .bdff-product-name {
  font-family: var(--font-body);
  font-size: var(--type-card-name);
  font-weight: 500;
  line-height: var(--leading-card-name);
  letter-spacing: var(--tracking-card-name);
  /* One line (SlideName clips and reveals the rest) */
  display: block;
  min-width: 0;
}

.cc_v6ia3flz_jgcX8enEek .bdff-product-price {
  /* The site's card price role (Young Serif, like .mpc-price) */
  font-family: var(--font-display);
  font-size: var(--type-card-price);
  line-height: var(--leading-card-price-sm);
  font-variant-numeric: lining-nums tabular-nums;
}

/* No product card: the site's editorial pill (.bd-cta, global.css). Its entry keeps only the "from" frame
   (backwards), so the pill's own hover/press transform takes over once it has landed */
.cc_v6ia3flz_jgcX8enEek .bdff-product-fallback {
  --cta-stitch: var(--bdff-fg, var(--funfact-fg));
  animation: cc_v6ia3flz_jgcX8enEek_bdff-in 400ms var(--ease-out) backwards;
}

.cc_v6ia3flz_jgcX8enEek .bdff-product--loading { animation: none; border-style: dotted; opacity: 0.5; }
.cc_v6ia3flz_jgcX8enEek .bdff-product--loading .bdff-product-thumb { background: rgb(var(--bd-mocha-rgb) / 0.08); }

.cc_v6ia3flz_jgcX8enEek .bdff-skel {
  display: block;
  width: 75%;
  height: var(--space-10);
  border-radius: 5px;
  background: rgb(var(--bd-mocha-rgb) / 0.1);
}

.cc_v6ia3flz_jgcX8enEek .bdff-skel + .bdff-skel { margin-top: var(--space-5); }
.cc_v6ia3flz_jgcX8enEek .bdff-skel--short { width: 40%; }

/* ─── Arrows + counter ─────────────────────────────────── */

.cc_v6ia3flz_jgcX8enEek .bdff-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  width: min(100%, 20rem);
}

.cc_v6ia3flz_jgcX8enEek .bdff-count {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

.cc_v6ia3flz_jgcX8enEek .bdff-count-sep { opacity: 0.5; margin: 0 0.125rem; }

/* Arrows as on Orijinallik (BigDripTrust .bdtr-arrows) at every width: two separate 52px squares, outlined in
   currentColor on the band's own ground */
.cc_v6ia3flz_jgcX8enEek .bdff-arrows {
  display: flex;
  gap: var(--space-10);
}

.cc_v6ia3flz_jgcX8enEek .bdff-arrow {
  appearance: none;
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--space-50);
  height: var(--space-50);
  padding: 0;
  border: 1px solid currentColor;
  border-radius: var(--radius-control);
  background: var(--bdff-bg, var(--funfact-bg));
  color: inherit;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out);
}

.cc_v6ia3flz_jgcX8enEek .bdff-arrow svg { width: 1.125rem; height: 1.125rem; }
.cc_v6ia3flz_jgcX8enEek .bdff-arrow:hover { background: color-mix(in srgb, currentColor 10%, var(--bdff-bg, var(--funfact-bg))); }

.cc_v6ia3flz_jgcX8enEek .bdff-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

/* ─── Brand strip ──────────────────────────────────────── */

.cc_v6ia3flz_jgcX8enEek .bdff-strip {
  overflow: hidden;
  background: var(--bdff-strip-bg, var(--funfact-strip-bg));
  color: var(--bdff-strip-fg, var(--funfact-strip-fg));
}

.cc_v6ia3flz_jgcX8enEek .bdff-track {
  display: flex;
  width: max-content;
  animation: cc_v6ia3flz_jgcX8enEek_bdff-scroll var(--funfact-strip-duration, 50s) linear infinite;
}

.cc_v6ia3flz_jgcX8enEek .bdff-strip:hover .bdff-track { animation-play-state: paused; }

.cc_v6ia3flz_jgcX8enEek .bdff-half {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cc_v6ia3flz_jgcX8enEek .bdff-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(var(--space-25), 3.5vw, var(--space-50));
  padding: var(--space-20) clamp(var(--space-10), 1.75vw, var(--space-25));
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-size: round(nearest, clamp(1.375rem, 2.4vw, 2rem), 2px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.cc_v6ia3flz_jgcX8enEek .bdff-star {
  width: 0.7em;
  height: 0.7em;
  flex-shrink: 0;
}

@keyframes cc_v6ia3flz_jgcX8enEek_bdff-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes cc_v6ia3flz_jgcX8enEek_bdff-art-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: none; }
}

@keyframes cc_v6ia3flz_jgcX8enEek_bdff-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: none; }
}

/* Tablet and up: the fact reads at the desktop size in a 32rem measure */
@media (min-width: 768px) {
  .cc_v6ia3flz_jgcX8enEek .bdff-fact-box, .cc_v6ia3flz_jgcX8enEek .bdff-product-slot { width: min(100%, 31.875rem); }
  /* The shipped 95px card: its 75px thumb would push a floor 2px taller. The lines never wrap at this width (200%
     text included), so the fixed height stays */
  .cc_v6ia3flz_jgcX8enEek .bdff-product { height: var(--bdff-card-h); }
  .cc_v6ia3flz_jgcX8enEek .bdff-fact { font-size: clamp(1rem, 1.25vw, 1.125rem); font-size: round(nearest, clamp(1rem, 1.25vw, 1.125rem), 2px); }
}

/* Desktop: the doodle column beside the fact panel, the same outer height as the Orijinallik panel above
   (global.css --editorial-panel-h). The doodle grows with it, so it sets the height, the fact panel centres beside it. */
@media (min-width: 1024px) {
  .cc_v6ia3flz_jgcX8enEek .bdff {
    display: flex;
    flex-direction: column;
    min-height: var(--editorial-panel-h);
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-inner {
    flex: 1 0 auto;
    width: 100%;
    padding-block: var(--space-30);
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-art { width: calc(var(--editorial-panel-h) - var(--space-70)); }
  /* The two squares flank the pair card, sharing its grid row so they sit on its vertical centre; the counter
     stays in the flow under the card */
  .cc_v6ia3flz_jgcX8enEek .bdff-panel {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: var(--space-20);
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-fact-box { grid-row: 1; }
  .cc_v6ia3flz_jgcX8enEek .bdff-product-slot { grid-row: 2; grid-column: 1; }
  .cc_v6ia3flz_jgcX8enEek .bdff-nav { display: contents; }
  .cc_v6ia3flz_jgcX8enEek .bdff-count { grid-row: 3; }

  .cc_v6ia3flz_jgcX8enEek .bdff-arrows {
    grid-row: 2;
    grid-column: 1;
    align-self: center;
    z-index: 2;
    width: min(100%, 41.5625rem);
    justify-content: space-between;
    pointer-events: none;
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-arrow { pointer-events: auto; }
}

/* Below 1024: the same outer height as Orijinallik (global.css --editorial-panel-h-m). The doodle is the hero: its
   row takes whatever the fact, the pair card and the arrows leave of that height, and the drawing fills the row
   (square, flush left). The panel box steps aside so its parts join the grid. */
@media (max-width: 1023px) {
  /* The section takes the shared height (its top rule inside it) and hands all of it to the inner grid */
  .cc_v6ia3flz_jgcX8enEek .bdff {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    min-height: var(--editorial-panel-h-m);
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-inner {
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    grid-template-areas: "art" "fact" "card" "nav";
    gap: var(--space-15) var(--space-15);
    padding: var(--space-25) var(--home-gutter) var(--space-25) 0;
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-panel { display: contents; }

  /* The art box holds no flow content (its drawing is positioned), so the row is sized by the height alone */
  .cc_v6ia3flz_jgcX8enEek .bdff-art {
    grid-area: art;
    width: auto;
    min-height: 0;
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-art-swap, .cc_v6ia3flz_jgcX8enEek .bdff-img {
    position: absolute;
    inset: 0;
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-svg, .cc_v6ia3flz_jgcX8enEek .bdff-img {
    width: auto;
    height: 100%;
    max-width: 100%;
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-img { object-fit: contain; object-position: 0 50%; }
  .cc_v6ia3flz_jgcX8enEek .bdff-art-wait { display: block; aspect-ratio: 1 / 1; }

  .cc_v6ia3flz_jgcX8enEek .bdff-fact-box { grid-area: fact; width: 100%; text-align: left; margin-left: var(--home-gutter); }
  .cc_v6ia3flz_jgcX8enEek .bdff-fact { justify-content: flex-start; }

  .cc_v6ia3flz_jgcX8enEek .bdff-product-slot { grid-area: card; }
  .cc_v6ia3flz_jgcX8enEek .bdff-nav { grid-area: nav; }

  .cc_v6ia3flz_jgcX8enEek .bdff-product-slot, .cc_v6ia3flz_jgcX8enEek .bdff-nav {
    margin-left: var(--home-gutter);
  }

  /* ← → pill left under the card's edge, counter right, one row (each arrow keeps its 44px hit area) */
  .cc_v6ia3flz_jgcX8enEek .bdff-nav { flex-direction: row; justify-content: space-between; }
}

/* Tablets: the fact sits beside the doodle (vertically centred), the pair card and the arrows run under both.
   The doodle column is the shared height less the rows under it (paddings, gaps, the pair card and the arrows: 220px). */
@media (min-width: 768px) and (max-width: 1023px) {
  .cc_v6ia3flz_jgcX8enEek .bdff-inner {
    grid-template-columns: calc(var(--editorial-panel-h-m) - 13.75rem) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "art fact" "card card" "nav nav";
    gap: var(--space-15);
    padding-right: var(--home-gutter);
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-fact-box { align-self: center; margin-left: 0; }
  .cc_v6ia3flz_jgcX8enEek .bdff-product-slot, .cc_v6ia3flz_jgcX8enEek .bdff-nav { width: min(100%, 31.875rem); }
}

/* Phones: the arrows and counter sit beside the doodle, the fact and the card run under both at the full width */
@media (max-width: 767px) {
  .cc_v6ia3flz_jgcX8enEek .bdff-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "art nav" "fact fact" "card card";
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-nav {
    flex-direction: column;
    justify-content: center;
    align-self: center;
    gap: var(--space-10);
    margin-left: 0;
  }

  .cc_v6ia3flz_jgcX8enEek .bdff-panel { --bdff-card-h: 5.3125rem; }
  .cc_v6ia3flz_jgcX8enEek .bdff-product-slot, .cc_v6ia3flz_jgcX8enEek .bdff-nav { width: auto; }
  .cc_v6ia3flz_jgcX8enEek .bdff-product { gap: var(--space-10); padding: var(--space-5) var(--space-10) var(--space-5) var(--space-5); }
  .cc_v6ia3flz_jgcX8enEek .bdff-product-thumb { width: var(--space-70); height: var(--space-70); }
  .cc_v6ia3flz_jgcX8enEek .bdff-product-name { font-size: var(--type-card-name-sm); line-height: var(--leading-card-name-sm); }
  .cc_v6ia3flz_jgcX8enEek .bdff-product-price { font-size: var(--type-card-price-sm); }
}

/* Enlarged text on phones (under 16em, the site's 200%-text step, as in Header/BrandTrio): the label wraps, and the
   price too by its length. The floor takes the tallest pair (two-line label, name, two-line price: 7.25rem + border),
   so the skeleton and every loaded card share one height and the arrows beside the doodle never move on a tap */
@media (max-width: 767px) and (max-width: 15.99em) {
  .cc_v6ia3flz_jgcX8enEek .bdff-panel { --bdff-card-h: 7.5rem; }
}

/* The English label ("Shop the Story") breaks onto a third line under about 12.25em */
@media (max-width: 767px) and (max-width: 12.5em) {
  .cc_v6ia3flz_jgcX8enEek .bdff-panel:lang(en) { --bdff-card-h: 8.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_v6ia3flz_jgcX8enEek .bdff-track { animation: none; }
  .cc_v6ia3flz_jgcX8enEek .bdff-fact, .cc_v6ia3flz_jgcX8enEek .bdff-art-swap, .cc_v6ia3flz_jgcX8enEek .bdff-product, .cc_v6ia3flz_jgcX8enEek .bdff-product-fallback { animation: none; }
  .cc_v6ia3flz_jgcX8enEek .bdff-arrow { transition: none; }
}
