@font-face {
  font-family: Manrope;
  src: url(manrope-cyrillic.woff2) format("woff2");
  font-display: swap;
  font-weight: 200 800;
}
@font-face {
  font-family: Manrope;
  src: url(manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF;
  font-display: swap;
  font-weight: 200 800;
}
@font-face {
  font-family: Rubik;
  src: url(rubik-cyrillic.woff2) format("woff2");
  font-display: swap;
  font-weight: 300 900;
}
@font-face {
  font-family: Rubik;
  src: url(rubik-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF;
  font-display: swap;
  font-weight: 300 900;
}

:root {
  --bg: #fafbf6;
  --surface: #ffffff;
  --surface-2: #f1f4ec;
  --surface-tint: #e6efe5;
  --ink: #172b21;
  --ink-soft: #253d31;
  --muted: #4b5d52;
  --accent: #216143;
  --accent-hover: #184b33;
  --lime: #e5ee79;
  --lime-hover: #dae65c;
  --line: #d9e2d6;
  --line-strong: #b6c5b3;
  --high: #1f6845;
  --high-bg: #e5f4ec;
  --mid: #9a5b06;
  --mid-bg: #fdf2de;
  --low: #a93224;
  --low-bg: #fceae7;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 42, 31, 0.04), 0 4px 14px rgba(20, 42, 31, 0.04);
  --shadow-md: 0 2px 6px rgba(20, 42, 31, 0.05), 0 14px 32px rgba(20, 42, 31, 0.08);
  --container: 1280px;
}

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

html,
body.kk-site {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 11px 20px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.35;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

button:hover,
.button:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

button:active,
.button:active {
  transform: scale(0.985);
}

button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.button--outline {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--line-strong);
}

.button--outline:hover {
  background: var(--surface-tint);
  border-color: var(--accent);
  color: var(--ink);
}

.button--full {
  width: 100%;
}

button,
a {
  touch-action: manipulation;
}

input,
select,
textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 14px;
  min-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #b8680a;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: Rubik, Arial, sans-serif;
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(23px, 2.2vw, 31px);
}

h3 {
  font-size: clamp(18px, 1.5vw, 22px);
}

p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  background: var(--ink);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  z-index: 200;
}

.skip-link:focus {
  top: 12px;
  color: #ffffff;
}

.screen-reader-text {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* Header */
.kk-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 251, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.kk-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kk-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 26px/1 Rubik, Arial, sans-serif;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.kk-logo svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--accent);
}

.kk-logo__accent {
  font-style: normal;
  color: var(--accent);
}

.kk-logo small {
  display: block;
  font: 500 12px/1.35 Manrope, sans-serif;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 4px;
}

.kk-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
}

.kk-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background-color 150ms ease, color 150ms ease;
}

.kk-header nav a:hover,
.kk-header nav a.is-active {
  background: var(--surface-2);
  color: var(--accent);
}

.kk-header nav a.kk-nav-compare {
  background: var(--ink);
  color: #ffffff;
  padding: 8px 16px;
  margin-left: 6px;
}

.kk-header nav a.kk-nav-compare:hover,
.kk-header nav a.kk-nav-compare.is-active {
  background: var(--accent);
  color: #ffffff;
}

.kk-header nav span[data-compare-count] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

/* Main container & common typography */
.kk-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px) 72px;
  min-height: 68vh;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--accent);
  margin-bottom: 8px;
}

.eyebrow--light {
  color: var(--lime);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 22px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.crumbs a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.card-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}

.kk-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.kk-section-head h2 {
  margin: 0;
}

.kk-section-sub {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.kk-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.kk-link-pill:hover {
  border-color: var(--accent);
  background: var(--surface-tint);
  color: var(--accent);
}

/* Hero / Archive Header */
.a-title {
  padding: 36px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: end;
}

.a-title h1 {
  margin: 4px 0 0;
}

.a-title p,
.archive-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-stats b {
  font-family: Rubik, Arial, sans-serif;
  font-weight: 650;
  color: var(--accent);
}

/* Search bar & instant autocomplete */
.a-search-wrap {
  position: relative;
  margin: 0 0 28px;
}

.a-search {
  display: flex;
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.a-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(33, 97, 67, 0.12);
}

.a-search__icon {
  display: flex;
  align-items: center;
  padding-left: 18px;
  color: var(--muted);
}

.a-search__icon svg {
  width: 20px;
  height: 20px;
}

.a-search input[type="search"] {
  border: 0;
  border-radius: 0;
  flex: 1;
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  background: transparent;
}

.a-search input[type="search"]:focus-visible {
  outline: none;
}

.a-search button {
  border-radius: 10px;
  margin: 5px;
  min-height: 46px;
  padding: 10px 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.a-search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  max-height: 380px;
  overflow-y: auto;
}

.a-search-suggest[hidden] {
  display: none !important;
}

.a-search-suggest li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
}

