:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --accent: #10b981;
  --accent-light: #ecfdf5;
  --bg-main: #f1f5f9;
  --bg-sidebar: #0f172a;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

/* Mobile-specific elements hidden by default on desktop */
.mobile-admin-header {
  display: none;
}
.admin-sidebar-overlay {
  display: none;
}
.sidebar-close-mob-btn {
  display: none;
}
.mobile-bottom-nav {
  display: none;
}

/* Login Modal */
.login-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2);
}
.login-icon i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.login-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.login-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.login-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* Admin Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.sidebar-brand {
  padding: 24px 20px;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #1e293b;
}
.sidebar-brand i {
  color: var(--primary);
}

.sidebar-nav {
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
  position: relative;
}
.nav-item:hover {
  background: #1e293b;
  color: white;
}
.nav-item.active {
  background: var(--primary);
  color: white;
}
.nav-badge {
  position: absolute;
  right: 12px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 9999px;
  font-weight: 700;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.view-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #1e293b;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.logout-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  font-size: 0.85rem;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.top-nav h1 {
  font-size: 1.6rem;
  font-weight: 800;
}
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tab panes */
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat-card.highlight {
  border: 2px solid var(--accent);
  background: #f0fdf4;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
}
.bg-blue { background: #0284c7; }
.bg-green { background: #10b981; }
.bg-orange { background: #f97316; }
.bg-purple { background: #8b5cf6; }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.stat-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 2px;
}
.stat-sub {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.quick-actions-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.quick-actions-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.action-buttons {
  display: flex;
  gap: 12px;
}

/* Tables */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.table-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.data-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.data-table tr:hover {
  background: #f8fafc;
}

/* Badges */
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.status-nuevo { background: #fed7aa; color: #9a3412; }
.status-pagado { background: #bbf7d0; color: #166534; }
.status-en_proveedor { background: #e9d5ff; color: #6b21a8; }
.status-enviado { background: #bae6fd; color: #075985; }
.status-entregado { background: #dcfce7; color: #15803d; }
.status-cancelado { background: #fecaca; color: #991b1b; }

.btn-sm-action {
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}
.btn-sm-action:hover {
  background: #e2e8f0;
}
.btn-whatsapp-sm {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

/* Profit Calculator */
.profit-calculator-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0;
}
.profit-calculator-box h4 {
  color: #166534;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profit-result-banner {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #86efac;
  font-size: 0.95rem;
}
.text-green {
  color: #15803d;
  font-weight: 800;
}

/* Settings Grid */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.settings-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.settings-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}
.card-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.save-settings-bar {
  display: flex;
  justify-content: flex-end;
}

/* Buttons & Inputs */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}
.btn-secondary:hover {
  background: #f8fafc;
}
.w-full { width: 100%; justify-content: center; }

.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.check-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 12px 0;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.close-modal-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ===================================================
   DROPSHEABLE LIVE HUB & WHOLESALE CATALOG STYLES
   =================================================== */
.dsh-live-banner {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.dsh-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.dsh-pulse {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: dshPulse 2s infinite;
}
@keyframes dshPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.dsh-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.dsh-chip {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dsh-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.dsh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.dsh-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dsh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
  border-color: #7dd3fc;
}
.dsh-card-img-wrap {
  position: relative;
  height: 170px;
  background: #f8fafc;
  overflow: hidden;
}
.dsh-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dsh-card-origin-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.dsh-card-stock-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.dsh-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dsh-category-tag {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.dsh-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}
.dsh-supplier-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dsh-pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
}
.dsh-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.dsh-margin-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}
.dsh-import-btn {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  background: var(--primary);
  color: white;
}
.dsh-import-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}
.dsh-import-btn.imported {
  background: #10b981;
  color: white;
  cursor: default;
}

/* ========================================================
   RESPONSIVE MOBILE BREAKPOINTS (< 768px and < 480px)
   ======================================================== */
@media (max-width: 768px) {
  /* Layout transformation */
  .admin-layout {
    flex-direction: column;
    min-height: 100dvh;
    padding-bottom: 74px; /* Space for bottom navigation */
  }

  /* Top sticky mobile admin header */
  .mobile-admin-header {
    display: flex;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 900;
    color: white;
  }
  .mobile-toggle-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-toggle-btn:active {
    background: #1e293b;
    color: white;
  }
  .mobile-admin-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
  }
  .mobile-logout-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.15rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s;
  }
  .mobile-logout-btn:active {
    color: #ef4444;
  }

  /* Backdrop Overlay */
  .admin-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .admin-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Off-canvas Mobile Sidebar */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    height: 100dvh;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 12px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-brand {
    justify-content: space-between;
    padding: 16px 20px;
  }
  .sidebar-close-mob-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1e293b;
    color: #94a3b8;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
  }
  .sidebar-close-mob-btn:active {
    color: white;
    background: #334155;
  }

  /* Main Content Adjustments */
  .main-content {
    padding: 16px 14px;
    width: 100%;
  }
  .top-nav {
    display: none; /* Replaced by mobile header */
  }

  /* Fixed Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  }
  .mob-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 0;
    height: 100%;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
  }
  .mob-nav-btn i {
    font-size: 1.15rem;
    transition: transform 0.2s;
  }
  .mob-nav-btn.active {
    color: #38bdf8;
  }
  .mob-nav-btn.active i {
    color: #38bdf8;
    transform: translateY(-2px);
  }
  .mob-nav-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 18px);
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #0f172a;
    animation: pulseBadge 2s infinite;
  }

  @keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }
  .stat-card {
    padding: 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  .stat-info .stat-value {
    font-size: 1.15rem;
    margin-top: 2px;
  }
  .stat-info .stat-label {
    font-size: 0.75rem;
  }

  /* Cards & Headers */
  .card {
    padding: 16px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .card-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .card-actions .btn-primary,
  .card-actions .btn-secondary,
  .card-actions button {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    font-size: 0.85rem;
    min-height: 42px;
  }

  /* Tables: Horizontal touch scrolling */
  .table-responsive,
  .card table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .card table th,
  .card table td {
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  /* Forms & Inputs: Prevent iOS Auto-Zoom */
  .form-row,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  input[type="text"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
    border-radius: 8px;
  }

  /* Bottom sheet modal styling for mobile */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content {
    max-height: 90dvh;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
  }
  .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .modal-footer button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  /* Dropsheable Catalog Grid */
  .dsh-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .dsh-catalog-toolbar input,
  .dsh-catalog-toolbar select,
  .dsh-catalog-toolbar button {
    width: 100% !important;
  }
  .dsh-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dsh-card-img-wrap {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .login-card {
    padding: 24px 16px;
  }
}

