:root {
  color-scheme: light;
  --bg: #f7efe0;
  --paper: #fffaf0;
  --paper-2: #fff3c4;
  --ink: #23251f;
  --muted: #7c7465;
  --line: rgba(74, 61, 42, 0.16);
  --box-line: rgba(101, 122, 56, 0.5);
  --olive: #657a38;
  --olive-dark: #39451f;
  --mustard: #e4a92c;
  --tomato: #c82727;
  --ink-blue: #25384b;
  --mint: #94b87a;
  --shadow: 0 18px 42px rgba(87, 62, 27, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Bellati Nortils";
  src: url("assets/fonts/bellati-nortils-demo.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  min-height: 100%;
  background:
    linear-gradient(rgba(90, 65, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 65, 36, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 10% -5%, rgba(228, 169, 44, 0.24), transparent 20rem),
    radial-gradient(circle at 100% 12%, rgba(101, 122, 56, 0.16), transparent 22rem),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}

body {
  width: 100%;
  overflow-x: hidden;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: transparent;
}

body.is-shopping-mode {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

.app-shell {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-height: 100svh;
  margin: 0;
  padding: max(10px, env(safe-area-inset-top)) 16px 96px;
}

.topbar {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.topbar > div {
  width: 100%;
}

.topbar .icon-button {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  color: var(--ink-blue);
  font-family: "Bellati Nortils", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.85rem, 13.5vw, 4.2rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.brand-title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.16em;
  width: 100%;
}

.brand-title img {
  width: 0.92em;
  height: 0.92em;
  object-fit: contain;
  transform: translateY(0.09em);
}

h2 {
  color: var(--ink-blue);
  font-size: 1rem;
}

.buy-counter {
  display: inline-grid;
  width: max-content;
  min-width: 92px;
  min-height: 42px;
  align-items: center;
  border: 1.5px solid var(--box-line);
  border-radius: 14px;
  padding: 7px 10px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(77, 56, 29, 0.1);
}

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

.dashboard-metrics .buy-counter {
  width: 100%;
  min-height: 50px;
}

.critical-counter {
  border-color: rgba(200, 39, 39, 0.52);
}

.critical-counter strong {
  color: var(--tomato);
}

.buy-counter span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.buy-counter strong {
  color: var(--olive-dark);
  font-size: 1.2rem;
  line-height: 1;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid var(--box-line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink-blue);
  box-shadow: 0 8px 18px rgba(77, 56, 29, 0.1);
  font-size: 1.25rem;
  font-weight: 950;
}

.hero-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 184px;
  overflow: hidden;
  border: 1.5px solid var(--box-line);
  border-radius: 26px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(255, 243, 196, 0.72)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(101, 122, 56, 0.12) 28px 31px);
  box-shadow: var(--shadow);
}

main {
  min-width: 0;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  right: -42px;
  width: 180px;
  height: 34px;
  border-radius: 999px;
  background: rgba(101, 122, 56, 0.14);
  transform: rotate(-12deg);
}

.hero-panel::before {
  top: 34px;
}

.hero-panel::after {
  bottom: 42px;
}

.hero-panel,
.quick-actions,
.tabbar,
.tab-panel {
  max-width: 100%;
}

.orbital-stock {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
}

.stock-ring {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 124px;
  height: 124px;
  align-items: center;
  border: 9px solid var(--olive);
  border-radius: 50%;
  background:
    radial-gradient(circle, #fffaf0 0 54%, #f1e2bf 55%),
    var(--paper);
  box-shadow: 0 0 0 9px rgba(101, 122, 56, 0.12), inset 0 0 24px rgba(120, 92, 42, 0.1);
}

.stock-ring span {
  color: var(--ink-blue);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  transform: translateY(1px);
}

.pulse-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 8px 18px rgba(77, 56, 29, 0.18);
}

.dot-a {
  top: 5px;
  right: 22px;
  background: var(--mustard);
}

.dot-b {
  bottom: 14px;
  left: 16px;
  background: var(--olive);
}

.dot-c {
  right: 6px;
  bottom: 40px;
  background: var(--tomato);
}

.quick-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 16px 0;
  min-width: 0;
}

.action-card {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  min-height: 96px;
  border: 1.5px solid var(--box-line);
  border-radius: 18px;
  padding: 13px;
  text-align: left;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(87, 62, 27, 0.1);
}

.action-card.scan {
  grid-column: 1 / -1;
  border-color: rgba(57, 69, 31, 0.28);
  background: var(--olive-dark);
  color: #fffaf0;
}

.action-card span {
  display: block;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  font-family: "Bellati Nortils", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.3rem, 7vw, 2rem);
  font-weight: 400;
  line-height: 0.95;
}

.tabbar {
  position: sticky;
  top: 8px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 12px 0 18px;
  border: 1.5px solid var(--box-line);
  border-radius: 18px;
  padding: 4px;
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(87, 62, 27, 0.08);
  overflow: hidden;
}

.tab {
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.tab.active {
  background: var(--ink-blue);
  color: var(--paper);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.section-title,
.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 10px;
}

.section-title span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.sticky-title {
  position: sticky;
  top: 72px;
  z-index: 1;
  padding: 8px 0;
  background: rgba(247, 239, 224, 0.88);
  backdrop-filter: blur(14px);
}

.stack,
.stock-grid,
.stock-list,
.keep-list,
.qr-list,
.catalog-list {
  display: grid;
  gap: 10px;
}

.catalog-card {
  display: grid;
  gap: 12px;
  border: 1.5px solid var(--box-line);
  border-radius: 18px;
  padding: 14px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(87, 62, 27, 0.1);
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-head > div {
  min-width: 0;
}

.catalog-head strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink-blue);
  font-size: 1.05rem;
}

.catalog-head small,
.catalog-prices {
  color: var(--muted);
  font-size: 0.78rem;
}

.catalog-edit {
  flex: 0 0 auto;
  min-height: 40px;
}

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

.catalog-levels div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(247, 239, 224, 0.62);
}

