﻿/* Synced from https://cellvia.se/styles/site.css (downloaded 2026-05-16) */
:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --soft: #f4f1eb;
  --line: #e8e3d9;
  --text: #172018;
  --muted: #687064;
  --authority-blue: #141e69;
  --authority-soft: #f0f5f7;
  --green: #104d33;
  --green-2: #1f6b4a;
  --green-soft: #e8f1eb;
  --shadow: 0 18px 55px rgba(32, 35, 31, 0.07);
  font-family: Inter, Geist, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
img { display: block; width: 100%; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav, main > section, .footer {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand, .nav-links, .hero-actions, .search-row, .faq-head {
  display: flex;
  align-items: center;
}

.brand { gap: 10px; font-size: 32px; font-weight: 780; letter-spacing: 0; }
.leaf-logo { width: 28px; height: 28px; fill: var(--green-2); flex: 0 0 auto; }
.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(232, 227, 217, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #20271f;
  font-size: 13px;
  font-weight: 720;
  box-shadow: 0 10px 26px rgba(32, 35, 31, 0.04);
}
.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  border-bottom: 0;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.nav-links a:hover { background: var(--green-soft); color: var(--green); }
.nav-links a.active { background: var(--green); color: white; }
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--text);
  font-weight: 760;
}

.nav-cta, .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 760;
}
.nav-cta { flex: 0 0 auto; }
.nav-cta, .button.primary { background: var(--green); color: white; box-shadow: 0 12px 24px rgba(16, 77, 51, 0.16); }
.button.secondary { background: white; color: var(--text); border: 2px solid var(--green); }
.button.tertiary { background: var(--green-soft); color: var(--green); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
  padding: clamp(44px, 5vw, 72px) 0 30px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  left: -180px;
  top: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(31, 107, 74, 0.16), rgba(31, 107, 74, 0.06) 38%, rgba(31, 107, 74, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy .hero-brand-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: #101813;
  font-size: clamp(72px, 10vw, 148px);
  font-weight: 860;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 55px rgba(16, 77, 51, 0.1);
}

.hero-copy .hero-brand-title::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 77, 51, 0.8), rgba(20, 30, 105, 0.32), rgba(16, 77, 51, 0));
  transform-origin: left center;
  animation: heroMark 900ms ease-out both;
}

.hero-copy > p {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.hero-copy > .hero-lead {
  max-width: 720px;
  margin-top: 30px;
  color: var(--text);
  font-size: clamp(25px, 2.5vw, 38px);
  font-weight: 740;
  line-height: 1.18;
}

.hero-copy > .hero-support {
  max-width: 690px;
  margin-top: 18px;
  color: #596257;
  font-size: 18px;
  line-height: 1.72;
}
.hero-actions { gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.button {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button:hover, .nav-cta:hover {
  transform: translateY(-1px);
}
.button.primary:hover, .nav-cta:hover {
  box-shadow: 0 16px 34px rgba(16, 77, 51, 0.2);
}
.button.secondary:hover {
  background: var(--green-soft);
}
.button.tertiary:hover {
  background: #dcebe1;
}
.legal-note {
  max-width: 610px;
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--green-2);
  border-radius: 0 14px 14px 0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.04);
}
.legal-note p { margin: 0; color: #414940; line-height: 1.65; }
.hero-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 30, 105, 0.14);
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 70px rgba(20, 30, 105, 0.1);
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.hero-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(20, 30, 105, 0.13);
}
.hero-image img { aspect-ratio: 16 / 11; object-fit: cover; }

@keyframes heroMark {
  from { opacity: 0; transform: scaleX(0.45); }
  to { opacity: 1; transform: scaleX(1); }
}

.calm-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.calm-intro article, .flow article, .category-row article, .package-grid article, .prison-card, .faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.04);
}
.calm-intro article { padding: 26px; }
.calm-intro article:first-child {
  background: linear-gradient(180deg, #fff, var(--authority-soft));
}
.calm-intro strong { display: block; font-size: 20px; }
.calm-intro p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }

