@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&display=swap");

:root {
  --topbar-height: 122px;
  --logo-width: 180px;
  --logo-column-width: 180px;
  --primary: #1565D8;
  --primary-hover: #0F5AC8;
  --secondary: #22C7A9;
  --secondary-hover: #18B495;
  --accent: #37D3FF;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --text-primary: #081423;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --divider: #CBD5E1;
  --bg: var(--background);
  --bg-soft: #eef4fb;
  --panel: rgba(255, 255, 255, 0.92);
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border);
  --accent-2: var(--secondary);
  --accent-3: var(--primary);
  --shadow: 0 20px 50px rgba(15, 90, 200, 0.14);
  --font-ui: "Golos Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Golos Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --background: #081423;
  --surface: #10243F;
  --bg: var(--background);
  --bg-soft: #152C49;
  --panel: rgba(16, 36, 63, 0.95);
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #243B5B;
  --divider: #324D6B;
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.45;
  letter-spacing: 0.01em;
  background:
    radial-gradient(45% 35% at 12% 12%, rgba(21, 101, 216, 0.16), transparent 70%),
    radial-gradient(30% 25% at 80% 18%, rgba(34, 199, 169, 0.16), transparent 75%),
    radial-gradient(40% 30% at 85% 80%, rgba(55, 211, 255, 0.12), transparent 72%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.topbar {
  display: grid;
  grid-template-columns: var(--logo-column-width) minmax(0, 1fr) auto;
  grid-auto-rows: minmax(0, 1fr);
  align-items: center;
  height: var(--topbar-height);
  padding: 5px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.82);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  animation: slideDown 0.7s ease-out;
}

:root[data-theme="dark"] .topbar {
  background: rgba(8, 20, 35, 0.82);
}

.brand {
  display: inline-flex;
  height: 100%;
  min-height: 0;
  position: relative;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  justify-self: start;
}

.brand-logo {
  width: var(--logo-width);
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.brand-fallback {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display);
  display: none;
}

.topbar-actions {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  width: auto;
  gap: 6px;
  margin-left: 0;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 90, 200, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.floating-theme-toggle {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
}

nav {
  display: flex;
  width: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 4px 6px;
  border-radius: 999px;
  transition: background-color 220ms ease, transform 220ms ease;
}

nav a:hover {
  background: rgba(21, 101, 216, 0.12);
  transform: translateY(-1px);
}

:root[data-theme="dark"] nav a {
  color: var(--text-primary);
}

:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .feature-tile,
:root[data-theme="dark"] .stats div {
  background: var(--panel);
  color: var(--text-primary);
  border-color: var(--border);
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, var(--primary) 0%, var(--accent) 55%, var(--secondary) 100%);
  color: #fff;
  border-radius: 26px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: fadeLift 0.9s ease-out;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(2px);
}

.hero::before {
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.16);
  top: -170px;
  right: -120px;
  animation: floatY 9s ease-in-out infinite;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.12);
  bottom: -150px;
  left: -90px;
  animation: floatY 7s ease-in-out infinite reverse;
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 8px;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: 0.4px;
}

.hero p {
  max-width: 60ch;
  margin: 0;
  font-weight: 500;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 14px;
  border-radius: 14px;
  backdrop-filter: blur(2px);
}