.a-search-suggest li a:hover {
  background: var(--surface-2);
}

.a-search-suggest img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--surface-2);
  border-radius: 6px;
  flex-shrink: 0;
}

.a-search-suggest strong {
  display: block;
  font-weight: 650;
  color: var(--ink);
}

.a-search-suggest small {
  color: var(--muted);
  font-size: 13px;
}

.a-search-popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.a-search-popular a {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 550;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.a-search-popular a:hover {
  border-color: var(--accent);
  background: var(--surface-tint);
  color: var(--accent);
}

/* Catalogue Layout & Sidebar */
.a-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.a-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.a-sidebar__box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.a-sidebar h2 {
  font-size: 17px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.a-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.a-sidebar__links a {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: background-color 150ms ease;
}

.a-sidebar__links a:hover {
  background: var(--surface-2);
}

.a-sidebar__links a span {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.a-sidebar__links a small {
  font-size: 12px;
  color: var(--muted);
}

.a-sidebar .a-pick {
  display: block;
  padding: 22px;
  background: var(--lime);
  border: 1px solid #d4df57;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: transform 180ms ease, background-color 180ms ease;
}

.a-sidebar .a-pick:hover {
  background: var(--lime-hover);
  color: var(--ink);
  transform: translateY(-2px);
}

.a-pick svg {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 0 12px;
}

.a-pick strong {
  display: block;
  font-family: Rubik, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.a-pick p {
  margin: 8px 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.a-pick b {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 750;
}

/* Home Shelf Tabs & Archive Filter Bar */
.shelf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.shelf-tabs {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
}

.shelf-tabs button {
  background: transparent;
  color: var(--ink-soft);
  border: 0;
  border-radius: 999px;
  min-height: 38px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 650;
}

.shelf-tabs button:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.shelf-tabs button.is-active {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.shelf-head__all {
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
}

.catalog-filters {
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  align-items: flex-end;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.catalog-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  flex: 1 1 170px;
}

.catalog-filters select {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
  font-weight: 550;
  background-color: var(--bg);
}

.catalog-filters button {
  min-height: 44px;
  padding: 10px 22px;
}

.filter-reset {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
}

/* Product Cards & Orphan-Free Grids */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.catalog-grid--archive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-grid--archive > .food-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.food-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms ease;
}

.food-card[hidden] {
  display: none !important;
}

.food-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.pack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  padding: 28px 20px 20px;
  height: 236px;
  overflow: hidden;
}

.pack img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.food-card:hover .pack img {
  transform: scale(1.035);
}

.pack-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
  z-index: 2;
}

.pack-class,
.pack-rank,
.pack-sim,
.pack-score {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.pack-class {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.pack-rank {
  background: var(--ink);
  color: #ffffff;
}

.pack-rank--top-1 {
  background: #f2c94c;
  color: #1f1a06;
}

.pack-rank--top-2 {
  background: #dfe6e9;
  color: #1c272c;
}

.pack-rank--top-3 {
  background: #ebb892;
  color: #2b180a;
}

.pack-sim {
  background: var(--surface-tint);
  color: var(--accent);
  border: 1px solid #c2dac9;
  margin-left: auto;
}

.pack-score {
  margin-left: auto;
  font-family: Rubik, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.pack-score small {
  font-size: 10px;
  opacity: 0.8;
}

.pack-score--high {
  background: var(--high-bg);
  color: var(--high);
}

.pack-score--mid {
  background: var(--mid-bg);
  color: var(--mid);
}

.pack-score--low {
  background: var(--low-bg);
  color: var(--low);
}

.food-text {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.food-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.food-type {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.food-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
}

.food-card h2 {
  font-size: 17px;
  line-height: 1.38;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-grid--home .food-card h2 {
  font-size: 18px;
}

.food-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.food-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-soft);
}

.food-tag--class {
  background: var(--surface-tint);
  color: var(--accent);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
}

.facts > div {
  min-width: 0;
}

.facts b {
  font-family: Rubik, Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  display: block;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.facts span {
  font-size: 12px;
  color: var(--muted);
}

.food-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.read {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.read:hover {
  color: var(--accent-hover);
}

.food-card .kk-compare-add {
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  margin: 0;
  width: 100%;
  padding: 9px 12px;
  min-height: 42px;
}

.food-card .kk-compare-add:hover {
  background: var(--surface-tint);
  border-color: var(--accent);
  color: var(--accent);
}

.catalog-more {
  text-align: center;
  margin: 26px 0 0;
}

/* Quick Feature Strip */
.a-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0 0;
}

.a-links a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.a-links a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.a-links__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-tint);
  color: var(--accent);
  flex-shrink: 0;
}

.a-links__icon svg {
  width: 22px;
  height: 22px;
}

.a-links strong {
  display: block;
  font-family: Rubik, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.a-links small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* Home Articles & Archive Cards */
.home-articles {
  margin: 56px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.articles-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.article-card__cat {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-tint);
  color: var(--accent);
  font-weight: 650;
}

.article-card h2,
.article-card h3 {
  font-size: 19px;
  line-height: 1.32;
  margin: 0 0 10px;
}

.article-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
}

/* Single Product Page */
.product-hero {
  display: grid;
  grid-template-columns: minmax(320px, 41%) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  margin: 12px 0 40px;
}

.product-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-image {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px 32px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
  box-shadow: var(--shadow-sm);
}

.product-image__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}

.hero-verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  margin-left: auto;
}

.hero-verdict strong {
  font-family: Rubik, Arial, sans-serif;
}

.hero-verdict--high {
  background: var(--high-bg);
  color: var(--high);
}

.hero-verdict--mid {
  background: var(--mid-bg);
  color: var(--mid);
}

.hero-verdict--low {
  background: var(--low-bg);
  color: var(--low);
}

.product-image__main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: zoom-in;
}

.product-image img {
  max-height: 390px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-thumb {
  width: 68px;
  height: 68px;
  padding: 6px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.product-thumb:hover,
.product-thumb.is-active {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(33, 97, 67, 0.18);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-tax-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  background: var(--surface-2);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.eyebrow-pill--link:hover {
  background: var(--surface-tint);
  border-color: var(--accent);
  color: var(--accent);
}

.product-summary h1 {
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.2;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.product-diet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.diet-chip {
  font-size: 13px;
  font-weight: 650;
  padding: 4px 11px;
  border-radius: 8px;
  background: var(--high-bg);
  color: var(--high);
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}

.product-fact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.product-fact-card strong {
  font-family: Rubik, Arial, sans-serif;
  font-size: 23px;
  font-weight: 650;
  display: block;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.product-fact-card span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
}

.product-fact-card small {
  display: block;
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
  font-weight: 600;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* Two-Column Product & Article Body (No Empty Right Column!) */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: stretch;
}

.product-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.product-sidebar__flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-sidebar__sticky {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 17px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sidebar-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-toc a {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-soft);
}

.sidebar-toc a:hover {
  background: var(--surface-2);
  color: var(--accent);
}

.sidebar-compare-cta {
  background: linear-gradient(180deg, #f3f8ec 0%, #ebf2e4 100%);
  border-color: #cbd9c3;
}

.sidebar-compare-cta__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sidebar-compare-cta__head svg {
  width: 42px;
  height: 42px;
  color: var(--accent);
  flex-shrink: 0;
}

.sidebar-compare-cta__head strong {
  display: block;
  font-family: Rubik, Arial, sans-serif;
  font-size: 17px;
}

.sidebar-compare-cta__head span {
  font-size: 13px;
  color: var(--muted);
}

.sidebar-compare-cta p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.sidebar-rank-group + .sidebar-rank-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sidebar-rank-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}

.sidebar-rank-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.sidebar-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-rank-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background-color 140ms ease;
}

.sidebar-rank-list li a:hover {
  background: var(--surface-2);
}

.sidebar-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
  background: var(--surface-2);
  color: var(--ink);
  flex-shrink: 0;
}

.sidebar-rank-num--1 {
  background: #f2c94c;
  color: #1f1a06;
}

.sidebar-rank-list img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}

.sidebar-rank-title {
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 550;
  min-width: 0;
}

.sidebar-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-chip-cloud a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.sidebar-chip-cloud a:hover {
  background: var(--surface-tint);
  border-color: var(--accent);
  color: var(--accent);
}

/* Composition & Nutrition Grid */
.composition-box {
  padding: 18px 20px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  border-left: 4px solid var(--accent);
  margin-bottom: 24px;
}

.composition-box p:last-child {
  margin-bottom: 0;
}

.product-composition h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.nutrition {
  margin: 0;
}

.nutrition--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.nutrition div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  gap: 16px;
}

.nutrition dt {
  font-size: 14.5px;
  color: var(--muted);
}

.nutrition dd {
  font-weight: 700;
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Prose & Review Styling */
.prose {
  line-height: 1.75;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.prose h2,
.prose h3 {
  margin-top: 28px;
}

.prose > h2:first-child,
.prose .eyebrow + h2 {
  margin-top: 0;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
}

.prose li {
  margin-bottom: 8px;
}

.prose table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--surface-2);
}

.prose blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--surface-2);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-soft);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Automatic Pros & Cons highlight cards inside review */
.prose ul.kk-pros-list,
.prose ul.kk-cons-list {
  list-style: none;
  padding: 18px 20px;
  border-radius: var(--r-md);
  margin: 12px 0 22px;
}

