.agrican-product-table {
  --apt-header-bg: #000;
  --apt-header-color: #fff;
  --apt-odd-bg: #e6e6e6;
  --apt-even-bg: #b3b3b3;
  --apt-hover-bg: #fff2cc;
  --apt-padding: 12px;
  --apt-border-color: #8c8c8c;
  --apt-border-radius: 4px;
  --apt-sticky-offset: 0px;
  --apt-image-width: 100px;
  --apt-photo-cell-width: 126px;
  --apt-tech-min-width: 120px;
  position: relative;
  width: 100%;
  max-width: 100%;
  color: #111;
  box-sizing: border-box;
}

.agrican-product-table *,
.agrican-product-table *::before,
.agrican-product-table *::after {
  box-sizing: border-box;
}

.agrican-product-table .apt-toolbar {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
}

.agrican-product-table .apt-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.agrican-product-table .apt-search {
  width: min(100%, 460px);
  min-height: 44px;
  padding: 10px 13px;
  color: #fff !important;
  background: rgba(0, 0, 0, .7) !important;
  border: 2px solid #990000 !important;
  border-radius: var(--apt-border-radius);
  box-shadow: none !important;
  font: inherit;
}

.agrican-product-table .apt-search::placeholder {
  color: rgba(255, 255, 255, .78);
  opacity: 1;
}

.agrican-product-table .apt-search:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(153, 0, 0, .28) !important;
}

.agrican-product-table .apt-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid var(--apt-border-color);
  border-radius: var(--apt-border-radius);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}

.agrican-product-table:not(.apt-mobile-scroll) .apt-table-scroll {
  overflow-x: visible;
}

.agrican-product-table .apt-table {
  width: 100%;
  min-width: max-content;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
  font-size: inherit;
  line-height: 1.35;
}

.agrican-product-table .apt-table th,
.agrican-product-table .apt-table td {
  padding: var(--apt-padding);
  text-align: left;
  vertical-align: middle;
  border: 0;
  border-right: 1px solid var(--apt-border-color);
  border-bottom: 1px solid var(--apt-border-color);
}

.agrican-product-table .apt-table th:last-child,
.agrican-product-table .apt-table td:last-child {
  border-right: 0;
}

.agrican-product-table .apt-table tbody tr:last-child td {
  border-bottom: 0;
}

.agrican-product-table .apt-table > thead > tr > th {
  position: sticky;
  top: var(--apt-sticky-offset);
  z-index: 7;
  color: var(--apt-header-color) !important;
  background-color: var(--apt-header-bg) !important;
  background-image: none !important;
  font-weight: 700;
  line-height: 1.25;
}

/* The cloned header handles vertical stickiness. The source header must stay
   in normal table flow until it scrolls out of view. */
.agrican-product-table.apt-sticky-clone-ready .apt-table-scroll > .apt-table > thead > tr > th {
  top: auto;
}

.agrican-product-table .apt-table tbody tr {
  transition: background-color 120ms ease;
}

.agrican-product-table .apt-table > tbody > tr.apt-row--odd,
.agrican-product-table .apt-table > tbody > tr.apt-row--odd > td {
  background-color: var(--apt-odd-bg) !important;
  background-image: none !important;
}

.agrican-product-table .apt-table > tbody > tr.apt-row--even,
.agrican-product-table .apt-table > tbody > tr.apt-row--even > td {
  background-color: var(--apt-even-bg) !important;
  background-image: none !important;
}

.agrican-product-table .apt-table tbody tr.apt-product-row:hover,
.agrican-product-table .apt-table tbody tr.apt-product-row:hover > td,
.agrican-product-table .apt-table tbody tr.apt-product-row:focus-within,
.agrican-product-table .apt-table tbody tr.apt-product-row:focus-within > td {
  background-color: var(--apt-hover-bg) !important;
  background-image: none !important;
}

.agrican-product-table .apt-table tbody td {
  color: #fff !important;
  background-color: inherit;
}

.agrican-product-table .apt-col-photo {
  width: var(--apt-photo-cell-width);
  min-width: var(--apt-photo-cell-width);
  max-width: var(--apt-photo-cell-width);
  text-align: center;
}