.stats strong {
  font-family: var(--font-ui);
  font-size: 30px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.feature-tile {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  animation: fadeLift 0.8s ease-out;
}

.feature-tile h4 {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  letter-spacing: 0.2px;
}

.feature-tile p {
  font-size: 14px;
  margin: 0;
}

.btn {
  border: 0;
  background: linear-gradient(130deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 210ms ease, box-shadow 210ms ease, filter 210ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(21, 101, 216, 0.18);
  filter: brightness(1.03);
}

:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .btn,
:root[data-theme="dark"] .btn-light {
  transition: background-color 220ms ease, color 220ms ease;
}

.btn-light {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.grid > .btn {
  justify-self: start;
  align-self: end;
}

.btn-danger {
  background: linear-gradient(130deg, #dc2626, #b91c1c);
  color: #fff;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-danger:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.28);
}

.danger-zone {
  border-color: rgba(220, 38, 38, 0.35);
}

.danger-zone h3 {
  color: #b91c1c;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(45, 32, 21, 0.08);
  animation: fadeLift 0.6s ease-out;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  align-items: center;
}

.panel.small {
  max-width: 620px;
  margin: 24px auto 0;
}

.about-platform {
  padding: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.about-platform h1,
.requisites-panel h2,
.about-section h2 {
  margin-top: 0;
}

.about-lead {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-section {
  margin: 0;
}

.about-section p {
  margin-bottom: 0;
  color: var(--muted);
}

.requisites-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.requisites-list div {
  padding: 14px;
  background: var(--surface);
}

.requisites-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.requisites-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 12px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-family: var(--font-ui);
}

input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(11, 106, 103, 0.22);
  border-color: rgba(11, 106, 103, 0.4);
}

.full { grid-column: 1 / -1; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 8px;
  vertical-align: top;
  font-size: 14px;
  font-family: var(--font-ui);
}

th {
  color: var(--accent-3);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(40, 30, 18, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease;
  animation: fadeLift 0.65s ease-out;
}

.product-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}

.currency-symbol {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 700;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(40, 30, 18, 0.14);
}

.promo-badges {
  min-height: 26px;
  margin: 0 0 6px;
}

.badge {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-top {
  color: #fff;
  background: linear-gradient(130deg, #ce5b27, #f29f67);
}

.badge-vip {
  color: #fff;
  background: linear-gradient(130deg, #1f4068, #4f6f98);
}

.badge-bump {
  color: #0b6a67;
  background: rgba(11, 106, 103, 0.14);
  border: 1px solid rgba(11, 106, 103, 0.25);
}

.filters {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr auto;
  gap: 8px;
}

.supplier-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.supplier-logo-link,
.supplier-logo-fallback {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(11, 106, 103, 0.08);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.supplier-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: var(--surface);
}

.coverage-controls {
  display: grid;
  width: min(100%, 980px);
  justify-items: center;
  gap: 12px;
  margin: 16px auto 0;
}

.coverage-controls label {
  width: min(360px, 100%);
}

.coverage-page > h2,
.coverage-page > .muted {
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
}

.coverage-page > h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.coverage-page > .muted {
  margin-top: 0;
  margin-bottom: 0;
}

.coverage-city-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: min(100%, 980px);
  gap: 8px;
  margin-right: auto;
  margin-left: auto;
}

.coverage-city-picker-view {
  margin-top: 16px;
}

.coverage-region-picker {
  border: 1px solid #75bdf2;
  border-radius: 6px;
  background: #e5f4ff;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.coverage-region-picker.is-occupied {
  border-color: #dc2626;
  background: #fee2e2;
}

.coverage-region-picker summary {
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.coverage-region-picker.is-occupied summary {
  color: #991b1b;
}

.coverage-region-picker summary span {
  color: var(--muted);
  font-size: 12px;
}

.coverage-city-options {
  display: grid;
  gap: 5px;
  padding: 0 10px 10px;
}

.coverage-city-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  width: 100% !important;
  gap: 7px;
  font-size: 13px;
  cursor: pointer;
}

.coverage-city-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.coverage-city-option input {
  justify-self: end;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--primary);
}

.coverage-city-option-view {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: default;
}

.coverage-city-status {
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.coverage-city-option-view.is-occupied .coverage-city-status {
  color: #b91c1c;
}

.coverage-legend {
  display: flex;
  width: min(100%, 980px);
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px auto 12px;
  font-size: 13px;
  font-weight: 700;
}

.coverage-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.coverage-dot,
.coverage-marker {
  display: inline-block;
  border-radius: 50%;
}

.coverage-dot {
  width: 12px;
  height: 12px;
}

.coverage-dot-busy,
.coverage-marker-busy {
  background: #dc2626;
}

.coverage-dot-free,
.coverage-marker-free {
  background: #1677ff;
}

.coverage-dot-region {
  background: #ef4444;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65);
}

.coverage-map {
  position: relative;
  width: min(100%, 980px);
  height: min(68vh, 620px);
  min-height: 420px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.coverage-map-canvas {
  position: absolute;
  inset: 0;
}

.coverage-glow-marker {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.42) 0%, rgba(239, 68, 68, 0.23) 35%, rgba(239, 68, 68, 0.08) 60%, rgba(239, 68, 68, 0) 72%);
  pointer-events: none;
}

.coverage-map-toolbar {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: grid;
  gap: 6px;
}

.coverage-zoom-button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.coverage-zoom-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.coverage-city-label {
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 1px 2px #ffffff, 1px 0 2px #ffffff, -1px 0 2px #ffffff;
}

.coverage-region-label {
  border: 0;
  border-radius: 4px;
  background: rgba(185, 28, 28, 0.88);
  color: #ffffff;
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .coverage-city-label {
    font-size: 9px;
  }

  .coverage-map {
    height: 62vh;
    min-height: 360px;
  }
}

.coverage-list {
  margin-top: 20px;
}

.coverage-list h3 {
  margin-bottom: 8px;
}

.coverage-city-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 10px;
  margin: 0 6px 6px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 13px;
}

.coverage-remove {
  min-height: 26px;
  padding: 4px 8px;
  font-size: 11px;
}

.map-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
}

.legend-red { background: #d9480f; }
.legend-green { background: #2f9e44; }

.map-shell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f8f0 0%, #eef4de 100%);
  min-height: 340px;
}

.kz-map {
  width: 100%;
  height: auto;
  display: block;
}

.map-markers {
  position: absolute;
  inset: 0;
}

.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: help;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.map-point-red {
  background: #d9480f;
}

.map-point-green {
  background: #2f9e44;
}

.inline { display: flex; gap: 8px; align-items: center; }
.error { color: #b42318; font-weight: 700; }
.alert {
  border: 1px solid rgba(180, 35, 24, 0.2);
  background: rgba(180, 35, 24, 0.08);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.photo-rules {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(11, 106, 103, 0.08);
  border: 1px solid rgba(11, 106, 103, 0.22);
  color: #244746;
  font-size: 13px;
  line-height: 1.45;
}

.paste-zone {
  border: 2px dashed rgba(11, 106, 103, 0.36);
  border-radius: 12px;
  padding: 12px;
  background: rgba(11, 106, 103, 0.05);
  color: #234140;
  font-size: 14px;
}

.paste-zone:focus {
  outline: 2px solid rgba(11, 106, 103, 0.4);
}

.paste-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}

.paste-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@media (max-width: 900px) {
  .hero h1 {
    max-width: 100%;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: auto;
    padding: 14px 16px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .requisites-list {
    grid-template-columns: 1fr;
  }

  .brand {
    position: static;
    height: auto;
  }

  .brand-logo {
    position: static;
    transform: none;
    width: 140px;
    height: auto;
    max-width: none;
    max-height: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topbar-actions {
    display: none;
    order: 3;
    width: 100%;
  }

  .topbar-actions.nav-open {
    display: block;
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
  }

  nav a {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  .filters,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
