/* TopoGEN product catalog skin for WC Product Table PRO 3.8.5+. */
/* Changes appearance only. WCPT keeps ownership of table layout and actions. */

.wcpt.topogen-wcpt-design {
  --tgd-ink: #1d2634;
  --tgd-muted: #566478;
  --tgd-border: #dce4eb;
  --tgd-pale: #f4f7f9;
  --tgd-green: #689700;
  --tgd-focus: #77b9db;
  color: var(--tgd-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.wcpt.topogen-wcpt-design :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--tgd-focus);
  outline-offset: 3px;
}

/* Search, filtering and sorting controls. */
.wcpt.topogen-wcpt-design .wcpt-header {
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  border: 1px solid var(--tgd-border);
  border-radius: 14px;
  padding: 15px 17px;
  margin-bottom: 18px;
  box-shadow: 0 5px 22px rgba(28, 43, 62, 0.035);
}

.wcpt.topogen-wcpt-design .wcpt-filter-row {
  margin-block: 7px;
}

.wcpt.topogen-wcpt-design .wcpt-search-wrapper {
  color: var(--tgd-ink);
}

.wcpt.topogen-wcpt-design .wcpt-search-heading,
.wcpt.topogen-wcpt-design .wcpt-filter .wcpt-filter-heading,
.wcpt.topogen-wcpt-design .wcpt-sorting-label {
  color: #445165;
  font-size: 13px;
  font-weight: 700;
}

.wcpt.topogen-wcpt-design .wcpt .wcpt-search,
.wcpt.topogen-wcpt-design .wcpt-search {
  border-radius: 10px;
}

.wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"] {
  min-height: 47px;
  padding: 10px 49px 10px 15px;
  border: 1px solid #c8d3de;
  border-radius: 10px;
  background: #fff;
  color: var(--tgd-ink);
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(22, 34, 49, 0.02);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"]:focus {
  border-color: #7aafc9;
  box-shadow: 0 0 0 3px #deeff8;
  outline: 0;
}

