/* Theme kit "calle": street food, loud and quick. Yellow, black and chilli,
   Archivo Black titles over Inter. Scoped to .theme-kit--calle
   (test/lib/theme_kit_css_scope_convention_test.rb); layout lives in
   app/views/theme_kits/_band.html.erb, this sheet carries look and motion only.
   Motion uses the individual scale/rotate properties, never `transform`, so the
   band's RTL mirror (rtl:-scale-x-100) is kept. That mirror flips about the
   layer's transform-origin, so under RTL every origin is moved to x = 50%. */

.theme-kit--calle {
  --tk-display: 'Archivo Black', 'Noto Sans', 'Noto Sans Armenian', 'Noto Sans Arabic', 'Noto Sans Hebrew',
    'Noto Sans JP', 'Noto Sans SC', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Devanagari',
    'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Ethiopic', system-ui, sans-serif;
  --tk-band-ink: #141414;
  --tk-band-scrim: 252, 203, 39;
}

/* Text never sits on the art: a near-solid wash of the band colour under it. */
.theme-kit--calle .tk-band__scrim {
  background: linear-gradient(90deg, rgba(var(--tk-band-scrim), .94) 0%, rgba(var(--tk-band-scrim), .86) 42%, rgba(var(--tk-band-scrim), 0) 66%);
}
.theme-kit--calle[dir="rtl"] .tk-band__scrim {
  background: linear-gradient(270deg, rgba(var(--tk-band-scrim), .94) 0%, rgba(var(--tk-band-scrim), .86) 42%, rgba(var(--tk-band-scrim), 0) 66%);
}

.theme-kit--calle .tk-name {
  font-family: var(--tk-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2rem, 9.5cqw, 3rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--tk-band-ink);
}
.theme-kit--calle .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--calle .tk-band__kicker {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #141414;
}

.theme-kit--calle .tk-tag { background: #b3261e; color: #ffffff; }

/* Variant calle.diner: 1950s diner. Righteous, cherry on mint. */
.theme-kit--calle.theme-kit--calle-diner {
  --tk-display: 'Righteous', 'Noto Sans', 'Noto Sans Armenian', 'Noto Sans Arabic', 'Noto Sans Hebrew',
    'Noto Sans JP', 'Noto Sans SC', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Devanagari',
    'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Ethiopic', system-ui, sans-serif;
  --tk-band-ink: #1a1a1a;
  --tk-band-scrim: 153, 218, 192;
}
.theme-kit--calle.theme-kit--calle-diner .tk-name {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.875rem, 9cqw, 2.75rem);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
}
.theme-kit--calle.theme-kit--calle-diner .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--calle.theme-kit--calle-diner .tk-band__kicker {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .1em;
  color: #1f3b35;
}

.theme-kit--calle.theme-kit--calle-diner .tk-tag { background: #c62828; color: #ffffff; }

/* Variant calle.shawarma: shawarma and lahmajo stall, yellow and black. */
.theme-kit--calle.theme-kit--calle-shawarma {
  --tk-display: 'Archivo Black', 'Noto Sans', 'Noto Sans Armenian', 'Noto Sans Arabic', 'Noto Sans Hebrew',
    'Noto Sans JP', 'Noto Sans SC', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Devanagari',
    'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Ethiopic', system-ui, sans-serif;
  --tk-band-ink: #141414;
  --tk-band-scrim: 254, 203, 35;
}
.theme-kit--calle.theme-kit--calle-shawarma .tk-name {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.875rem, 9cqw, 2.875rem);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
}
.theme-kit--calle.theme-kit--calle-shawarma .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--calle.theme-kit--calle-shawarma .tk-band__kicker {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: .1em;
  color: #141414;
}

.theme-kit--calle.theme-kit--calle-shawarma .tk-tag { background: #ffd23f; color: #141414; }

/* Photographic calle.foto: the photo fills the band under the shared wash
   (base.css, .tk-band--photo); here only its letters. */
.theme-kit--calle.theme-kit--calle-foto {
  --tk-display: 'Archivo Black', 'Noto Sans', 'Noto Sans Armenian', 'Noto Sans Arabic', 'Noto Sans Hebrew',
    'Noto Sans JP', 'Noto Sans SC', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Devanagari',
    'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu', 'Noto Sans Ethiopic', system-ui, sans-serif;
  --tk-band-ink: #ffffff;
  --tk-band-scrim: 17, 17, 17;
}
.theme-kit--calle.theme-kit--calle-foto .tk-name {
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.875rem, 9cqw, 2.75rem);
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
}
.theme-kit--calle.theme-kit--calle-foto .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--calle.theme-kit--calle-foto .tk-band__kicker {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: .16em;
  color: #ff6a3d;
}