.prose ul.kk-pros-list {
  background: #edf7f1;
  border: 1px solid #c5e3d1;
}

.prose ul.kk-cons-list {
  background: #fdf4e7;
  border: 1px solid #edd4ae;
}

.prose ul.kk-pros-list li,
.prose ul.kk-cons-list li {
  position: relative;
  padding-left: 26px;
}

.prose ul.kk-pros-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--high);
}

.prose ul.kk-cons-list li::before {
  content: "!";
  position: absolute;
  left: 4px;
  top: 0;
  font-weight: 800;
  color: var(--mid);
}

/* Collections Archive & Single Collection */
.collection-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
}

.page-heading {
  margin: 0;
}

.collection-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.collection-hero__pills span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.collection-intro {
  margin-bottom: 28px;
}

.collection-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collections-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 12px 0 36px;
}

.collection-showcase-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.collection-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.collection-showcase-card__packs {
  position: relative;
  background: var(--surface-2);
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-showcase-card__packs span {
  width: 68px;
  height: 82px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.collection-showcase-card__packs span + span {
  margin-left: -18px;
}

.collection-showcase-card__packs img {
  max-height: 100%;
  object-fit: contain;
}

.collection-showcase-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-style: normal;
  font-size: 12px;
  font-weight: 750;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}

.collection-showcase-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.collection-showcase-card__body h2 {
  font-size: 20px;
  margin: 0 0 8px;
}

.collection-showcase-card__body p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 16px;
  flex: 1;
}