.responsibility {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 0;
  align-items: stretch;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.responsibility-media img { height: 100%; min-height: 620px; object-fit: cover; }
.responsibility-copy { padding: 58px; }
.section-head span, .responsibility-copy > span, .family-support span {
  color: var(--green);
  font-size: 14px;
  font-weight: 820;
}
.responsibility h2, .section-head h2, .family-support h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}
.responsibility-copy p, .family-support p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.responsibility-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.responsibility-points article {
  padding: 20px;
  border-radius: 14px;
  background: var(--soft);
}
.responsibility-points strong { display: block; font-size: 17px; }
.responsibility-points p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }

.packing-proof {
  position: relative;
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--soft);
}
.packing-proof img { aspect-ratio: 4 / 3; object-fit: cover; }
.packing-proof figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}
.packing-proof strong { color: var(--text); }
.packing-proof span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.preparation, .how, .prison-search, .categories, .packages, .family-support, .trust-note, .faq, .next-step, .cellvia-network {
  margin-top: 46px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}
.section-head.with-action {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.section-head.compact h2 { font-size: 30px; }
.section-head p {
  max-width: 740px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.cellvia-network {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 241, 235, 0.82)),
    var(--paper);
  box-shadow: var(--shadow);
}
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.network-card {
  min-height: 212px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(232, 227, 217, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(32, 35, 31, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.network-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 107, 74, 0.32);
  box-shadow: 0 18px 42px rgba(16, 77, 51, 0.09);
}
.network-card.featured {
  grid-row: span 2;
  min-height: 438px;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(16, 77, 51, 0.05), rgba(16, 77, 51, 0.13)),
    white;
}
.network-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 860;
}
.network-card strong {
  color: #142018;
  font-size: 22px;
  line-height: 1.18;
}
.network-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}
.network-card.featured strong { font-size: clamp(28px, 3vw, 42px); }
.network-card.featured p { font-size: 16px; }

.preparation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.preparation-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.preparation-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
.preparation-grid h3 {
  margin: 0;
  padding: 22px 22px 0;
  color: #16221a;
  font-size: 21px;
  line-height: 1.25;
}
.preparation-grid p {
  margin: 0;
  padding: 12px 22px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.flow article { padding: 24px; }
.flow h3, .category-row h3, .package-grid h3 { margin: 0 0 10px; font-size: 20px; }
.flow p, .category-row p, .package-grid p, .package-grid li, .prison-card p, .faq p {
  color: var(--muted);
  line-height: 1.55;
}

.prison-search {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.prison-search h2 { margin: 0 0 12px; font-size: 32px; }
.search-copy p { max-width: 680px; color: var(--muted); line-height: 1.6; }
.search-row { gap: 12px; margin-top: 22px; }
.search-row input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; color: var(--text); background: #fff; }
.search-row button { min-width: 104px; min-height: 50px; border-radius: 10px; background: var(--green); color: white; font-weight: 800; }
.prison-card { padding: 22px; box-shadow: none; }
.prison-card h3 { margin: 0 0 8px; }
.prison-card a { display: block; padding: 13px 0; border-top: 1px solid var(--line); color: var(--green); font-weight: 760; }

.category-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-row article { padding: 22px; min-height: 150px; }
.category-row .support { background: #fffdf8; }

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.package-grid article { padding: 24px; }
.package-grid ul { padding-left: 18px; min-height: 84px; }
.package-grid a { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 800; }
.package-grid .custom { background: #fffdf8; }

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.home-category-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.04);
}
.home-category-card span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--authority-soft);
  color: var(--green);
  font-weight: 860;
}
.home-category-card strong {
  font-size: 18px;
  line-height: 1.22;
}
.home-category-card p, .home-category-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.home-category-card small {
  font-size: 13px;
  font-weight: 760;
}
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-product-card, .home-package-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.home-product-card img, .home-package-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.home-product-card > div, .home-package-card > div {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.home-product-card h3, .home-package-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}
.home-product-card p, .home-package-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.home-product-card small, .home-package-card small {
  color: #596257;
  font-size: 13px;
  line-height: 1.45;
}
.home-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.home-package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid rgba(20, 30, 105, 0.12);
  border-left: 4px solid var(--authority-blue);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, #fff, var(--authority-soft));
  box-shadow: var(--shadow);
}
.trust-note span {
  color: var(--green);
  font-size: 14px;
  font-weight: 820;
}
.trust-note h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}
.trust-note p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.page-hero {
  padding: clamp(44px, 6vw, 78px) 0 28px;
}
.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}
.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}
.lead { color: var(--muted); font-size: 19px; line-height: 1.65; }
.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.filters input, .filters select, .form-grid input, .form-grid select, .form-grid textarea, .admin-row select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: white;
  color: var(--text);
}
.category-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.category-system article {
  min-height: 142px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.04);
}
.catalog-category-card {
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.catalog-category-card:hover,
.catalog-category-card:focus-visible,
.catalog-category-card.active {
  transform: translateY(-2px);
  border-color: rgba(47, 94, 74, .28);
  box-shadow: 0 16px 34px rgba(32, 35, 31, .07);
  outline: none;
}
.category-system span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--authority-soft);
  color: var(--green);
  font-weight: 860;
}
.category-system strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}
.category-system p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.category-system small {
  color: #566054;
  font-size: 12px;
  line-height: 1.45;
}
.institutional-note {
  margin: 18px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(20, 30, 105, 0.12);
  border-left: 4px solid var(--authority-blue);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(180deg, #fff, var(--authority-soft));
}
.institutional-note strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}
.institutional-note p {
  max-width: 920px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.62;
}
.catalog-overview {
  margin: 18px 0;
}
.catalog-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.catalog-summary h2 {
  margin: 12px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}
