body.product-settings-melontik-ui .product-settings-table-card {
  overflow: hidden;
  border-radius: 12px;
}

body.product-settings-melontik-ui .product-settings-actions {
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: #fff;
}

body.product-settings-melontik-ui .product-settings-actions button {
  min-height: 32px;
  height: 32px;
  border-radius: 8px;
  padding: 0 16px;
  gap: 4px;
  background: #331811;
  color: #ff8566;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  white-space: nowrap;
}

body.product-settings-melontik-ui .product-settings-actions button.green-action {
  background: #00bf00;
  color: #332711;
}

body.product-settings-melontik-ui .product-settings-actions button svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.25;
}

body.product-settings-melontik-ui .product-settings-actions .product-match-action {
  margin-right: auto;
  border: 1px solid #9ccbd4;
  background: #eef8fa;
  color: #075467;
}

body.product-settings-melontik-ui .product-settings-wrap {
  position: relative !important;
  min-height: 440px;
  max-height: calc(100vh - 300px);
  overflow: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: #91c5cf #edf5f6;
  scrollbar-width: thin;
}

body.product-settings-melontik-ui .product-settings-table {
  width: 2330px;
  min-width: 2330px !important;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.product-settings-melontik-ui .product-settings-table .product-col-variant { width: 118px; }
body.product-settings-melontik-ui .product-settings-table .product-col-info { width: 320px; }
body.product-settings-melontik-ui .product-settings-table .product-col-barcode { width: 176px; }
body.product-settings-melontik-ui .product-settings-table .product-col-cost { width: 236px; }
body.product-settings-melontik-ui .product-settings-table .product-col-vat { width: 176px; }
body.product-settings-melontik-ui .product-settings-table .product-col-desi { width: 144px; }
body.product-settings-melontik-ui .product-settings-table .product-col-brand { width: 124px; }
body.product-settings-melontik-ui .product-settings-table .product-col-model { width: 150px; }
body.product-settings-melontik-ui .product-settings-table .product-col-color { width: 110px; }
body.product-settings-melontik-ui .product-settings-table .product-col-size { width: 110px; }
body.product-settings-melontik-ui .product-settings-table .product-col-stock { width: 100px; }
body.product-settings-melontik-ui .product-settings-table .product-col-return { width: 136px; }
body.product-settings-melontik-ui .product-settings-table .product-col-delivery { width: 176px; }
body.product-settings-melontik-ui .product-settings-table .product-col-extra { width: 160px; }
body.product-settings-melontik-ui .product-settings-table .product-col-action { width: 94px; }

body.product-settings-melontik-ui .product-settings-table thead,
body.product-settings-melontik-ui .product-settings-table thead tr {
  position: static !important;
  transform: none !important;
}

body.product-settings-melontik-ui .product-settings-table thead th {
  position: sticky !important;
  top: 0 !important;
  left: auto;
  z-index: 50 !important;
  height: 50px;
  min-height: 50px;
  padding: 7px 10px !important;
  transform: none !important;
  background: #ffe4dd !important;
  color: #321b15;
  border-bottom: 1px solid #ffb8a6;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: middle;
  box-shadow: none !important;
}

body.product-settings-melontik-ui .product-settings-table thead th::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  height: 80%;
  border-right: 1px solid #ffcabc;
}

body.product-settings-melontik-ui .product-settings-table thead th:first-child,
body.product-settings-melontik-ui .product-settings-table tbody td:first-child {
  position: sticky !important;
  left: 0 !important;
}

body.product-settings-melontik-ui .product-settings-table thead th:nth-child(2),
body.product-settings-melontik-ui .product-settings-table tbody td:nth-child(2) {
  position: sticky !important;
  left: 118px !important;
}

body.product-settings-melontik-ui .product-settings-table thead th:first-child,
body.product-settings-melontik-ui .product-settings-table thead th:nth-child(2) {
  z-index: 70 !important;
}

body.product-settings-melontik-ui .product-settings-table tbody td:first-child,
body.product-settings-melontik-ui .product-settings-table tbody td:nth-child(2) {
  z-index: 20;
  background: #fff;
}

body.product-settings-melontik-ui .product-settings-table tbody tr {
  height: 86px;
}

body.product-settings-melontik-ui .product-settings-table tbody td {
  padding: 10px 12px !important;
  border-bottom: 1px solid #ffe0d8;
  font-size: 10.5px;
  line-height: 1.35;
  vertical-align: middle;
}

body.product-settings-melontik-ui .product-settings-table tbody tr:hover td {
  background: #fff8f6;
}

body.product-settings-melontik-ui .product-settings-table th .product-sort-button {
  position: relative;
  width: 100%;
  min-height: 30px;
  max-width: 100%;
  padding: 0 22px 0 4px;
  color: inherit;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

body.product-settings-melontik-ui .product-settings-table th .product-sort-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 12px;
  height: 16px;
  transform: translateY(-50%);
  background: center / 12px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16' fill='none'%3E%3Cpath d='M3 6L6 3L9 6' stroke='%23ff7158' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3 10L6 13L9 10' stroke='%23ff7158' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  pointer-events: none;
}

body.product-settings-melontik-ui .product-settings-table th .column-filter-button {
  width: 26px;
  min-width: 26px;
  min-height: 26px;
  margin-left: 2px;
  border: 0;
  background: transparent;
  color: #ff8566;
}

body.product-settings-melontik-ui .product-settings-table th .column-filter-button:hover {
  background: #ffd4c9;
  color: #8a2e1b;
}

body.product-settings-melontik-ui .product-settings-table .heading-tooltip {
  z-index: 100;
}

body.product-settings-melontik-ui .product-bulk-modal .bulk-template-actions {
  display: none;
}

body.product-settings-melontik-ui.commission-upload-modal-open .panel-page-transition {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

body.product-settings-melontik-ui .product-bulk-modal {
  width: min(760px, 92vw);
  border-radius: 14px;
  padding: 42px 48px;
}

@media (max-width: 900px) {
  body.product-settings-melontik-ui .product-settings-actions {
    justify-content: flex-start;
  }

  body.product-settings-melontik-ui .product-settings-actions .product-match-action {
    width: 100%;
    margin-right: 0;
  }

  body.product-settings-melontik-ui .product-settings-table thead th:nth-child(2),
  body.product-settings-melontik-ui .product-settings-table tbody td:nth-child(2) {
    position: static !important;
  }
}
