* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #dbeafe;
  background: radial-gradient(1200px 600px at 10% -10%, #123267, #060f27 60%, #050a1a);
  min-height: 100vh;
}
.container { width: min(1180px, 92%); margin: 0 auto; }
.header {
  padding: 22px 0 10px;
}
.header h1 { margin: 0; font-size: 34px; }
.header p { margin: 6px 0 0; color: #93c5fd; }
.crm-shell.hidden,.login-box.hidden,.hidden { display: none !important; }

.login-box,
.panel,
.dash-card {
  background: linear-gradient(180deg, rgba(16,34,66,.85), rgba(10,23,47,.85));
  border: 1px solid rgba(96,165,250,.28);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(3,8,25,.45);
}

.login-box { margin: 18px 0; padding: 16px; }
.login-box h2 { margin: 0 0 10px; color: #e2e8f0; }
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.login-tab {
  border: 1px solid rgba(148,163,184,.4);
  background: rgba(15,23,42,.5);
  color: #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}
.login-tab.active {
  border-color: rgba(56,189,248,.85);
  background: linear-gradient(180deg,#0ea5e9,#0284c7);
  color: #fff;
}
.login-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.login-form input {
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(96,165,250,.35);
  color: #e5edff;
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 220px;
}
.login-form button {
  border: 1px solid rgba(56,189,248,.8);
  background: linear-gradient(180deg,#0ea5e9,#0284c7);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.toolbar { margin: 10px 0 14px; display: flex; gap: 10px; }
.toolbar button {
  border: 1px solid rgba(56,189,248,.6);
  background: rgba(14,165,233,.15);
  color: #e0f2fe;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.toolbar .ghost-btn { background: rgba(15,23,42,.45); border-color: rgba(148,163,184,.5); }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.dash-card { padding: 14px; transition: all .18s ease; }
.clickable-card { cursor: pointer; }
.clickable-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.95);
  box-shadow: 0 0 0 1px rgba(56,189,248,.25), 0 18px 40px rgba(2,132,199,.25);
}
.dash-number {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1;
  color: #22d3ee;
  font-weight: 700;
}
.dash-out-stock {
  margin: 0 0 8px;
  color: #f87171;
  font-weight: 800;
}
.dash-card h3 { margin: 0 0 8px; color: #f8fafc; }
.dash-card p { margin: 0; color: #93c5fd; }

.panel { margin: 0 0 18px; padding: 14px; }
.panel-head { margin-bottom: 12px; }
.panel-head h2 { margin: 0; color: #f8fafc; }
.quick-actions-panel {
  margin-bottom: 18px;
}
.quick-actions-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.quick-actions-toolbar button {
  border: 1px solid rgba(56, 189, 248, 0.65);
  background: rgba(14, 165, 233, 0.2);
  color: #e0f2fe;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.quick-actions-toolbar .ghost-btn {
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.55);
}
.quick-user-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.quick-password-wrap {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 6px;
  align-items: center;
}
.quick-user-form input {
  background: rgba(2,6,23,.6);
  border: 1px solid rgba(96,165,250,.35);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
}
.quick-password-wrap input {
  min-width: 0;
}
.copy-icon-btn {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 9px 0;
  cursor: pointer;
  font-size: 16px;
}
.quick-user-form button {
  border: 1px solid rgba(34, 197, 94, 0.7);
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.35), rgba(22, 163, 74, 0.24));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.users-list-wrap {
  margin-top: 10px;
}
.users-list {
  display: grid;
  gap: 8px;
}
.user-row {
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 10px;
  padding: 10px;
  background: rgba(8, 17, 35, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.user-row p {
  margin: 4px 0 0;
  color: #93c5fd;
}
.user-row.inactive {
  opacity: 0.6;
}
.user-toggle-btn {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  padding: 8px 10px;
  cursor: pointer;
}
.users-empty {
  margin: 0;
  color: #93c5fd;
}
.customers-support-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.customer-support-card {
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 10px;
  background: rgba(8, 17, 35, 0.55);
}
.customer-support-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.customer-support-head strong {
  font-size: 15px;
}
.customer-support-meta {
  color: #93c5fd;
  font-size: 13px;
}
.customer-support-tools {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.customer-support-tools input {
  min-width: 220px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.customer-orders-preview {
  margin-top: 8px;
  font-size: 13px;
  color: #cbd5e1;
}
.delivery-controls { margin-bottom: 12px; }
.delivery-controls select,
.product-form input,
.product-form select,
.status-select {
  background: rgba(2,6,23,.6);
  border: 1px solid rgba(96,165,250,.35);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
}
.product-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px,1fr));
  gap: 8px;
}
.product-form button {
  border: 1px solid rgba(56,189,248,.7);
  border-radius: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg,#0284c7,#0369a1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.product-image-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  grid-column: 1 / -1;
}
.product-image-tools .ghost-btn {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
}
.paste-image-status {
  margin: 8px 0 0;
  color: #93c5fd;
  font-size: 13px;
}

.crm-popup-notification {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  max-width: min(720px, 92vw);
  text-align: center;
}
.create-image-preview {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.create-preview-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: rgba(2, 6, 23, 0.55);
}
.create-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.create-preview-thumb {
  border: 0;
}
.create-preview-remove-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.95);
  background: rgba(127, 29, 29, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.create-preview-remove-btn:hover {
  background: rgba(153, 27, 27, 1);
}
.price-hint {
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 10px;
  background: rgba(8, 47, 73, 0.45);
  color: #67e8f9;
  font-weight: 700;
}
.stock-tabs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-tabs {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stock-tab {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
}
.stock-tab:hover {
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.3), rgba(2, 132, 199, 0.24));
}
.stock-tab.active {
  border-color: rgba(56, 189, 248, 0.98);
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3), 0 8px 20px rgba(2, 132, 199, 0.28);
}
.stock-tab:active {
  transform: translateY(1px) scale(0.98);
}
.category-tab {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .12s ease;
}
.category-tab:hover {
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.3), rgba(2, 132, 199, 0.24));
}
.category-tab.active {
  border-color: rgba(56, 189, 248, 0.98);
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3), 0 8px 20px rgba(2, 132, 199, 0.28);
}
.category-tab:active {
  transform: translateY(1px) scale(0.98);
}
.bulk-actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bulk-actions button {
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.15);
  color: #e0f2fe;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.bulk-actions button:hover:not(:disabled) {
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.32), rgba(2, 132, 199, 0.25));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 6px 18px rgba(2, 132, 199, 0.28);
}
.bulk-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.bulk-actions .ghost-btn {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.45);
}
.products-list,.orders { display: grid; gap: 10px; margin-top: 8px; }
.orders > h3 { margin: 2px 0 2px; color: #93c5fd; }

.order-card,
.product-row {
  background: rgba(8,17,35,.55);
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 10px;
  padding: 10px;
  transition: all .16s ease;
}
.order-card:hover,
.product-row:hover {
  border-color: rgba(56,189,248,.75);
  box-shadow: 0 0 0 1px rgba(56,189,248,.2);
}
.order-card h3 { margin: 0 0 6px; color: #f8fafc; }
.order-card p { margin: 3px 0; color: #cbd5e1; }
.invoice-compact {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.35);
}
.invoice-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.invoice-actions button,
.invoice-file-link,
.invoice-save-btn {
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(14, 165, 233, 0.15);
  color: #e0f2fe;
  border-radius: 10px;
  padding: 6px 10px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.invoice-editor {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}
.invoice-editor textarea {
  grid-column: 1 / -1;
  min-height: 90px;
  resize: vertical;
}
.invoice-save-btn {
  grid-column: 1 / -1;
}
.invoice-editor-tools {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}
.invoice-fill-order-btn {
  border: 1px solid rgba(34, 197, 94, 0.7);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
  color: #dcfce7;
  border-radius: 10px;
  padding: 7px 11px;
  font-weight: 700;
  cursor: pointer;
}
.invoice-fill-order-btn:hover {
  filter: brightness(1.08);
}
.invoice-editor input,
.invoice-editor select,
.invoice-editor textarea {
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}

.product-row {
  display: grid;
  grid-template-columns: 34px 144px 1fr auto;
  gap: 10px;
  align-items: center;
  cursor: grab;
}
.product-row.selected {
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), 0 12px 24px rgba(8, 145, 178, 0.28);
}
.product-row.out-of-stock {
  border-color: rgba(239, 68, 68, 0.72);
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.22);
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.35), rgba(8, 47, 73, 0.95));
}
.product-row.selected.out-of-stock {
  border-color: rgba(34, 211, 238, 0.95);
}
.row-select {
  display: flex;
  justify-content: center;
  align-items: center;
}
.row-select-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #22d3ee;
  cursor: pointer;
}
.product-row.dragging {
  opacity: 0.55;
  cursor: grabbing;
}
.product-main {
  min-width: 0;
}
.product-thumb-wrap {
  position: relative;
  width: 144px;
  height: 144px;
}
.product-thumb {
  width: 144px; height: 144px; border-radius: 10px; object-fit: cover; background: #0b1225;
  border: 1px solid rgba(148,163,184,.35);
}
.video-thumb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(29, 78, 216, 0.22);
  border: 1px dashed rgba(147, 197, 253, 0.55);
  color: #93c5fd;
  user-select: none;
  overflow: hidden;
  pointer-events: none;
}
.video-thumb.hidden {
  display: none !important;
}
.video-thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-thumb-play {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 900;
}
.thumb-delete-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.9);
  background: rgba(127, 29, 29, 0.88);
  color: #fff;
  font-weight: 800;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}