.catalog-summary p {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.62;
}
.rule-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.rule-overview article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.04);
}
.rule-overview h3 {
  margin: 12px 0 10px;
  font-size: 18px;
  line-height: 1.22;
}
.rule-overview ul {
  margin: 0 0 12px;
  padding-left: 18px;
}
.rule-overview li, .rule-overview p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.source-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}
.source-list a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--green);
  font-weight: 760;
}
.form-grid textarea { min-height: 120px; padding: 14px; resize: vertical; }
.data-grid, .mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.product-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 12px;
}
.packages-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.mini-grid { grid-template-columns: repeat(2, 1fr); }
.data-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.data-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 94, 74, .22);
  box-shadow: 0 16px 40px rgba(32, 35, 31, .08);
}
.product-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.package-card > img { aspect-ratio: 16 / 9; object-fit: cover; }
.data-card-body { padding: 22px; }
.data-card h3 { margin: 10px 0; font-size: 22px; line-height: 1.2; }
.data-card p { color: var(--muted); line-height: 1.58; }
.product-catalog-grid .product-card {
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(32, 35, 31, .045);
}
.product-catalog-grid .product-card img {
  aspect-ratio: 4 / 3;
  background: var(--soft);
}
.product-catalog-grid .data-card-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.product-catalog-grid .data-card h3 {
  min-height: 2.25em;
  margin: 0;
  font-size: 15px;
  line-height: 1.18;
}
.product-catalog-grid .data-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.42;
}
.product-catalog-grid .source-line {
  margin: -2px 0 0 !important;
  font-size: 11px;
}
.product-card-meta {
  display: grid;
  gap: 5px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-card-meta span, .product-card-meta strong {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #4f594f;
  font-size: 12px;
  line-height: 1.35;
}
.product-card-meta strong {
  color: var(--text);
  font-size: 15px;
}
.compact-warning {
  padding: 8px 9px;
  font-size: 11px !important;
}
.compact-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.package-details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.package-details summary {
  padding: 12px 0;
  color: var(--green);
}
.package-details ul {
  margin-top: 0;
  padding-left: 18px;
}
.prison-card-media {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.prison-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.prison-card-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  box-shadow: 0 8px 20px rgba(32, 35, 31, .08);
}
.catalog-cta {
  margin-top: 28px;
}
.source-line {
  margin: -2px 0 10px !important;
  color: #596257 !important;
  font-size: 13px;
  font-weight: 760;
}
.results-count, .load-more {
  grid-column: 1 / -1;
}
.results-count {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}
.load-more {
  justify-self: center;
  margin-top: 6px;
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}
.badge.kraver-kontroll, .badge.begransad, .badge.behover-kontrolleras { background: #fff5d8; color: #765500; }
.badge.ej-rekommenderad, .badge.inte-tillaten { background: #fae7e3; color: #8b2e1f; }
.trust-indicator {
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}
.trust-indicator::before {
  content: "â ";
}
.meta-list, .cost-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.meta-list div, .cost-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.meta-list dt, .cost-list dt { color: var(--muted); font-size: 13px; }
.meta-list dd, .cost-list dd { margin: 0; font-weight: 760; text-align: right; }
.cost-list .total { font-size: 20px; }
.quiet-warning {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff5d8;
  color: #5f4700 !important;
}
.compatibility-note {
  padding: 13px 14px;
  border-radius: 12px;
  background: var(--authority-soft);
  color: #3f483f !important;
  font-size: 14px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.tag-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #485046;
  font-size: 12px;
  font-weight: 760;
}
.verification-list {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}
.verification-list span {
  position: relative;
  padding-left: 20px;
  color: #465045;
  font-size: 13px;
  line-height: 1.45;
}
.verification-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
}
.summary-verification {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--authority-soft);
}
.small-muted { color: var(--muted); font-size: 13px; }
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--green);
  font-weight: 800;
}
.empty-state, .status-message {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--muted);
}
.status-message p { margin: 4px 0; }
.status-message.success { border-color: #b7d9c4; background: #edf7f0; color: var(--green); }
.status-message.error { border-color: #efc0b6; background: #fff0ed; color: #8b2e1f; }
.status-message.info { background: var(--authority-soft); color: #273027; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}
.detail-layout.no-media { grid-template-columns: 1fr; }
.detail-layout h1 { margin: 12px 0 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; }
.detail-layout h2 { margin-top: 28px; }
.detail-image {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
}
.price { font-size: 24px; font-weight: 840; color: var(--text) !important; }
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.split-grid article, .rule-grid article {
  padding: 20px;
  border-radius: 14px;
  background: var(--soft);
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.rule-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.rule-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.timeline {
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
}
.timeline article {
  padding: 16px;
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
}
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.process-steps article {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--muted);
  box-shadow: 0 10px 28px rgba(32, 35, 31, 0.04);
}
.process-steps article.done {
  border-color: #b7d9c4;
  background: #edf7f0;
  color: var(--green);
}
.process-steps span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--soft);
  font-size: 12px;
  font-weight: 820;
}
.process-steps strong {
  display: block;
  font-size: 13px;
}
.form-grid {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.form-grid label { display: grid; gap: 8px; font-weight: 760; }
.field-help {
  margin: -8px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.checkbox-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--authority-soft);
  color: #364036;
  line-height: 1.5;
  font-weight: 760;
}
.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.choice-list { display: grid; gap: 12px; margin-top: 18px; }
.choice-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.choice-actions {
  display: grid;
  gap: 8px;
}
.choice-actions .button {
  min-width: 116px;
}
.summary-panel {
  position: sticky;
  top: 94px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.remove-link {
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: #8b2e1f;
  font-weight: 760;
  cursor: pointer;
}
.tracking-box {
  display: flex;
  gap: 12px;
  max-width: 760px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.tracking-box input { flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
.tracking-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.tracking-stages article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.tracking-stages article.active {
  border-color: #b7d9c4;
  background: #edf7f0;
}
.tracking-stages span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
  background: white;
  color: var(--green);
  font-size: 12px;
  font-weight: 840;
}
.tracking-stages strong {
  display: block;
}
.tracking-stages p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.operational-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.operational-grid article, .support-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.operational-grid h2, .support-grid h2 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}
.operational-grid p, .support-grid p {
  color: var(--muted);
  line-height: 1.58;
}
.admin-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.admin-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.admin-row {
  display: grid;
  grid-template-columns: 1fr 240px auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.compact-admin-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.compact-admin-item p { margin: 6px 0; color: var(--muted); line-height: 1.5; }
.calm-alert {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  background: #fff5d8;
  color: #5f4700;
}
.calm-alert p { margin: 0; color: inherit; }
.legal-content {
  max-width: 900px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.7; }
.legal-note.inline { max-width: none; }

.family-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green), var(--authority-blue));
  color: white;
}
.family-support h2, .family-support p, .family-support span { color: white; }
.family-support p { max-width: 760px; opacity: 0.88; }
.family-support .button { background: white; color: var(--green); box-shadow: none; }