.theme-kit--calle.theme-kit--calle-foto .tk-tag { background: #ff6a3d; color: #111111; }

/* Flames flare five times; the diner's milkshake tilts three times. */
@keyframes tk-calle-flames {
  0%, 100% { scale: 1 1; }
  50% { scale: 1 1.18; }
}
.theme-kit--calle .tk-band:not(.tk-still) .tk-calle-flames { animation: tk-calle-flames .8s ease-in-out 5; }
.theme-kit--calle[dir="rtl"] .tk-calle-flames { transform-origin: 50% 78% !important; }
@keyframes tk-calle-shake {
  0%, 100% { rotate: 0deg; }
  50% { rotate: -5deg; }
}
.theme-kit--calle.theme-kit--calle-diner .tk-band:not(.tk-still) .tk-calle-shake { animation: tk-calle-shake 1.4s ease-in-out 3; }
.theme-kit--calle.theme-kit--calle-diner[dir="rtl"] .tk-calle-shake { transform-origin: 50% 84.6% !important; }
@media (prefers-reduced-motion: reduce) {
  .theme-kit--calle .tk-calle-flames, .theme-kit--calle .tk-calle-shake { animation: none !important; }
}

/* ---- Menu, in the kit template (base.css; docs/strategy/THEMES_FIDELIDAD.md) ---- */

/* Calle: street food, loud. Archivo Black titles, every dish a white card with
   a thick border and a hard shadow, sizes and portions as yellow tickets. */
.theme-kit--calle.theme-kit {
  --theme-font: 'Archivo', var(--tk-sans);
  --tk-h2-size: 1.625rem;
  --tk-h2-weight: 400;
  --tk-name-weight: 800;
  --tk-price-font: var(--tk-display);
  --tk-price-weight: 400;
  --tk-price-color: var(--theme-text);
  --tk-card-border: #141414;
  --tk-card-border-width: 3px;
  --tk-card-radius: .875rem;
  --tk-card-shadow: 4px 4px 0 #141414;
  --tk-chip-radius: .625rem;
  --tk-chip-bg: #ffffff;
  --tk-chip-border: #141414;
  --tk-chip-border-width: 2px;
  --tk-chip-weight: 700;
  --tk-chip-active-bg: #141414;
  --tk-chip-active-border: #141414;
  --tk-chip-active-color: #ffd23f;
  --tk-tag-bg: #ffd23f;
  --tk-tag-color: #141414;
  --tk-h2-transform: uppercase;
}
.theme-kit--calle .tk-prices { flex-direction: row; flex-wrap: wrap; gap: .375rem; margin-top: .375rem; }
.theme-kit--calle .tk-prices__item { gap: .375rem; padding: .25rem .625rem; border-radius: .5rem; background: #ffd23f; color: #141414; font-size: .8125rem; }
.theme-kit--calle .tk-prices__label { color: inherit; font-weight: 800; }
.theme-kit--calle .tk-prices__item .tk-dish__price { margin-inline-start: 0; font-size: .875rem; color: inherit; }
.theme-kit--calle[dir="rtl"] { --tk-card-shadow: -4px 4px 0 #141414; }

/* Calle · diner: an American diner. Righteous titles in red over a strip of
   checkerboard, each section a white box with dashed rules, names in capitals. */
.theme-kit--calle.theme-kit--calle-diner {
  --theme-font: 'Work Sans', var(--tk-sans);
  --tk-h2-size: 1.75rem;
  --tk-h2-color: #b71c1c;
  --tk-name-transform: uppercase;
  --tk-name-spacing: .03em;
  --tk-name-size: .9375rem;
  --tk-price-size: 1.0625rem;
  --tk-card-border: #1a1a1a;
  --tk-card-border-width: 2px;
  --tk-card-radius: 1rem;
  --tk-card-shadow: none;
  --tk-rule: #f0e2c8;
  --tk-rule-style: dashed;
  --tk-rule-width: 2px;
  --tk-chip-radius: 999px;
  --tk-chip-border: #1a1a1a;
  --tk-chip-active-bg: #c62828;
  --tk-chip-active-border: #c62828;
  --tk-chip-active-color: #ffffff;
  --tk-h2-transform: none;
}
.theme-kit--calle.theme-kit--calle-diner .tk-section__head::after {
  content: "";
  display: block;
  height: .625rem;
  margin-top: .5rem;
  background: repeating-conic-gradient(#1a1a1a 0 25%, #ffffff 0 50%) 0 0 / .625rem .625rem;
  border: 1px solid #1a1a1a;
}

/* Calle · shawarma: the same cards with a red shadow and red titles. */
.theme-kit--calle.theme-kit--calle-shawarma {
  --tk-h2-color: #b3261e;
  --tk-card-shadow: 4px 4px 0 #b3261e;
  --tk-chip-active-bg: #b3261e;
  --tk-chip-active-border: #b3261e;
  --tk-chip-active-color: #ffffff;
  --tk-h2-size: 1.5rem;
  --tk-h2-transform: none;
}
.theme-kit--calle.theme-kit--calle-shawarma[dir="rtl"] { --tk-card-shadow: -4px 4px 0 #b3261e; }

/* Calle · foto: dark cards with an orange shadow under a photographic header. */
.theme-kit--calle.theme-kit--calle-foto {
  --tk-card-bg: #1b1b1b;
  --tk-card-border: #2e2e2e;
  --tk-card-border-width: 2px;
  --tk-card-shadow: 4px 4px 0 #ff6a3d;
  --tk-price-color: #ff6a3d;
  --tk-chip-bg: #1b1b1b;
  --tk-chip-border: #3a3a3a;
  --tk-chip-color: #ffffff;
  --tk-chip-active-bg: #ff6a3d;
  --tk-chip-active-border: #ff6a3d;
  --tk-chip-active-color: #111111;
  --tk-h2-size: 1.375rem;
  --tk-h2-color: #ffffff;
}
.theme-kit--calle.theme-kit--calle-foto[dir="rtl"] { --tk-card-shadow: -4px 4px 0 #ff6a3d; }

/* ---- Mexico (2026-11-09) ---- */

/* Variant calle.taqueria: a taquería. Alfa Slab One like a hand-painted sign,
   white on rosa mexicano; each section opens under a strip of papel picado. */
.theme-kit--calle.theme-kit--calle-taqueria {
  --tk-display: 'Alfa Slab One', 'Noto Serif', 'Noto Serif Armenian', 'Noto Naskh Arabic', 'Noto Serif Hebrew',
    'Noto Serif JP', 'Noto Serif SC', 'Noto Serif KR', 'Noto Serif Thai', 'Noto Serif Devanagari',
    'Noto Serif Bengali', 'Noto Serif Tamil', 'Noto Serif Telugu', 'Noto Serif Ethiopic', Georgia, serif;
  --tk-band-ink: #ffffff;
  --tk-band-scrim: 233, 2, 114;
  --tk-h2-color: #b0005f;
  --tk-h2-size: 1.5rem;
  --tk-card-shadow: 4px 4px 0 #e90272;
  --tk-chip-active-bg: #b0005f;
  --tk-chip-active-border: #b0005f;
  --tk-chip-active-color: #ffffff;
  --tk-tag-bg: #ffc72c;
}
.theme-kit--calle.theme-kit--calle-taqueria[dir="rtl"] { --tk-card-shadow: -4px 4px 0 #e90272; }
.theme-kit--calle.theme-kit--calle-taqueria .tk-name { font-size: clamp(1.875rem, 9cqw, 2.75rem); line-height: 1; letter-spacing: .01em; }
.theme-kit--calle.theme-kit--calle-taqueria .tk-band--short .tk-name { font-size: 1.625rem; }
.theme-kit--calle.theme-kit--calle-taqueria .tk-band__kicker { color: #fff3d6; }
.theme-kit--calle.theme-kit--calle-taqueria .tk-tag { background: #ffc72c; color: #141414; }
.theme-kit--calle.theme-kit--calle-taqueria .tk-section__head::before {
  content: "";
  display: block;
  height: .75rem;
  margin-bottom: .625rem;
  background: linear-gradient(90deg, #e90272 0 20%, #ffc72c 0 40%, #19b5c2 0 60%, #2e9e4f 0 80%, #d62828 0) 0 0 / 7.5rem 100%;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 97.5% 100%, 95% 70%, 92.5% 100%, 90% 70%, 87.5% 100%, 85% 70%, 82.5% 100%, 80% 70%, 77.5% 100%, 75% 70%, 72.5% 100%, 70% 70%, 67.5% 100%, 65% 70%, 62.5% 100%, 60% 70%, 57.5% 100%, 55% 70%, 52.5% 100%, 50% 70%, 47.5% 100%, 45% 70%, 42.5% 100%, 40% 70%, 37.5% 100%, 35% 70%, 32.5% 100%, 30% 70%, 27.5% 100%, 25% 70%, 22.5% 100%, 20% 70%, 17.5% 100%, 15% 70%, 12.5% 100%, 10% 70%, 7.5% 100%, 5% 70%, 2.5% 100%, 0 70%);
}
.theme-kit--calle.theme-kit--calle-taqueria .tk-section__head--untitled::before { display: none; }