.wcpt.topogen-wcpt-design .wcpt-active input.wcpt-search-input[type="search"],
.wcpt.topogen-wcpt-design .wcpt-search-clear-enabled input.wcpt-search-input[type="search"] {
  padding-left: 35px !important;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit {
  top: 5px;
  right: 5px;
  width: 38px;
  height: calc(100% - 10px);
  border-radius: 8px;
  color: #fff;
  background: #233145;
  transition: background 160ms ease;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit:hover {
  background: #36506e;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit-icon.wcpt-icon {
  stroke-width: 2.4px;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-filter.wcpt-dropdown .wcpt-filter-heading,
.wcpt.topogen-wcpt-design .wcpt-navigation-modal-toggle,
.wcpt.topogen-wcpt-design .wcpt-header select {
  background: #fff;
  border: 1px solid #cbd6df;
  border-radius: 10px;
  color: #25344a;
  min-height: 40px;
  box-shadow: none;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-filter.wcpt-dropdown .wcpt-filter-heading:hover,
.wcpt.topogen-wcpt-design .wcpt-header .wcpt-filter.wcpt-dropdown.wcpt-open .wcpt-filter-heading {
  background: #f8fbfc;
  border-color: #94afc1;
  box-shadow: 0 0 0 2px rgba(116, 171, 203, 0.12);
}

.wcpt.topogen-wcpt-design .wcpt-dropdown-menu {
  background: #fff;
  color: var(--tgd-ink);
  border: 1px solid var(--tgd-border);
  border-radius: 11px;
  box-shadow: 0 12px 32px rgba(30, 43, 60, 0.13);
}

.wcpt.topogen-wcpt-design .wcpt-navigation.wcpt-header .wcpt-options-row .wcpt-option {
  border: 1px solid #dbe4ea;
  border-radius: 999px;
  background: #f6f8fa;
  box-shadow: none;
  color: #344358;
  padding: 7px 13px;
  font-weight: 600;
}

.wcpt.topogen-wcpt-design .wcpt-navigation.wcpt-header .wcpt-options-row .wcpt-option:hover {
  background: #edf3f5;
  border-color: #c4d3dc;
}

.wcpt.topogen-wcpt-design .wcpt-navigation.wcpt-header .wcpt-options-row .wcpt-option.wcpt-active {
  background: #edf5db;
  border-color: #b8d281;
  color: #36500b;
  box-shadow: inset 0 0 0 1px #c9dba5;
}

.wcpt.topogen-wcpt-design .wcpt-active-count,
.wcpt.topogen-wcpt-design .wcpt-filter .wcpt-count {
  border-radius: 999px;
  background: #e9eef2;
  color: #445367;
  border-color: #dce5eb;
}

.wcpt.topogen-wcpt-design .wcpt-filter .wcpt-option.wcpt-active .wcpt-active-count {
  background: var(--tgd-green);
  color: #fff;
  border-color: var(--tgd-green);
}

.wcpt.topogen-wcpt-design .wcpt-clear-filter {
  border: 1px solid #d9e2ea;
  border-radius: 999px;
  color: #425268;
  background: #f3f6f8;
  padding: 6px 12px;
}

.wcpt.topogen-wcpt-design .wcpt-clear-filter:hover {
  border-color: #b8ccd9;
  background: #eaf2f5;
}

.wcpt.topogen-wcpt-design .wcpt-result-count {
  color: var(--tgd-muted);
  font-size: 13px;
  font-weight: 600;
}

/* The optional filter sidebar behaves like the earlier TopoGEN catalog. */
.wcpt.topogen-wcpt-design .wcpt-left-sidebar {
  padding: 17px 14px;
  border: 1px solid var(--tgd-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 43, 62, 0.035);
}

.wcpt.topogen-wcpt-design .wcpt-left-sidebar .wcpt-filter-heading {
  color: #526174;
  font-weight: 750;
}

.wcpt.topogen-wcpt-design .wcpt-left-sidebar .wcpt-option {
  border-radius: 7px;
  transition: background 140ms ease;
}

.wcpt.topogen-wcpt-design .wcpt-left-sidebar .wcpt-option:hover {
  background: #f3f6f8;
}

.wcpt.topogen-wcpt-design .wcpt-left-sidebar .wcpt-option.wcpt-active {
  background: #edf5db;
  color: #38530e;
}

.wcpt.topogen-wcpt-design input[type="checkbox"],
.wcpt.topogen-wcpt-design input[type="radio"] {
  accent-color: var(--tgd-green);
}

/* Main product table card. Do not change WCPT's table layout or data cells. */
.wcpt.topogen-wcpt-design .wcpt-table-scroll-wrapper-outer {
  border: 1px solid var(--tgd-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(29, 44, 64, 0.045);
}

.wcpt.topogen-wcpt-design table.wcpt-table {
  color: var(--tgd-ink);
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-heading-row {
  border-bottom: 1px solid #dce4eb;
  background: linear-gradient(180deg, #fbfcfd 0%, #f1f5f8 100%);
}

.wcpt.topogen-wcpt-design table.wcpt-table th.wcpt-heading {
  padding: 15px 16px;
  color: #516074;
  background: transparent;
  border: 0 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.065em;
  line-height: 1.45;
  text-transform: uppercase;
  vertical-align: middle;
}

.wcpt.topogen-wcpt-design table.wcpt-table th.wcpt-sortable:hover {
  color: #13799b;
}

.wcpt.topogen-wcpt-design .wcpt-sorting-icon.wcpt-active {
  color: #1f536b;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row {
  background: #fff;
  border-bottom: 1px solid #e7ecf0;
  transition: background-color 150ms ease;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row.wcpt-even {
  background: #fcfdfe;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row:hover {
  background: #f3f8fa;
}

.wcpt.topogen-wcpt-design table.wcpt-table td.wcpt-cell {
  padding: 17px 16px;
  background: transparent;
  border: 0 !important;
  color: #324052;
  font-size: 13px;
  vertical-align: middle;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title a,
.wcpt.topogen-wcpt-design .wcpt-table a.wcpt-title {
  color: #1e2939;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  text-decoration: none;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title a:hover,
.wcpt.topogen-wcpt-design .wcpt-table a.wcpt-title:hover {
  color: #087ca3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-sku {
  display: inline-block;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #e0e7ed;
  border-radius: 6px;
  background: #f1f4f7;
  color: #26364a;
  font: 700 12px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.025em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-price,
.wcpt.topogen-wcpt-design .wcpt-table .woocommerce-Price-amount {
  color: #1c293b;
  font-size: 14px;
  font-weight: 770;
}

.wcpt.topogen-wcpt-design .wcpt-table del .woocommerce-Price-amount {
  color: #7d8794;
  font-size: 12px;
  font-weight: 500;
}

.wcpt.topogen-wcpt-design .wcpt-table ins {
  background: transparent;
  text-decoration: none;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-category,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-categories,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-attribute-term {
  color: #566477;
  font-size: 12px;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-bubble {
  border-radius: 999px;
  background: #edf5db;
  color: #46680f;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-product-image-wrapper img,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-media-image-wrapper img {
  border: 1px solid #e4ebf0;
  border-radius: 9px;
  background: #f7f9fa;
}

/* Action buttons: match the dark View/Options buttons in TopoGEN Catalog Shop. */
body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-button,
body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-link_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 9px 15px;
  border: 1px solid #1d293a !important;
  border-radius: 9px;
  background: #1d293a !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  box-shadow: 0 2px 5px rgba(20, 32, 48, 0.08);
  text-decoration: none;
  text-align: center;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-button:not(.wcpt-disabled):hover,
body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-link_button:hover {
  background: #354b67 !important;
  border-color: #354b67 !important;
  box-shadow: 0 4px 9px rgba(22, 35, 52, 0.12);
  transform: translateY(-1px);
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-button.wcpt-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wcpt.topogen-wcpt-design .wcpt-table input.qty,
.wcpt.topogen-wcpt-design .wcpt-table select,
.wcpt.topogen-wcpt-design .wcpt-table input[type="number"] {
  border: 1px solid #ccd8e1;
  border-radius: 8px;
  color: #27364a;
  background: #fff;
  box-shadow: none;
}

/* Page counts, no-results messages and pagination. */
.wcpt.topogen-wcpt-design .wcpt-pagination {
  margin: 22px 0 12px;
}

body .wcpt.topogen-wcpt-design .wcpt-pagination a.page-numbers,
.wcpt.topogen-wcpt-design .wcpt-pagination .page-numbers.current {
  min-width: 36px;
  min-height: 36px;
  padding: 7px 10px;
  margin: 4px;
  border: 1px solid #d4dfe7;
  border-radius: 8px;
  background: #fff;
  color: #2d3a4d;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  box-shadow: none;
}

body .wcpt.topogen-wcpt-design .wcpt-pagination a.page-numbers:hover {
  border-color: #a9bdca;
  background: #edf4f7;
  color: #1c384a;
}

.wcpt.topogen-wcpt-design .wcpt-pagination .page-numbers.current {
  background: #1d293a;
  border-color: #1d293a;
  color: #fff;
}

.wcpt.topogen-wcpt-design .wcpt-no-results,
.wcpt.topogen-wcpt-design .wcpt-no-search-results-message {
  padding: 34px 20px;
  border: 1px dashed #c9d8e2;
  border-radius: 12px;
  background: #f7fafb;
  color: #526176;
  font-size: 14px;
  text-align: center;
}

.wcpt.topogen-wcpt-design .wcpt-match-highlight {
  background: #fff0a8;
  border-radius: 2px;
  color: inherit;
}

/* Responsive views are selected by WCPT, so style them without hiding columns. */
@media (max-width: 900px) {
  .wcpt.topogen-wcpt-design .wcpt-header {
    padding: 12px;
  }

  .wcpt.topogen-wcpt-design table.wcpt-table th.wcpt-heading,
  .wcpt.topogen-wcpt-design table.wcpt-table td.wcpt-cell {
    padding: 13px 11px;
  }
}

@media (max-width: 749px) {
  .wcpt.topogen-wcpt-design {
    font-size: 13px;
  }

  .wcpt.topogen-wcpt-design .wcpt-header,
  .wcpt.topogen-wcpt-design .wcpt-left-sidebar {
    border-radius: 11px;
    padding: 12px;
  }

  .wcpt.topogen-wcpt-design .wcpt-search-wrapper,
  .wcpt.topogen-wcpt-design .wcpt-search {
    max-width: 100%;
  }

  .wcpt.topogen-wcpt-design .wcpt-table-scroll-wrapper-outer {
    border-radius: 11px;
  }

  .wcpt.topogen-wcpt-design .wcpt-device-phone table.wcpt-table td.wcpt-cell {
    padding: 12px 13px;
  }

  .wcpt.topogen-wcpt-design .wcpt-pagination a.page-numbers,
  .wcpt.topogen-wcpt-design .wcpt-pagination .page-numbers.current {
    margin: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wcpt.topogen-wcpt-design .wcpt-row,
  .wcpt.topogen-wcpt-design .wcpt-search-submit,
  .wcpt.topogen-wcpt-design a.wcpt-button {
    transition: none;
    transform: none;
  }
}

/* ---------------------------------------------------------------
   V2 signature experience — spacious catalog toolbar + premium UI
   --------------------------------------------------------------- */
.wcpt.topogen-wcpt-design {
  --tgd-ink: #192638;
  --tgd-border: #dce5ec;
  --tgd-shadow: 0 14px 38px rgba(24, 41, 58, 0.065);
  letter-spacing: -0.005em;
}

.wcpt.topogen-wcpt-design .wcpt-header {
  position: relative;
  padding: 26px 28px 21px;
  border: 1px solid #e0e9ec;
  border-top: 4px solid #86a932;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff 0%, #f9fcfc 64%, #f5f9f6 100%);
  box-shadow: var(--tgd-shadow);
  isolation: isolate;
  margin-bottom: 20px;
}

.wcpt.topogen-wcpt-design .wcpt-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 135px;
  border-radius: 0 14px 0 100%;
  background: radial-gradient(circle at top right, rgba(133, 169, 50, 0.1), transparent 73%);
  pointer-events: none;
  z-index: -1;
}

.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row:first-child {
  margin-top: 0;
  margin-bottom: 14px;
}

.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row:not(:first-child) {
  padding-top: 13px;
  border-top: 1px solid #e9eff1;
  margin-top: 12px;
}

.wcpt.topogen-wcpt-design .wcpt-item-row.wcpt-tgd-laptop-intro-row,
.wcpt.topogen-wcpt-design .wcpt-item-row.wcpt-tgd-phone-intro-row {
  display: block;
  margin: 0 0 15px;
}

.wcpt.topogen-wcpt-design .wcpt-html.wcpt-tgd-intro {
  display: block;
}

.wcpt.topogen-wcpt-design .tgd-eyebrow,
.wcpt.topogen-wcpt-design .tgd-toolbar-title,
.wcpt.topogen-wcpt-design .tgd-toolbar-description {
  display: block;
}

.wcpt.topogen-wcpt-design .tgd-eyebrow {
  margin-bottom: 5px;
  color: #628817;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.wcpt.topogen-wcpt-design .tgd-toolbar-title {
  color: #17263a;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.wcpt.topogen-wcpt-design .tgd-toolbar-description {
  color: #637286;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.5;
}

.wcpt.topogen-wcpt-design .wcpt-item-row.wcpt-tgd-laptop-search-row,
.wcpt.topogen-wcpt-design .wcpt-item-row.wcpt-tgd-phone-search-row {
  display: block;
  max-width: 100%;
}

.wcpt.topogen-wcpt-design .wcpt-search-wrapper.tgd-search-field,
.wcpt.topogen-wcpt-design .wcpt-search-wrapper.tgd-search-field .wcpt-search {
  display: block;
  width: 100% !important;
  max-width: 660px;
}

.wcpt.topogen-wcpt-design .wcpt-search {
  position: relative;
  border-radius: 12px;
}

.wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"] {
  min-height: 54px;
  padding: 13px 119px 13px 17px;
  border: 1px solid #c3d2dc;
  border-radius: 12px;
  color: #1d3044;
  background: #fff;
  font-size: 14px;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(24, 42, 61, 0.04);
}

.wcpt.topogen-wcpt-design .wcpt-active input.wcpt-search-input[type="search"],
.wcpt.topogen-wcpt-design .wcpt-search-clear-enabled input.wcpt-search-input[type="search"] {
  padding: 13px 119px 13px 36px !important;
}

.wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"]::placeholder {
  color: #8996a6;
  opacity: 1;
}

.wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"]:focus {
  border-color: #64a5c5;
  box-shadow: 0 0 0 4px rgba(96, 164, 198, 0.14), 0 3px 9px rgba(24, 42, 61, 0.04);
}

.wcpt.topogen-wcpt-design .wcpt-search-submit {
  top: 5px;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 105px;
  height: calc(100% - 10px);
  border-radius: 9px;
  background: linear-gradient(135deg, #1c2b40, #354d67);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 2px 6px rgba(23, 42, 61, 0.14);
  user-select: none;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit::after {
  content: "Search";
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.005em;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit:hover {
  background: linear-gradient(135deg, #314862, #476581);
}

.wcpt.topogen-wcpt-design .wcpt-search-submit-icon.wcpt-icon {
  position: static;
  transform: none;
  width: 17px;
  height: 17px;
  font-size: 17px;
  line-height: 1;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit-icon.wcpt-icon > svg {
  width: 17px;
  height: 17px;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-result-count {
  padding: 9px 13px;
  border: 1px solid #e2e9ed;
  border-radius: 999px;
  color: #506278;
  background: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(24, 42, 61, 0.025);
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-tgd-laptop-count-row {
  text-align: right;
}

.wcpt.topogen-wcpt-design .wcpt-table-scroll-wrapper-outer {
  border: 1px solid #dce5eb;
  border-radius: 17px;
  box-shadow: var(--tgd-shadow);
}

.wcpt.topogen-wcpt-design table.wcpt-table th.wcpt-heading {
  padding: 15px 18px;
  color: #56677a;
  font-size: 10px;
  letter-spacing: 0.095em;
  background: transparent;
}

.wcpt.topogen-wcpt-design table.wcpt-table td.wcpt-cell {
  padding: 19px 18px;
  color: #334357;
  font-size: 13px;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row:hover td.wcpt-cell:first-child {
  box-shadow: inset 3px 0 0 #87ad32;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title a,
.wcpt.topogen-wcpt-design .wcpt-table a.wcpt-title {
  color: #15263a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-sku {
  border-radius: 7px;
  padding: 6px 9px;
  background: #f0f4f7;
  color: #304358;
  border-color: #e0e7ed;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-price,
.wcpt.topogen-wcpt-design .wcpt-table .woocommerce-Price-amount {
  color: #14283c;
  font-size: 15px;
  font-weight: 820;
}

body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-button,
body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-link_button {
  min-height: 41px;
  padding: 10px 17px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1b293b, #334a65) !important;
  box-shadow: 0 3px 8px rgba(24, 42, 61, 0.12);
}

body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-button:not(.wcpt-disabled):hover,
body .wcpt.topogen-wcpt-design .wcpt-table a.wcpt-link_button:hover {
  background: linear-gradient(135deg, #314a66, #456687) !important;
  box-shadow: 0 7px 15px rgba(24, 42, 61, 0.18);
}

.wcpt.topogen-wcpt-design .wcpt-pagination {
  padding: 10px 0 4px;
}

.wcpt.topogen-wcpt-design .wcpt-pagination .page-numbers.current {
  background: #1d293a;
  color: #fff;
}

/* WCPT switches to its separate navigation below 1200px, not just on phones. */
@media (max-width: 1199px) {
  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation {
    padding: 16px 15px 13px;
    border: 1px solid #dfe8ec;
    border-top: 3px solid #86a932;
    border-radius: 13px;
    background: linear-gradient(145deg, #fff, #f8fbf9);
    box-shadow: 0 8px 24px rgba(24, 41, 58, 0.05);
    margin-bottom: 16px;
  }

  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .wcpt-search-wrapper,
  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .wcpt-search {
    width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 749px) {
  .wcpt.topogen-wcpt-design .wcpt-header {
    padding: 16px;
    border-radius: 13px;
  }

  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .tgd-toolbar-title {
    font-size: 21px;
  }

  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .tgd-toolbar-description {
    font-size: 12px;
  }

  .wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"] {
    min-height: 49px;
    padding-right: 60px;
    font-size: 13px;
  }

  .wcpt.topogen-wcpt-design .wcpt-active input.wcpt-search-input[type="search"],
  .wcpt.topogen-wcpt-design .wcpt-search-clear-enabled input.wcpt-search-input[type="search"] {
    padding: 11px 60px 11px 34px !important;
  }

  .wcpt.topogen-wcpt-design .wcpt-search-submit {
    width: 41px;
  }

  .wcpt.topogen-wcpt-design .wcpt-search-submit::after {
    display: none;
  }

  .wcpt.topogen-wcpt-design table.wcpt-table td.wcpt-cell {
    padding: 14px 12px;
  }

  .wcpt.topogen-wcpt-design .wcpt-table-scroll-wrapper-outer {
    border-radius: 12px;
  }
}

/* ---------------------------------------------------------------
   V3 refined catalog — tailored from the live table screenshot
   --------------------------------------------------------------- */
.wcpt.topogen-wcpt-design {
  --tgd-navy: #19293d;
  --tgd-soft: #f7f9fb;
  --tgd-line: #e3eaf0;
  --tgd-accent: #729a1c;
  color: var(--tgd-navy) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.wcpt.topogen-wcpt-design .wcpt-header {
  padding: 24px 26px 17px;
  background: #fff;
  border: 1px solid #e2e9ef;
  border-radius: 15px;
  box-shadow: 0 7px 24px rgba(27, 42, 59, 0.055);
  margin-bottom: 16px;
  overflow: visible;
}

.wcpt.topogen-wcpt-design .wcpt-header::before {
  display: none;
}

.wcpt.topogen-wcpt-design .wcpt-header::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 25px;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #709917, #b4cd64);
  border-radius: 0 0 4px 4px;
}

.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row:first-child {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 0 19px;
  margin: 0 0 14px;
  border-bottom: 1px solid #eaf0f4;
}

.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row.wcpt-ratio-50-50:first-child .wcpt-filter-column.wcpt-left,
.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row.wcpt-ratio-50-50:first-child .wcpt-filter-column.wcpt-right {
  width: calc(50% - 12px) !important;
  min-width: 0;
  flex: 1 1 0;
  text-align: left;
}

.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row.wcpt-ratio-100-0:first-child .wcpt-filter-column.wcpt-left {
  width: 100% !important;
}

.wcpt.topogen-wcpt-design .wcpt-header > .wcpt-filter-row:not(:first-child) {
  margin: 0;
  padding: 2px 0 0;
  border: 0;
}

.wcpt.topogen-wcpt-design .wcpt-item-row.wcpt-tgd-laptop-intro-row {
  margin: 0;
}

.wcpt.topogen-wcpt-design .tgd-eyebrow {
  color: #62861a !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 10px;
}

.wcpt.topogen-wcpt-design .tgd-toolbar-title {
  display: block;
  color: #1c2c42 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(24px, 2.4vw, 31px) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -0.048em !important;
  line-height: 1.13 !important;
}

.wcpt.topogen-wcpt-design .tgd-toolbar-description {
  color: #69798c !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin-top: 9px;
  max-width: 360px;
}

.wcpt.topogen-wcpt-design .wcpt-search-wrapper.tgd-search-field,
.wcpt.topogen-wcpt-design .wcpt-search-wrapper.tgd-search-field .wcpt-search {
  width: 100% !important;
  max-width: none !important;
}

.wcpt.topogen-wcpt-design input.wcpt-search-input[type="search"] {
  min-height: 50px !important;
  font: 500 14px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  border: 1px solid #ced9e2 !important;
  border-radius: 11px !important;
  box-shadow: 0 2px 5px rgba(29, 48, 67, 0.025) !important;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit {
  background: #22344a !important;
  box-shadow: none !important;
  border-radius: 8px;
}

.wcpt.topogen-wcpt-design .wcpt-search-submit:hover {
  background: #37506e !important;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-tgd-laptop-count-row {
  text-align: left;
  margin-top: 11px;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-result-count {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #607086 !important;
  font: 650 12px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-result-count::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 100%;
  background: #7fa52b;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-filter.wcpt-dropdown .wcpt-filter-heading,
.wcpt.topogen-wcpt-design .wcpt-header select,
.wcpt.topogen-wcpt-design .wcpt-header .wcpt-csv-download {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #d4dfe8;
  border-radius: 9px;
  background: #fff;
  color: #33455b;
  font: 650 12px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-filter.wcpt-dropdown .wcpt-filter-heading:hover,
.wcpt.topogen-wcpt-design .wcpt-header .wcpt-csv-download:hover {
  border-color: #9fbdcd;
  background: #f5fafb;
}

.wcpt.topogen-wcpt-design .wcpt-table-scroll-wrapper-outer {
  border: 1px solid #dfe7ed;
  border-radius: 14px;
  box-shadow: 0 7px 25px rgba(25, 42, 59, 0.045);
}

.wcpt.topogen-wcpt-design table.wcpt-table {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-heading-row {
  background: #f3f6f8 !important;
  border-bottom: 1px solid #dfe7ed;
}

.wcpt.topogen-wcpt-design table.wcpt-table th.wcpt-heading {
  padding: 15px 19px !important;
  color: #54677b !important;
  font: 800 11px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0.075em !important;
  text-align: left;
}

.wcpt.topogen-wcpt-design table.wcpt-table td.wcpt-cell {
  padding: 21px 19px !important;
  color: #33455a !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  vertical-align: middle !important;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row,
.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row.wcpt-even {
  border-bottom: 1px solid #e8eef2;
  background: #fff;
}

.wcpt.topogen-wcpt-design table.wcpt-table .wcpt-row:hover {
  background: #f8fbfc !important;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-title a,
.wcpt.topogen-wcpt-design .wcpt-table a.wcpt-title {
  color: #1b2d42 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em !important;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-sku {
  padding: 7px 10px;
  color: #35465a !important;
  background: #eff3f6 !important;
  border: 1px solid #dce5ed;
  border-radius: 7px;
  font-size: 12px !important;
  font-weight: 750 !important;
}

.wcpt.topogen-wcpt-design .wcpt-table .wcpt-excerpt,
.wcpt.topogen-wcpt-design .wcpt-table .wcpt-content {
  color: #54667c !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 450 !important;
  line-height: 1.65 !important;
}

.wcpt.topogen-wcpt-design .wcpt-table .tgd-description--collapsed {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden !important;
  max-height: 4.95em;
}

.wcpt.topogen-wcpt-design .wcpt-table .tgd-description--expanded {
  display: block !important;
  max-height: none !important;
}

.wcpt.topogen-wcpt-design .wcpt-table .tgd-description-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(13, 127, 162, 0.33);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #087ba2;
  cursor: pointer;
  font: 750 12px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
}

.wcpt.topogen-wcpt-design .wcpt-table .tgd-description-toggle::after {
  content: "↗";
  font-size: 13px;
  line-height: 1;
}

.wcpt.topogen-wcpt-design .wcpt-table .tgd-description-toggle[aria-expanded="true"]::after {
  content: "↑";
}

.wcpt.topogen-wcpt-design .wcpt-table .tgd-description-toggle:hover {
  color: #045c7d;
  border-color: #045c7d;
}

/* Product Table PRO may use varying column sets; apply widths only to
   tables that actually contain SKU / Product / Description / Purchase. */
@media (min-width: 1200px) {
  .wcpt.topogen-wcpt-design table.wcpt-table.tgd-four-column-layout {
    table-layout: fixed;
    width: 100%;
  }

  .wcpt.topogen-wcpt-design .tgd-four-column-layout .tgd-col-sku { width: 14%; }
  .wcpt.topogen-wcpt-design .tgd-four-column-layout .tgd-col-name { width: 27%; }
  .wcpt.topogen-wcpt-design .tgd-four-column-layout .tgd-col-description { width: 38%; }
  .wcpt.topogen-wcpt-design .tgd-four-column-layout .tgd-col-purchase { width: 21%; }
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-cell-val {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 235px;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-cell-val > * {
  margin: 0 !important;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-select-variation-dropdown-wrapper {
  flex: 1 0 100%;
  width: 100% !important;
  max-width: 235px;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase select.wcpt-select-variation-dropdown {
  display: block;
  width: 100% !important;
  min-height: 41px !important;
  padding: 9px 32px 9px 12px !important;
  border: 1px solid #cbd8e1 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #34465d !important;
  font: 600 12px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-quantity {
  flex: 0 0 62px;
  max-width: 75px;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase input.qty,
.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase input[type="number"] {
  width: 62px !important;
  min-height: 41px !important;
  padding: 7px 5px !important;
  border: 1px solid #cbd8e1 !important;
  border-radius: 9px !important;
  text-align: center !important;
  font: 650 13px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body .wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase a.wcpt-button,
body .wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase a.wcpt-link_button {
  flex: 1 1 auto;
  min-width: 106px;
  min-height: 41px;
  margin: 0 !important;
  padding: 10px 12px;
  border-radius: 9px;
  color: #fff !important;
  background: #1f3045 !important;
  border-color: #1f3045 !important;
  box-shadow: none;
  font: 750 12px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body .wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase a.wcpt-button.wcpt-disabled {
  background: #e8edf1 !important;
  border-color: #e0e6eb !important;
  color: #667587 !important;
  opacity: 1;
  box-shadow: none;
}

@media (max-width: 1199px) {
  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation {
    padding: 17px 19px;
    background: #fff;
    border: 1px solid #e2e9ef;
    border-radius: 13px;
    box-shadow: 0 7px 24px rgba(27, 42, 59, 0.055);
  }

  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .tgd-toolbar-title {
    font-size: 25px !important;
  }
}

@media (max-width: 749px) {
  .wcpt.topogen-wcpt-design table.wcpt-table td.wcpt-cell {
    padding: 15px 13px !important;
    font-size: 13px !important;
  }

  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .tgd-toolbar-title {
    font-size: 22px !important;
  }

  .wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-cell-val {
    max-width: none;
  }
}

/* ---------------------------------------------------------------
   V3.0.1: keep category/sort menus in front of the table and give
   WCPT's quantity control its actual rendered width.
   --------------------------------------------------------------- */
.wcpt.topogen-wcpt-design .wcpt-header,
.wcpt.topogen-wcpt-design .wcpt-responsive-navigation {
  position: relative;
  z-index: 30;
  overflow: visible !important;
}

.wcpt.topogen-wcpt-design .wcpt-table-scroll-wrapper-outer {
  position: relative;
  z-index: 1;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-dropdown.wcpt-open,
.wcpt.topogen-wcpt-design .wcpt-responsive-navigation .wcpt-dropdown.wcpt-open {
  position: relative;
  z-index: 40;
}

.wcpt.topogen-wcpt-design .wcpt-header .wcpt-dropdown-menu,
.wcpt.topogen-wcpt-design .wcpt-responsive-navigation .wcpt-dropdown-menu {
  z-index: 50;
}

/* Some WCPT templates group purchase elements in an item row instead
   of placing them directly in .wcpt-cell-val. Support both variants. */
.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-cell-val > .wcpt-item-row,
.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-cell-val > .wcpt-item-row .wcpt-item-row {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-item-row > * {
  margin: 0 !important;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .quantity.wcpt-quantity.wcpt-display-type-input {
  position: relative;
  display: inline-block !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #cbd8e1 !important;
  border-radius: 9px !important;
  background: #fff;
  box-sizing: border-box !important;
  vertical-align: middle;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .quantity.wcpt-quantity.wcpt-display-type-input > input[type="number"].qty {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 8px 4px !important;
  margin: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* When WCPT's +/- controls are enabled, reserve room for both sides. */
.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .quantity.wcpt-quantity.wcpt-display-type-input.wcpt-controls-on-edges {
  flex-basis: 100px !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  padding-inline: 25px !important;
}

.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-cell-val a.wcpt-button,
.wcpt.topogen-wcpt-design .wcpt-table td.tgd-col-purchase .wcpt-item-row a.wcpt-button {
  flex: 1 1 112px !important;
  min-width: 112px !important;
  max-width: 100%;
  white-space: normal !important;
  text-align: center;
}

@media (max-width: 749px) {
  /* WCPT switches small-screen filters to an in-flow accordion. */
  .wcpt.topogen-wcpt-design .wcpt-header .wcpt-dropdown-menu,
  .wcpt.topogen-wcpt-design .wcpt-responsive-navigation .wcpt-dropdown-menu {
    position: relative !important;
    width: 100% !important;
  }
}

/* V3.0.5: inquiry-only buttons for product tables 361911 and 361885. */
body .tgd-contact-table .wcpt.topogen-wcpt-design .wcpt-table a.tgd-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 41px;
  min-width: 112px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid #1f3045;
  border-radius: 9px;
  background: #1f3045;
  color: #fff !important;
  font: 750 12px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

body .tgd-contact-table .wcpt.topogen-wcpt-design .wcpt-table a.tgd-contact-button:hover {
  background: #334b67;
  border-color: #334b67;
  color: #fff !important;
}
