/* Kamundia Butchery Nairobi - catalogue v2 PREVIEW ("the counter").
   Loaded after style.css; everything is prefixed k2-. Dark, warm, photo-led. */
.k2 {
  --k-bg: #120c0a;
  --k-bg2: #1a120f;
  --k-card: #211714;
  --k-card2: #2a1e1a;
  --k-line: rgba(255, 236, 214, 0.1);
  --k-text: #f6ede4;
  --k-dim: #bfae9f;
  --k-gold: #f2b530;
  --k-red: #e0262d;
  --k-paper: #fbf5e9;
  --k-ink: #2a1d17;
  --k-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--k-bg);
  color: var(--k-text);
  -webkit-tap-highlight-color: transparent;
}
.k2 main, .k2 .k2-list { overflow-x: clip; }
html.k2-lock, html.k2-lock body { overflow: hidden; }
.k2 a { color: inherit; }
.k2 .icon, .k2 svg { flex: none; }

/* ---------- shared bits ---------- */
.k2-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px;
  font-family: var(--display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-gold);
}
.k2-eyebrow svg { width: 15px; height: 15px; fill: currentColor; }
.k2-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 6.4vw, 2.6rem); line-height: 1.02; letter-spacing: -0.01em; color: var(--k-text); }
.k2-head__sub { margin: 10px 0 0; color: var(--k-dim); font-size: 0.95rem; max-width: 520px; }
.k2-price { margin: 0; display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.k2-price b { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1; color: var(--k-text); letter-spacing: -0.01em; }
.k2-price span { font-size: 0.74rem; font-weight: 600; color: var(--k-dim); }
.k2-price--lg b { font-size: 1.9rem; color: var(--k-gold); }
.k2-price--lg span { font-size: 0.9rem; }
.k2-ribbon {
  position: absolute; top: 10px; left: 0; z-index: 2; max-width: 88%; padding: 5px 10px 5px 9px; border-radius: 0 6px 6px 0;
  background: var(--k-gold); color: #241605; font-family: var(--display); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.k2-ribbon--hot { background: var(--k-red); color: #fff; }
.k2-ribbon--hot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: k2pulse 1.4s infinite; }
.k2-ribbon--out { background: #4a3a33; color: #f1e4d8; }
@keyframes k2pulse { 50% { opacity: 0.25; } }
.k2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--k-red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 24px rgba(224, 38, 45, 0.32); transition: transform 0.15s var(--k-ease), background 0.2s;
}
.k2-btn:active { transform: scale(0.97); }
.k2-btn svg { width: 18px; height: 18px; fill: currentColor; }
.k2-btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.86rem; box-shadow: none; }
.k2-btn--block { width: 100%; min-height: 54px; font-size: 1.05rem; }
.k2-btn--ghost { background: transparent; color: var(--k-ink); box-shadow: inset 0 0 0 2px rgba(42, 29, 23, 0.25); }
.k2-plus {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--k-red); color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(224, 38, 45, 0.35); transition: transform 0.15s var(--k-ease);
}
.k2-plus svg { width: 18px; height: 18px; fill: currentColor; }
.k2-plus:active { transform: scale(0.9); }
.k2-plus.is-hit { animation: k2hit 0.45s var(--k-ease); }
@keyframes k2hit { 40% { transform: scale(1.22); } }
.k2-ask { font-family: var(--display); font-weight: 700; font-size: 0.82rem; color: var(--k-gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero ---------- */
.k2-hero { position: relative; min-height: min(92svh, 760px); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.k2-hero__reel { position: absolute; inset: 0; z-index: -2; background: #2a1712; }
.k2-hero__reel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  animation: k2reel 24s infinite; animation-delay: calc(var(--i) * 6s - 1.2s);
}
.k2-hero__reel img:first-child { opacity: 1; }
@keyframes k2reel {
  0% { opacity: 0; transform: scale(1.12) translate3d(0, 0, 0); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  31% { opacity: 0; transform: scale(1.0) translate3d(-2%, -1%, 0); }
  100% { opacity: 0; }
}
.k2-hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(18, 12, 10, 0.98) 18%, rgba(18, 12, 10, 0.55) 55%, rgba(18, 12, 10, 0.15) 100%),
    linear-gradient(180deg, rgba(18, 12, 10, 0.7) 0%, rgba(18, 12, 10, 0) 26%);
}
.k2-hero__top { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.k2-logo { position: relative; display: block; }
.k2-logo img { display: block; height: 46px; width: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6)); }
.k2-hero__actions { display: flex; gap: 8px; }
.k2-round {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 245, 235, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.k2-round svg { width: 20px; height: 20px; fill: currentColor; }
.k2-round--wa { background: #25d366; color: #063d1d; box-shadow: none; }
.k2-hero__copy { margin-top: auto; padding-bottom: 30px; }
.k2-hero__script { margin: 0; font-family: var(--script); font-size: 1.5rem; color: var(--k-gold); transform: rotate(-3deg); transform-origin: left; }
.k2-hero h1 {
  margin: 2px 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(2.5rem, 12.4vw, 5.6rem); line-height: 0.9; letter-spacing: -0.03em; color: #fff;
  text-transform: uppercase;
}
.k2-hero h1 em { display: block; white-space: nowrap; font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--k-gold); }
.k2-hero__lede { margin: 0; max-width: 520px; font-size: 1rem; line-height: 1.5; color: #f0e2d6; }
.k2-hero__facts { list-style: none; margin: 20px 0 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid rgba(255, 236, 214, 0.18); max-width: 560px; }
.k2-hero__facts li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k2-hero__facts b { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1; color: #fff; }
.k2-hero__facts span { font-size: 0.72rem; line-height: 1.25; color: var(--k-dim); }
.k2-hero__cue {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 13px 20px; border-radius: 999px;
  background: var(--k-red); color: #fff !important; text-decoration: none; font-family: var(--display); font-weight: 700;
  box-shadow: 0 12px 30px rgba(224, 38, 45, 0.4);
}
.k2-hero__cue svg { width: 18px; height: 18px; fill: currentColor; transform: rotate(90deg); }

/* ---------- sticky search + tabs ---------- */
.k2-sticky { position: sticky; top: 0; z-index: 40; background: rgba(18, 12, 10, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.k2-sticky.is-stuck { border-color: var(--k-line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.k2-sticky__row { padding-top: 10px; padding-bottom: 8px; }
.k2-search { position: relative; display: flex; align-items: center; height: 46px; border-radius: 999px; background: var(--k-card); box-shadow: inset 0 0 0 1px var(--k-line); }
.k2-search > svg { position: absolute; left: 15px; width: 18px; height: 18px; fill: var(--k-dim); }
.k2-search input { width: 100%; height: 100%; padding: 0 44px 0 44px; border: 0; background: transparent; color: var(--k-text); font: inherit; font-size: 16px; border-radius: 999px; }
.k2-search input::placeholder { color: #8f7e71; }
.k2-search input:focus { outline: 2px solid var(--k-gold); outline-offset: 0; }
.k2-search input::-webkit-search-cancel-button { display: none; }
.k2-search__x { position: absolute; right: 6px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--k-card2); color: var(--k-text); display: inline-flex; align-items: center; justify-content: center; }
.k2-search__x svg { width: 14px; height: 14px; fill: currentColor; }
.k2-tabs__track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--pad) 8px; max-width: var(--wrap); margin: 0 auto; }
.k2-tabs__track::-webkit-scrollbar { display: none; }
.k2-tabs a {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 11px; border-radius: 999px; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--k-dim); transition: background 0.2s, color 0.2s;
}
.k2-tabs a svg { width: 19px; height: 19px; fill: currentColor; }
.k2-tabs a.is-on { background: var(--k-text); color: var(--k-bg); }

/* ---------- today at the counter ---------- */
.k2-today { padding-top: 34px; padding-bottom: 8px; }
.k2-today__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; margin: 18px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none;
}
.k2-today__rail::-webkit-scrollbar { display: none; }
.k2-today__card { position: relative; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--k-card); min-height: 300px; display: flex; isolation: isolate; }
.k2-today__img { position: absolute; inset: 0; z-index: -1; }
.k2-today__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--k-ease); }
.k2-today__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 10, 0) 35%, rgba(18, 12, 10, 0.92) 100%); }
.k2-today__card:hover img { transform: scale(1.05); }
.k2-today__body { margin-top: auto; padding: 16px; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; }
.k2-today__body .k2-ribbon { position: static; grid-column: 1 / -1; justify-self: start; border-radius: 6px; margin-bottom: 4px; }
.k2-today__body h3 { margin: 0; grid-column: 1; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; color: #fff; }
.k2-today__body h3 a { text-decoration: none; }
.k2-today__body .k2-price { grid-column: 1; }
.k2-today__body .k2-price b { color: var(--k-gold); font-size: 1.2rem; }
.k2-today__body .k2-btn { grid-column: 2; grid-row: 2 / span 2; }
.k2-today__card.is-in .k2-btn { background: #2d9a52; box-shadow: none; }

/* ---------- butcher's chart ---------- */
.k2-map { margin-top: 34px; padding: 40px 0 34px; background: radial-gradient(90% 60% at 50% 0%, #2b1b15 0%, var(--k-bg2) 70%); border-top: 1px solid var(--k-line); border-bottom: 1px solid var(--k-line); }
.k2-map__switch { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--k-line); }
.k2-map__switch button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--k-dim); font-family: var(--display); font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.k2-map__switch button svg { width: 20px; height: 20px; fill: currentColor; }
.k2-map__switch [aria-selected="true"] { background: var(--k-gold); color: #241605; }
.k2-map__stage { margin-top: 14px; }
.k2-map__svg { position: relative; padding: 6px 0 0; }
.k2-chart { position: relative; display: block; width: 100%; height: auto; max-width: 620px; margin: 0 auto; overflow: visible; }
.k2-part {
  fill: #9e1a1f; stroke: #fbf0e0; stroke-width: 1.6; stroke-linejoin: round; cursor: pointer;
  transition: fill 0.25s var(--k-ease);
}
.k2-part--tail { stroke: rgba(0, 0, 0, 0); stroke-width: 10; paint-order: stroke; }
.k2-part.is-hover { fill: #c0242a; }
.k2-part.is-on { fill: var(--k-gold); }
.k2-chart__outline { fill: none; stroke: none; pointer-events: none; }
.k2-chart__far { fill: #6d1115; pointer-events: none; }
.k2-chart__shadow { fill: #000; opacity: 0.45; }
.k2-chart__horn, .k2-chart__beard { fill: #9e1a1f; pointer-events: none; }
.k2-chart__horn--far { fill: #6d1115; }
.k2-chart__ear { fill: #7d1418; pointer-events: none; }
.k2-chart__eye { fill: #fbf0e0; pointer-events: none; }
.k2-chart__nostril { fill: none; stroke: #fbf0e0; stroke-width: 1.4; stroke-linecap: round; pointer-events: none; }
.k2-chart__labels text { pointer-events: none; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.05em; fill: #fff; text-anchor: middle; dominant-baseline: middle; transition: fill 0.25s var(--k-ease); }
.k2-chart__labels .k2-sm { font-size: 8.5px; letter-spacing: 0.03em; }
.k2-chart--cow .k2-chart__labels text { font-size: 15px; }
.k2-chart--cow .k2-chart__labels .k2-sm { font-size: 11px; }
.k2-chart__labels text.is-on { fill: #241605; }

.k2-map__pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px calc(var(--pad) * -1) 0; padding: 2px var(--pad) 4px; }
.k2-map__pills::-webkit-scrollbar { display: none; }
.k2-map__pills button { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 244, 230, 0.08); color: var(--k-dim); font-family: var(--display); font-weight: 600; font-size: 0.84rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--k-line); }
.k2-map__pills button.is-on { background: var(--k-red); color: #fff; box-shadow: none; }
.k2-map__panel { margin-top: 16px; padding: 18px 0 0; border-top: 1px dashed rgba(255, 236, 214, 0.2); }
.k2-map__panel.is-swap > * { animation: k2rise 0.45s var(--k-ease) both; }
.k2-map__panel.is-swap > *:nth-child(2) { animation-delay: 0.04s; }
.k2-map__panel.is-swap > *:nth-child(3) { animation-delay: 0.08s; }
.k2-map__panel.is-swap > *:nth-child(4) { animation-delay: 0.12s; }
@keyframes k2rise { from { opacity: 0; transform: translateY(10px); } }
.k2-map__kicker { margin: 0; font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--k-gold); }
.k2-map__panel h3 { margin: 4px 0 4px; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.05; color: #fff; }
.k2-map__note { margin: 0; color: var(--k-dim); font-size: 0.94rem; max-width: 560px; }
.k2-map__rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; margin: 14px calc(var(--pad) * -1) 0; padding: 0 var(--pad) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
.k2-map__rail::-webkit-scrollbar { display: none; }
.k2-mini { position: relative; scroll-snap-align: start; padding: 8px 8px 12px; border-radius: 16px; background: var(--k-card); box-shadow: inset 0 0 0 1px var(--k-line); }
.k2-mini__img { display: block; aspect-ratio: 1; border-radius: 11px; overflow: hidden; }
.k2-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.k2-mini h4 { margin: 9px 2px 3px; font-family: var(--display); font-weight: 700; font-size: 0.95rem; line-height: 1.15; color: var(--k-text); }
.k2-mini h4 a { text-decoration: none; }
.k2-mini__foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin: 6px 0 0 2px; }
.k2-mini .k2-price b { font-size: 0.98rem; }
.k2-mini .k2-plus { width: 34px; height: 34px; }
.k2-mini.is-in { box-shadow: inset 0 0 0 2px #2d9a52; }
.k2-mini.is-in .k2-plus { background: #2d9a52; box-shadow: none; }

/* ---------- meals ---------- */
.k2-list { padding-top: 30px; }
.k2-meals__label { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-gold); }
.k2-meals__track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; }
.k2-meals__track::-webkit-scrollbar { display: none; }
.k2-meals button {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--k-card); color: var(--k-text); box-shadow: inset 0 0 0 1px var(--k-line); font-family: var(--display); font-weight: 600; font-size: 0.9rem;
}
.k2-meals button small { font-family: var(--body); font-size: 0.7rem; font-weight: 700; color: var(--k-dim); }
.k2-meals button.is-on { background: var(--k-gold); color: #241605; box-shadow: none; }
.k2-meals button.is-on small { color: rgba(36, 22, 5, 0.65); }

/* ---------- sections + cards ---------- */
.k2-sec { padding-top: 26px; scroll-margin-top: 110px; }
.k2-sec__head { position: relative; height: 180px; border-radius: 22px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.k2-sec__head img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.k2-sec__head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 10, 0.92) 0%, rgba(18, 12, 10, 0.55) 60%, rgba(18, 12, 10, 0.2) 100%); }
.k2-sec__text { padding: 18px 18px 16px; }
.k2-sec__no { margin: 0; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--k-gold); }
.k2-sec__head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: -0.01em; color: #fff; }
.k2-sec__tag { margin: 4px 0 0; font-size: 0.85rem; color: #e6d6c8; max-width: 300px; }
.k2-sec__meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.76rem; }
.k2-sec__meta b, .k2-sec__meta span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 244, 230, 0.14); color: #fff; font-weight: 600; }
.k2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.k2-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; background: var(--k-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--k-line); transition: box-shadow 0.2s, transform 0.2s var(--k-ease); }
.k2-card.is-in { box-shadow: inset 0 0 0 2px #2d9a52; }
.k2-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.k2-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--k-ease); }
.k2-card:hover .k2-card__media img { transform: scale(1.05); }
.k2-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(18, 12, 10, 0.5)); pointer-events: none; }
.k2-tag {
  position: absolute; z-index: 2; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(18, 12, 10, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #f6ede4; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em;
}
.k2-card__body { display: flex; flex-direction: column; flex: 1; padding: 10px 8px 8px 12px; }
.k2-card .k2-price b { font-size: 1.02rem; }
.k2-card .k2-plus { width: 36px; height: 36px; }
.k2-card h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.15; color: var(--k-text); }
.k2-card h3 a { text-decoration: none; }
.k2-card__blurb { display: none; margin: 4px 0 0; font-size: 0.8rem; line-height: 1.4; color: var(--k-dim); }
.k2-card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 48px; }
.k2-step { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: #2d9a52; color: #fff; }
.k2-step[hidden] { display: none; }
.k2-step button { width: 32px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.k2-step output { min-width: 34px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 0.8rem; white-space: nowrap; }
.k2-card.is-in .k2-card__foot .k2-price { display: none; }
.k2-card.is-in .k2-card__foot { justify-content: flex-end; }
.k2-card.is-in .k2-step { width: 100%; justify-content: space-between; }
.k2-card.is-out .k2-card__media img { filter: grayscale(0.7) brightness(0.7); }
.k2-empty { margin: 30px 0; padding: 24px; border-radius: 18px; background: var(--k-card); text-align: center; }
.k2-empty p { margin: 0 0 14px; color: var(--k-dim); }
.k2-empty b { color: var(--k-text); }

.k2-foot { margin: 40px 0 0; padding: 30px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--k-line); text-align: center; color: var(--k-dim); font-size: 0.88rem; }
.k2-foot p { margin: 0 0 10px; }
.k2-foot b { color: var(--k-text); }
.k2-foot svg { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 3px; }
.k2-foot__script { font-family: var(--script); font-size: 1.6rem; color: var(--k-gold); }
.k2-foot__fine { max-width: 420px; margin-left: auto !important; margin-right: auto !important; font-size: 0.8rem; }
body.has-bar .k2-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ---------- order bar ---------- */
.k2-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; animation: k2up 0.4s var(--k-ease); }
@keyframes k2up { from { transform: translateY(120%); } }
.k2-bar__in {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; height: 60px; padding: 0 18px 0 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--k-paper); color: var(--k-ink); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.k2-bar.is-bump .k2-bar__in { animation: k2hit 0.45s var(--k-ease); }
.k2-bar__count { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 999px; background: var(--k-red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.k2-bar__label { flex: 1; text-align: left; font-family: var(--script); font-size: 1.3rem; line-height: 1; }
.k2-bar__total { font-family: var(--display); font-size: 1.15rem; }

/* ---------- toast ---------- */
.k2-toast {
  position: fixed; z-index: 90; left: 50%; top: calc(14px + env(safe-area-inset-top)); max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 999px;
  background: #2d9a52; color: #fff; font-family: var(--display); font-weight: 700; font-size: 0.86rem; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -140%); transition: transform 0.35s var(--k-ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.k2-toast.is-on { transform: translate(-50%, 0); }

/* ---------- product sheet ---------- */
.k2-sheet, .k2-co { position: fixed; inset: 0; z-index: 80; }
.k2-sheet__backdrop, .k2-co__backdrop { position: absolute; inset: 0; background: rgba(8, 5, 4, 0.7); opacity: 0; transition: opacity 0.3s; }
.k2-sheet.is-open .k2-sheet__backdrop, .k2-co.is-open .k2-co__backdrop { opacity: 1; }
.k2-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: 4svh; display: flex; flex-direction: column; border-radius: 24px 24px 0 0; overflow: hidden;
  background: var(--k-bg2); transform: translateY(100%); transition: transform 0.38s var(--k-ease);
}
.k2-sheet.is-open .k2-sheet__panel { transform: none; }
.k2-sheet__x, .k2-co__x {
  position: absolute; z-index: 5; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(18, 12, 10, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff;
}
.k2-sheet__x svg, .k2-co__x svg { width: 16px; height: 16px; fill: currentColor; }
.k2-sheet__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.k2-sheet__media { position: relative; aspect-ratio: 1 / 0.85; background: var(--k-card); }
.k2-sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.k2-sheet__media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, var(--k-bg2)); }
.k2-sheet__media .k2-ribbon { top: 18px; }
.k2-sheet__body { position: relative; margin-top: -54px; padding: 0 18px 24px; }
.k2-sheet__tags { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.k2-sheet__tags span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 244, 230, 0.12); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; color: var(--k-text); }
.k2-sheet__tags span:first-child { background: var(--k-gold); color: #241605; }
.k2-sheet h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: #fff; }
.k2-sheet__blurb { margin: 12px 0 0; color: #e7d8cb; line-height: 1.5; }
.k2-spec { margin: 16px 0 0; display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--k-line); }
.k2-spec div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 12px; background: var(--k-card); }
.k2-spec dt { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--k-dim); }
.k2-spec dd { margin: 0; font-size: 0.88rem; color: var(--k-text); }
.k2-opt { margin-top: 22px; }
.k2-opt[hidden] { display: none; }
.k2-opt h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.k2-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.k2-choices button {
  min-height: 42px; padding: 0 14px; border: 0; border-radius: 12px; cursor: pointer; background: var(--k-card); color: var(--k-text);
  box-shadow: inset 0 0 0 1px var(--k-line); font-family: var(--display); font-weight: 600; font-size: 0.9rem; transition: background 0.15s, box-shadow 0.15s;
}
.k2-choices button.is-on { background: rgba(242, 181, 48, 0.14); color: var(--k-gold); box-shadow: inset 0 0 0 2px var(--k-gold); }
.k2-stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; height: 56px; padding: 0 6px; border-radius: 16px; background: var(--k-card); box-shadow: inset 0 0 0 1px var(--k-line); }
.k2-stepper button { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--k-card2); color: #fff; font-size: 1.4rem; cursor: pointer; }
.k2-stepper output { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff; }
.k2-sheet__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--k-bg2); border-top: 1px solid var(--k-line); }
.k2-sheet__foot[hidden] { display: none; }
.k2-ask--lg { display: inline-block; margin-top: 20px; font-size: 1rem; }