.catalog-levels span,
.catalog-codes > span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-levels strong {
  color: var(--ink-blue);
}

.code-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.code-chip {
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid rgba(101, 122, 56, 0.34);
  border-radius: 8px;
  padding: 5px 7px;
  background: var(--paper-2);
  color: var(--olive-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

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

.product-card {
  display: flex;
  min-height: 128px;
  justify-content: space-between;
  gap: 10px;
  border: 1.5px solid var(--box-line);
  border-radius: 18px;
  padding: 14px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(87, 62, 27, 0.1);
}

.product-card.wide {
  min-height: 112px;
}

.product-card.critical {
  border-color: rgba(200, 39, 39, 0.46);
  background: linear-gradient(135deg, rgba(200, 39, 39, 0.13), var(--paper));
}

.product-card.replenish {
  border-color: rgba(228, 169, 44, 0.58);
  background: linear-gradient(135deg, rgba(228, 169, 44, 0.14), var(--paper));
}

.product-card h3 {
  margin: 8px 0 6px;
  color: var(--ink-blue);
  font-size: 1.02rem;
  line-height: 1.05;
}

.product-card p {
  color: var(--muted);
  font-size: 0.76rem;
}

.product-card strong {
  align-self: end;
  color: var(--olive-dark);
  font-size: 2rem;
}

.product-card small {
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(101, 122, 56, 0.12);
  color: var(--olive-dark);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.critical .status-pill {
  background: rgba(217, 77, 55, 0.12);
  color: var(--tomato);
}

.replenish .status-pill {
  background: rgba(228, 169, 44, 0.16);
  color: #8b5b05;
}

.keep-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  border: 1px solid rgba(101, 122, 56, 0.52);
  border-radius: 8px;
  padding: 13px;
  background: #fff475;
  color: #202124;
  box-shadow: 0 2px 4px rgba(60, 64, 67, 0.16), 0 1px 2px rgba(60, 64, 67, 0.12);
}

.keep-item:nth-child(3n + 2) {
  background: #ccff90;
}

.keep-item:nth-child(3n + 3) {
  background: #a7ffeb;
}

.keep-item.critical {
  background: #f28b82;
  outline: 3px solid rgba(200, 39, 39, 0.82);
}

.keep-item.checked {
  opacity: 0.5;
}

.keep-item.checked .keep-body {
  text-decoration: line-through;
}

.check-dot {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(32, 33, 36, 0.78);
  border-radius: 50%;
  background: transparent;
}

.keep-item.checked .check-dot {
  background: #202124;
  box-shadow: inset 0 0 0 7px #fff475;
}

.keep-body h3 {
  margin-bottom: 4px;
  color: #202124;
  font-size: 1rem;
}

.keep-body p,
.keep-body small {
  color: rgba(32, 33, 36, 0.68);
  font-size: 0.78rem;
}

.mini-button,
.ghost-button {
  border: 1.5px solid var(--box-line);
  border-radius: 12px;
  padding: 9px 10px;
  background: var(--paper);
  color: var(--ink-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-button {
  border-color: rgba(32, 33, 36, 0.18);
  background: rgba(255, 255, 255, 0.48);
  color: #202124;
}

.search-row input,
.manual-code input,
.product-form input,
.product-form select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--box-line);
  border-radius: 15px;
  padding: 0 13px;
  background: var(--paper);
  color: var(--ink);
  outline: 0;
}

.search-row input {
  flex: 1;
}

.search-row .ghost-button {
  align-self: stretch;
  min-height: 48px;
}

.stock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 12px;
  align-items: center;
  border: 1.5px solid var(--box-line);
  border-radius: 18px;
  padding: 12px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(87, 62, 27, 0.08);
}

.stock-main {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.stock-main span {
  display: block;
  color: var(--ink-blue);
  font-weight: 900;
}

.stock-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.stock-meter {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(74, 61, 42, 0.11);
}

.stock-meter div {
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
}

.critical .stock-meter div {
  background: var(--tomato);
}

.replenish .stock-meter div {
  background: var(--mustard);
}

.row-actions {
  display: grid;
  grid-template-columns: 34px 58px 34px;
  align-items: center;
  text-align: center;
}

.row-actions button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: #efe0bf;
  color: var(--ink-blue);
  font-size: 1.1rem;
  font-weight: 950;
}

.row-actions strong {
  color: var(--ink-blue);
}

.qr-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.qr-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.empty-state {
  border: 1px dashed rgba(101, 122, 56, 0.46);
  border-radius: 18px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.5);
}