.faq-head { justify-content: space-between; margin-bottom: 18px; }
.faq-head h2 { margin: 0; font-size: 30px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}
summary { padding: 18px 20px; cursor: pointer; font-weight: 760; }
details p { margin: 0; padding: 0 20px 18px; }

.next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.next-step h2 { max-width: 720px; margin: 0; font-size: 30px; }

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  color: #273027;
  margin-top: 46px;
}
.footer-brand { justify-content: flex-start; font-size: 26px; }
.footer p { max-width: 460px; color: var(--muted); line-height: 1.55; }
.footer h3 { margin: 0 0 14px; font-size: 14px; }
.footer a:not(.brand) { display: block; margin: 8px 0; color: var(--muted); font-size: 14px; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: relative; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex: none;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    border-bottom: 0;
    border-radius: 10px;
  }
  .nav-links a.active { background: var(--green-soft); color: var(--green); }
  .hero, .responsibility, .prison-search { grid-template-columns: 1fr; }
  .calm-intro, .preparation-grid, .flow, .category-row, .package-grid, .faq-grid, .footer, .category-system, .home-category-grid, .home-product-grid, .home-package-grid, .network-grid { grid-template-columns: repeat(2, 1fr); }
  .network-card.featured { grid-row: auto; min-height: 260px; }
  .hero { align-items: start; }
  .hero-copy h1 { max-width: 900px; }
  .hero-copy > p, .legal-note { max-width: 760px; }
  .hero-image img { aspect-ratio: 16 / 9; }
  .responsibility-media img { min-height: 420px; }
  .category-row { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .form-shell, .admin-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
}

