/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --primary:        #c4622d;
  --primary-dark:   #9e4a1f;
  --primary-light:  #f0c4aa;
  --secondary:      #8b5e3c;
  --bg:             #faf7f2;
  --surface:        #ffffff;
  --surface-2:      #f5f0e8;
  --text:           #2c1810;
  --text-muted:     #7a6355;
  --border:         #e0d0c0;
  --success:        #3a7d44;
  --success-bg:     #d4edda;
  --warning:        #c49a2d;
  --warning-bg:     #fff3cd;
  --danger:         #c42d2d;
  --danger-bg:      #f8d7da;
  --info-bg:        #d1ecf1;
  --sidebar-width:  240px;
  --bnav-height:    64px;
  --topbar-height:  54px;
  --radius:         10px;
  --radius-sm:      6px;
  --shadow:         0 1px 6px rgba(44,24,16,.08);
  --shadow-md:      0 4px 20px rgba(44,24,16,.14);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overscroll-behavior: none;
}
a { color: var(--primary); text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ─── App shell — MOBILE FIRST ───────────────────────────────── */
#app {
  display: flex;
  min-height: 100dvh;
  min-height: 100vh;
}

/* Sidebar — hidden on mobile, shown on desktop */
.sidebar {
  display: none;
  width: var(--sidebar-width);
  background: var(--text);
  color: #f5e8d8;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.sidebar-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-size: 1.15rem; font-weight: 700; letter-spacing: .3px;
  color: var(--primary-light);
}
.sidebar-nav { padding: 10px 0; flex: 1; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px;
  color: #bba898;
  transition: background .15s, color .15s;
  cursor: pointer; text-decoration: none; font-size: .92rem;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: var(--primary); color: #fff; }
.nav-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Main wrapper */
.main-wrapper {
  margin-left: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: var(--bnav-height);
  /* extra safe area for notch phones */
  padding-bottom: calc(var(--bnav-height) + env(safe-area-inset-bottom));
}

/* Top bar */
.top-bar {
  height: var(--topbar-height);
  background: var(--text);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-bar-brand {
  display: flex; align-items: center; gap: 9px;
}
.top-bar-title {
  font-weight: 600; font-size: .95rem;
  color: #f5e8d8; letter-spacing: .2px;
}

/* Main content */
#main-content {
  padding: 18px 16px 24px;
  flex: 1;
}

/* ─── Bottom nav (mobile) ────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bnav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  z-index: 100;
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; background: none; border: none;
  color: #7a6050; cursor: pointer;
  font-size: .66rem; font-weight: 500; letter-spacing: .2px;
  transition: color .15s; padding: 6px 0;
  -webkit-tap-highlight-color: transparent;
}
.bnav-item svg { width: 22px; height: 22px; transition: color .15s; }
.bnav-item.active { color: var(--primary-light); }
.bnav-item:active { opacity: .7; }

/* ─── Views ──────────────────────────────────────────────────── */
.view-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.view-title {
  font-size: 1.35rem; font-weight: 700; color: var(--text);
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.view-header-actions {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}
.card-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 14px; gap: 10px; flex-wrap: wrap;
}
.card-header h3 { font-size: .95rem; font-weight: 600; margin: 0; }
.card-title {
  font-size: .95rem; font-weight: 700;
  color: var(--secondary); margin-bottom: 12px;
  text-transform: capitalize;
}

/* ─── Stats ──────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 22px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px;
  display: flex; align-items: center; gap: 12px;
}
.stat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-value { font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.stat-label { font-size: .73rem; color: var(--text-muted); margin-top: 1px; }

/* ─── Section header ─────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.section-header h2 { font-size: 1rem; font-weight: 700; margin: 0; }

/* ─── Tables ─────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 var(--radius) var(--radius);
}
.table {
  width: 100%; border-collapse: collapse; font-size: .84rem;
  min-width: 480px;
}
.table th {
  text-align: left; padding: 9px 12px;
  background: var(--surface-2);
  border-bottom: 2px solid var(--border);
  font-weight: 600; color: var(--text-muted);
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .4px; white-space: nowrap;
}
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table tbody tr:hover { background: var(--surface-2); }
.table tfoot td {
  padding: 10px 12px;
  border-top: 2px solid var(--border);
  background: var(--surface-2); font-weight: 600;
}
.table-sm th, .table-sm td { padding: 7px 10px; font-size: .8rem; }
/* no min-width constraint on simple tables */
.table-simple { min-width: unset; }

/* ─── Piece cards (mobile view for pieces list) ──────────────── */
.piece-cards { display: flex; flex-direction: column; gap: 10px; }
.piece-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.piece-card-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 8px; margin-bottom: 6px;
}
.piece-card-title {
  font-weight: 700; font-size: .92rem; color: var(--text);
}
.piece-card-qty {
  font-size: .82rem; color: var(--text-muted); font-weight: 500;
}
.piece-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.piece-card-meta {
  font-size: .8rem; color: var(--text-muted); margin-bottom: 8px;
}
.piece-card-costs {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.piece-cost-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .78rem; color: var(--text-muted);
}
.piece-cost-pill.highlight {
  background: var(--primary); border-color: var(--primary);
  color: #fff; font-weight: 600;
}
.piece-table-wrapper { display: none; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  font-size: .87rem; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap; text-decoration: none;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { background: var(--surface-2); border-color: var(--secondary); }
.btn-primary {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-danger { color: var(--danger); border-color: #f5c6c6; }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border); }
.btn-sm { padding: 6px 12px; font-size: .8rem; min-height: 34px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-icon { padding: 8px; min-width: 40px; justify-content: center; }
.btn-icon.btn-sm { padding: 6px; min-width: 34px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: .74rem; font-weight: 600;
  letter-spacing: .2px;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: #856404; }
.badge-danger  { background: var(--danger-bg);  color: var(--danger); }
.badge-info    { background: var(--info-bg);     color: #0c5460; }
.badge-neutral { background: var(--surface-2);   color: var(--text-muted); }

/* ─── Progress / gauge ───────────────────────────────────────── */
.progress-bar-mini {
  height: 5px; background: var(--border);
  border-radius: 99px; overflow: hidden; flex: 1; min-width: 48px;
}
.progress-fill {
  height: 100%; border-radius: 99px;
  transition: width .3s; background: var(--primary);
}
.gauge-track {
  height: 18px; background: var(--border);
  border-radius: 99px; overflow: hidden;
}
.gauge-fill { height: 100%; border-radius: 99px; transition: width .4s; }
.gauge-info {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 6px;
}
.gauge-percent { font-size: 1.3rem; font-weight: 700; }
.gauge-detail  { font-size: .82rem; color: var(--text-muted); }

/* ─── Cost breakdown ─────────────────────────────────────────── */
.cost-breakdown h4 {
  font-size: .86rem; font-weight: 700;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  padding-top: 12px; margin: 12px 0 8px;
}
.cost-row {
  display: flex; justify-content: space-between;
  padding: 5px 0; font-size: .84rem; color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.cost-row:last-child { border-bottom: none; }
.cost-total {
  font-weight: 700; color: var(--text); font-size: .92rem;
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  margin-top: 4px; padding-top: 8px !important;
}

/* ─── Info grid ──────────────────────────────────────────────── */
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
}
.info-item { display: flex; flex-direction: column; gap: 2px; }
.info-label {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .4px; color: var(--text-muted); font-weight: 600;
}
.info-value { font-size: .9rem; font-weight: 500; }

/* ─── Layout grids ───────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px; margin-bottom: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px; margin-bottom: 14px;
}

/* ─── Metrics ────────────────────────────────────────────────── */
.metric {
  display: flex; justify-content: space-between;
  align-items: center; padding: 8px 0;
  border-bottom: 1px solid var(--border); font-size: .86rem;
}
.metric:last-child { border-bottom: none; }
.metric-label { color: var(--text-muted); }
.metric-value { font-weight: 600; }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-card { }
.form-group {
  display: flex; flex-direction: column;
  gap: 5px; margin-bottom: 14px;
}
.form-group label { font-size: .84rem; font-weight: 600; color: var(--text); }
.form-group small { font-size: .76rem; color: var(--text-muted); margin-top: -2px; }
.form-row {
  display: grid; grid-template-columns: 1fr;
  gap: 0; margin-bottom: 0;
}
input[type="text"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="email"],
select,
textarea {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text);
  transition: border-color .15s; width: 100%;
  min-height: 44px; /* touch target */
  font-size: 16px; /* prevent iOS zoom */
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196,98,45,.12);
}
textarea { resize: vertical; min-height: 80px; font-size: 15px; }
.form-actions {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border); margin-top: 4px;
}
.form-actions .btn { width: 100%; justify-content: center; min-height: 46px; font-size: .95rem; }

/* Esmalte rows */
.esmalte-rows-container { display: flex; flex-direction: column; gap: 8px; }
.esmalte-row {
  display: grid; grid-template-columns: 1fr 90px 40px;
  gap: 8px; align-items: center;
}
.esmalte-row select, .esmalte-row input { min-height: 40px; font-size: 15px; }
.add-esmalte-btn { margin-top: 6px; align-self: flex-start; }

/* ─── Tabs ───────────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 10px 16px; background: none; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  font-size: .87rem; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: color .15s, border-color .15s;
  white-space: nowrap; min-height: 44px;
}
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ─── Info box ───────────────────────────────────────────────── */
.info-box {
  background: var(--info-bg);
  border: 1px solid #bee5eb;
  border-radius: var(--radius); padding: 14px 16px;
  margin: 14px 0; font-size: .85rem; color: #0c5460;
}
.info-box h4 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.info-box p  { margin-bottom: 5px; }
.info-box p:last-child { margin-bottom: 0; }

/* ─── Client card ────────────────────────────────────────────── */
.client-card {}
.client-card .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
.client-card .client-header-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; width: 100%; gap: 8px;
}
.client-card .client-header-meta {
  display: flex; justify-content: space-between;
  align-items: center; width: 100%; flex-wrap: wrap; gap: 8px;
}
.client-total { font-size: 1.05rem; font-weight: 700; color: var(--primary); }

/* ─── Empty state ────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 40px 20px; color: var(--text-muted);
}
.empty-icon { font-size: 2.8rem; margin-bottom: 10px; line-height: 1; }
.empty-state h3 { margin-bottom: 6px; color: var(--text); font-size: 1.05rem; }
.empty-state p  { margin-bottom: 14px; font-size: .9rem; }

/* ─── Status buttons in modal ────────────────────────────────── */
.status-btn-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.status-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer;
  font-size: .9rem; transition: background .15s;
  min-height: 52px;
}
.status-btn:hover { background: var(--surface-2); }
.status-btn.current {
  border-color: var(--primary); background: rgba(196,98,45,.06);
}
.status-btn-label { font-weight: 500; flex: 1; }
.status-btn-check { color: var(--success); }
.status-btn-check svg { width: 18px; height: 18px; }

/* ─── Utility ────────────────────────────────────────────────── */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger)  !important; }
.text-warning { color: var(--warning) !important; }
.text-muted   { color: var(--text-muted) !important; }
.font-bold    { font-weight: 700 !important; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-8        { gap: 8px; }
.mt-16        { margin-top: 16px; }
.mb-0         { margin-bottom: 0; }
.hidden       { display: none !important; }

/* ─── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0;
}
.modal-box {
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  width: 100%; max-width: 100%;
  max-height: 94dvh; max-height: 94vh;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  position: relative;
  animation: modal-up .22s ease;
}
@keyframes modal-up {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--surface-2); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-title {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 18px; padding-right: 36px;
}

/* ─── Toast ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: calc(var(--bnav-height) + 12px + env(safe-area-inset-bottom));
  left: 50%; transform: translateX(-50%);
  z-index: 300; display: flex; flex-direction: column;
  gap: 8px; width: calc(100% - 32px); max-width: 340px;
}
.toast {
  background: #2c1810; color: #fff;
  padding: 12px 16px; border-radius: 10px;
  box-shadow: var(--shadow-md); font-size: .87rem;
  animation: toast-up .2s ease;
  border-left: 4px solid var(--primary);
}
.toast.success { border-left-color: var(--success); }
.toast.danger  { border-left-color: var(--danger); }
.toast.info    { border-left-color: #17a2b8; }
@keyframes toast-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Fornada row list ───────────────────────────────────────── */
.fornada-list { display: flex; flex-direction: column; gap: 10px; }
.fornada-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.fornada-item-main {}
.fornada-item-date {
  font-size: .8rem; color: var(--text-muted); margin-bottom: 3px;
}
.fornada-item-title { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.fornada-item-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.fornada-item-tag {
  font-size: .76rem; color: var(--text-muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 2px 8px;
}
.fornada-item-actions {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-end;
}
.fornada-item-ocp {
  display: flex; align-items: center; gap: 6px;
  font-size: .76rem; color: var(--text-muted);
}

/* ─── Desktop overrides ──────────────────────────────────────── */
@media (min-width: 769px) {
  .sidebar { display: flex; }
  .bottom-nav { display: none; }
  .main-wrapper {
    margin-left: var(--sidebar-width);
    padding-bottom: 0;
  }
  .top-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }
  .top-bar-brand svg { display: none; }
  .top-bar-title { color: var(--text-muted); font-size: .9rem; }
  #main-content { padding: 28px 28px 48px; max-width: 1200px; }

  /* Forms — 2-column rows on desktop */
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 16px;
  }
  .form-row.single { grid-template-columns: 1fr; }
  .form-group { margin-bottom: 0; }
  .form-actions {
    flex-direction: row; justify-content: flex-end;
  }
  .form-actions .btn { width: auto; min-height: 40px; font-size: .87rem; }

  /* Tables instead of cards for pieces */
  .piece-cards { display: none; }
  .piece-table-wrapper { display: block; overflow-x: auto; }

  /* Grids */
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
  .grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

  /* Client card */
  .client-card .card-header { flex-direction: row; align-items: center; }
  .client-card .client-header-top { width: auto; flex: 1; }
  .client-card .client-header-meta { width: auto; }

  /* Fornada list → table */
  .fornada-list { display: none; }
  .fornada-table-wrapper { display: block !important; }

  /* Modals — centered dialog */
  .modal-overlay { align-items: flex-start; padding: 40px 16px; }
  .modal-box {
    border-radius: 12px; max-width: 600px; max-height: 90vh;
    padding: 28px 28px 24px; animation: modal-in .18s ease;
  }
  .modal-box.modal-lg { max-width: 780px; }
  @keyframes modal-in {
    from { opacity: 0; transform: translateY(-12px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
  }

  /* Toast */
  #toast-container {
    bottom: 24px; left: auto; right: 24px;
    transform: none; width: auto; max-width: 320px;
  }
}