.empty-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-blue);
}

.sheet {
  width: min(100% - 18px, 480px);
  max-height: calc(100svh - 24px);
  margin: auto auto 9px;
  border: 1.5px solid var(--box-line);
  border-radius: 26px;
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.sheet::backdrop {
  background: rgba(37, 31, 22, 0.5);
  backdrop-filter: blur(6px);
}

.auth-sheet {
  max-width: 390px;
  margin: auto;
}

.auth-error {
  min-height: 1.2em;
  color: var(--tomato);
  font-size: 0.82rem;
  font-weight: 700;
}

.full-button {
  width: 100%;
  min-height: 46px;
}

.scanned-code {
  overflow-wrap: anywhere;
  margin: 0 0 14px;
  border: 1.5px solid var(--box-line);
  border-radius: 12px;
  padding: 11px 12px;
  background: var(--paper-2);
  color: var(--ink-blue);
  font-weight: 900;
  text-align: center;
}

#unknownCodeSheet .product-form {
  margin-bottom: 10px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.scanner-stage {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: #18150f;
}

#scannerVideo {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.scan-frame {
  position: absolute;
  width: 72%;
  max-width: 300px;
  aspect-ratio: 1.7;
  border: 3px solid var(--mustard);
  border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.42), 0 0 34px rgba(228, 169, 44, 0.42);
}