.agrican-product-table .apt-col-photo img {
  display: block;
  width: var(--apt-image-width);
  height: var(--apt-image-width);
  max-width: none;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

.agrican-product-table .apt-col-sku {
  min-width: 130px;
  white-space: nowrap;
}

.agrican-product-table td.apt-col-sku a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.agrican-product-table .apt-col-feature {
  min-width: var(--apt-tech-min-width);
  max-width: 300px;
  overflow-wrap: anywhere;
}

.agrican-product-table .apt-sort {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 2px;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.agrican-product-table .apt-sort:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.agrican-product-table .apt-sort-indicator {
  display: inline-block;
  width: 0;
  height: 0;
  flex: 0 0 auto;
  opacity: .7;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.agrican-product-table .apt-sort[data-direction="asc"] .apt-sort-indicator {
  border-bottom: 6px solid currentColor;
}

.agrican-product-table .apt-sort[data-direction="desc"] .apt-sort-indicator {
  border-top: 6px solid currentColor;
}

.agrican-product-table .apt-no-results {
  background: var(--apt-odd-bg);
}

.agrican-product-table .apt-no-results td {
  padding: 24px var(--apt-padding);
  text-align: center;
  font-weight: 700;
}

.agrican-product-table .apt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.agrican-product-table .apt-pagination[hidden] {
  display: none;
}

.agrican-product-table .apt-pagination button {
  min-height: 38px;
  padding: 7px 14px;
  color: #fff;
  background: #111;
  border: 1px solid #111;
  border-radius: var(--apt-border-radius);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.agrican-product-table .apt-pagination button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.agrican-product-table .apt-page-status {
  min-width: 140px;
  text-align: center;
}

.agrican-product-table .apt-sticky-clone {
  position: fixed;
  z-index: 1001;
  display: none;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--apt-border-color);
  border-bottom: 0;
  border-radius: var(--apt-border-radius) var(--apt-border-radius) 0 0;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .22);
}

.agrican-product-table .apt-sticky-clone.is-visible {
  display: block;
}

.agrican-product-table .apt-sticky-clone .apt-table {
  position: relative;
  margin: 0;
}

.agrican-product-table .apt-sticky-clone thead th {
  position: static;
}

.agrican-product-table.apt-clickable-rows .apt-product-row {
  cursor: pointer;
}

.agrican-product-table .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.agrican-product-table-notice {
  padding: 12px 14px;
  margin: 8px 0;
  color: #533f03;
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .agrican-product-table.apt-mobile-scroll .apt-table-scroll {
    overflow-x: auto;
  }

  .agrican-product-table.apt-sticky-photo .apt-table > thead > tr > .apt-col-photo,
  .agrican-product-table.apt-sticky-photo .apt-table > tbody > tr > .apt-col-photo {
    position: sticky;
    left: 0;
    z-index: 5;
  }

  .agrican-product-table.apt-sticky-photo .apt-table > thead > tr > .apt-col-photo {
    z-index: 10;
    background: var(--apt-header-bg);
  }

  .agrican-product-table.apt-sticky-sku .apt-table > thead > tr > .apt-col-sku,
  .agrican-product-table.apt-sticky-sku .apt-table > tbody > tr > .apt-col-sku {
    position: sticky;
    left: var(--apt-photo-cell-width);
    z-index: 4;
    box-shadow: 5px 0 7px -7px rgba(0, 0, 0, .8);
  }

  .agrican-product-table.apt-sticky-sku .apt-table > thead > tr > .apt-col-sku {
    z-index: 9;
    background: var(--apt-header-bg);
  }

  .agrican-product-table .apt-sticky-clone .apt-col-photo,
  .agrican-product-table .apt-sticky-clone .apt-col-sku {
    position: static !important;
  }
}

@media (max-width: 575px) {
  .agrican-product-table .apt-search {
    width: 100%;
  }

  .agrican-product-table .apt-pagination {
    flex-wrap: wrap;
  }

  .agrican-product-table .apt-page-status {
    order: -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agrican-product-table .apt-table tbody tr {
    transition: none;
  }
}
