/* ============ Marin Laundry — Tasarım ============ */
:root {
  --navy: #0a4d68;
  --navy-d: #073b50;
  --teal: #1b98e0;
  --teal-l: #e8f4fb;
  --bg: #f3f6f9;
  --card: #ffffff;
  --ink: #1f2d3d;
  --muted: #6b7c8f;
  --line: #e4eaf0;
  --green: #1aa260;
  --green-l: #e6f6ee;
  --amber: #e6900a;
  --amber-l: #fdf3e1;
  --red: #db3b3b;
  --red-l: #fbe9e9;
  --gray-l: #eef1f4;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(16, 42, 67, .06);
  --shadow-lg: 0 12px 40px rgba(16, 42, 67, .18);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
small { font-weight: 400; color: var(--muted); font-size: .8em; }
.muted { color: var(--muted); font-size: .9em; margin: 4px 0 14px; }

/* ---------- Butonlar ---------- */
.btn {
  border: none; border-radius: 10px; padding: 10px 16px; font-size: 14px;
  font-weight: 600; transition: .15s; display: inline-flex; align-items: center;
  gap: 6px; justify-content: center; text-decoration: none;
}
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #1583c4; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-d); }
.btn-ghost { background: var(--gray-l); color: var(--ink); }
.btn-ghost:hover { background: #e2e7ec; }
.btn-danger-ghost { background: transparent; color: var(--red); }
.btn-danger-ghost:hover { background: var(--red-l); }
.link-btn { background: none; border: none; color: var(--teal); font-weight: 600; font-size: 13px; padding: 0; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Giriş ---------- */
.login-view {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--navy) 0%, #0c2b3a 100%);
  padding: 20px;
}
.login-card {
  background: #fff; border-radius: 18px; padding: 34px 28px; width: 100%;
  max-width: 360px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.login-logo-img { display: block; width: 70%; max-width: 230px; height: auto; margin: 0 auto 6px; }
.login-sub { text-align: center; color: var(--muted); margin: 0 0 22px; }
.login-card label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.login-card input {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  margin-bottom: 16px; outline: none;
}
.login-card input:focus { border-color: var(--teal); }
.login-error { background: var(--red-l); color: var(--red); padding: 10px; border-radius: 8px; font-size: 13px; margin-top: 12px; text-align: center; }
.login-footer { color: #ffffff88; font-size: 12px; margin-top: 22px; }

/* ---------- Üst bar ---------- */
.topbar {
  background: var(--navy); color: #fff; display: flex; align-items: center;
  padding: 0 20px; height: 60px; gap: 18px; position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; background: #fff; padding: 5px 12px; border-radius: 10px; height: 44px; flex-shrink: 0; }
.brand img { height: 32px; width: auto; display: block; }
.nav { display: flex; gap: 4px; margin-left: 14px; flex: 1; }
.nav-btn {
  background: none; border: none; color: #cfe4ef; padding: 8px 16px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
}
.nav-btn:hover { background: #ffffff1a; color: #fff; }
.nav-btn.active { background: var(--teal); color: #fff; }
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.btn-ghost#btnLogout { background: #ffffff1a; color: #fff; padding: 9px 12px; font-size: 16px; }
.btn-ghost#btnLogout:hover { background: #ffffff33; }

/* ---------- İçerik ---------- */
.content { max-width: 1100px; margin: 0 auto; padding: 24px 20px 90px; }
.page-title { font-size: 22px; margin: 0 0 18px; font-weight: 700; }
.tab { display: none; animation: fade .2s; }
.tab.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- Panel kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card .card-val { font-size: 28px; font-weight: 800; line-height: 1.1; }
.card .card-label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.card .card-ico { position: absolute; right: 12px; top: 12px; font-size: 22px; opacity: .25; }
.card.accent-blue { border-left: 4px solid var(--teal); }
.card.accent-amber { border-left: 4px solid var(--amber); }
.card.accent-green { border-left: 4px solid var(--green); }
.card.accent-red { border-left: 4px solid var(--red); }

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel-box { background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.panel-box h2 { font-size: 16px; margin: 0 0 12px; }
.panel-box-head { display: flex; justify-content: space-between; align-items: center; }
.money-list .money-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.money-list .money-row:last-child { border-bottom: none; }
.money-row .cur { font-weight: 600; color: var(--muted); }
.money-row .amt { font-size: 20px; font-weight: 800; color: var(--red); }
.money-row .cnt { font-size: 12px; color: var(--muted); }
.empty-mini { color: var(--muted); padding: 16px 0; text-align: center; font-size: 14px; }
.mini-list .mini-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.mini-list .mini-row:last-child { border-bottom: none; }
.mini-row:hover { background: var(--teal-l); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 6px; }
.mini-row .mr-boat { font-weight: 600; }
.mini-row .mr-date { font-size: 12px; color: var(--muted); }

/* ---------- Arama / filtreler ---------- */
.orders-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.search-wrap { flex: 1; max-width: 360px; }
.search-wrap input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; outline: none; background: #fff; }
.search-wrap input:focus { border-color: var(--teal); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 14px 0 18px; }
.filters select { border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 10px; background: #fff; outline: none; color: var(--ink); }
.filters select:focus { border-color: var(--teal); }
.result-count { color: var(--muted); font-size: 13px; margin-left: auto; }

/* ---------- Sipariş listesi (tablo) ---------- */
.orders-container { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.o-table { width: 100%; border-collapse: collapse; }
.o-table thead th { background: #f7fafc; text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.o-table tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.o-table tbody tr:last-child td { border-bottom: none; }
.o-table tbody tr { transition: background .1s; }
.o-table tbody tr:hover { background: var(--teal-l); }
.o-boat { font-weight: 700; cursor: pointer; }
.o-boat:hover { color: var(--teal); }
.o-cust { font-size: 12px; color: var(--muted); display: block; }
.o-desc { font-size: 12px; color: var(--ink); display: block; margin-top: 3px; max-width: 320px; }
.o-amount { font-weight: 700; white-space: nowrap; }
.o-dates { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Rozetler */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-ALINDI { background: var(--gray-l); color: #51607a; }
.badge-YIKANIYOR { background: var(--amber-l); color: var(--amber); }
.badge-HAZIR { background: var(--teal-l); color: var(--teal); }
.badge-TESLIM { background: var(--green-l); color: var(--green); }
.badge-DEPODA { background: #ece9fb; color: #6c4fd1; }
.badge-OTHER { background: #e7edf3; color: #45576b; }
.pay-yes { color: var(--green); font-weight: 700; }
.pay-no { color: var(--red); font-weight: 700; }

.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn { background: var(--gray-l); border: none; border-radius: 8px; padding: 6px 9px; font-size: 13px; color: var(--ink); }
.icon-btn:hover { background: #dde3e9; }
.icon-btn.ok { background: var(--green-l); color: var(--green); }
.icon-btn.ok:hover { background: #d3efe0; }
.icon-btn.pay { background: var(--teal-l); color: var(--teal); }
.icon-btn.pay:hover { background: #d4ecfa; }
.icon-btn.done { background: var(--green); color: #fff; }
.icon-btn.done:hover { background: #14854f; }
.icon-btn.depot { background: #ece9fb; color: #6c4fd1; }
.icon-btn.depot:hover { background: #ddd6f7; }
.icon-btn.depot-on { background: #6c4fd1; color: #fff; }
.icon-btn.depot-on:hover { background: #5a3fb8; }

.empty-state { padding: 56px 20px; text-align: center; color: var(--muted); }
.empty-state .big { font-size: 40px; margin-bottom: 8px; }

/* ---------- Genel tablo (fiyatlar) ---------- */
.table-wrap { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 12px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: #f7fafc; text-align: left; padding: 11px 14px; font-size: 12px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.data-table td { padding: 8px 14px; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: none; }
.data-table input { border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 6px 8px; width: 100%; }
.data-table input:focus { border-color: var(--teal); background: #fff; outline: none; }
.data-table input.num { width: 90px; }

/* ---------- Ayarlar ---------- */
.lists-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.lists-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 14px; }
.biz-grid .span2 { grid-column: 1 / -1; }
.biz-grid label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
.biz-grid input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; background: #fff; }
.biz-grid input:focus { border-color: var(--teal); }
.lists-grid label, .panel-box label { font-size: 13px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
textarea, .panel-box input[type=password], .pw-row input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; resize: vertical;
}
textarea:focus, .pw-row input:focus { border-color: var(--teal); }
.pw-row { display: flex; gap: 8px; max-width: 420px; }
.pw-row input { flex: 1; }
.user-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.user-add input, .user-add select { border: 1.5px solid var(--line); border-radius: 9px; padding: 9px 11px; outline: none; background: #fff; }
.user-add input:focus, .user-add select:focus { border-color: var(--teal); }
.user-add input { flex: 1; min-width: 130px; }
.role-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 12px; }
.role-badge.admin { background: var(--teal-l); color: var(--teal); }
.role-badge.personel { background: var(--gray-l); color: #51607a; }

/* ---- Kullanıcı izinleri ---- */
.perm-row td { padding-top: 0; border-top: none; }
.perm-editor { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  background: var(--gray-l); border-radius: 9px; padding: 9px 12px; margin: 2px 0 6px; }
.perm-secs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.perm-chk { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink);
  cursor: pointer; user-select: none; white-space: nowrap; }
.perm-chk input { width: 16px; height: 16px; accent-color: var(--teal); cursor: pointer; }
.perm-chk.perm-del { margin-left: auto; font-weight: 600; }
#newUserPerms { margin-top: 10px; }
/* Silme yetkisi olmayan kullanıcıda silme butonlarını gizle */
body.no-delete #btnDeleteOrder,
body.no-delete #btnDeleteTx,
body.no-delete #btnDeletePay,
body.no-delete .p-del { display: none !important; }

/* ---------- Kasa ---------- */
.cash-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cash-actions select { border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 10px; background: #fff; outline: none; }
.cash-actions select:focus { border-color: var(--teal); }
.cash-other { margin: 0 0 14px; }
.cash-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.cash-filters input[type="search"] { flex: 1; min-width: 200px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; outline: none; background: #fff; }
.cash-filters input[type="search"]:focus { border-color: var(--teal); }
.cash-filters select { border: 1.5px solid var(--line); border-radius: 9px; padding: 9px 10px; background: #fff; outline: none; }
.cash-filters select:focus { border-color: var(--teal); }
.cash-other-box { display: flex; gap: 18px; flex-wrap: wrap; background: var(--card); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; }
.cash-list { display: flex; flex-direction: column; }
.cash-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cash-row:last-child { border-bottom: none; }
.cash-date { width: 60px; font-size: 13px; color: var(--muted); flex-shrink: 0; }
.cash-main { flex: 1; min-width: 0; }
.cash-cat { font-weight: 600; }
.cash-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cash-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 12px; margin-left: 6px; vertical-align: middle; }
.cash-tag.gelir { background: var(--green-l); color: var(--green); }
.cash-tag.gider { background: var(--red-l); color: var(--red); }
.cash-amt { font-weight: 800; white-space: nowrap; }
.cash-amt.income { color: var(--green); }
.cash-amt.expense { color: var(--red); }
.cash-row-actions { flex-shrink: 0; }

/* ---------- Cari ---------- */
.cari-row { cursor: pointer; }
.cari-row:hover { background: var(--teal-l); }
.cari-bal { font-weight: 800; font-size: 16px; display: inline-block; }
.cari-bal.expense { color: var(--red); }
.cari-bal.income { color: var(--green); }
.cari-go { color: var(--muted); font-size: 18px; }
.cari-h { font-size: 15px; margin: 18px 0 8px; color: var(--ink); }
.cari-h small { font-weight: 400; }
.cari-running { min-width: 92px; text-align: right; font-size: 12px; color: var(--muted); font-weight: 700; flex-shrink: 0; }
@media (max-width: 760px) { .cari-running { display: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 30, 45, .55); backdrop-filter: blur(2px); }
.modal-card { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 640px; max-height: 92vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .2s; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 19px; }
.modal-x { background: none; border: none; font-size: 28px; color: var(--muted); line-height: 1; padding: 0 4px; }
.modal-x:hover { color: var(--ink); }
.modal-body { padding: 20px 22px; overflow-y: auto; }
.modal-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); }
.modal-foot .spacer { flex: 1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; }
.field.span2 { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); }
.req { color: var(--red); }

/* Ödeme anahtarı */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding-top: 4px; }
.switch input { display: none; }
.slider { width: 46px; height: 26px; background: #cbd5df; border-radius: 20px; position: relative; transition: .2s; flex-shrink: 0; }
.slider::after { content: ''; position: absolute; width: 20px; height: 20px; background: #fff; border-radius: 50%; top: 3px; left: 3px; transition: .2s; }
.switch input:checked + .slider { background: var(--green); }
.switch input:checked + .slider::after { transform: translateX(20px); }
.switch-label { font-weight: 600; font-size: 14px; }

/* Fiyat hesaplama */
.calc-toggle { padding-top: 2px; }
.calc-box { background: #f7fafc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.calc-rows { display: flex; flex-direction: column; gap: 8px; }
.calc-row { display: grid; grid-template-columns: 1fr 78px 78px 90px 32px; gap: 8px; align-items: center; }
.calc-row select, .calc-row input { padding: 8px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.calc-row .ln-total { font-weight: 700; text-align: right; font-size: 14px; }
.calc-row .ln-del { background: var(--red-l); color: var(--red); border: none; border-radius: 8px; padding: 6px; }
.calc-head { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.calc-row.inc-row { background: #f0f4f8; border-radius: 8px; padding: 3px 4px; }
.calc-row.inc-row .ln-total { color: var(--green); font-style: italic; font-weight: 600; }
.calc-header { font-size: 11px; color: var(--muted); text-transform: uppercase; padding: 0 2px 4px; }
.calc-header span { font-weight: 600; }
.calc-hint { font-size: 12px; color: var(--muted); margin: 6px 2px 0; }
.calc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.calc-total { font-size: 15px; }
.calc-total strong { font-size: 20px; color: var(--navy); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 30px; box-shadow: var(--shadow-lg); z-index: 200; font-weight: 600; font-size: 14px; animation: toastIn .2s; }
.toast.err { background: var(--red); }
.toast.ok { background: var(--green); }
@keyframes toastIn { from { transform: translate(-50%, 12px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ---------- Mobil alt navigasyon ---------- */
.bottom-nav { display: none; }
.card-list { display: none; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 760px) {
  .nav { display: none; }
  .topbar { padding: 0 14px; }
  .brand { padding: 4px 9px; height: 40px; }
  .brand img { height: 28px; }
  #btnNewOrder { display: none; }
  .content { padding: 16px 14px 100px; }
  .panel-grid { grid-template-columns: 1fr; }
  .lists-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.span2 { grid-column: auto; }
  .search-wrap { max-width: none; }
  .orders-head { flex-direction: column; align-items: stretch; }

  /* Tabloyu kart listesine çevir */
  .o-table { display: none; }
  .card-list { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
  .o-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
  .o-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
  .o-card-boat { font-weight: 700; font-size: 16px; }
  .o-card-cust { font-size: 12px; color: var(--muted); }
  .o-card-amt { font-weight: 800; font-size: 16px; white-space: nowrap; }
  .o-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; align-items: center; }
  .o-card-dates { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
  .o-card-desc { font-size: 13px; color: var(--ink); background: var(--gray-l); border-radius: 8px; padding: 7px 10px; margin-bottom: 8px; }
  .o-card-actions { display: flex; gap: 8px; }
  .o-card-actions .icon-btn { flex: 1; padding: 9px; }

  /* Mobil alt navigasyon */
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 64px;
    background: #fff; border-top: 1px solid var(--line); z-index: 60;
    justify-content: space-around; align-items: center; box-shadow: 0 -2px 12px rgba(0,0,0,.05);
  }
  .bottom-nav button { background: none; border: none; color: var(--muted); font-size: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; padding: 6px 0; min-width: 0; }
  .bottom-nav button span { font-size: 17px; }
  .bottom-nav button.active { color: var(--teal); }
  .bottom-nav .fab { background: var(--teal); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; flex: none; margin-top: -18px; box-shadow: var(--shadow-lg); }
  .modal-card { max-height: 96vh; }
  .calc-row { grid-template-columns: 1fr 60px 60px 70px 30px; gap: 5px; }
  .calc-row select, .calc-row input { padding: 7px 5px; font-size: 13px; }
}
@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
