/* CSS Variables from index.html theme */
:root {
  --black: #000000;
  --blue: #0066cc;
  --blurple: #480bbe;
  --board: #d3a269;
  --error: #cc0000;
  --info: #217ae2;
  --primary: var(--blue);
  --red: #ff2100;
  --secondary: var(--stone-grey);
  --success: #289c28;
  --tertiary: var(--coral-orange);
  --warn: #eec201;
  --white: #ffffff;
  --blue--clicked: #155a7a;
  --red--clicked: #890000;
  --blue--dark: #1a6b8f;
  --red--dark: #a30000;
  --blue--hover: #1e7ba3;
  --red--hover: #a20000;
  --blurple-blue: #1a1552;
  --dark-blue: #1e7ba3;
  --light-blue: #b8e0f0;
  --link-blue: #221abb;
  --dark-blurple: #080623;
  --light-blurple: #d4d8fb;
  --light-board: #e7ccab;
  --pale-board: #f9efe4;
  --text-color: #000000;
  --cloud-grey: #cccccc;
  --ice-grey: #f5f5f5;
  --onyx-grey: #222222;
  --outline-grey: #dddddd;
  --rain-grey: #a4a4a4;
  --slate-grey: #444444;
  --stone-grey: #5e6c84;
  --wispy-grey: #eaeaea;
  --ice-grey-darken: #e6e6e6;
  --slate-grey-lighten: #4b4b4b;
  --coral-orange: #ff6b35;
  --market-orange: #c96101;
  --dark-red: #6a0a06;
  --light-red: #ffbcb3;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.15);
  --primary-soft: #e3ebff;
  --primary-dark: #004d99;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
body {
  background-color: var(--white);
  color: var(--onyx-grey);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  padding: 0;
  touch-action: pan-y pan-x;
}
/* Shared product/search image containers */
.disty-image {
  align-items: center;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  min-height: 1px;
  overflow: hidden;
}
.disty-image img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.disty-image--list {
  background: #f9fafb;
  border: 1px solid var(--outline-grey);
  border-radius: 6px;
  flex-shrink: 0;
  height: 55px;
  width: 55px;
}
/* Utility classes for show/hide */
.show {
  display: block;
}
.hide,
.hidden {
  display: none;
}
/* Mobile bottom nav login/account states */
#mobileLoginNav.show,
#mobileAccountNav.show {
  display: flex;
}
#mobileLoginNav.hide,
#mobileAccountNav.hide {
  display: none;
}
/* Mega menu show/hide */
.category-mega-menu.show {
  display: block;
}
.category-mega-menu.hide {
  display: none;
}
/* Mobile categories drawer show/hide */
#mobileCategoriesSegmentView.show,
#mobileCategoriesView.show {
  display: block;
}
#mobileCategoriesSegmentView.hide,
#mobileCategoriesView.hide {
  display: none;
}
#mobileCategoriesViewAll.show {
  display: block;
}
#mobileCategoriesViewAll.hide {
  display: none;
}
/* Ensure no extra spacing on mobile */
@media (max-width: 768px) {
  html,
  body {
    margin: 0;
    padding: 0;
  }
}
/* Container for responsive design */
.container {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 20px;
}
/* Container responsive adjustments */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
}
/* Visually hidden text for accessibility */
.disty_visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.manufacturer-page-shell {
  max-width: 1440px;
  margin: auto;
  padding: 10px 20px 30px;
}
.manufacturer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: flex-start;
}
.manufacturer-breadcrumb {
  margin-bottom: 10px;
}
.manufacturer-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--stone-grey);
  list-style: none;
  margin: 0;
  padding: 0;
}
.manufacturer-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.manufacturer-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: var(--stone-grey);
}
.manufacturer-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.manufacturer-breadcrumb li:last-child span {
  cursor: default;
}
.manufacturer-breadcrumb a:hover {
  text-decoration: underline;
}
.manufacturer-breadcrumb span {
  color: var(--stone-grey);
}
/* Filter Sidebar Styles */
.filter-sidebar {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  border: 1px solid var(--outline-grey);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 0;
  position: sticky;
  top: 20px;
  backdrop-filter: blur(8px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}
.filter-sidebar-header {
  padding: 16px 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-sidebar-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-sidebar-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.filter-sidebar-title.has-filters .filter-sidebar-count {
  display: flex;
}
.filter-sidebar-clear-all-btn {
  background: transparent;
  border: 1px solid var(--stone-grey);
  color: var(--stone-grey);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.filter-sidebar-clear-all-btn:hover:not(:disabled) {
  background-color: var(--ice-grey);
  border-color: var(--primary);
  color: var(--primary);
}
.filter-sidebar-clear-all-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.filter-sidebar-clear-all-text {
  display: inline-block;
}
.filter-sidebar-actions {
  display: flex;
  gap: 8px;
}
.filter-btn-clear,
.filter-btn-apply {
  flex: 1;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.16s ease;
  border: none;
}
.filter-btn-clear:hover {
  background: var(--ice-grey);
}
/* Apply button - no filters applied (like create RFQ no-selection) */
.filter-btn-apply.no-selection {
  background: var(--primary-soft);
  color: var(--primary-dark);
  cursor: not-allowed;
}
.filter-btn-apply.no-selection:hover {
  background: var(--primary-soft);
}
/* Apply button - filters applied (primary color) */
.filter-btn-apply:not(.no-selection) {
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
}
.filter-btn-apply:not(.no-selection):hover {
  background: var(--primary-dark);
}
/* Tooltip for disabled Apply button */
.filter-btn-apply {
  position: relative;
}
/* Common tooltip styles for disabled buttons */
.filter-btn-apply-tooltip,
.manufacturer-featured-create-rfq-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  background: #2f333a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(4px);
  pointer-events: none;
  z-index: 1000;
}
.filter-btn-apply-tooltip::after,
.manufacturer-featured-create-rfq-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #2f333a;
}
.filter-btn-apply.no-selection:hover .filter-btn-apply-tooltip,
.filter-btn-apply.no-selection:active .filter-btn-apply-tooltip,
.manufacturer-featured-create-rfq.no-selection:hover .manufacturer-featured-create-rfq-tooltip,
.manufacturer-featured-create-rfq.no-selection:active .manufacturer-featured-create-rfq-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.filter-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
}
.filter-sidebar-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--ice-grey);
  display: flex;
  gap: 8px;
}
/* Expandable Manufacturer Path Section */
.filter-manufacturer-path-section {
  padding-bottom: 16px;
}
.filter-manufacturer-path-toggle {
  width: 100%;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--outline-grey);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  color: var(--onyx-grey);
  transition: all 0.16s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-manufacturer-path-toggle[aria-expanded="true"] {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.filter-manufacturer-path-toggle:hover {
  border-color: var(--primary);
}
.filter-manufacturer-path-display {
  flex: 1;
  text-align: left;
}
.filter-manufacturer-path-toggle[aria-expanded="true"] .filter-manufacturer-path-display {
  display: none;
}
.filter-manufacturer-path-chevron {
  width: 16px;
  height: 16px;
  stroke: var(--onyx-grey);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.filter-manufacturer-path-toggle[aria-expanded="true"] .filter-manufacturer-path-chevron {
  display: none;
}
.filter-manufacturer-path-header {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.filter-manufacturer-path-toggle[aria-expanded="true"] .filter-manufacturer-path-header {
  display: flex;
}
.filter-manufacturer-path-header-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--onyx-grey);
  text-transform: capitalize;
}
.filter-manufacturer-path-chevron-expanded {
  width: 16px;
  height: 16px;
  stroke: var(--onyx-grey);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  transform: rotate(180deg);
}
.filter-manufacturer-path-expanded {
  display: none;
  padding: 0 0 5px;
  width: 100%;
}
.filter-manufacturer-path-toggle[aria-expanded="true"] .filter-manufacturer-path-expanded {
  display: block;
}
.filter-manufacturer-path-level {
  margin-top: 12px;
}
.filter-manufacturer-path-level .filter-input.has-value {
  padding-right: 26px;
}
.filter-manufacturer-path-field-group {
  position: relative;
  width: 100%;
}
.filter-manufacturer-path-select {
  width: 100%;
  padding: 10px 60px 10px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 12px;
  color: var(--onyx-grey);
  cursor: pointer;
  appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235e6c84' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 8px center;
  transition: all 0.3s ease;
}
.filter-manufacturer-path-select.has-value {
  padding-right: 60px;
}
.filter-manufacturer-path-select:hover {
  border-color: var(--primary);
}
.filter-manufacturer-path-select:focus {
  outline: none;
  border-color: var(--primary);
}
.filter-manufacturer-path-select:disabled {
  background: var(--ice-grey);
  cursor: not-allowed;
  opacity: 0.6;
}
/* Filter Rows */
.filter-row {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.filter-row:last-child {
  margin-bottom: 0;
}
/* Floating Label Styles - Universal for all filter fields */
.filter-field-group {
  position: relative;
  width: 100%;
}
.filter-label {
  color: #999999;
  font-size: 12px;
  font-weight: 400;
  left: 10px;
  padding: 0 4px;
  pointer-events: none;
  position: absolute;
  top: 12px;
  transition: all 0.3s ease;
  z-index: 1;
}
.filter-label.disty_filter-floating {
  background: #ffffff;
  color: var(--primary);
  font-size: 10px;
  font-weight: 500;
  top: -8px;
}
.filter-input-wrapper {
  position: relative;
  width: 100%;
}
.filter-input {
  width: 100%;
  padding: 10px 100px 10px 10px;
  /* Increased right padding to make room for buttons */
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 12px;
  background-color: #ffffff;
  color: var(--onyx-grey);
  transition: all 0.3s ease;
}
.filter-input.has-value {
  padding-right: 66px;
}
.filter-input:focus {
  outline: none;
  border-color: var(--primary);
}
.filter-manufacturer-item {
  padding: 5px 10px;
  font-size: 12px;
  color: var(--onyx-grey);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-manufacturer-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.filter-manufacturer-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.filter-manufacturer-item:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}
.filter-manufacturer-item.selected {
  background-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 500;
}
.filter-row-manufacturer {
  position: relative;
}
/* Generic Filter Dropdown Styles - Universal for all filter fields */
/* Use these classes for any new filter fields - no need to add new CSS */
.filter-dropdown-wrapper {
  position: relative;
  width: 100%;
}
/* Generic class for all filter select fields - add 'disty_filter-field' class to any filter select */
.filter-dropdown {
  width: 100%;
  padding: 10px 70px 10px 10px;
  /* Increased right padding to make room for buttons */
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 12px;
  background: #ffffff;
  color: var(--onyx-grey);
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
}
.filter-dropdown.has-value {
  padding-right: 100px;
}
/* Filter Field Actions Container */
.filter-field-actions {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 2;
}
/* Dropdown chevron icon - always visible, positioned rightmost */
.filter-field-chevron {
  width: 18px;
  height: 18px;
  display: flex !important;
  /* Always visible */
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 0;
  order: 3;
  /* Rightmost position */
}
.filter-field-chevron svg {
  width: 12px;
  height: 12px;
  fill: #5e6c84;
}
/* Order buttons: X (leftmost), Apply/Applied (middle), Chevron (rightmost) */
.filter-field-clear-btn {
  order: 1;
  /* Leftmost */
}
.filter-field-apply-btn,
.filter-field-applied-btn {
  order: 2;
  /* Middle */
}
/* Common styles for filter field buttons */
.filter-field-clear-btn,
.filter-field-apply-btn {
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  position: relative;
  transition: background-color 0.2s ease;
}
.filter-field-clear-btn:hover,
.filter-field-apply-btn:hover {
  background-color: var(--ice-grey);
}
.filter-field-clear-btn.show,
.filter-field-apply-btn.show {
  display: flex;
}
/* Clear Button (X) - shown when value selected but not applied */
.filter-field-clear-btn::before,
.filter-field-clear-btn::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 1.5px;
  background-color: var(--stone-grey);
  border-radius: 1px;
}
.filter-field-clear-btn::before {
  transform: rotate(45deg);
}
.filter-field-clear-btn::after {
  transform: rotate(-45deg);
}
.filter-field-clear-btn:hover::before,
.filter-field-clear-btn:hover::after {
  background-color: var(--primary);
}
/* Apply Button (Green Tick) - shown when value selected but not applied */
.filter-field-apply-btn {
  margin-bottom: 2px;
}
.filter-field-apply-btn::before {
  content: '';
  width: 8px;
  height: 4px;
  border: 1.5px solid #22c55e;
  /* Green color */
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  position: absolute;
}
.filter-field-apply-btn:hover::before {
  border-color: var(--primary);
}
/* Applied Button (Green Circle with White Tick) - shown when value is applied */
.filter-field-applied-btn {
  width: 18px;
  height: 18px;
  border: none;
  background: var(--primary);
  cursor: default;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  position: relative;
  pointer-events: auto;
  /* Allow hover for tooltip, but no click handler attached */
}
.filter-field-applied-btn.show {
  display: flex;
}
.filter-field-applied-btn::before {
  content: '';
  width: 8px;
  height: 4px;
  border: 1.5px solid #ffffff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  position: absolute;
  margin-bottom: 2px;
}
/* Tooltip wrapper - will be added via JavaScript */
.filter-field-button-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background-color: #333333;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  margin-bottom: 4px;
  z-index: 10000;
}
.filter-field-button-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #333333;
}
.filter-field-clear-btn:hover .filter-field-button-tooltip,
.filter-field-apply-btn:hover .filter-field-button-tooltip,
.filter-field-applied-btn:hover .filter-field-button-tooltip {
  opacity: 1;
}
/* Legacy support - keep old class for backward compatibility */
.filter-clear-btn {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.filter-clear-btn:hover {
  background-color: var(--ice-grey);
}
.filter-clear-btn.show {
  display: flex;
}
.filter-clear-btn::before,
.filter-clear-btn::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 1.5px;
  background-color: var(--stone-grey);
  border-radius: 1px;
}
.filter-clear-btn::before {
  transform: rotate(45deg);
}
.filter-clear-btn::after {
  transform: rotate(-45deg);
}
.filter-clear-btn:hover::before,
.filter-clear-btn:hover::after {
  background-color: var(--primary);
}
/* For field-specific customization, target by unique ID (e.g., #disty_filterPackageSelect) */
.filter-dropdown:hover {
  border-color: var(--primary);
}
.filter-dropdown:focus {
  outline: none;
  border-color: var(--primary);
}
.filter-dropdown:disabled {
  background: var(--ice-grey);
  cursor: not-allowed;
  opacity: 0.6;
}
/* Generic dropdown menu - add 'disty_filter-menu' class to menu div */
.filter-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid #edf0f6;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}
.filter-dropdown-menu.show {
  display: block;
}
/* Generic dropdown menu items */
.filter-dropdown-item {
  padding: 5px 10px;
  font-size: 12px;
  color: var(--onyx-grey);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-dropdown-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.filter-dropdown-item:last-child {
  border-bottom: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
.filter-dropdown-item:hover {
  background-color: var(--primary-soft);
  color: var(--primary);
}
.filter-dropdown-item.selected {
  background-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 500;
}
.filter-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}
.filter-dropdown-menu::-webkit-scrollbar-track {
  background: var(--ice-grey);
  border-radius: 3px;
}
.filter-dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--cloud-grey);
  border-radius: 3px;
}
.filter-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--rain-grey);
}
.manufacturer-main-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.manufacturer-banner {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  padding: 24px 26px 22px 26px;
  background: linear-gradient(135deg, var(--primary) 0%, #1976d2 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  z-index: 1;
}
.manufacturer-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.22) 0, transparent 52%), radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.15) 0, transparent 55%), linear-gradient(135deg, rgba(15, 23, 42, 0.25), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}
.manufacturer-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: visible;
}
.manufacturer-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.35);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5edff;
}
.manufacturer-banner-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
}
.manufacturer-banner-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 6px;
}
.manufacturer-banner-subtitle {
  font-size: 14px;
  max-width: 520px;
  color: #e4ecff;
}
.manufacturer-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 11px;
}
.manufacturer-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.65);
}
.manufacturer-banner-stat {
  font-weight: 600;
}
.manufacturer-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 210px;
  position: relative;
  overflow: visible;
}
.manufacturer-banner-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.manufacturer-banner-cta-primary,
.manufacturer-banner-cta-secondary {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.manufacturer-banner-cta-primary {
  background: #ffffff;
  color: #0f172a;
}
.manufacturer-banner-cta-primary:hover {
  background: #e5e7eb;
}
.manufacturer-banner-cta-secondary {
  background: transparent;
  color: #e5edff;
  border: 1px solid rgba(191, 219, 254, 0.7);
}
.manufacturer-banner-cta-secondary:hover {
  background: rgba(15, 23, 42, 0.35);
}
/* Featured Products Section */
.manufacturer-featured-products {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--outline-grey);
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
}
.manufacturer-featured-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}
.manufacturer-featured-header-top {
  display: flex;
  flex-direction: column;
}
.manufacturer-featured-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #2f333a;
}
.manufacturer-featured-header p {
  font-size: 12px;
  color: var(--stone-grey);
  margin: 0;
}
/* Hide mobile hint on desktop */
.manufacturer-featured-mobile-hint {
  display: none;
}
.manufacturer-featured-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.manufacturer-featured-parameters-group {
  display: flex;
}
/* Hide manufacturer-featured-parameters-group on mobile */
.manufacturer-featured-parameters-group-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.manufacturer-featured-show-parameters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.manufacturer-featured-show-parameters:hover {
  background: #f3f6ff;
}
.manufacturer-featured-reset-parameters {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 4px;
}
.manufacturer-featured-reset-parameters:hover {
  background: #f3f6ff;
}
.manufacturer-featured-reset-parameters svg {
  width: 16px;
  height: 16px;
}
.manufacturer-featured-create-rfq {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}
.manufacturer-featured-create-rfq:hover {
  background: #1976d2;
}
/* Disabled state - lighter primary color */
.manufacturer-featured-create-rfq.no-selection {
  background: var(--primary-soft);
  color: var(--primary-dark);
  cursor: not-allowed;
}
.manufacturer-featured-create-rfq.no-selection:hover {
  background: var(--primary-soft);
}
/* Tooltip for disabled button - styles consolidated above */
.manufacturer-products-table-container {
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid var(--outline-grey);
  overflow-x: auto;
  overflow-y: hidden;
  background: #ffffff;
}
/* Show scrollbar to indicate scrollable content */
.manufacturer-products-table-container::-webkit-scrollbar {
  height: 8px;
}
.manufacturer-products-table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.manufacturer-products-table-container::-webkit-scrollbar-thumb {
  background: #888888;
  border-radius: 4px;
}
.manufacturer-products-table-container::-webkit-scrollbar-thumb:hover {
  background: #555555;
}
.manufacturer-products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.manufacturer-products-table thead {
  background: #f3f6ff;
}
.manufacturer-products-table th,
.manufacturer-products-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #edf0f6;
  vertical-align: top;
}
.manufacturer-products-table th {
  vertical-align: middle;
}
.manufacturer-products-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--stone-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #dee4f0;
  white-space: nowrap;
  cursor: default;
}
.manufacturer-products-table th.disty_sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 24px;
}
.manufacturer-products-table th.disty_sortable:hover {
  background: #e8edff;
}
.manufacturer-products-table th.disty_sortable span:first-child {
  display: inline-block;
}
.disty_sort-indicator {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 10px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
/* Show double arrow indicator by default for sortable columns */
.manufacturer-products-table th.disty_sortable .disty_sort-indicator::before,
.manufacturer-products-table th.disty_sortable .disty_sort-indicator::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}
.manufacturer-products-table th.disty_sortable .disty_sort-indicator::before {
  top: 0;
  border-bottom: 4px solid var(--stone-grey);
  border-top: none;
}
.manufacturer-products-table th.disty_sortable .disty_sort-indicator::after {
  bottom: 0;
  border-top: 4px solid var(--stone-grey);
  border-bottom: none;
}
.manufacturer-products-table th.disty_sortable:hover .disty_sort-indicator {
  opacity: 0.8;
}
/* Active sort - show single arrow */
.manufacturer-products-table th.disty_sortable[data-sort-direction="asc"] .disty_sort-indicator {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--primary);
  border-top: none;
  opacity: 1;
}
.manufacturer-products-table th.disty_sortable[data-sort-direction="asc"] .disty_sort-indicator::before,
.manufacturer-products-table th.disty_sortable[data-sort-direction="asc"] .disty_sort-indicator::after {
  display: none;
}
.manufacturer-products-table th.disty_sortable[data-sort-direction="desc"] .disty_sort-indicator {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--primary);
  border-bottom: none;
  opacity: 1;
}
.manufacturer-products-table th.disty_sortable[data-sort-direction="desc"] .disty_sort-indicator::before,
.manufacturer-products-table th.disty_sortable[data-sort-direction="desc"] .disty_sort-indicator::after {
  display: none;
}
.manufacturer-products-table tbody tr:hover {
  background: #f8faff;
}
/* Highlight selected rows with darker background */
.manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) {
  background: #e3ebff;
}
/* Ensure selected rows are darker than hover */
.manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked):hover {
  background: #d4e0ff;
}
/* Make icon backgrounds transparent in selected rows */
.manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) .manufacturer-product-icon-link,
.manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) .manufacturer-product-icon-rohs,
.manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) .manufacturer-product-icon-pdf {
  background: transparent;
}
.manufacturer-product-col-select {
  width: 34px;
}
.manufacturer-product-col-part {
  min-width: 230px;
}
.manufacturer-product-col-stock {
  width: 150px;
  min-width: 150px;
  text-align: right !important;
  white-space: nowrap;
}
.manufacturer-products-table td.manufacturer-product-col-stock {
  white-space: nowrap;
}
.manufacturer-product-col-pricing {
  min-width: 180px;
  text-align: right !important;
}
.disty-product-row-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.manufacturer-product-icons {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
  padding-left: 4px;
}
.manufacturer-product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.manufacturer-product-icon-pdf {
  background: #ffffff;
  color: #b91c1c;
  position: relative;
}
.manufacturer-product-icon-rohs {
  background: #ffffff;
  color: #10b981;
  position: relative;
}
.manufacturer-product-icon-link {
  background: transparent;
  position: relative;
}
.manufacturer-product-icon-link:hover svg rect {
  fill: #1976d2;
}
.manufacturer-product-icon-link svg {
  width: 14px;
  height: 14px;
  display: block;
}
.manufacturer-product-icon i {
  font-size: 16px;
}
.manufacturer-product-icon-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #1f2937;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  margin-bottom: 6px;
  pointer-events: none;
}
.manufacturer-product-icon-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1f2937;
}
.manufacturer-product-icon-link:hover .manufacturer-product-icon-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.manufacturer-product-icon-rohs:hover .manufacturer-product-icon-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.manufacturer-product-icon-pdf:hover .manufacturer-product-icon-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.manufacturer-product-info {
  flex: 1;
  min-width: 0;
}
.manufacturer-product-number-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 2px;
  white-space: nowrap;
}
.manufacturer-product-number {
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.manufacturer-product-number:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.manufacturer-product-mfr-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  align-items: baseline;
}
.manufacturer-product-mfr-name {
  font-size: 11px;
  font-weight: 400;
  padding: 0 5px;
  border: 1px solid #10b981;
  border-radius: 9px;
  background: #d1fae5;
  color: #065f46;
  display: inline-block;
}
.manufacturer-product-datasheet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--primary-dark);
  font-size: 11px;
  flex-shrink: 0;
}
.manufacturer-product-datasheet-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.manufacturer-product-datasheet-icon svg {
  width: 100%;
  height: 100%;
}
.manufacturer-product-datasheet-text {
  font-size: 11px;
  color: var(--primary-dark);
}
.manufacturer-product-manufacturer-path {
  font-size: 11px;
  color: var(--stone-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.manufacturer-product-manufacturer-path span {
  color: var(--primary-dark);
}
.manufacturer-product-desc {
  font-size: 11px;
  color: var(--stone-grey);
  margin-top: 4px;
}
.manufacturer-product-stock-out {
  color: #3b3b3b;
  font-weight: 600;
}
.manufacturer-product-stock-qty {
  font-weight: 600;
}
.manufacturer-product-nostock-rfq {
  font-size: 11px;
  color: var(--stone-grey);
  margin-top: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.manufacturer-product-stock-meta-wrapper {
  font-size: 11px;
  color: var(--stone-grey);
  margin-top: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.manufacturer-product-stock-meta-wrapper.has-tooltip {
  cursor: pointer;
}
.manufacturer-product-stock-meta-wrapper.has-tooltip::after {
  content: "i";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background: #eef2ff;
  color: #4f46e5;
  flex-shrink: 0;
}
.manufacturer-product-distributor-tooltip {
  position: absolute;
  top: 70%;
  right: 0;
  min-width: 300px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--outline-grey);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 1000;
}
.manufacturer-product-stock-meta-wrapper.has-tooltip:hover .manufacturer-product-distributor-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.manufacturer-product-distributor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.manufacturer-product-distributor-table th {
  text-align: left;
  font-weight: 600;
  color: var(--stone-grey);
  padding: 4px;
  border-bottom: 1px solid var(--outline-grey);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.manufacturer-product-distributor-table td {
  padding: 4px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--onyx-grey);
  text-align: left;
}
.manufacturer-product-distributor-table tr:last-child td {
  border-bottom: none;
}
.manufacturer-product-distributor-name {
  font-weight: 500;
}
.manufacturer-product-distributor-stock,
.manufacturer-product-distributor-moq,
.manufacturer-product-distributor-country {
  color: var(--stone-grey);
  text-align: right;
}
.manufacturer-product-distributor-stock-out {
  color: #3b3b3b;
  font-size: 10px;
  font-weight: 500;
}
.manufacturer-product-price-main {
  font-weight: 600;
}
.manufacturer-product-price-main-mobile {
  display: none;
}
.manufacturer-product-price-meta {
  font-size: 11px;
  color: var(--stone-grey);
}
.manufacturer-product-price-actions {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
/* Hide mobile stock quantity on desktop */
.manufacturer-product-stock-qty-mobile {
  display: none;
}
.btn-manufacturer-product-line {
  border-radius: 9px;
  border: 1px solid var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  padding: 3px 6px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.btn-manufacturer-product-line:hover,
.btn-manufacturer-product-line:active,
.btn-manufacturer-product-line:focus {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.manufacturer-products-table tbody tr:last-child td {
  border-bottom: none;
}
/* Parameters Modal */
.disty_parameters-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
}
.disty_parameters-modal.is-open {
  display: flex;
}
.disty_parameters-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
.disty_parameters-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
}
.disty_parameters-modal-header {
  padding: 10px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.disty_parameters-modal-header h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #2f333a;
  margin: 0;
}
.disty_parameters-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.disty_parameters-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  color: #666666;
  display: flex;
  align-items: center;
  justify-content: center;
}
.disty_parameters-modal-close:hover {
  background: #f8f9fa;
}
.disty_parameters-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.disty_parameters-checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.disty_parameters-checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.disty_parameters-checkbox-item:hover {
  background: #f8f9fa;
}
.disty_parameters-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.disty_parameters-checkbox-item label {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #2f333a;
  cursor: pointer;
  flex: 1;
}
@media (max-width: 1024px) {
  .filter-manufacturer-path-expanded {
    padding-top: 10px;
  }
  .disty_parameters-checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .disty_parameters-checkbox-group {
    grid-template-columns: 1fr;
  }
}
.disty_parameters-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #cccccc;
  white-space: nowrap;
}
.disty_parameters-btn-secondary {
  background: #f8f9fa;
  color: #666666;
}
.disty_parameters-btn-secondary:hover {
  background: #e9ecef;
}
.disty_parameters-btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.disty_parameters-btn-primary:hover {
  background: #1976d2;
}
.manufacturer-products-view-more-container {
  text-align: center;
  margin-bottom: 15px;
}
.manufacturer-products-view-more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 6px 20px;
  border-radius: 6px;
  border: 1px solid var(--primary);
  background: transparent;
  transition: all 0.3s ease;
}
.manufacturer-products-view-more-link:hover {
  background: var(--primary);
  color: #ffffff;
}
/* Accordion Categories */
.categories-accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manufacturer-item {
  border-bottom: 1px solid #e9ecef;
}
.manufacturer-item:last-child {
  border-bottom: none;
}
.manufacturer-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--onyx-grey);
  flex: 1;
}
.manufacturer-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.manufacturer-item.expanded .manufacturer-toggle {
  transform: rotate(45deg);
}
.manufacturer-children {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 20px;
}
.manufacturer-item.expanded .manufacturer-children {
  max-height: 2000px;
  padding-bottom: 10px;
}
.manufacturer-child-list {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
  padding: 10px 0 0;
}
.manufacturer-child-item {
  padding: 8px 0;
}
.manufacturer-child-link {
  font-size: 14px;
  color: var(--slate-grey);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.manufacturer-child-link:hover {
  color: var(--primary);
}
/* Manufacturers and Distributors Lists */
.manufacturers-list,
.distributors-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manufacturer-item,
.distributor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}
.manufacturer-item:last-child,
.distributor-item:last-child {
  border-bottom: none;
}
.manufacturer-name,
.distributor-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--onyx-grey);
}
.manufacturer-link,
.distributor-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.manufacturer-link:hover,
.distributor-link:hover {
  color: var(--primary);
}
.product-count {
  font-size: 14px;
  color: var(--rain-grey);
  margin-left: 15px;
}
/* Mobile Filter Button - Hidden on desktop */
.mobile-filter-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 10px;
}
.mobile-filter-button:hover {
  background: var(--primary-soft);
  border-color: var(--primary-dark);
}
.mobile-filter-button.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.mobile-filter-button.active:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.mobile-filter-button svg {
  width: 18px;
  height: 18px;
}
.mobile-filter-button-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
}
.mobile-filter-button.active .mobile-filter-button-count {
  display: flex;
}
/* Mobile Filter Modal - Hidden on desktop */
.mobile-filter-modal-overlay,
.mobile-filter-modal {
  display: none;
}
@media (max-width: 900px) {
  .manufacturer-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .manufacturer-main-column {
    width: 100%;
    min-width: 0;
  }
  .filter-sidebar {
    display: none;
  }
  .mobile-filter-button {
    display: flex;
  }
  .mobile-filter-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-filter-modal-count {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
  }
  .mobile-filter-modal-title.has-filters .mobile-filter-modal-count {
    display: flex;
  }
  /* Mobile Filter Modal - Show on mobile */
  .mobile-filter-modal-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .mobile-filter-modal-overlay.show {
    opacity: 1;
    visibility: visible;
  }
  .mobile-filter-modal {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 0;
    z-index: 99999;
    height: 100vh;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .mobile-filter-modal.show {
    transform: translateY(0);
  }
  .mobile-filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ice-grey);
    flex-shrink: 0;
  }
  .mobile-filter-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
  }
  .mobile-filter-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-filter-modal-clear-all-btn {
    background: transparent;
    border: 1px solid var(--stone-grey);
    color: var(--stone-grey);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .mobile-filter-modal-clear-all-btn:hover:not(:disabled) {
    background-color: var(--ice-grey);
    border-color: var(--primary);
    color: var(--primary);
  }
  .mobile-filter-modal-clear-all-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
  }
  .mobile-filter-modal-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--onyx-grey);
    transition: color 0.2s ease;
  }
  .mobile-filter-modal-close:hover {
    color: var(--primary);
  }
  .mobile-filter-modal-close svg {
    width: 24px;
    height: 24px;
  }
  .mobile-filter-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-filter-modal-content .filter-sidebar-content {
    padding: 15px 20px;
  }
  /* Ensure dropdown menus appear above modal content */
  .mobile-filter-modal .filter-dropdown-menu {
    z-index: 100001;
  }
  .mobile-filter-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--ice-grey);
    background: #ffffff;
    position: sticky;
    bottom: 0;
    z-index: 10;
    flex-shrink: 0;
  }
  .mobile-filter-modal-footer .filter-btn-clear,
  .mobile-filter-modal-footer .filter-btn-apply {
    flex: 1;
    margin: 0;
  }
}
@media (max-width: 768px) {
  .manufacturer-featured-parameters-group {
    display: none;
  }
  .manufacturer-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .manufacturer-banner {
    padding: 18px 16px 16px 16px;
  }
  .manufacturer-banner-title {
    font-size: 22px;
  }
  .manufacturer-banner-top {
    flex-direction: column;
    align-items: stretch;
  }
  .manufacturer-banner-right {
    align-items: flex-start;
    display: none;
  }
  .manufacturer-featured-products {
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    gap: 10px;
  }
  /* Hide manufacturer and distributor count pills in mobile */
  .manufacturer-banner-meta .manufacturer-banner-pill:nth-child(2),
  .manufacturer-banner-meta .manufacturer-banner-pill:nth-child(3) {
    display: none;
  }
  /* Hide section subtitle in mobile */
  #disty_sectionSubtitle {
    display: none;
  }
  /* Show mobile hint in mobile view */
  .manufacturer-featured-mobile-hint {
    display: block;
    font-size: 12px;
    color: var(--stone-grey);
    margin-top: 4px;
    margin-bottom: 0;
  }
  /* Hide featured products description in mobile view */
  #disty_featuredProductsDescription {
    display: none;
  }
  /* Flip order of stock and pricing columns in mobile */
  .manufacturer-products-table {
    table-layout: fixed;
    width: 100%;
  }
  .manufacturer-products-table thead tr,
  .manufacturer-products-table tbody tr {
    display: table-row;
  }
  /* Remove tap highlight flash and ensure immediate color change */
  .manufacturer-products-table tbody tr {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    transition: none;
  }
  /* Highlight selected rows in mobile - no transition for instant color */
  .manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) {
    background: #e3ebff !important;
    transition: none;
  }
  .manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked):hover,
  .manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked):active {
    background: #d4e0ff !important;
    transition: none;
  }
  /* Allow text selection in links and buttons */
  .manufacturer-products-table tbody tr a,
  .manufacturer-products-table tbody tr button {
    user-select: text;
    -webkit-touch-callout: default;
  }
  /* Make icon backgrounds transparent in selected rows (mobile) */
  .manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) .manufacturer-product-icon-rohs,
  .manufacturer-products-table tbody tr:has(input[type="checkbox"]:checked) .manufacturer-product-icon-pdf {
    background: transparent !important;
  }
  /* Hide stock column in mobile view */
  /* Hide attribute columns on mobile, keep only Part, Stock, and Pricing */
  .manufacturer-product-col-stock {
    display: none;
  }
  /* Hide all dynamic field columns on mobile (columns with data-field-id attribute) */
  .manufacturer-products-table th[data-field-id],
  .manufacturer-products-table td[data-field-id] {
    display: none;
  }
  /* Hide pricing column sort indicator on mobile */
  .manufacturer-product-col-pricing .disty_sort-indicator {
    display: none;
  }
  /* Remove padding-right from sortable columns on mobile */
  .manufacturer-products-table th.disty_sortable {
    padding-right: 10px;
  }
  .manufacturer-product-col-pricing {
    order: 3;
  }
  /* Adjust column widths to show pricing/RFQ in first scroll */
  .manufacturer-product-col-select {
    display: none;
    /* Hide checkbox column in mobile */
  }
  /* Make rows clickable in mobile */
  .manufacturer-products-table tbody tr {
    cursor: pointer;
  }
  .manufacturer-product-col-part {
    width: 70%;
    min-width: 0;
  }
  .manufacturer-product-col-pricing {
    width: 30%;
    min-width: 0;
  }
  .manufacturer-product-col-stock {
    width: 250px;
    min-width: 250px;
    flex: 0 0 250px;
    max-width: 250px;
  }
  /* Make qty box above RFQ button in pricing column */
  .manufacturer-product-price-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .btn-manufacturer-product-line {
    width: 100%;
    max-width: 100%;
  }
  /* Show stock quantity below price in mobile view */
  .manufacturer-product-stock-qty-mobile {
    display: block;
    margin-top: 4px;
  }
  .manufacturer-product-stock-qty-mobile-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
  }
  .manufacturer-product-stock-qty-mobile .manufacturer-product-stock-qty {
    font-weight: 600;
  }
  .manufacturer-product-stock-qty-mobile .manufacturer-product-stock-out {
    color: #3b3b3b;
    font-weight: 600;
  }
  .manufacturer-product-nostock-rfq,
  .manufacturer-product-price-main.zero-stock-price,
  .manufacturer-product-stock-out.hide-on-mobile {
    display: none;
  }
  .manufacturer-product-price-main.zero-stock-price + .manufacturer-product-price-main-mobile {
    display: block;
    font-weight: 600;
  }
  /* Mobile tooltip icon wrapper */
  .manufacturer-product-stock-meta-wrapper-mobile {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
  }
  .manufacturer-product-stock-meta-wrapper-mobile.has-tooltip::after {
    content: "i";
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid #cbd5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: #eef2ff;
    color: #4f46e5;
    flex-shrink: 0;
  }
  .manufacturer-product-stock-meta-wrapper-mobile .manufacturer-product-distributor-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 300px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--outline-grey);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    z-index: 1000;
  }
  .manufacturer-product-stock-meta-wrapper-mobile.has-tooltip:hover .manufacturer-product-distributor-tooltip,
  .manufacturer-product-stock-meta-wrapper-mobile.has-tooltip:active .manufacturer-product-distributor-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  /* Parts in this segment section mobile layout */
  .manufacturer-featured-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .manufacturer-featured-header-top {
    flex: 1;
    min-width: 0;
  }
  .manufacturer-featured-header-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    gap: 8px;
  }
  .manufacturer-featured-create-rfq {
    flex-shrink: 0;
    font-size: 12px;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .manufacturer-products-table th,
  .manufacturer-products-table td {
    padding: 5px;
  }
  /* Mobile breadcrumb - horizontal scrollable */
  .manufacturer-breadcrumb {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    margin-bottom: 0;
    padding-bottom: 4px;
  }
  .manufacturer-breadcrumb::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }
  .manufacturer-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--stone-grey);
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: max-content;
  }
  .manufacturer-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .manufacturer-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 6px;
    color: var(--stone-grey);
    flex-shrink: 0;
  }
  .manufacturer-breadcrumb a,
  .manufacturer-breadcrumb span {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .filter-sidebar-header {
    padding: 12px 15px;
  }
  .filter-sidebar-content {
    padding: 10px 15px;
  }
  .filter-sidebar-footer {
    padding: 10px 15px;
  }
  .filter-manufacturer-path-toggle {
    padding: 6px 10px;
    font-size: 11px;
  }
  .filter-manufacturer-path-level {
    margin-bottom: 10px;
  }
  .filter-row {
    margin-bottom: 10px;
  }
  .disty_parameters-modal-content {
    width: 95%;
    max-height: 90vh;
  }
  .disty_parameters-modal-header,
  .disty_parameters-modal-body {
    padding: 20px;
  }
  .disty_parameters-modal-header-actions {
    gap: 8px;
  }
  .disty_parameters-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  .manufacturer-main-container {
    flex-direction: column;
    min-height: auto;
  }
  .manufacturer-categories-sidebar {
    flex: 1;
    width: 100%;
  }
  .manufacturer-banner-section {
    width: 100%;
  }
  .manufacturer-banner-section .hero-seo-section {
    min-height: 300px;
  }
  .manufacturer-banner-section .hero-seo-content {
    padding: 30px 20px;
  }
  .manufacturer-banner-section .hero-seo-title {
    font-size: 28px;
    margin: 0 0 20px 0;
  }
  .manufacturer-banner-section .hero-seo-subtitle {
    font-size: 16px;
  }
  .manufacturer-data-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  .manufacturer-section-title {
    font-size: 24px;
  }
  .manufacturer-child-list {
    grid-template-columns: 1fr;
  }
}
.manufacturer-products-pagination {
  margin-top: 8px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.manufacturer-products-pagination .manufacturer-pagination-info {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 10px;
}
.manufacturer-products-pagination .manufacturer-pagination-nav {
  width: 100%;
}
.manufacturer-products-pagination .manufacturer-pagination-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.manufacturer-products-pagination .manufacturer-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 3px 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
}
.manufacturer-products-pagination .manufacturer-pagination-link:hover:not(.manufacturer-pagination-disabled) {
  background-color: var(--primary, #0066cc);
  border-color: var(--primary, #0066cc);
  color: #fff;
}
.manufacturer-products-pagination .manufacturer-pagination-link:focus {
  outline: 2px solid var(--primary, #0066cc);
  outline-offset: 2px;
}
.manufacturer-products-pagination .manufacturer-pagination-link.manufacturer-pagination-current {
  background-color: var(--primary, #0066cc);
  color: #fff;
  border-color: var(--primary, #0066cc);
  border-width: 2px;
  font-weight: 700;
  cursor: default;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
  pointer-events: none;
}
.manufacturer-products-pagination .manufacturer-pagination-link-text {
  margin: 0 4px;
  display: inline;
}
.manufacturer-products-pagination .manufacturer-pagination-prev,
.manufacturer-products-pagination .manufacturer-pagination-next {
  gap: 4px;
}
.manufacturer-products-pagination .manufacturer-pagination-prev svg,
.manufacturer-products-pagination .manufacturer-pagination-next svg {
  flex-shrink: 0;
}
.manufacturer-products-pagination .manufacturer-pagination-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.manufacturer-products-pagination .manufacturer-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 3px 6px;
  font-size: 14px;
  color: #666;
}
@media (max-width: 768px) {
  .manufacturer-products-pagination {
    margin-top: 20px;
    padding: 10px 0;
  }
  .manufacturer-products-pagination .manufacturer-pagination-info {
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .manufacturer-products-pagination .manufacturer-pagination-list {
    gap: 4px;
  }
  .manufacturer-products-pagination .manufacturer-pagination-link,
  .manufacturer-products-pagination .manufacturer-pagination-ellipsis {
    min-width: 36px;
    height: 36px;
    padding: 3px 6px;
    font-size: 13px;
  }
  .manufacturer-products-pagination .manufacturer-pagination-link-text {
    display: none;
  }
  .manufacturer-products-pagination .manufacturer-pagination-prev svg,
  .manufacturer-products-pagination .manufacturer-pagination-next svg {
    margin: 0;
  }
}
/* Desktop Header */
.desktop-header {
  margin: 0;
  padding: 0;
}
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 99999;
}
/* Main Header */
.main-header {
  align-items: center;
  background: #f5f6f7;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  height: 90px;
  justify-content: space-between;
  margin-left: calc(-50vw + 50%);
  position: sticky;
  width: 100vw;
  z-index: 99999;
  /* Below overlay */
}
.main-header .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}
.logo {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  padding-right: 65px;
}
.logo img {
  height: 40px;
  width: auto;
}
/* Mobile Header */
.mobile-header {
  background: var(--white);
  box-shadow: none;
  display: none;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0;
  transition: box-shadow 0.3s ease;
  width: 100%;
  z-index: 1003;
}
.mobile-main-header {
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  width: 100%;
}
.mobile-main-header .container {
  display: flex;
  flex-direction: column;
}
.mobile-header-content {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 10px 0 5px 0;
}
@media (max-width: 768px) {
  body.stick-header .mobile-main-header {
    position: fixed;
    top: 0;
  }
  body.stick-header .mobile-main-header .container {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }
  body.stick-header .mobile-header-content {
    flex-shrink: 0;
    padding: 0;
  }
  body.stick-header .mobile-search-container {
    flex: 1;
    padding: 0;
  }
  body.stick-header .mobile-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: block;
  }
  body.stick-header .mobile-header .mobile-header-content {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0 5px 0;
  }
  body.stick-header .mobile-header .logo {
    display: none;
  }
  body.stick-header .mobile-header .mobile-logo-icon {
    display: flex;
  }
}
/* Remove logo padding-right for mobile to center it properly */
.mobile-header .logo {
  padding-right: 0;
}
/* Logo icon - hidden by default */
.mobile-header .mobile-logo-icon {
  align-items: center;
  display: none;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.mobile-header .mobile-logo-icon img {
  height: 40px;
  object-fit: contain;
  width: 40px;
}
.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  background: #2f333a;
  height: 3px;
  transition: 0.3s;
  width: 25px;
}
.mobile-menu {
  background: var(--white);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  height: 100vh;
  left: -100%;
  max-width: 320px;
  overflow-y: auto;
  padding: 0;
  position: fixed;
  top: 0;
  transition: left 0.3s ease-in-out;
  width: 85%;
  z-index: 1001;
}
.mobile-menu.active {
  left: 0;
}
.mobile-menu-header {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 20px;
}
.mobile-menu-logo img {
  height: 32px;
  width: auto;
}
.mobile-nav {
  flex: 1;
  padding: 0;
}
/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
}
/* Desktop Header and Main Header Container responsive adjustments */
@media (max-width: 1440px) {
  .main-header .container {
    /*padding: 0 60px;*/
  }
}
@media (max-width: 1024px) {
  .main-header .container {
    /*padding: 0 20px;*/
  }
}
@media (max-width: 768px) {
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: block;
  }
}
@media (max-width: 480px) {
  .main-header .container {
    /*padding: 0 10px;*/
  }
}
/* Search Container */
.search-container {
  align-items: center;
  background: #ffffff;
  border: 2px solid #44484f;
  border-radius: 8px;
  display: flex;
  flex: 1;
  overflow: visible;
  position: relative;
}
.search-input-wrapper {
  flex: 1;
  height: 48px;
  position: relative;
}
/* Search Input */
.search-input {
  background: transparent;
  border: none;
  color: #2f333adb;
  flex: 1;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  height: 48px;
  line-height: 24px;
  outline: none;
  padding: 0 24px;
  transition: all 0.3s ease;
  width: 100%;
}
.search-input::placeholder {
  color: #969696;
  transition: all 0.3s ease;
}
/* Search Suggestions */
.search-suggestions {
  backdrop-filter: blur(10px);
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
  border-top: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  left: 0;
  margin-top: 15px;
  max-height: 400px;
  opacity: 0;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  visibility: hidden;
  z-index: 99999;
}
/* Custom scrollbar for search suggestions */
.search-suggestions::-webkit-scrollbar {
  width: 1px;
}
.search-suggestions::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}
.search-suggestions::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.search-suggestions::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.search-suggestions.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  z-index: 100000;
}
/* Search Focus Dropdown */
.search-focus-dropdown {
  backdrop-filter: blur(10px);
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  left: 0;
  margin-top: 0;
  opacity: 0;
  padding: 12px;
  position: absolute;
  right: auto;
  top: calc(100% + 2px);
  transform: translateY(-8px);
  transition: all 0.2s ease;
  visibility: hidden;
  width: 100%;
  z-index: 99999;
}
.search-focus-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.search-dropdown-content-wrapper {
  display: flex;
  gap: 20px;
}
.search-dropdown-content-wrapper.no-results {
  display: block;
}
.search-dropdown-main-content {
  flex: 1;
  max-height: 80vh;
  overflow: auto;
  padding-right: 6px;
}
.search-dropdown-sidebar {
  flex-shrink: 0;
  width: 300px;
}
.search-dropdown-sidebar.no-results {
  width: 100%;
}
.search-dropdown-heading {
  color: #2f333a;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin: 0 0 20px 0;
  text-align: center;
}
@media (max-width: 1080px) {
  .search-dropdown-content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .search-dropdown-main-content {
    order: 1;
  }
  .search-dropdown-sidebar {
    order: 2;
    width: 100%;
  }
  .search-dropdown-content-wrapper.no-results .search-dropdown-sidebar {
    order: 1;
  }
  .search-dropdown-content-wrapper.no-results .search-dropdown-main-content {
    order: 2;
  }
}
@media (max-width: 768px) {
  .search-dropdown-heading {
    font-size: 18px;
    line-height: 22px;
  }
}
.search-dropdown-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}
.search-dropdown-sidebar .search-dropdown-grid {
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.search-dropdown-sidebar.no-results .search-dropdown-grid {
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}
.search-dropdown-item {
  align-items: center;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.search-dropdown-item:hover {
  background: #bbd1f080;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.search-dropdown-icon {
  align-items: center;
  background: #e9ecef;
  border-radius: 12px;
  color: #6c757d;
  display: flex;
  flex-shrink: 0;
  height: 45px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 45px;
}
.search-dropdown-icon svg {
  width: 20px;
  height: 20px;
}
.search-dropdown-item:hover .search-dropdown-icon {
  background: var(--primary);
  color: #ffffff;
}
.search-dropdown-content {
  flex: 1;
}
.search-dropdown-title {
  color: #2f333a;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  transition: all 0.3s ease;
}
.search-dropdown-item:hover .search-dropdown-title {
  color: var(--primary);
}
/* Manual RFQ Text Section */
.search-dropdown-manual-section {
  text-align: center;
}
.search-dropdown-manual-text {
  color: #666666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  text-align: center;
}
.search-dropdown-manual-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.search-dropdown-manual-link:hover {
  color: #1976d2;
  text-decoration: underline;
}
/* Suggestion Items */
.suggestion-item {
  align-items: center;
  border-bottom: 1px solid #f8f9fa;
  cursor: default;
  display: flex;
  min-height: 48px;
  padding: 2px 0 2px 12px;
  position: relative;
  transition: all 0.15s ease;
}
.suggestion-item::before {
  background: linear-gradient(90deg, var(--primary), #1976d2);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  transition: width 0.2s ease;
  width: 0;
}
.suggestion-item:hover::before {
  width: 3px;
}
.suggestion-item:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}
.suggestion-rfq-btn,
.suggestion-rfq-text {
  color: var(--primary);
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  position: absolute;
  right: 8px;
  text-decoration: none;
  top: 8px;
  transition: all 0.2s ease;
  z-index: 10;
}
.suggestion-rfq-btn:hover,
.suggestion-rfq-text:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.suggestion-item.selected {
  background: #e3f2fd !important;
  color: #1976d2;
}
.suggestion-item.selected::before {
  width: 3px;
}
.suggestion-item.selected:hover {
  background: #e3f2fd !important;
  transform: translateX(0);
}
.suggestion-item:hover:not(.selected) {
  background: #f8f9fa;
  transform: translateX(2px);
}
.suggestion-icon {
  align-items: center;
  color: #5f6368;
  display: flex;
  font-size: 16px;
  height: 20px;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.15s ease;
  width: 20px;
}
.suggestion-item:hover .suggestion-icon {
  color: #1976d2;
  transform: scale(1.05);
}
.suggestion-item.selected .suggestion-icon {
  color: #1976d2;
}
.suggestion-content {
  flex: 1;
}
.suggestion-title {
  color: #202124;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 2px;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.suggestion-title:hover {
  color: #1976d2;
  text-decoration: underline;
}
.suggestion-item:hover .suggestion-title {
  color: #1976d2;
}
.suggestion-item.selected .suggestion-title {
  color: #1976d2;
  font-weight: 500;
}
.suggestion-subtitle {
  color: #5f6368;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  transition: all 0.15s ease;
}
.suggestion-item:hover .suggestion-subtitle {
  color: #1976d2;
}
.suggestion-item.selected .suggestion-subtitle {
  color: #1976d2;
  opacity: 0.8;
}
/* Enhanced Search Dropdown Styles */
.suggestion-section {
  border-bottom: 1px solid #e0e0e0;
}
.suggestion-section:last-child {
  border-bottom: none;
}
.suggestion-section-title {
  background-color: #f8f9fa;
  color: #666666;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  justify-content: space-between;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  text-transform: uppercase;
}
.search-stats-inline {
  color: #888888;
  font-size: 9px;
  font-weight: 400;
}
.suggestion-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.suggestion-price {
  color: #1976d2;
  font-size: 12px;
  font-weight: 600;
}
.suggestion-stock {
  color: #4caf50;
  font-size: 11px;
  font-weight: 500;
}
.suggestion-stock.no-stock {
  color: var(--onyx-grey);
  font-weight: 600;
}
.suggestion-item .disty-image {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  height: 45px;
  margin-right: 12px;
  width: 45px;
}
.suggestion-item .disty-image img {
  object-fit: cover;
}
.suggestion-distributors {
  color: #666666;
  font-size: 11px;
  font-weight: 500;
}
/* Search Button */
.search-button {
  align-items: center;
  background: #2f333a;
  border: none;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  display: flex;
  height: 58px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 58px;
}
.search-button:hover {
  background: #1a1d23;
}
.search-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  font-size: 18px;
}
/* Search Loading Indicator */
.search-loading-indicator {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-height: 120px;
  padding: 40px 20px;
}
.search-loading-spinner {
  display: block;
  height: 40px;
  width: 40px;
}
.search-loading-spinner circle {
  transition: stroke 0.3s ease;
}
.search-loading-text {
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
/* Menu Bar Styles */
.admin-menu-links {
  align-items: center;
  display: flex;
  gap: 4px;
}
.auth-section {
  align-items: center;
  display: flex;
  gap: 8px;
}
.auth-divider {
  color: var(--rain-grey);
  font-size: 14px;
  margin: 0 4px;
}
.flymenu__section-title {
  align-items: flex-start;
  color: #2f333a;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: bold;
  height: 50px;
  justify-content: center;
  line-height: 16px;
  margin: 0 0 0 5px;
  position: relative;
  text-decoration: none;
  text-transform: initial;
  transition: all 0.3s ease;
}
.flymenu__section-title:hover {
  color: var(--primary);
}
.my-account-line-1,
.my-account-line-2 {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
}
/* Authentication state visibility - initially hidden until auth state is determined */
.show-authenticated,
.show-unauthenticated {
  display: none;
}
/* Show unauthenticated elements when user is not logged in */
body:not(.authenticated) .show-unauthenticated {
  display: flex;
  transition: opacity 0.3s ease-in-out;
}
/* Show authenticated elements when user is logged in */
body.authenticated .show-authenticated {
  display: flex;
  transition: opacity 0.3s ease-in-out;
}
/* Navigation Menu */
.menu-bar {
  align-items: center;
  background: #ffffff;
  box-shadow: none;
  display: flex;
  height: 47px;
  justify-content: space-between;
  margin-left: calc(-50vw + 50%);
  overflow: visible;
  position: sticky;
  top: 125px;
  width: 100vw;
  z-index: 1001;
}
.menu-bar .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  /*padding: 0 20px;*/
  width: 100%;
}
.main-menu {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: space-between;
}
.main-menu-left {
  align-items: center;
  display: flex;
  flex-direction: row;
}
.main-menu-right {
  align-items: center;
  display: flex;
}
.menu-item {
  align-items: center;
  display: flex;
  gap: 10px;
  position: relative;
}
.menu-link {
  align-items: center;
  color: #2f333a;
  display: inline-flex;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  gap: 2px;
  line-height: 19px;
  padding: 14px 8px;
  position: relative;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.main-menu:not(:has(.menu-item:hover)) .marketplace-menu .menu-link,
.marketplace-menu .menu-link:hover {
  background-color: var(--primary);
  color: #ffffff;
}
.menu-link:hover,
.menu-item:hover .menu-link {
  color: #f5f5f5;
  background-color: var(--primary);
}
.menu-item.active .menu-link {
  color: var(--primary);
  font-weight: 500;
}
.menu-arrow {
  align-items: center;
  display: flex;
  height: 16px;
  justify-content: center;
  width: 16px;
}
.menu-arrow-icon {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #2f333a;
  height: 0;
  transition: all 0.3s ease;
  width: 0;
}
.menu-item:hover .menu-arrow-icon {
  border-top-color: #ffffff;
}
/* Marketplace dropdown indicator */
.marketplace-dropdown-indicator {
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
  z-index: 10;
}
.marketplace-dropdown-indicator.show {
  display: block;
}
.marketplace-dropdown-indicator.hide {
  display: none;
}
.marketplace-triangle {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary);
  height: 0;
  width: 0;
}
.menu-dropdown {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  left: 0;
  min-width: 200px;
  position: absolute;
  top: 100%;
  transform: translateY(-10px);
  transition: transform 0.3s ease;
  z-index: 1000;
}
.menu-item:hover .menu-dropdown {
  display: block;
  transform: translateY(0);
}
.menu-dropdown-item {
  color: #2f333a;
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.menu-dropdown-item:hover {
  background: #f8f9fa;
  color: var(--primary);
}
.menu-item:hover .manufacturers-mega-menu,
.menu-item:hover .distributors-mega-menu {
  display: block;
  transform: translateY(0);
}
.mega-menu {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  display: none;
  left: 0;
  margin-top: 8px;
  max-width: 90vw;
  position: absolute;
  top: 100%;
  transform: translateY(-10px);
  transition: transform 0.5s ease;
  width: 1000px;
  z-index: 1005;
}
.menu-item:hover .mega-menu {
  display: block;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    gap: 15px;
  }
  .main-menu-left {
    gap: 20px;
  }
  /* Mega Menu Mobile Styles */
  .mega-menu {
    left: 0;
    max-height: 70vh;
    max-width: 100vw;
    overflow-y: auto;
    transform: translateY(-10px);
    width: 100%;
  }
  .menu-item:hover .mega-menu {
    transform: translateY(0);
  }
  .manufacturers-mega-menu,
  .distributors-mega-menu {
    left: 10px;
    max-width: calc(100vw - 20px);
    position: fixed;
    right: 10px;
    width: auto;
  }
  .mega-menu-container {
    flex-direction: column;
  }
  .mega-menu-left,
  .mega-menu-right {
    flex: 1;
  }
}
/* Manufacturers and Distributors Mega Menu Styles */
.manufacturers-mega-menu.show,
.distributors-mega-menu.show {
  display: block;
  transform: translateY(0);
}
.manufacturers-mega-menu.hide,
.distributors-mega-menu.hide {
  display: none;
  transform: translateY(-10px);
}
.manufacturers-mega-menu,
.distributors-mega-menu {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
  height: 380px;
  left: 0;
  overflow: hidden;
  position: fixed;
  top: 137px;
  transform: translateY(-10px);
  transition: transform 0.5s ease;
  width: 100vw;
  z-index: 99999;
  /* Much higher to ensure it's above everything */
}
.mega-menu-container {
  display: flex;
  height: 100%;
  margin: 0 auto;
}
.mega-menu-left {
  background: #ffffff;
  border-right: 1px solid #e0e0e0;
  flex: 0 0 55%;
  padding: 20px;
}
#disty_manufacturers_menu .mega-menu-right {
  background: #ffffff;
  display: flex;
  flex: 0 0 45%;
  flex-direction: column;
  justify-content: space-around;
  overflow-y: auto;
  padding: 15px;
}
#disty_distributors_mega .mega-menu-right {
  background: #ffffff;
  display: flex;
  flex: 0 0 45%;
  justify-content: space-around;
  overflow-y: auto;
  padding: 15px;
}
/* Manufacturers left section - 2 sections layout */
.manufacturers-mega-menu .mega-menu-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.mfr-top-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.mfr-bottom-section {
  display: flex;
  flex-direction: column;
}
.mfr-info-section.list-parts {
  width: 48.5%;
}
.mfr-info-section.stats-data {
  width: 48.5%;
}
.mfr-info-section.signup-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.content {
  display: block;
}
.actions {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.mfr-info-section {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.mfr-info-section svg {
  color: var(--primary);
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}
.mfr-info-section h3 {
  color: #191919;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.mfr-info-section p {
  color: #666666;
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
}
.mfr-action-btn {
  background: var(--primary);
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease;
}
.mfr-action-btn:hover {
  background: #1565c0;
}
/* Distributor banner and actions now in manufacturers right side */
.manufacturers-mega-menu .dist-banner {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  flex: 0 0 57%;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.manufacturers-mega-menu .dist-banner:hover {
  background: #1565c0;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  transform: translateY(-2px);
}
.manufacturers-mega-menu .dist-banner-content {
  color: white;
  padding: 20px;
  text-align: center;
}
.manufacturers-mega-menu .dist-banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.manufacturers-mega-menu .dist-banner-content p {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 15px 0;
}
.manufacturers-mega-menu .dist-banner-details {
  font-size: 12px;
  line-height: 1.4;
}
.manufacturers-mega-menu .dist-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.manufacturers-mega-menu .dist-actions p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}
.manufacturers-mega-menu .dist-action-btn {
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s ease;
}
.manufacturers-mega-menu .dist-action-btn:hover {
  background: #1565c0;
}
/* Distributors left section now shows distributors list */
.distributors-mega-menu .mega-menu-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.dist-banner {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  flex: 0 0 57%;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.dist-banner:hover {
  background: #1565c0;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  transform: translateY(-2px);
}
.dist-banner-content {
  color: white;
  padding: 20px;
  text-align: center;
}
.dist-banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}
.dist-banner-content p {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}
.dist-banner-details {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}
.dist-actions {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  flex: 0 0 40%;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  padding: 20px;
}
.dist-actions p {
  color: #666666;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}
.dist-action-btn {
  background: var(--primary);
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  transition: all 0.3s ease;
}
.dist-action-btn:hover {
  background: #1565c0;
}
/* Distributor banner and actions now in distributors right side */
.distributors-mega-menu .dist-banner {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  flex: 0 0 57%;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.distributors-mega-menu .dist-banner:hover {
  background: #1565c0;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
  transform: translateY(-2px);
}
.distributors-mega-menu .dist-banner-content {
  color: white;
  padding: 20px;
  text-align: center;
}
.distributors-mega-menu .dist-banner-content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.distributors-mega-menu .dist-banner-content p {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 15px 0;
}
.distributors-mega-menu .dist-banner-details {
  font-size: 12px;
  line-height: 1.4;
}
.distributors-mega-menu .dist-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.distributors-mega-menu .dist-actions p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}
.distributors-mega-menu .dist-action-btn {
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  transition: all 0.3s ease;
}
.distributors-mega-menu .dist-action-btn:hover {
  background: #1565c0;
}
/* Manufacturer info sections now in distributors right side */
.distributors-mega-menu .mfr-top-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
}
.distributors-mega-menu .mfr-bottom-section {
  display: flex;
  flex-direction: column;
}
.distributors-mega-menu .mfr-info-section {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.distributors-mega-menu .mfr-info-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.distributors-mega-menu .mfr-info-section.list-parts {
  width: 48.5%;
}
.distributors-mega-menu .mfr-info-section.stats-data {
  width: 48.5%;
}
.distributors-mega-menu .mfr-info-section.signup-section {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 25px;
}
.distributors-mega-menu .mfr-info-section svg {
  color: var(--primary);
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
}
.distributors-mega-menu .mfr-info-section h3 {
  color: #2f333a;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
}
.distributors-mega-menu .mfr-info-section p {
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.distributors-mega-menu .mfr-info-section .content {
  flex: 1;
}
.distributors-mega-menu .mfr-info-section .actions {
  display: flex;
  gap: 10px;
}
.distributors-mega-menu .mfr-action-btn {
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease;
}
.distributors-mega-menu .mfr-action-btn:hover {
  background: #1565c0;
}
/* Entity list styles (right side) */
.mega-menu-right h3 {
  color: #191919;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 0;
}
.manufacturer-lists-container,
.distributor-lists-container {
  margin-bottom: 10px;
}
.entity-list {
  column-count: 2;
  column-fill: auto;
  column-gap: 10px;
  list-style: none;
  margin: 0;
  max-height: 280px;
  padding: 0;
  overflow: hidden;
}
.entity-list-item {
  break-inside: avoid;
  margin-bottom: 4px;
  page-break-inside: avoid;
}
.entity-list-link {
  color: #191919;
  display: flex;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.entity-list-link:hover {
  color: var(--primary);
  padding-left: 2px;
}
.entity-count {
  color: #999999;
  float: right;
  font-size: 11px;
  padding-left: 5px;
  padding-top: 3px;
}
.view-all-links {
  display: flex;
  padding-top: 10px;
}
.view-all-links a {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 5px;
  padding-left: 10px;
  text-decoration: underline;
  text-transform: uppercase;
}
.view-all-links a:hover {
  color: #1565c0;
}
@media (min-width: 1440px) {
  .entity-list {
    column-count: 3;
  }
}
/* Mobile Search Container */
.mobile-search-container {
  background: transparent;
  overflow: visible;
  padding: 5px 0;
  position: relative;
  z-index: 1002;
}
.mobile-search-container .container {
  position: relative;
}
/* Mobile Search Container - Clean Background on Mobile */
@media (max-width: 768px) {
  .mobile-search-container {
    background: #ffffff;
  }
  .mobile-search-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
  }
  .mobile-search-input {
    color: #2f333a;
  }
  .mobile-search-input::placeholder {
    color: #6c757d;
  }
  .mobile-header .logo img {
    height: 35px;
  }
}
.mobile-search-box {
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #44484f;
  border-radius: 4px;
  display: flex;
  gap: 0;
  height: 48px;
  position: relative;
  z-index: 1000;
}
.mobile-search-input-wrapper {
  flex: 1;
  overflow: visible;
  position: relative;
}
@media (max-width: 768px) {
  .mobile-search-input-wrapper {
    overflow: visible;
  }
}
.mobile-search-input {
  background: transparent;
  border: none;
  color: #2f333adb;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  outline: none;
  padding: 0 50px 0 16px;
  transition: all 0.3s ease;
  width: 100%;
}
.mobile-search-input::placeholder {
  color: #969696;
  transition: all 0.3s ease;
}
.mobile-upload-icon {
  align-items: center;
  background: transparent;
  border: 1px dashed var(--primary);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 0 4px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.mobile-upload-icon:hover {
  background: #1976d2;
}
.mobile-upload-icon i {
  color: var(--primary);
  font-size: 12px;
}
.mobile-upload-icon span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 500;
}
.mobile-search-btn,
.mobile-edit-list-btn {
  align-items: center;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 8px 12px;
  transition: all 0.3s ease;
}
.mobile-search-btn:hover {
  opacity: 0.8;
}
.mobile-search-btn i {
  font-size: 16px;
}
.mobile-edit-list-btn {
  margin-left: 8px;
}
.mobile-edit-list-btn:hover {
  opacity: 0.8;
}
.mobile-edit-list-btn i {
  font-size: 16px;
}
/* Mobile Upload Drawer */
.mobile-upload-drawer {
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  bottom: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  left: 0;
  max-height: 80vh;
  overflow: hidden;
  position: fixed;
  right: 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100000;
}
.mobile-upload-drawer.show {
  transform: translateY(0);
}
.mobile-upload-drawer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mobile-upload-drawer-header {
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  padding: 24px 20px 16px 20px;
}
.mobile-upload-drawer-title {
  color: #2f333a;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
}
@media (max-width: 480px) {
  .mobile-upload-drawer-title {
    font-size: 18px;
    line-height: 22px;
  }
}
.mobile-upload-drawer-close {
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 8px;
  transition: background 0.3s ease;
}
.mobile-upload-drawer-close:hover {
  background: #f8f9fa;
}
.mobile-upload-drawer-close svg {
  color: #666666;
  width: 18px;
  height: 18px;
}
.mobile-upload-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
}
.mobile-upload-options {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 32px;
}
.mobile-upload-option {
  align-items: center;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
}
.mobile-upload-option:hover {
  background: #bbd1f080;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.mobile-upload-option-icon {
  align-items: center;
  background: #e9ecef;
  border-radius: 12px;
  color: #6c757d;
  display: flex;
  height: 25px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 25px;
}
.mobile-upload-option-icon svg {
  width: 15px;
  height: 15px;
}
.mobile-upload-option:hover .mobile-upload-option-icon {
  background: var(--primary);
  color: #ffffff;
}
.mobile-upload-option-title {
  color: #2f333a;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  margin: 0;
}
.mobile-upload-option:hover .mobile-upload-option-title {
  color: var(--primary);
}
.mobile-upload-manual-section {
  border-top: 1px solid #e0e0e0;
  margin-top: 8px;
  padding-top: 24px;
  text-align: center;
}
.mobile-upload-manual-text {
  color: #666666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  text-align: center;
}
.mobile-upload-manual-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.mobile-upload-manual-link:hover {
  color: #1976d2;
  text-decoration: underline;
}
.mobile-search-btn span {
  display: none;
}
.mobile-search-button:hover {
  background: #1a1d23;
}
.mobile-search-button .search-icon {
  color: #ffffff;
  font-size: 16px;
}
/* Mobile Search Overlay */
.mobile-search-overlay {
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.2s ease;
  visibility: hidden;
  z-index: 999;
}
.mobile-search-overlay.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
@media (max-width: 768px) {
  .mobile-search-overlay {
    /* Start overlay below header and search container */
    top: 130px;
  }
}
/* Mobile Search Focus Dropdown */
.mobile-search-focus-dropdown {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  left: 0;
  opacity: 0;
  padding: 16px;
  position: absolute;
  right: 0;
  top: calc(100% - 2px);
  transform: translateY(-8px);
  transition: all 0.2s ease;
  visibility: hidden;
  z-index: 10000;
}
.mobile-search-focus-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.mobile-search-focus-dropdown.has-results {
  padding: 0;
}
.mobile-search-dropdown-content-wrapper {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.mobile-search-dropdown-content-wrapper.no-results {
  display: block;
}
.mobile-search-dropdown-main-content {
  flex: 1;
  max-height: 0;
  min-height: 0;
  opacity: 0;
  order: 1;
  overflow: hidden;
  transition: opacity 0.3s ease 0.1s, max-height 0.3s ease 0.1s, margin 0.3s ease 0.1s;
}
.mobile-search-focus-dropdown.has-results .mobile-search-dropdown-main-content {
  margin-bottom: 0;
  max-height: 500px;
  opacity: 1;
}
.mobile-search-dropdown-sidebar {
  opacity: 1;
  order: 1;
  position: relative;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  width: 100%;
}
@media (max-width: 768px) {
  /* Make dropdown extend to full width matching search input */
  .mobile-search-box {
    overflow: visible;
    position: relative;
  }
  .mobile-search-input-wrapper {
    overflow: visible;
  }
}
.mobile-search-dropdown-sidebar.no-results {
  margin-top: 0;
  opacity: 1;
  order: 1;
  transform: translateY(0);
  width: 100%;
}
/* When there are results, sidebar slides down to bottom smoothly */
.mobile-search-focus-dropdown.has-results .mobile-search-dropdown-content-wrapper:not(.no-results) .mobile-search-dropdown-sidebar:not(.no-results) {
  margin-top: 0;
  opacity: 1;
  order: 2;
  transform: translateY(0);
}
/* When no results, sidebar stays at top */
.mobile-search-focus-dropdown:not(.has-results) .mobile-search-dropdown-sidebar.no-results,
.mobile-search-focus-dropdown.show:not(.has-results) .mobile-search-dropdown-sidebar {
  margin-top: 0;
  opacity: 1;
  order: 1;
  transform: translateY(0);
}
.mobile-search-dropdown-heading {
  color: #2f333a;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  margin: 3px 0 8px 0;
  text-align: center;
}
.mobile-search-dropdown-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 10px;
}
.mobile-search-dropdown-item {
  align-items: center;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  text-align: center;
  transition: all 0.3s ease;
}
.mobile-search-dropdown-item:active {
  background: #bbd1f080;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.mobile-search-dropdown-icon {
  align-items: center;
  background: #e9ecef;
  border-radius: 12px;
  color: #6c757d;
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 40px;
}
.mobile-search-dropdown-icon svg {
  height: 24px;
  width: 24px;
}
.mobile-search-dropdown-item:active .mobile-search-dropdown-icon {
  background: var(--primary);
  color: #ffffff;
}
.mobile-search-dropdown-content {
  flex: 1;
}
.mobile-search-dropdown-title {
  color: #2f333a;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
.mobile-search-dropdown-item:active .mobile-search-dropdown-title {
  color: #2f333a;
}
/* Mobile Search Suggestions */
.mobile-search-suggestions {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  max-height: 700px;
  opacity: 0;
  overflow-y: auto;
  position: absolute;
  top: calc(100% + 4px);
  transform: translateY(-8px);
  transition: all 0.2s ease;
  visibility: hidden;
  z-index: 10001;
}
.mobile-search-suggestions.active {
  left: -11px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  width: 375px;
}
/* Hide suggestions when dropdown is showing - handled by JS, but add fallback */
.mobile-search-input-wrapper .mobile-search-suggestions {
  z-index: 10001;
}
/* Ensure dropdown and suggestions don't overlap */
.mobile-search-focus-dropdown.show {
  z-index: 10000;
}
.mobile-search-focus-dropdown.show + .mobile-search-suggestions {
  display: none;
}
.mobile-search-stats {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  color: #666666;
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
  text-align: center;
}
.mobile-search-stats-inline {
  color: #888888;
  font-size: 9px;
  font-weight: 400;
}
.mobile-suggestion-item {
  align-items: center;
  border-bottom: 1px solid #f8f9fa;
  cursor: pointer;
  display: flex;
  min-height: 44px;
  padding: 10px 12px;
  position: relative;
  transition: all 0.15s ease;
}
.mobile-suggestion-item.selected {
  background: #e3f2fd !important;
}
.mobile-suggestion-item.selected:hover {
  background: #e3f2fd !important;
}
.mobile-suggestion-item:hover:not(.selected) {
  background: #f8f9fa;
}
.mobile-suggestion-rfq-text {
  color: var(--primary);
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  position: absolute;
  right: 8px;
  text-decoration: none;
  top: 8px;
  transition: all 0.2s ease;
  z-index: 10;
}
.mobile-suggestion-rfq-text:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.mobile-upload-options-inline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px;
}
.mobile-upload-options-heading {
  color: #2f333a;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  margin: 0 0 8px 0;
  text-align: center;
}
.mobile-upload-options-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.mobile-upload-or-text {
  color: #666666;
  display: block;
  font-size: 12px;
  font-weight: 500;
  padding: 16px 12px 8px 12px;
  text-align: center;
}
.mobile-upload-option-inline {
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  transition: all 0.2s ease;
}
.mobile-upload-option-inline:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}
.mobile-upload-option-icon-inline {
  align-items: center;
  color: var(--primary);
  display: flex;
  flex-shrink: 0;
  font-size: 16px;
  height: 24px;
  justify-content: center;
  width: 24px;
}
.mobile-upload-option-title-inline {
  color: #2f333a;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  width: 100%;
}
.mobile-suggestion-icon {
  align-items: center;
  color: #5f6368;
  display: flex;
  font-size: 14px;
  height: 18px;
  justify-content: center;
  margin-right: 10px;
  width: 18px;
}
.mobile-suggestion-content {
  flex: 1;
}
.mobile-suggestion-title {
  color: #2f333a;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin-bottom: 1px;
}
.mobile-suggestion-subtitle {
  color: #5f6368;
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  line-height: 14px;
}
/* Enhanced Mobile Search Dropdown Styles */
.mobile-suggestion-section {
  border-bottom: none;
}
.mobile-suggestion-section-title {
  color: #666666;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  justify-content: space-between;
  letter-spacing: 0.5px;
  padding: 6px 12px 0;
  text-transform: uppercase;
}
.mobile-suggestion-meta {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-top: 3px;
}
.mobile-suggestion-price {
  color: #1976d2;
  font-size: 11px;
  font-weight: 600;
}
.mobile-suggestion-stock {
  color: #4caf50;
  font-size: 10px;
  font-weight: 500;
}
.mobile-suggestion-stock.no-stock {
  color: var(--onyx-grey);
  font-weight: 600;
}
.mobile-suggestion-item .disty-image {
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  height: 45px;
  margin-right: 10px;
  width: 45px;
}
.mobile-suggestion-item .disty-image img {
  object-fit: cover;
}
.mobile-suggestion-distributors {
  color: #666666;
  font-size: 10px;
  font-weight: 500;
}
/* Mobile Search Loading Indicator */
.mobile-search-loading-indicator {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 100px;
  padding: 32px 16px;
}
.mobile-search-loading-spinner {
  display: block;
  height: 32px;
  width: 32px;
}
.mobile-search-loading-spinner circle {
  transition: stroke 0.3s ease;
}
.mobile-search-loading-text {
  color: #666666;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer {
  background: #ffffff;
  position: relative;
  width: 100%;
}
.footer-links {
  padding: 30px 0 20px;
}
.footer-content {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  margin: 0 auto;
  padding: 0;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-title {
  color: #2f333a;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 20px;
}
.footer-description {
  color: #666666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 20px;
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links-list .account-unauthenticated,
.footer-links-list .account-authenticated {
  display: none;
}
.footer-links-list li {
  margin-bottom: 8px;
}
.footer-links-list a {
  color: #666666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links-list a:hover {
  color: var(--primary);
}
/* Show unauthenticated elements when user is not logged in */
body:not(.authenticated) .footer-links-list .account-unauthenticated {
  display: flex;
  transition: opacity 0.3s ease-in-out;
}
/* Show authenticated elements when user is logged in */
body.authenticated .footer-links-list .account-authenticated {
  display: flex;
  transition: opacity 0.3s ease-in-out;
}
.contact-text {
  color: #666666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}
.contact-email {
  margin-top: 10px;
}
.contact-email-link {
  align-items: center;
  color: var(--primary);
  display: flex;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  gap: 8px;
  line-height: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-email-link:hover {
  color: #1976d2;
}
.contact-email-link svg {
  width: 14px;
  height: 14px;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.social-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 50%;
  color: #666666;
  display: flex;
  height: 36px;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 36px;
}
.social-link:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
}
.social-link i {
  font-size: 14px;
}
.disty_social-icon {
  color: #666666;
  display: block;
  height: 16px;
  width: 16px;
}
.social-link:hover .disty_social-icon {
  color: var(--primary);
}
/* Footer Bottom Section */
.footer-bottom {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
}
.footer-bottom-content {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 0;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
}
/* Desktop: Hide mobile social links */
.footer-social-mobile {
  display: none;
}
.copyright {
  color: #666666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  text-align: center;
}
.copyright .distyman-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.copyright .distyman-link:hover {
  color: #1976d2;
}
/* Desktop (1440x900) */
@media (max-width: 1440px) {
  .footer-bottom-content {
    padding: 0 0;
  }
}
/* Tablet (iPad) */
@media (max-width: 1024px) {
  .footer {
    padding-bottom: 65px;
  }
  .footer-content {
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
/* Mobile Devices */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 65px;
  }
  .footer-links {
    padding: 0;
  }
  .footer-content {
    gap: 15px;
    grid-template-columns: 1fr;
  }
  .footer-column {
    margin-bottom: 20px;
  }
  .footer-column:first-child {
    margin-bottom: 0;
    order: 1;
  }
  .footer-column:first-child .footer-title {
    display: none;
  }
  .footer-column:first-child .footer-description {
    color: #2f333a;
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .footer-column:nth-child(2),
  .footer-column:nth-child(3),
  .footer-column:nth-child(4) {
    margin-bottom: 0;
    order: 2;
  }
  .footer-column:last-child {
    border-top: 1px solid #e5e5e5;
    margin-bottom: 0;
    order: 3;
    padding-bottom: 15px;
    padding-top: 15px;
  }
  .footer-column:last-child .footer-title {
    display: none;
  }
  .footer-column:last-child .contact-text {
    color: #2f333a;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0;
  }
  .footer-column:last-child .contact-email-link {
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
  }
  .footer-column:last-child .contact-email-link svg {
    color: var(--primary);
    margin-right: 8px;
  }
  .footer-column:first-child .social-links {
    display: none;
  }
  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .footer-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  .footer-links-list li {
    margin-bottom: 6px;
  }
  .footer-links-list a {
    font-size: 14px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    text-align: center;
  }
  .copyright {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
  }
  .footer-social-desktop {
    display: none !important;
  }
  .footer-social-mobile {
    display: flex !important;
    gap: 15px;
    justify-content: center;
    margin-bottom: 5px;
    margin-top: 5px !important;
  }
  .footer-social-mobile .social-link {
    background: transparent;
    border: none;
    height: auto;
    padding: 0;
    width: auto;
  }
  .footer-social-mobile .disty_social-icon {
    color: #666666;
    height: 24px;
    width: 24px;
  }
  .footer-social-mobile .social-link:hover .disty_social-icon {
    color: var(--primary);
  }
  .footer-bottom-content .copyright {
    color: #666666;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .footer-title-toggle {
    align-items: center;
    color: #2f333a;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 0;
    user-select: none;
  }
  .footer-title-toggle::after {
    color: #2f333a;
    content: "+";
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.3s ease;
  }
  .footer-column-toggle.expanded .footer-title-toggle::after {
    content: "−";
  }
  .footer-column-toggle .footer-links-list {
    background: #ffffff;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
  }
  .footer-column-toggle.expanded .footer-links-list {
    max-height: 500px;
    padding: 5px 10px;
  }
  .footer-column-toggle .footer-links-list li {
    margin-bottom: 0;
  }
  .footer-column-toggle .footer-links-list a {
    color: #666666;
    font-size: 14px;
  }
}
/* Small Mobile */
@media (max-width: 480px) {
  .footer {
    padding: 30px 0 65px;
  }
  .footer-content {
    gap: 10px;
    grid-template-columns: 1fr;
  }
  .footer-column {
    margin-bottom: 15px;
  }
  .footer-title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .footer-description {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .footer-links-list li {
    margin-bottom: 5px;
  }
  .footer-links-list a {
    font-size: 13px;
  }
  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    text-align: center;
  }
  .copyright {
    font-size: 11px;
    line-height: 1.3;
    margin: 0;
  }
}
/* Mobile Bottom Navigation */
@media (max-width: 1024px) {
  .mobile-bottom-nav {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    height: auto;
    left: 0;
    min-height: 60px;
    padding: 8px 0;
    position: fixed;
    right: 0;
    z-index: 1000;
  }
  .mobile-nav-item {
    align-items: center;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 8px 4px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .mobile-nav-item:hover {
    background: #f8f9fa;
    color: var(--primary);
  }
  .mobile-nav-item.active {
    background: #f0f8ff;
    color: var(--primary);
  }
  .mobile-nav-item svg {
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
  }
  .mobile-nav-item span {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
  }
  /* Add bottom padding to body to account for fixed bottom nav */
  body {
    padding-bottom: 70px;
  }
}
/* Mobile Categories Drawer */
.mobile-categories-overlay {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.6);
  display: none;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  z-index: 2999;
}
.mobile-categories-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-categories-drawer {
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 420px;
  overflow: hidden;
  position: fixed;
  right: -100%;
  top: 0;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  z-index: 3000;
}
.mobile-categories-drawer.active {
  right: 0;
}
.mobile-categories-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 16px 16px 16px 24px;
  position: relative;
}
.mobile-categories-header .mobile-categories-back {
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: none;
  left: 16px;
  padding: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 1;
}
.mobile-categories-header .mobile-categories-back.active {
  align-items: center;
  display: flex;
  justify-content: center;
}
.mobile-categories-header .mobile-categories-back:hover {
  background: #f3f4f6;
  transform: translateY(-50%) translateX(-2px);
}
.mobile-categories-header .mobile-categories-back:active {
  transform: translateY(-50%) translateX(-4px);
}
.mobile-categories-header .mobile-categories-back svg {
  color: #4b5563;
  height: 20px;
  width: 20px;
}
.mobile-categories-title {
  color: #111827;
  flex: 1;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 28px;
  margin: 0;
}
.mobile-categories-header .mobile-categories-back.active ~ .mobile-categories-title {
  padding-left: 48px;
}
.mobile-categories-close {
  align-items: center;
  background: none;
  border: none;
  border-radius: 8px;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 10px;
  transition: all 0.2s ease;
  width: 40px;
}
.mobile-categories-close:hover {
  background: #f3f4f6;
  color: var(--primary);
  transform: scale(1.05);
}
.mobile-categories-close:active {
  transform: scale(0.95);
}
.mobile-categories-close svg {
  height: 24px;
  width: 24px;
}
.mobile-categories-content {
  background: #fafbfc;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-categories-segment-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.mobile-categories-segment-item {
  border-bottom: 1px solid #f3f4f6;
}
.mobile-categories-segment-item:last-child {
  border-bottom: none;
}
.mobile-categories-segment-link {
  align-items: center;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  justify-content: space-between;
  line-height: 24px;
  padding: 6px 14px;
  position: relative;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-categories-segment-link::before {
  background: var(--primary);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleY(0);
  transition: transform 0.2s ease;
  width: 4px;
}
.mobile-categories-segment-link:hover,
.mobile-categories-segment-link:active {
  background: #f9fafb;
  color: var(--primary);
  padding-left: 28px;
}
.mobile-categories-segment-link:hover::before,
.mobile-categories-segment-link:active::before {
  transform: scaleY(1);
}
.mobile-categories-segment-link span {
  flex: 1;
  font-weight: 500;
}
.mobile-categories-segment-arrow {
  color: #9ca3af;
  flex-shrink: 0;
  height: 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 20px;
}
.mobile-categories-segment-link:hover .mobile-categories-segment-arrow,
.mobile-categories-segment-link:active .mobile-categories-segment-arrow {
  color: var(--primary);
  transform: translateX(6px);
}
.mobile-categories-list {
  background: #ffffff;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.mobile-categories-item {
  border-bottom: 1px solid #f3f4f6;
}
.mobile-categories-item:last-child {
  border-bottom: none;
}
.mobile-categories-link {
  color: #374151;
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 12px;
  padding: 8px 8px 8px 16px;
  position: relative;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-categories-link:hover,
.mobile-categories-link:active {
  background: #f9fafb;
  color: var(--primary);
  padding-left: 20px;
}
.mobile-categories-view-all {
  background: #ffffff;
  border-top: 2px solid #e5e7eb;
  flex-shrink: 0;
  margin-top: 8px;
  padding: 0;
}
.mobile-categories-view-all-link {
  align-items: center;
  color: var(--primary);
  display: flex;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.5px;
  line-height: 20px;
  padding: 16px 24px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}
.mobile-categories-view-all-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.mobile-categories-view-all-link:hover,
.mobile-categories-view-all-link:active {
  background: #f9fafb;
  color: var(--primary);
}
.mobile-categories-view-all-link:hover::after,
.mobile-categories-view-all-link:active::after {
  transform: translateX(4px);
}
/* Hide drawer on desktop */
@media (min-width: 769px) {
  .mobile-categories-overlay,
  .mobile-categories-drawer {
    display: none !important;
  }
}
.upload-bom-cta,
.rfq-button {
  align-items: center;
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  gap: 8px;
  line-height: 20px;
  margin: 0 8px;
  padding: 10px 16px;
  transition: all 0.3s ease;
}
.upload-bom-cta:hover,
.rfq-button:hover {
  background: #1976d2;
}
/* Back to Top Button */
.back-to-top {
  align-items: center;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  height: 56px;
  justify-content: center;
  opacity: 0;
  outline: none;
  position: fixed;
  right: 30px;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
  width: 56px;
  z-index: 1000;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}
.back-to-top:hover {
  background: #0052a3;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
  transform: translateY(-4px) scale(1.05);
}
.back-to-top:active {
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
  transform: translateY(-2px) scale(1.02);
}
.back-to-top svg {
  transition: transform 0.3s ease;
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}
/* Tablet (iPad) */
@media (max-width: 1024px) {
  .back-to-top {
    bottom: 90px;
    /* Above mobile bottom nav */
    font-size: 18px;
    height: 48px;
    right: 20px;
    width: 48px;
  }
}