.thumb-delete-btn:hover:not(:disabled) {
  background: rgba(153, 27, 27, 0.95);
  border-color: rgba(252, 165, 165, 1);
}
.thumb-delete-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.product-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.product-actions button {
  border: 1px solid rgba(148,163,184,.45);
  background: rgba(15,23,42,.55);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.product-actions button:hover {
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.32), rgba(2, 132, 199, 0.25));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 6px 18px rgba(2, 132, 199, 0.28);
}
.product-actions button:active {
  transform: translateY(1px) scale(0.98);
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35), inset 0 1px 3px rgba(2, 6, 23, 0.45);
}
.product-actions button:focus-visible {
  outline: none;
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.45);
}
.stock-badge {
  display: inline-block;
  margin-left: 2px;
  color: #f59e0b;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
}
.kg-price-badge {
  display: inline-block;
  color: #22d3ee;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}
.video-badge {
  display: inline-block;
  color: #a78bfa;
  font-weight: 800;
}
.product-edit-wrap,
.product-edit-wrap * {
  cursor: default;
}
.product-edit-wrap {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(148,163,184,.25);
}
.product-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.edit-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.edit-field > span {
  font-size: 12px;
  color: #93c5fd;
}
.photo-upload-input {
  width: 100%;
  color: #dbeafe;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  border-radius: 12px;
  padding: 8px;
  background: rgba(15, 23, 42, 0.35);
}
.photo-upload-input::file-selector-button {
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  margin-right: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f8fafc;
  font-weight: 700;
  cursor: pointer;
}

.hidden-file-input {
  display: none;
}

.custom-file-btn {
  border: 1px dashed rgba(148, 163, 184, 0.7);
  border-radius: 12px;
  padding: 10px 12px;
  color: #dbeafe;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.35);
  cursor: pointer;
  text-align: center;
  grid-column: auto;
  user-select: none;
}

.custom-file-btn:hover {
  filter: brightness(1.05);
}
.photo-upload-input:hover::file-selector-button {
  filter: brightness(1.06);
}
.edit-field-wide {
  grid-column: 1 / -1;
}
.product-edit-grid input,
.product-edit-grid select {
  background: rgba(2,6,23,.6);
  border: 1px solid rgba(96,165,250,.35);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
}
.product-edit-actions {
  margin-top: 8px;
  display: flex;
  gap: 6px;
}
.product-edit-actions button {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.product-edit-actions button[data-action="save"] {
  border-color: rgba(34, 197, 94, 0.7);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.2));
}
.product-edit-actions button[data-action="cancel-edit"] {
  border-color: rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.65), rgba(30, 41, 59, 0.55));
}
.product-edit-actions button:hover {
  border-color: rgba(56, 189, 248, 0.95);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.32), rgba(2, 132, 199, 0.25));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 6px 18px rgba(2, 132, 199, 0.28);
}
.product-edit-actions button:active {
  transform: translateY(1px) scale(0.98);
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.35), inset 0 1px 3px rgba(2, 6, 23, 0.45);
}
.product-edit-actions button:focus-visible {
  outline: none;
  border-color: rgba(34, 211, 238, 0.95);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.45);
}

input:focus, select:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34,211,238,.35);
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 34px 110px 1fr;
  }
  .product-thumb {
    width: 110px;
    height: 110px;
  }
  .product-thumb-wrap {
    width: 110px;
    height: 110px;
  }
  .product-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .quick-password-wrap {
    grid-template-columns: 1fr 42px;
  }
  .bulk-actions button {
    width: 100%;
  }
  .product-row {
    grid-template-columns: 1fr;
  }
  .row-select {
    justify-content: flex-start;
  }
  .product-thumb {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
  }
  .product-thumb-wrap {
    width: 100%;
    height: auto;
  }
  .product-actions {
    justify-content: flex-start;
  }
  .product-actions button,
  .product-edit-actions button {
    width: 100%;
  }
  .product-edit-grid {
    grid-template-columns: 1fr;
  }
  .stock-badge {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    font-size: 16px;
  }
  .invoice-actions button,
  .invoice-file-link,
  .invoice-save-btn {
    width: 100%;
    text-align: center;
  }
}