#scannerStatus {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 250, 240, 0.9);
  color: var(--ink);
  text-align: center;
  font-size: 0.84rem;
}

.manual-code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.product-form {
  display: grid;
  gap: 14px;
}

.product-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 900;
}

.product-form input,
.product-form select {
  font-size: 1.05rem;
  font-weight: 800;
}

.product-form input::placeholder {
  color: rgba(124, 116, 101, 0.72);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.product-form .form-grid + .form-grid {
  grid-template-columns: repeat(2, 1fr);
}

.primary-button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 0 16px;
  background: var(--olive-dark);
  color: var(--paper);
  font-weight: 950;
}

.primary-button.danger {
  background: var(--tomato);
  color: var(--paper);
}

.primary-button.neon {
  background: var(--mustard);
  color: var(--ink);
}

.action-status {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 243, 196, 0.58);
}

.action-status strong {
  color: var(--ink-blue);
  font-size: 2.8rem;
  line-height: 0.95;
}

.action-status p {
  color: var(--muted);
}

.action-buttons {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.sheet-note {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.fake-qr {
  display: grid;
  width: 58px;
  height: 58px;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 2px;
  border: 5px solid #fff;
  background: #fff;
}

.fake-qr i {
  background: #fff;
}

.fake-qr i.on,
.fake-qr i:nth-child(5n) {
  background: #111;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 18px;
  left: 16px;
  z-index: 10;
  width: min(calc(100% - 32px), 448px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 15px;
  background: var(--ink-blue);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.list-actions {
  display: flex;
  gap: 8px;
}

.shopping-mode {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
  background:
    linear-gradient(rgba(90, 65, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 65, 36, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
}

.shopping-mode.active {
  display: block;
}

.shopping-mode header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 14px;
  padding: 8px 0 12px;
  background: rgba(247, 239, 224, 0.92);
  backdrop-filter: blur(16px);
}

.shopping-mode header span {
  display: block;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.shopping-mode header strong {
  display: block;
  color: var(--ink-blue);
  font-size: 2rem;
  line-height: 1;
}

.shopping-mode-list {
  display: grid;
  gap: 12px;
}

.keep-item.mode-item {
  min-height: 104px;
  grid-template-columns: 44px 1fr auto;
}

.keep-item.mode-item .check-dot {
  width: 36px;
  height: 36px;
}

.keep-item.mode-item h3 {
  font-size: 1.18rem;
}

@media (max-width: 430px) {
  html,
  body,
  .app-shell {
    width: 100vw;
    max-width: 100vw;
  }

  .app-shell {
    padding-inline: 12px;
  }

  .hero-panel {
    padding: 13px;
  }

  .stock-ring {
    width: 96px;
    height: 96px;
    border-width: 8px;
  }

  .stock-ring span {
    font-size: 1.6rem;
  }

  .buy-counter {
    min-width: 82px;
    min-height: 38px;
    padding: 6px 9px;
  }

  .tab {
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .brand-title {
    gap: 0.12em;
  }

  .brand-title img {
    width: 0.92em;
    height: 0.92em;
  }

  .action-card {
    min-height: 92px;
  }

  .action-card span {
    font-size: clamp(1.85rem, 10vw, 2.4rem);
  }

  .quick-actions {
    gap: 8px;
  }

  .stock-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 860px) {
  .app-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 28px;
  }

  .topbar {
    margin-bottom: 24px;
  }

  h1 {
    font-size: 4.4rem;
  }

  .hero-panel {
    min-height: 250px;
    padding: 28px;
  }

  .stock-ring {
    width: 170px;
    height: 170px;
  }

  .stock-ring span {
    font-size: 2.6rem;
  }

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

  .action-card.scan {
    grid-column: auto;
  }

  .action-card {
    min-height: 112px;
  }

  .tabbar {
    width: min(100%, 560px);
  }

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

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

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

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

}