@media (max-width: 720px) {
  .nav, main > section, .footer { width: min(100% - 28px, 1320px); }
  .nav { min-height: 68px; }
  .brand { font-size: 24px; }
  .leaf-logo { width: 24px; height: 24px; }
  .nav-cta { display: none; }
  .nav-links { grid-template-columns: 1fr; }
  .hero { gap: 22px; padding-top: 30px; }
  .hero::before {
    width: 340px;
    height: 340px;
    left: -150px;
    top: 12px;
  }
  .hero-kicker {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.35;
  }
  .hero-kicker::before { width: 20px; }
  .hero-copy h1 { font-size: clamp(32px, 10vw, 42px); line-height: 1.1; }
  .hero-copy .hero-brand-title {
    font-size: clamp(58px, 18vw, 86px);
    line-height: 0.92;
  }
  .hero-copy .hero-brand-title::after {
    bottom: -8px;
  }
  .hero-copy > p { margin-top: 18px; font-size: 16px; line-height: 1.62; }
  .hero-copy > .hero-lead {
    margin-top: 24px;
    font-size: clamp(24px, 7.3vw, 32px);
    line-height: 1.18;
  }
  .hero-copy > .hero-support {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.62;
  }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .button, .search-row button { width: 100%; min-height: 52px; }
  .button.small { min-height: 46px; }
  .hero-actions, .search-row, .family-support, .trust-note, .next-step { flex-direction: column; align-items: stretch; }
  .calm-intro, .preparation-grid, .flow, .category-row, .package-grid, .faq-grid, .footer, .responsibility-points, .home-category-grid, .home-product-grid, .home-package-grid, .network-grid { grid-template-columns: 1fr; }
  .legal-note { margin-top: 22px; padding: 15px 16px; font-size: 14px; line-height: 1.55; }
  .hero-image, .responsibility, .preparation-grid article, .prison-search, .family-support, .next-step, .cellvia-network { border-radius: 16px; }
  .hero-image img { aspect-ratio: 4 / 3; }
  .calm-intro { gap: 12px; margin-top: 6px; }
  .calm-intro article, .flow article, .category-row article, .package-grid article, .prison-card { padding: 18px; }
  .responsibility { margin-top: 30px; }
  .responsibility-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .responsibility-copy, .family-support, .next-step, .prison-search, .cellvia-network { padding: 22px; }
  .responsibility h2, .section-head h2, .family-support h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.12; }
  .responsibility-copy p, .family-support p { font-size: 15px; line-height: 1.62; }
  .responsibility-points { gap: 10px; margin-top: 22px; }
  .responsibility-points article { padding: 16px; border-radius: 12px; }
  .packing-proof { border-radius: 16px; }
  .packing-proof figcaption {
    position: static;
    margin: 0;
    border-radius: 0;
    background: white;
    backdrop-filter: none;
  }
  .preparation, .how, .prison-search, .categories, .packages, .family-support, .trust-note, .faq, .next-step, .cellvia-network { margin-top: 34px; }
  .section-head { margin-bottom: 18px; }
  .section-head.with-action {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .section-head.compact h2, .faq-head h2, .next-step h2, .prison-search h2 { font-size: 26px; }
  .preparation-grid { gap: 14px; }
  .preparation-grid img { aspect-ratio: 16 / 10; }
  .preparation-grid h3 { padding: 18px; font-size: 19px; }
  .flow, .category-row, .package-grid, .faq-grid { gap: 12px; }
  .home-category-grid, .home-product-grid, .home-package-grid { gap: 12px; }
  .home-category-card {
    min-height: 0;
    padding: 16px;
  }
  .home-product-card, .home-package-card {
    border-radius: 16px;
  }
  .home-product-card > div, .home-package-card > div {
    padding: 16px;
  }
  .home-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .trust-note {
    padding: 20px;
    border-radius: 0 16px 16px 0;
  }
  .package-grid ul { min-height: 0; margin-bottom: 0; }
  .search-copy p { margin-bottom: 0; }
  .search-row { gap: 10px; margin-top: 18px; }
  .search-row input { min-height: 48px; }
  summary { padding: 16px 18px; }
  details p { padding: 0 18px 16px; }
  .footer { gap: 24px; padding: 38px 0 44px; }
  .page-hero { padding-top: 34px; }
  .page-hero h1, .detail-layout h1 { font-size: clamp(32px, 10vw, 42px); }
  .page-hero p, .lead { font-size: 16px; line-height: 1.62; }
  .filters, .data-grid, .mini-grid, .split-grid, .category-system, .rule-grid, .rule-overview, .process-steps, .tracking-stages, .operational-grid, .support-grid { grid-template-columns: 1fr; }
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-catalog-grid .data-card-body {
    padding: 12px;
  }
  .product-catalog-grid .data-card h3 {
    font-size: 14px;
  }
  .product-catalog-grid .badge {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }
  .product-catalog-grid .compact-actions {
    grid-template-columns: 1fr;
  }
  .filters, .detail-layout, .form-grid, .summary-panel, .admin-panel, .legal-content { padding: 18px; border-radius: 16px; }
  .category-system article { min-height: 0; padding: 16px; }
  .institutional-note { padding: 16px; border-radius: 0 14px 14px 0; }
  .card-topline { align-items: flex-start; flex-direction: column; }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
  .card-actions, .tracking-box { flex-direction: column; align-items: stretch; }
  .choice-row, .admin-row { grid-template-columns: 1fr; }
  .choice-actions { grid-template-columns: 1fr; }
  .data-card h3 { font-size: 20px; }
  .meta-list div, .cost-list div { align-items: start; }
}