/* ---------- order slip ---------- */
.k2-co__panel {
  position: absolute; left: 0; right: 0; bottom: 0; top: 3svh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform 0.4s var(--k-ease);
}
.k2-co.is-open .k2-co__panel { transform: none; }
.k2-co__x { top: 18px; right: 18px; background: rgba(42, 29, 23, 0.1); color: var(--k-ink); backdrop-filter: none; }
.k2-co__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px; }
.k2-slip {
  position: relative; min-height: 100%; padding: 26px 18px 30px; color: var(--k-ink);
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(42, 29, 23, 0.06) 33px 34px),
    var(--k-paper);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.4);
  -webkit-mask: radial-gradient(circle 7px at 10px 0, transparent 6.5px, #000 7px) -10px 0 / 20px 100% repeat-x;
          mask: radial-gradient(circle 7px at 10px 0, transparent 6.5px, #000 7px) -10px 0 / 20px 100% repeat-x;
}
.k2-slip__head { text-align: center; padding-bottom: 14px; border-bottom: 2px dashed rgba(42, 29, 23, 0.3); }
.k2-slip__head img { display: block; height: 42px; width: auto; margin: 0 auto; }
.k2-slip__script { margin: 6px 0 0; font-family: var(--script); font-size: 2rem; line-height: 1; color: var(--k-red); transform: rotate(-2deg); }
.k2-slip__meta { margin: 8px 0 0; display: flex; justify-content: center; gap: 14px; font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #7a6153; }
.k2-slip__meta b { color: var(--k-ink); }
.k2-slip__lines { list-style: none; margin: 8px 0 0; padding: 0; }
.k2-slip__empty { padding: 26px 0; text-align: center; color: #7a6153; }
.k2-line { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 8px; padding: 14px 0 12px; border-bottom: 1px dashed rgba(42, 29, 23, 0.22); animation: k2rise 0.4s var(--k-ease) both; animation-delay: var(--d); }
.k2-line__no { font-family: var(--display); font-weight: 700; font-size: 0.82rem; color: #a08877; padding-top: 2px; }
.k2-line__name { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.15; }
.k2-line__hand { margin: 2px 0 0; font-family: var(--script); font-size: 1.15rem; line-height: 1.2; color: #1d4fa3; }
.k2-line__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.k2-line__step { display: inline-flex; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(42, 29, 23, 0.25); }
.k2-line__step button { width: 38px; height: 34px; border: 0; background: transparent; color: var(--k-ink); font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.k2-line__step button + button { border-left: 1px solid rgba(42, 29, 23, 0.2); }
.k2-line__cut, .k2-line__del { height: 34px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #7a6153; font-family: var(--display); font-weight: 600; font-size: 0.8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.k2-line__sum { font-family: var(--display); font-size: 1rem; white-space: nowrap; padding-top: 1px; }
.k2-slip__more { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0; padding: 0; border: 0; background: none; color: var(--k-red); font-family: var(--display); font-weight: 700; font-size: 0.92rem; cursor: pointer; }
.k2-slip__more svg { width: 16px; height: 16px; fill: currentColor; }
.k2-slip__sums { margin: 18px 0 0; padding: 12px 0 0; border-top: 2px solid var(--k-ink); }
.k2-slip__sums div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.k2-slip__sums dt, .k2-slip__sums dd { margin: 0; font-size: 0.92rem; }
.k2-slip__sums em { font-style: normal; color: #7a6153; }
.k2-slip__total { margin-top: 6px; padding-top: 8px !important; border-top: 1px solid rgba(42, 29, 23, 0.2); }
.k2-slip__total dt, .k2-slip__total dd { font-family: var(--display); font-weight: 700; font-size: 1.35rem !important; }
.k2-slip__total dd { border-bottom: 4px double var(--k-ink); line-height: 1.1; }
.k2-slip__total small { font-family: var(--body); font-size: 0.72rem; font-weight: 600; color: #7a6153; }
.k2-slip__sec { margin-top: 26px; }
.k2-slip__sec h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #7a6153; }
.k2-saved { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(42, 29, 23, 0.06); }
.k2-saved[hidden] { display: none; }
.k2-saved__ic svg { width: 20px; height: 20px; fill: var(--k-red); }
.k2-saved p { flex: 1; margin: 0; display: flex; flex-direction: column; font-size: 0.86rem; min-width: 0; }
.k2-saved button { border: 0; background: none; color: var(--k-red); font-weight: 700; text-decoration: underline; cursor: pointer; }
.k2-field { margin-bottom: 12px; }
.k2-field[hidden], .k2-extra[hidden] { display: none; }
.k2-field label { display: block; margin-bottom: 4px; font-size: 0.8rem; font-weight: 700; color: #5d483c; }
.k2-field input, .k2-field select, .k2-field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 12px; font: inherit; font-size: 16px; color: var(--k-ink);
  background: #fff; box-shadow: inset 0 0 0 1px rgba(42, 29, 23, 0.2);
}
.k2-field input:focus, .k2-field select:focus, .k2-field textarea:focus { outline: 2px solid var(--k-red); outline-offset: 0; }
.k2-extra summary { cursor: pointer; padding: 6px 0 12px; font-weight: 700; font-size: 0.88rem; color: var(--k-ink); }
.k2-extra summary small { font-weight: 500; color: #7a6153; }
.k2-err { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fde7e6; color: #a1171c; font-size: 0.86rem; font-weight: 600; }
.k2-slip__stamp {
  margin: 26px auto 0; width: max-content; padding: 6px 14px; border: 3px solid rgba(224, 38, 45, 0.55); border-radius: 8px; transform: rotate(-6deg);
  font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(224, 38, 45, 0.7);
}
.k2-co__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--k-paper); border-top: 1px solid rgba(42, 29, 23, 0.12); margin: 0 10px; }
.k2-co__foot[hidden] { display: none; }
.k2-co__foot p { margin: 8px 0 0; text-align: center; font-size: 0.76rem; color: #7a6153; }
.k2-send { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 999px; background: #25d366; color: #063d1d; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.08rem; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.k2-send svg { width: 22px; height: 22px; fill: currentColor; }
.k2-send.is-disabled { opacity: 0.45; pointer-events: none; }
.k2-done { padding: 20px 0 10px; text-align: center; }
.k2-done[hidden] { display: none; }
.k2-done__tick { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #25d366; color: #063d1d; }
.k2-done__tick svg { width: 30px; height: 30px; fill: currentColor; }
.k2-done h3 { margin: 12px 0 0; font-family: var(--display); font-size: 1.5rem; }
.k2-done__next { list-style: none; counter-reset: n; margin: 20px 0 0; padding: 0; text-align: left; }
.k2-done__next li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 10px 0; border-bottom: 1px dashed rgba(42, 29, 23, 0.2); }
.k2-done__next li::before { content: counter(n); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--k-ink); color: var(--k-gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.k2-done__next span { font-size: 0.86rem; color: #5d483c; }
.k2-done__retry { display: inline-block; margin-top: 16px; font-size: 0.86rem; color: var(--k-red); }
.k2-done__btns { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- larger screens ---------- */
@media (min-width: 560px) {
  .k2-today__rail { grid-auto-columns: 44%; }
  .k2-map__rail { grid-auto-columns: 30%; }
  .k2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .k2-card__blurb { display: block; }
}
@media (min-width: 900px) {
  .k2-logo img { height: 60px; }
  .k2-hero__copy { padding-bottom: 54px; }
  .k2-today__rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 18px 0 0; padding: 0; }
  .k2-today__card { min-height: 340px; }
  .k2-map__stage { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
  .k2-map__panel { margin-top: 0; padding: 0; border: 0; }
  .k2-map__stage > * { min-width: 0; }
  .k2-map__rail { grid-auto-columns: 46%; margin: 14px 0 0; padding: 0 0 4px; scroll-padding: 0; }
  .k2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .k2-sec__head { height: 240px; }
  .k2-sec__head h2 { font-size: 2.8rem; }
  .k2-sheet__panel, .k2-co__panel { left: 50%; right: auto; width: 520px; margin-left: -260px; top: 4vh; bottom: 4vh; border-radius: 24px; }
  .k2-sheet__panel { transform: translateY(110vh); }
  .k2-co__panel { transform: translateY(110vh); }
  .k2-co__scroll, .k2-co__foot { margin: 0; }
  .k2-slip { border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .k2-hero__reel img { animation: none; }
  .k2-hero__reel img:not(:first-child) { display: none; }
  .k2 *, .k2 *::before, .k2 *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.k2 :focus:not(:focus-visible) { outline: none; }

/* ---------- number pad ---------- */
.k2-step__val { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 2px; border: 0; background: transparent; color: #fff; cursor: pointer; text-decoration: underline dotted rgba(255, 255, 255, 0.6); text-underline-offset: 4px; }
.k2-padicon { width: 18px; height: 18px; flex: none; }

/* the amount box in the product sheet: tap it to open the pad */
.k2-amt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 72px; padding: 12px 16px;
  border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: var(--k-text);
  background: linear-gradient(180deg, #2c201b, #241914); box-shadow: inset 0 0 0 1.5px rgba(242, 181, 48, 0.45), 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.15s, transform 0.1s;
}
.k2-amt:hover { box-shadow: inset 0 0 0 2px var(--k-gold), 0 10px 24px rgba(0, 0, 0, 0.25); }
.k2-amt:active { transform: scale(0.99); }
.k2-amt__val { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k2-amt__val output { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: #fff; }
.k2-amt__val small { font-size: 0.92rem; font-weight: 600; color: var(--k-gold); }
.k2-amt__hint { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 38px; padding: 0 12px; border-radius: 999px; background: var(--k-gold); color: #241605; font-family: var(--display); font-weight: 700; font-size: 0.85rem; }
.k2-choices--amt { margin-top: 10px; }
.k2-choices--amt button { flex: 1 1 0; min-width: 0; padding: 0 8px; }

/* the pad */
.k2-pad { position: fixed; inset: 0; z-index: 85; display: flex; align-items: flex-end; justify-content: center; }
.k2-pad[hidden] { display: none; }
.k2-pad__backdrop { position: absolute; inset: 0; background: rgba(8, 5, 4, 0.62); opacity: 0; transition: opacity 0.22s; }
.k2-pad.is-open .k2-pad__backdrop { opacity: 1; }
.k2-pad__card {
  position: relative; width: 100%; max-width: 420px; max-height: 100svh; overflow-y: auto; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0;
  background: var(--k-paper); color: var(--k-ink); box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(100%); transition: transform 0.26s var(--k-ease);
}
.k2-pad__card::before { content: ""; display: block; width: 40px; height: 4px; margin: -4px auto 10px; border-radius: 4px; background: #dccdb7; }
.k2-pad.is-open .k2-pad__card { transform: none; }
.k2-pad__top { display: flex; align-items: center; gap: 12px; }
.k2-pad__top img { width: 52px; height: 52px; flex: none; border-radius: 14px; object-fit: cover; background: #e9dcc8; }
.k2-pad__titles { flex: 1; min-width: 0; }
.k2-pad__item { margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: 0.8rem; font-weight: 700; color: #7b6253; white-space: nowrap; overflow: hidden; }
.k2-pad__item > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.k2-pad__price b { font-weight: 700; color: var(--k-ink); }
.k2-pad__price span { color: #7b6253; font-weight: 600; }
.k2-pad h3 { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; color: var(--k-ink); }
.k2-pad__x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #ece2d2; color: var(--k-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.k2-pad__x svg { width: 18px; height: 18px; }
.k2-pad__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: #ece2d2; }
.k2-pad__modes[hidden] { display: none; }
.k2-pad__modes button { height: 38px; border: 0; border-radius: 10px; background: transparent; color: #6f5747; font-family: var(--display); font-weight: 700; font-size: 0.86rem; cursor: pointer; }
.k2-pad__modes [aria-pressed="true"] { background: #fff; color: var(--k-ink); box-shadow: 0 1px 3px rgba(42, 29, 23, 0.18); }
.k2-pad__screen { position: relative; display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; height: 70px; margin-top: 10px; padding: 0 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--k-gold); font-family: var(--display); font-weight: 700; }
.k2-pad__screen span { font-size: 2.6rem; line-height: 70px; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.k2-pad__screen span.is-empty { color: #c9b9a5; }
.k2-pad__screen span.is-fresh { color: #8a6f60; }
.k2-pad__screen span.is-fresh::after { content: ""; display: inline-block; width: 2px; height: 0.9em; margin-left: 3px; vertical-align: -0.08em; background: var(--k-red); animation: k2blink 1s steps(1) infinite; }
@keyframes k2blink { 50% { opacity: 0; } }
.k2-pad__screen em { font-style: normal; font-size: 1.05rem; color: #8a6f60; }
.k2-pad__screen em[hidden] { display: none; }
.k2-pad__screen em[data-pad-pre] { order: -1; margin-right: auto; }
.k2-pad__clear { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: #f1e6d4; color: #6f5747; font-weight: 700; font-size: 0.78rem; cursor: pointer; }
.k2-pad__clear[hidden] { display: none; }
.k2-pad__screen:has(em[data-pad-pre]:not([hidden])) .k2-pad__clear { display: none; }
.k2-pad__note { min-height: 1.3em; margin: 7px 2px 10px; font-size: 0.9rem; font-weight: 600; color: #2d7a45; text-align: right; }
.k2-pad__note.is-warn { color: #b3261e; }
.k2-pad__quick { display: flex; gap: 6px; margin-bottom: 10px; }
.k2-pad__quick button { flex: 1 1 0; min-width: 0; }
.k2-pad__quick button { height: 38px; border: 0; border-radius: 999px; background: #fff; color: var(--k-ink); box-shadow: inset 0 0 0 1.5px #e3d5bf; font-family: var(--display); font-weight: 700; font-size: 0.85rem; cursor: pointer; white-space: nowrap; }
.k2-pad__quick button.is-on { background: var(--k-ink); color: #fff; box-shadow: none; }
.k2-pad__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.k2-pad__keys button { height: 54px; border: 0; border-radius: 14px; background: #fff; color: var(--k-ink); box-shadow: 0 2px 0 #dccbb3, inset 0 0 0 1px #ece1cf; font-family: var(--display); font-weight: 700; font-size: 1.55rem; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background 0.08s, transform 0.08s, box-shadow 0.08s; user-select: none; }
.k2-pad__keys button:active { background: #f3e8d6; transform: translateY(2px); box-shadow: 0 0 0 #dccbb3, inset 0 0 0 1px #ece1cf; }
.k2-pad__keys button:disabled { opacity: 0.3; cursor: default; }
.k2-pad__keys svg { width: 26px; height: 26px; vertical-align: middle; }
.k2-pad__ok { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 56px; margin-top: 10px; border: 0; border-radius: 16px; background: var(--k-red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 8px 20px rgba(224, 38, 45, 0.35); }
.k2-pad__ok svg { width: 22px; height: 22px; }
.k2-pad__ok:disabled { background: #d8c9b6; box-shadow: none; cursor: default; }
@media (max-height: 640px) {
  .k2-pad__keys button { height: 46px; }
  .k2-pad__screen { height: 58px; }
  .k2-pad__screen span { font-size: 2.1rem; line-height: 58px; }
}
@media (min-width: 720px) {
  .k2-pad { align-items: center; }
  .k2-pad__card { border-radius: 24px; padding-bottom: 16px; transform: translateY(16px) scale(0.98); opacity: 0; transition: transform 0.22s var(--k-ease), opacity 0.22s; }
  .k2-pad__card::before { display: none; }
  .k2-pad.is-open .k2-pad__card { transform: none; opacity: 1; }
}

/* weighed cuts on a card: amount (opens the pad) + remove, no -/+ */
.k2-step[data-kg] [data-q="1"] { display: none; }
.k2-step[data-kg] { padding-right: 12px; }
.k2-step[data-kg] .k2-step__val { flex: 1; justify-content: flex-end; gap: 6px; }
.k2-step[data-kg] .k2-step__val::after { content: "Edit"; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; text-decoration: none; }
