/* ============================================================
   RDB — Shared Stylesheet
   Light mode, minimal modern, vanilla CSS
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #ffffff;
  --surface:     #f5f7fa;
  --border:      #e2e8f0;
  --text:        #111827;
  --muted:       #6b7280;
  --accent:      #2563eb;
  --accent-h:    #1d4ed8;
  --success:     #16a34a;
  --danger:      #dc2626;
  --warn:        #d97706;
  --radius:      8px;
  --radius-sm:   6px;
  --shadow:      0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,.10);
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 Helvetica, Arial, sans-serif;
  --max-w:       1200px;
  --nav-h:       64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-content {
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--accent-h); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); text-decoration: none; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }

.btn-sm { padding: .35rem .8rem; font-size: .82rem; }
.btn-lg { padding: .75rem 1.75rem; font-size: 1rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--surface);
}

.card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 2.5rem;
}

.card-body { padding: 1rem; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.card-meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.card-price { font-size: 1.15rem; font-weight: 800; color: var(--accent); margin-bottom: .75rem; }
.card-footer {
  padding: .75rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

/* ── Product grid ─────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger  { background: #fee2e2; color: #b91c1c; }
.badge-muted   { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.badge-accent  { background: #dbeafe; color: #1d4ed8; }

/* Color chip */
.color-chip {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--border);
  vertical-align: middle;
  margin-right: .3rem;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--text);
}
.form-group label .req { color: var(--danger); margin-left: 2px; }

.form-control {
  display: block;
  width: 100%;
  padding: .55rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-control::placeholder { color: var(--muted); }

textarea.form-control { resize: vertical; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* ── Filter bar ───────────────────────────────────────────── */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1 1 160px;
}
.filter-group label { font-size: .8rem; font-weight: 600; color: var(--muted); }

.filter-search { flex: 2 1 220px; }

/* ── Price range slider ───────────────────────────────────── */
.range-slider-wrapper {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}
.range-slider-track {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}
.range-slider-fill {
  position: absolute;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.range-slider-wrapper input[type=range] {
  position: absolute;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 4px;
}
.range-slider-wrapper input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: all;
  cursor: pointer;
}
.range-slider-wrapper input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: all;
  cursor: pointer;
}
.range-values {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .2rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Section titles ───────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section-header { margin-bottom: 2rem; }
.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.section-header p { color: var(--muted); }

.section-header.centered { text-align: center; }
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Specs table ──────────────────────────────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  text-align: left;
  padding: .7rem 1rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  width: 40%;
}
.specs-table td {
  padding: .7rem 1rem;
  color: var(--text);
}

/* ── Image gallery ────────────────────────────────────────── */
.gallery {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
  border: 1px solid var(--border);
}
.gallery-main-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 4rem;
}
.gallery-thumbs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color .15s;
}
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--accent); }

/* ── Product detail layout ────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-detail-info {}
.product-detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.product-detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: .75rem 0;
}
.product-detail-desc { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .nav-logo { font-size: 1.3rem; }
.footer-brand p { color: var(--muted); font-size: .88rem; margin-top: .5rem; max-width: 260px; }
.footer-links h4 { font-size: .85rem; font-weight: 700; margin-bottom: .75rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.footer-links a { font-size: .88rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

/* ── Contact page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.25rem; }
.contact-item {
  display: flex;
  gap: .75rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.3rem;
  width: 2rem;
  flex-shrink: 0;
  padding-top: .1rem;
}
.contact-item-body {}
.contact-item-label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-item-value { font-size: .95rem; color: var(--text); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-img { width: 100%; display: block; }
.map-actions {
  display: flex;
  gap: .75rem;
  padding: 1rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.map-actions .btn { flex: 1; justify-content: center; }

/* ── Dashboard login ──────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}
.login-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
}
.login-card h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: .25rem; }
.login-card .subtitle { color: var(--muted); font-size: .88rem; margin-bottom: 1.75rem; }
.login-error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  font-size: .85rem;
  margin-bottom: 1rem;
  display: none;
}
.login-error.visible { display: block; }

/* ── Dashboard main ───────────────────────────────────────── */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dashboard-header h1 { font-size: 1.5rem; font-weight: 800; }
.dashboard-actions { display: flex; gap: .75rem; align-items: center; }

/* Admin table */
.admin-table-wrapper {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.admin-table thead th {
  text-align: left;
  padding: .75rem 1rem;
  font-weight: 700;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-table tbody td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--surface); }

.admin-table .thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.admin-table .no-thumb {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Stock toggle */
.stock-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  cursor: pointer;
}
.stock-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.stock-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 99px;
  transition: background .2s;
}
.stock-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.stock-toggle input:checked + .stock-toggle-slider { background: var(--success); }
.stock-toggle input:checked + .stock-toggle-slider::before { transform: translateX(18px); }

/* ── Modal ────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform .2s;
}
.modal-backdrop.open .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}
.modal-header h2 { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: .2rem .4rem;
  border-radius: var(--radius-sm);
}
.modal-close:hover { background: var(--surface); color: var(--text); }

.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}

/* ── Image upload ─────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent);
  background: #eff6ff;
}
.upload-zone p { color: var(--muted); font-size: .88rem; margin-top: .35rem; }
.upload-zone input[type=file] { display: none; }

.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.upload-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
}
.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.upload-preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: .7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Confirm dialog ───────────────────────────────────────── */
.confirm-dialog {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  padding: 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  transform: translateY(20px);
  transition: transform .2s;
}
.modal-backdrop.open .confirm-dialog { transform: translateY(0); }
.confirm-dialog h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.confirm-dialog p { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.confirm-dialog .confirm-actions { display: flex; gap: .75rem; justify-content: center; }

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-error  { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
.alert-success { background: #dcfce7; color: #15803d; border-color: #86efac; }

/* ── Toast ────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none;
}
.toast-item {
  background: var(--text);
  color: #fff;
  padding: .65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .2s, transform .2s;
}
.toast-item.show { opacity: 1; transform: translateX(0); }
.toast-item.toast-success { background: var(--success); }
.toast-item.toast-error   { background: var(--danger); }

/* ── Empty state ──────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty-state-icon { font-size: 3rem; margin-bottom: .75rem; }
.empty-state p { font-size: .95rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .filter-bar { flex-direction: column; }
  .filter-group { flex: 1 1 100%; }
  .map-actions { flex-direction: column; }
}