@media (max-width: 420px) {
  .nav, main > section, .footer { width: min(100% - 20px, 1320px); }
  .hero-copy h1 { font-size: clamp(30px, 10.5vw, 38px); }
  .hero-copy .hero-brand-title { font-size: clamp(54px, 17vw, 72px); }
  .brand { font-size: 22px; }
  .responsibility-copy, .family-support, .trust-note, .next-step, .prison-search, .cellvia-network { padding: 18px; }
  .calm-intro article, .flow article, .category-row article, .package-grid article, .prison-card { padding: 16px; }
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .hero-brand-title::after {
    animation: none;
  }
  .button, .nav-cta, .hero-image {
    transition: none;
  }
}

/* Premium compact catalog refinements */
.button.ghost {
  background: #fff;
  color: var(--green);
  border: 1px solid transparent;
  box-shadow: none;
}
.button.ghost:hover {
  background: var(--soft);
  border-color: var(--line);
}
.home-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
}
.home-category-card {
  min-height: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 11px 12px;
  border-radius: 999px;
}
.home-category-card span {
  width: 30px;
  height: 30px;
}
.home-category-card strong {
  font-size: 14px;
}
.home-category-card p,
.home-category-card small {
  display: none;
}
.home-product-grid,
.home-package-grid {
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 250px);
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
}
.home-package-grid {
  grid-auto-columns: minmax(220px, 270px);
}
.home-product-card,
.home-package-card {
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(32, 35, 31, .045);
  scroll-snap-align: start;
}
.home-product-card img,
.home-package-card img {
  aspect-ratio: 4 / 3;
  background: var(--soft);
}
.home-product-card > div,
.home-package-card > div {
  gap: 8px;
  padding: 12px;
}
.home-product-card h3,
.home-package-card h3 {
  font-size: 15px;
}
.home-product-card p,
.home-package-card p {
  font-size: 12px;
  line-height: 1.42;
}
.home-product-card small,
.home-package-card small {
  font-size: 11px;
}
.catalog-control-panel {
  position: sticky;
  top: 78px;
  z-index: 8;
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(223, 228, 220, .9);
  border-radius: 18px;
  background: rgba(251, 250, 245, .92);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(32, 35, 31, .045);
}
.product-filters {
  grid-template-columns: minmax(220px, 1.3fr) repeat(auto-fit, minmax(136px, 1fr));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.quick-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.quick-filter-row button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: #435045;
  font-size: 12px;
  font-weight: 780;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.quick-filter-row button:hover,
.quick-filter-row button.active {
  border-color: rgba(47, 94, 74, .28);
  background: var(--green-soft);
  color: var(--green);
}
.filters input,
.filters select {
  min-height: 42px;
}
.category-system {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.category-system article {
  min-height: 0;
  padding: 10px 12px;
  border-radius: 999px;
}
.category-system span {
  width: 28px;
  height: 28px;
  margin: 0 8px 0 0;
}
.category-system strong {
  display: inline;
  font-size: 13px;
}
.category-system p {
  margin: 4px 0 0 38px;
  font-size: 11px;
  line-height: 1.35;
}
.category-system small {
  display: none;
}
.catalog-context {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.catalog-context summary {
  padding: 13px 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
}
.catalog-overview,
.rule-overview {
  margin: 12px;
}
.catalog-summary {
  padding: 14px;
}
.catalog-summary h2 {
  font-size: 20px;
}
.rule-overview {
  gap: 10px;
}
.rule-overview article {
  padding: 14px;
}
.rule-overview h3 {
  font-size: 15px;
}
.product-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 10px;
}
.product-catalog-grid .data-card-body {
  gap: 7px;
  padding: 10px;
}
.product-catalog-grid .data-card h3 {
  font-size: 14px;
}
.product-catalog-grid .product-subtitle {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-meta {
  padding: 7px 0;
}
.product-card-meta span,
.product-card-meta strong {
  font-size: 11px;
}
.product-card-meta strong {
  font-size: 14px;
}
.micro-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.micro-trust-row span {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--soft);
  color: #4d594f;
  font-size: 10px;
  font-weight: 760;
}
.compact-warning {
  display: none;
}
.compact-actions {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.product-catalog-grid .button.small {
  min-height: 34px;
  padding: 0 9px;
  font-size: 11px;
}

@media (max-width: 720px) {
  .compact-category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(138px, 168px);
    grid-template-columns: none;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
  }
  .compact-category-rail .catalog-category-card {
    scroll-snap-align: start;
  }
  .catalog-control-panel {
    position: static;
    padding: 10px;
  }
  .product-filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .product-filters input {
    grid-column: 1 / -1;
  }
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-catalog-grid .card-topline {
    min-height: 28px;
  }
  .product-catalog-grid .data-card-body {
    padding: 9px;
  }
  .product-catalog-grid .data-card h3 {
    font-size: 13px;
  }
  .micro-trust-row span,
  .product-catalog-grid .source-line,
  .product-card-meta span {
    font-size: 10px;
  }
  .home-card-actions,
  .compact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-filters {
    grid-template-columns: 1fr;
  }
}