/* Comparison Page Layout */
.kk-compare-page .kk-selected {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 28px;
}

.kk-compare-page .kk-selected[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kk-compare-page .kk-selected[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kk-compare-page .kk-selected li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.kk-selected[data-count="2"] li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.kk-selected img {
  width: 100%;
  height: 155px;
  object-fit: contain;
  mix-blend-mode: multiply;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 12px;
}

.kk-selected[data-count="2"] img {
  grid-row: span 2;
  height: 165px;
}

.kk-selected a {
  font-weight: 650;
  font-size: 15px;
  line-height: 1.4;
  flex: 1;
}

.kk-selected button {
  font-size: 14px;
  min-height: 40px;
  margin-top: auto;
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
}

.kk-selected button:hover {
  background: var(--low-bg);
  border-color: var(--low);
  color: var(--low);
}

.compare-tabs {
  display: inline-flex;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
  margin: 8px 0 12px;
}

.kk-compare-page .compare-tabs button {
  background: transparent;
  color: var(--ink-soft);
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 20px;
}

.kk-compare-page .compare-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.kk-table-hint {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.kk-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 12px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.kk-table-wrap:empty {
  display: none;
}

.kk-table-wrap table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 15px;
}

.kk-table-wrap td,
.kk-table-wrap th {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  line-height: 1.55;
  vertical-align: top;
  text-align: left;
}

.kk-table-wrap thead th {
  background: var(--surface-2);
  font-family: Rubik, Arial, sans-serif;
  font-weight: 600;
}

.kk-table-wrap th:first-child {
  width: 190px;
  background: #f5f7f1;
  font-weight: 650;
}

.kk-table-wrap tbody tr:last-child th,
.kk-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.kk-table-wrap [hidden] {
  display: none !important;
}

.bottom-note {
  font-size: 14px;
  color: var(--muted);
  max-width: 860px;
}

/* Pagination & Empty States */
.pagination {
  margin: 34px 0 0;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 650;
}

.page-numbers:hover {
  border-color: var(--accent);
}

.page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.empty-state,
.not-found-box {
  text-align: center;
  padding: 48px 24px;
}

.not-found-box svg {
  width: 72px;
  height: 72px;
  color: var(--accent);
  margin-bottom: 12px;
}

.not-found-box .a-search-wrap {
  max-width: 640px;
  margin: 24px auto 0;
  text-align: left;
}

/* Comments & Star Picker */
.comments-head h2 {
  margin-bottom: 8px;
}

.comments-title {
  font-size: 18px;
  margin: 16px 0;
}

.comments-empty {
  padding: 16px 18px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 15px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.comment-body {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author img {
  border-radius: 50%;
}

.comment-metadata {
  font-size: 13px;
  color: var(--muted);
}

.comment-rating {
  margin-left: auto;
  font-size: 17px;
  letter-spacing: 2px;
  color: #d99000;
}

.comment-reply-title {
  margin-top: 24px;
}

.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form textarea {
  display: block;
  width: 100%;
  max-width: 640px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.comment-form-rating {
  margin: 16px 0;
}

.rating-field-label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}

.comment-form .stars {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.comment-form .stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.comment-form .stars label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 22px;
  color: #c5cec2;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.comment-form .stars label:hover,
.comment-form .stars label:hover ~ label,
.comment-form .stars input:checked ~ label {
  color: #e09600;
  border-color: #e09600;
  background: #fffaf0;
}

.comment-form .stars input:focus-visible + label {
  outline: 3px solid #b8680a;
  outline-offset: 2px;
}

.comment-form input[type="submit"] {
  background: var(--accent) !important;
  color: #ffffff !important;
  min-height: 46px;
  border: 0;
  border-radius: var(--r-sm);
  padding: 12px 24px;
  font-weight: 650;
  cursor: pointer;
}

.comment-form-cookies-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
}

.comment-form-cookies-consent input {
  margin-top: 5px;
}

/* Multi-column Footer */
.kk-footer {
  background: #edf1e8;
  border-top: 1px solid var(--line);
  padding: 52px clamp(16px, 3vw, 32px) 44px;
  font-size: 14px;
}

.kk-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.kk-footer__brand p {
  margin: 14px 0 12px;
  color: var(--muted);
  max-width: 380px;
  font-size: 14.5px;
}

.kk-footer__disclaimer {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 380px;
}

.kk-footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.kk-footer__col strong {
  font-family: Rubik, Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.kk-footer__col a {
  color: var(--muted);
  font-size: 14px;
}

.kk-footer__col a:hover {
  color: var(--accent);
}

/* R-001 Compact Cookie Bar */
.kk-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 16px;
  background: rgba(23, 43, 33, 0.94);
  color: #f3f7f2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.3;
}

.kk-cookie-bar[hidden] {
  display: none !important;
}

.kk-cookie-bar a {
  color: var(--lime);
  text-decoration: underline;
}

.kk-cookie-bar button {
  background: var(--lime);
  color: var(--ink);
  min-height: 30px;
  padding: 4px 12px;
  font-size: 12.5px;
  border-radius: 6px;
  flex-shrink: 0;
}

.kk-cookie-bar button:hover {
  background: var(--lime-hover);
  color: var(--ink);
}

/* Native Lightbox Dialog */
.kk-lightbox {
  border: 0;
  border-radius: var(--r-lg);
  padding: 16px;
  max-width: min(92vw, 880px);
  max-height: 90vh;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.kk-lightbox::backdrop {
  background: rgba(15, 26, 20, 0.72);
  backdrop-filter: blur(4px);
}

.kk-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
}

.kk-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1060px) {
  .a-title {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-sidebar__sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .collection-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collections-showcase {
    grid-template-columns: 1fr;
  }
  .kk-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .a-body {
    grid-template-columns: 1fr;
  }
  .a-sidebar {
    display: none;
  }
  .catalog-grid,
  .collection-grid--4,
  .collection-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-image {
    min-height: 320px;
    padding: 44px 24px 24px;
  }
  .product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .a-links,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .kk-compare-page .kk-selected,
  .kk-compare-page .kk-selected[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .kk-header__inner {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .kk-logo {
    font-size: 23px;
  }
  .kk-logo svg {
    width: 36px;
    height: 36px;
  }
  .kk-logo small {
    display: none;
  }
  .kk-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    overflow-x: auto;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  .kk-header nav a {
    padding: 6px 9px;
    font-size: 13.5px;
    min-height: 38px;
    white-space: nowrap;
  }
  .kk-header nav a.kk-nav-compare {
    padding: 6px 11px;
    margin-left: 0;
  }
  .kk-header nav a.kk-nav-articles {
    display: none;
  }
  .kk-main {
    padding: 0 16px 48px;
  }
  .a-title {
    padding: 24px 0 18px;
  }
  .a-search {
    min-height: 50px;
  }
  .a-search__icon {
    display: none;
  }
  .a-search input[type="search"] {
    padding: 10px 12px;
    font-size: 15px;
  }
  .a-search button {
    padding: 8px 16px;
    font-size: 14px;
    min-height: 42px;
  }
  .a-search-popular {
    display: none;
  }
  .shelf-head {
    flex-direction: column;
    align-items: stretch;
  }
  .shelf-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .shelf-tabs button {
    padding: 6px 8px;
  }
  .catalog-filters {
    padding: 14px;
    gap: 10px;
  }
  .catalog-filters label {
    flex-basis: 100%;
    font-size: 14px;
  }
  .catalog-filters button {
    width: 100%;
  }
  .catalog-grid,
  .catalog-grid--archive,
  .collection-grid--4,
  .collection-grid--3,
  .collection-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .catalog-grid--archive > .food-card:last-child:nth-child(odd),
  .catalog-grid--home.is-odd-visible > .food-card.is-last-visible {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .catalog-grid--archive > .food-card:last-child:nth-child(odd) .pack,
  .catalog-grid--home.is-odd-visible > .food-card.is-last-visible .pack {
    height: 100%;
    min-height: 185px;
  }
  .pack {
    height: 176px;
    padding: 28px 10px 10px;
  }
  .pack-badges {
    top: 8px;
    left: 8px;
    right: 8px;
    gap: 4px;
  }
  .pack-class,
  .pack-rank,
  .pack-sim,
  .pack-score {
    font-size: 10.5px;
    padding: 2px 6px;
    white-space: nowrap;
  }
  .food-text {
    padding: 12px;
  }
  .food-meta-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .food-type,
  .food-brand {
    font-size: 13px;
    text-align: left;
  }
  .food-card h2,
  .catalog-grid--home .food-card h2 {
    font-size: 15px;
    line-height: 1.38;
  }
  .food-tags {
    display: none;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .facts > div:nth-child(3) {
    display: none;
  }
  .facts b {
    font-size: 16px;
  }
  .facts span {
    font-size: 13px;
  }
  .read,
  .food-card .kk-compare-add {
    font-size: 14px;
    padding: 8px 8px;
  }
  .product-image {
    min-height: 270px;
    padding: 46px 16px 18px;
  }
  .product-image img {
    max-height: 240px;
  }
  .product-hero-actions button,
  .product-hero-actions .button {
    width: 100%;
  }
  .nutrition--grid,
  .product-sidebar__sticky,
  .articles-grid--2,
  .kk-footer__inner {
    grid-template-columns: 1fr;
  }
  .collection-showcase-card {
    grid-template-columns: 1fr;
  }
  .collection-showcase-card__packs {
    padding: 28px 16px 16px;
  }
  .kk-compare-page .kk-selected,
  .kk-compare-page .kk-selected[data-count="2"],
  .kk-compare-page .kk-selected[data-count="3"] {
    grid-template-columns: 1fr;
  }
  .kk-selected[data-count="2"] li {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .kk-selected[data-count="2"] img {
    height: 115px;
  }
  .kk-table-wrap table {
    min-width: 440px;
    font-size: 13.5px;
  }
  .kk-table-wrap td,
  .kk-table-wrap th {
    padding: 10px;
  }
  .kk-table-wrap thead th:first-child,
  .kk-table-wrap tbody th {
    min-width: 108px;
    max-width: 118px;
    font-size: 12.5px;
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface-2);
  }
  .kk-table-wrap thead th:not(:first-child),
  .kk-table-wrap tbody td {
    min-width: 152px;
  }
  .kk-cookie-bar {
    justify-content: space-between;
    font-size: 12px;
    padding: 6px 12px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
