/* 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;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
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;
}
.show-guest,
.show-authenticated,
.show-admin {
  display: none !important;
}
body.dp-guest .show-guest,
body.dp-authenticated .show-authenticated,
body.dp-admin .show-authenticated,
body.dp-admin .show-admin {
  display: inherit !important;
}
/* 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;
  }
}
.disty-system-message {
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 760px;
  max-width: 92vw;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--outline-grey);
  border-left-width: 4px;
  border-radius: 8px;
  background: var(--ice-grey);
  color: var(--onyx-grey);
  font-size: 14px;
  box-shadow: var(--shadow-soft, 0 4px 12px rgba(0, 0, 0, 0.15));
}
.disty-system-message-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
  background: rgba(0, 0, 0, 0.06);
}
.disty-system-message-text {
  flex: 1 1 auto;
}
.disty-system-message-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
  opacity: 0.75;
}
.disty-system-message-close:hover {
  opacity: 1;
}
.disty-system-message-hide {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}
.disty-system-message-success {
  border-color: var(--success, #0a7c42);
  background: var(--success-bg, #e8f5e9);
  color: var(--success-dark, #0a7c42);
}
.disty-system-message-success .disty-system-message-icon {
  background: #0a7c42;
  color: #ffffff;
}
.disty-system-message-error {
  border-color: var(--error, #c00);
  background: var(--error-bg, #ffebee);
  color: var(--error-dark, #b71c1c);
}
.disty-system-message-error .disty-system-message-icon {
  background: #c62828;
  color: #ffffff;
}
.disty-system-message-warning {
  border-color: #c77f00;
  background: #fff3e0;
  color: #9a6500;
}
.disty-system-message-warning .disty-system-message-icon {
  background: #c77f00;
  color: #ffffff;
}
.disty-system-message-info {
  border-color: var(--primary, #1565c0);
  background: #e3f2fd;
  color: #0d47a1;
}
.disty-system-message-info .disty-system-message-icon {
  background: #1565c0;
  color: #ffffff;
}
#disty-loading-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  overflow: hidden;
  z-index: 10000;
  display: none;
  background: #fff;
}
#disty-loading-layer .disty-loading-layer__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
@keyframes disty-spinner-fade {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
}
@keyframes disty-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#disty-loading-layer svg {
  display: block;
  animation: disty-spinner-rotate 1.2s linear infinite;
}
#disty-loading-layer svg circle {
  animation: disty-spinner-fade 1.2s ease-in-out infinite;
}
#disty-loading-layer svg circle:nth-child(1) {
  animation-delay: 0s;
}
#disty-loading-layer svg circle:nth-child(2) {
  animation-delay: -0.15s;
}
#disty-loading-layer svg circle:nth-child(3) {
  animation-delay: -0.3s;
}
#disty-loading-layer svg circle:nth-child(4) {
  animation-delay: -0.45s;
}
#disty-loading-layer svg circle:nth-child(5) {
  animation-delay: -0.6s;
}
#disty-loading-layer svg circle:nth-child(6) {
  animation-delay: -0.75s;
}
#disty-loading-layer svg circle:nth-child(7) {
  animation-delay: -0.9s;
}
#disty-loading-layer svg circle:nth-child(8) {
  animation-delay: -1.05s;
}
/* Accessibility utilities */
.dp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Product Details Main Container */
.dp-product-details-main {
  min-height: 80vh;
  padding: 10px 20px 30px 28px;
  max-width: 1440px;
  margin: auto;
}
/* Desktop: 10-column grid – header row 7:3, body rows 5:5 so alternate has enough width */
@media (min-width: 861px) {
  .dp-product-details-content {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }
  .dp-pd-block-image-stock {
    grid-row: 1;
    grid-column: 1 / 8;
  }
  .dp-pd-block-quick-info {
    grid-row: 1;
    grid-column: 8 / -1;
  }
  .dp-pd-block-distributors {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .dp-pd-block-specs {
    grid-row: 3;
    grid-column: 1 / 6;
  }
  .dp-pd-block-description {
    grid-row: 4;
    grid-column: 1 / 6;
  }
  .dp-pd-block-alternate {
    grid-row: 3 / 5;
    grid-column: 6 / -1;
    align-self: start;
  }
}
#dp-additionalResourcesCard {
  box-shadow: none;
  margin-bottom: 10px;
}
.dp-distributor-section,
.dp-resembling-parts-section {
  width: 100%;
}
.dp-distributor-section .dp-card,
.dp-resembling-parts-section .dp-card {
  overflow: visible;
  padding-bottom: 12px;
}
.dp-distributor-section .dp-card:last-child,
.dp-resembling-parts-section .dp-card:last-child {
  margin-bottom: 0;
}
.dp-distributor-section {
  position: relative;
  border-radius: 14px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.dp-media-card {
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.dp-media-main {
  border-radius: 12px;
  background: #ffffff;
  border: none;
  padding: 10px 0;
  min-height: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.dp-media-main img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  cursor: zoom-in;
}
.dp-media-main img:hover {
  transform: scale(1.1);
}
.dp-media-main:has(.dp-media-thumbs:not(:empty)) {
  justify-content: flex-start;
}
.dp-media-main:has(.dp-media-thumbs:not(:empty)) img {
  max-height: 100px;
  margin-bottom: auto;
}
.dp-media-main:has(.dp-media-thumbs:empty) img {
  max-height: 140px;
}
.dp-media-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  padding-top: 8px;
  flex-shrink: 0;
}
.dp-media-thumbs:empty {
  display: none;
}
.dp-media-thumb {
  border: 1px solid var(--outline-grey);
  border-radius: 6px;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: all 150ms ease-out;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
}
.dp-media-thumb.dp-is-active {
  border-color: var(--primary);
}
.dp-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--outline-grey);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.dp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.dp-card:has(#dp-specGrid) .dp-card-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}
#dp-alternatePartsCard {
  margin-bottom: 18px;
}
#dp-alternatePartsCard .dp-card-header,
#dp-resemblingPartsCard .dp-card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0;
}
#dp-alternatePartsCard .dp-card-header > div,
#dp-resemblingPartsCard .dp-card-header > div {
  flex: 1;
}
#dp-alternatePartsCard .dp-card-header .dp-view-all-parts-link,
#dp-resemblingPartsCard .dp-card-header .dp-view-all-parts-link {
  margin-top: 0;
  align-self: flex-start;
  flex-shrink: 0;
}
.dp-matching-attributes-wrapper .dp-view-all-parts-link {
  display: none;
}
.dp-card-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--onyx-grey);
}
h2.dp-card-title {
  margin: 0;
  padding: 0;
  line-height: inherit;
}
.dp-card-title-pill {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}
.dp-card-subtitle {
  font-size: 11px;
  color: var(--stone-grey);
}
.dp-pd-block-quick-info .dp-pd-header-right-card {
  height: 100%;
}
@media (max-width: 860px) {
  .dp-card {
    margin-bottom: 18px;
  }
  .dp-distributor-section,
  .dp-resembling-parts-section {
    margin-bottom: 18px;
  }
  .dp-product-details-content {
    display: flex;
    flex-direction: column;
  }
  .dp-pd-block {
    min-width: 0;
    width: 100%;
  }
  .dp-card-title-pill {
    display: none;
  }
  .dp-card:has(#dp-specGrid) .dp-card-subtitle,
  .dp-card:has(#dp-cardTitlePartNumber1) .dp-card-subtitle {
    display: none;
  }
  .dp-view-similar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .dp-product-details-main {
    padding: 10px 20px 30px;
  }
}
@media (max-width: 480px) {
  .dp-product-details-main {
    padding: 10px 10px 30px;
  }
}
/* Description */
.dp-desc-text {
  font-size: 12px;
  color: var(--stone-grey);
  line-height: 1.4;
}
.dp-desc-text br {
  line-height: 1.4;
  margin: 0;
}
/* Alternate and Resembling Parts */
.dp-alternate-parts-list,
.dp-resembling-parts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
/* Alternate parts in right column - 2 columns layout */
.dp-pd-block-alternate .dp-alternate-parts-list,
.dp-pd-layout-right .dp-alternate-parts-list {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 15px;
}
@media (max-width: 1200px) {
  .dp-alternate-parts-list,
  .dp-resembling-parts-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .dp-pd-block-alternate .dp-alternate-parts-list,
  .dp-pd-layout-right .dp-alternate-parts-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dp-alternate-parts-list,
  .dp-resembling-parts-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .dp-pd-block-alternate .dp-alternate-parts-list,
  .dp-pd-layout-right .dp-alternate-parts-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .dp-alternate-parts-list,
  .dp-resembling-parts-list {
    grid-template-columns: 1fr;
  }
  .dp-pd-block-alternate .dp-alternate-parts-list,
  .dp-pd-layout-right .dp-alternate-parts-list {
    grid-template-columns: 1fr;
  }
}
.dp-alternate-part-item {
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  background: var(--white);
  padding: 12px;
  border: 1px solid var(--outline-grey);
  border-radius: 8px;
}
.dp-alternate-part-content {
  display: grid;
  grid-template-columns: 2fr 8fr;
  gap: 12px;
}
.dp-alternate-part-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--outline-grey);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice-grey);
  overflow: hidden;
}
.dp-alternate-part-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: space-between;
}
.dp-alternate-part-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  margin-top: auto;
}
.dp-alternate-part-number,
.dp-resembling-part-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--onyx-grey);
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
.dp-alternate-part-number:hover,
.dp-resembling-part-number:hover {
  color: var(--primary);
}
.dp-alternate-part-mfr,
.dp-resembling-part-mfr {
  font-size: 11px;
  color: var(--stone-grey);
}
.dp-alternate-part-desc,
.dp-resembling-part-desc {
  font-size: 11px;
  color: var(--stone-grey);
  line-height: 1.4;
  margin-top: 2px;
}
.dp-matching-attributes {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 5px;
  gap: 10px;
}
.dp-matching-attributes-button {
  display: none;
}
.dp-matching-attributes-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--onyx-grey);
  flex-shrink: 0;
}
.dp-matching-attributes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dp-matching-attributes-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 10px;
  gap: 10px;
}
.dp-matching-attributes-wrapper .dp-matching-attributes {
  flex: 1;
  margin-top: 0;
}
.dp-matching-attributes-wrapper .dp-view-all-parts-link {
  flex-shrink: 0;
  margin-top: 0;
  min-width: 180px;
  width: auto;
}
.dp-matching-attribute-item {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--white);
  border: 1px solid var(--outline-grey);
  border-radius: 12px;
  font-size: 11px;
  color: var(--stone-grey);
}
.dp-matching-attribute-item .dp-matching-attribute-label {
  font-weight: 500;
  color: var(--onyx-grey);
  margin-right: 4px;
}
.dp-view-all-parts-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dp-view-all-parts-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.dp-view-all-parts-link::after {
  content: ' →';
  margin-left: 4px;
}
@media (max-width: 860px) {
  .dp-alternate-part-item,
  .dp-resembling-part-item {
    border: 1px solid var(--outline-grey);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    background: var(--white);
  }
  .dp-alternate-part-item:not(:last-child)::after,
  .dp-resembling-part-item:not(:last-child)::after {
    display: none;
  }
  .dp-alternate-part-item:first-child,
  .dp-resembling-part-item:first-child,
  .dp-alternate-part-item:last-child,
  .dp-resembling-part-item:last-child {
    padding: 12px;
  }
  .dp-alternate-part-content,
  .dp-resembling-part-content {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    margin-bottom: 0;
  }
  .dp-alternate-part-info,
  .dp-resembling-part-info {
    gap: 3px;
  }
  .dp-alternate-part-actions,
  .dp-resembling-part-actions {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
  }
  .dp-alternate-part-actions > *,
  .dp-resembling-part-actions > * {
    flex: 1;
    min-width: 0;
  }
  #dp-alternatePartsCard .dp-card-header,
  #dp-resemblingPartsCard .dp-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  #dp-resemblingPartsCard .dp-card-header .dp-view-all-parts-link {
    display: none;
  }
  .dp-view-all-parts-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 4px 12px;
    transition: all 0.2s ease;
    background: transparent;
  }
}
.dp-resembling-parts-section {
  width: 100%;
  margin-bottom: 16px;
}
.dp-resembling-parts-section .dp-card {
  overflow: visible;
  padding-bottom: 12px;
}
.dp-resembling-parts-section .dp-card:last-child {
  margin-bottom: 0;
}
.dp-resembling-parts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) {
  .dp-resembling-parts-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .dp-resembling-parts-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .dp-resembling-parts-list {
    grid-template-columns: 1fr;
  }
}
.dp-resembling-part-item {
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  background: var(--white);
  padding: 12px;
  position: relative;
}
.dp-resembling-part-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100px;
  background: var(--outline-grey);
}
.dp-resembling-part-item:first-child {
  padding: 12px;
}
.dp-resembling-part-item:last-child {
  padding: 12px;
}
.dp-resembling-part-content {
  display: grid;
  grid-template-columns: 2fr 8fr;
  gap: 12px;
  margin-bottom: 12px;
}
.dp-resembling-part-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--outline-grey);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice-grey);
  overflow: hidden;
}
.dp-resembling-part-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  justify-content: space-between;
}
.dp-resembling-part-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  margin-top: auto;
}
.dp-resembling-part-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--onyx-grey);
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
.dp-resembling-part-number:hover {
  color: var(--primary);
}
.dp-resembling-part-mfr {
  font-size: 11px;
  color: var(--stone-grey);
}
.dp-resembling-part-desc {
  font-size: 11px;
  color: var(--stone-grey);
  line-height: 1.4;
  margin-top: 2px;
}
.dp-matching-attributes {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 5px;
  gap: 10px;
}
.dp-matching-attributes-button {
  display: none;
}
.dp-matching-attributes-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--onyx-grey);
  flex-shrink: 0;
}
.dp-matching-attributes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dp-matching-attributes-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  gap: 10px;
}
.dp-matching-attributes-wrapper .dp-matching-attributes {
  flex: 1;
  margin-top: 0;
}
.dp-matching-attributes-wrapper .dp-view-all-parts-link {
  flex-shrink: 0;
  margin-top: 0;
  min-width: 180px;
  width: auto;
}
.dp-matching-attribute-item {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--white);
  border: 1px solid var(--outline-grey);
  border-radius: 12px;
  font-size: 11px;
  color: var(--stone-grey);
}
.dp-matching-attribute-item .dp-matching-attribute-label {
  font-weight: 500;
  color: var(--onyx-grey);
  margin-right: 4px;
}
.dp-view-all-parts-link {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dp-view-all-parts-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.dp-view-all-parts-link::after {
  content: ' →';
  margin-left: 4px;
}
@media (max-width: 860px) {
  .dp-resembling-parts-section {
    order: 4;
  }
  .dp-resembling-part-item {
    border: 1px solid var(--outline-grey);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    background: var(--white);
  }
  .dp-resembling-part-item:not(:last-child)::after {
    display: none;
  }
  .dp-resembling-part-item:first-child,
  .dp-resembling-part-item:last-child {
    padding: 12px;
  }
  .dp-resembling-part-content {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    margin-bottom: 0;
  }
  .dp-resembling-part-info {
    gap: 3px;
  }
  .dp-resembling-part-actions {
    flex-direction: row;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
  }
  .dp-resembling-part-actions > * {
    flex: 1;
    min-width: 0;
  }
  #dp-resemblingPartsCard .dp-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  #dp-resemblingPartsCard .dp-card-header .dp-view-all-parts-link {
    display: none;
  }
}
.dp-breadcrumb {
  margin-bottom: 10px;
  padding: 0;
}
.dp-breadcrumb .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}
.dp-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--stone-grey);
  list-style: none;
  margin: 0;
  padding: 0;
}
.dp-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dp-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 6px;
  color: var(--stone-grey);
}
.dp-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.dp-breadcrumb a:hover {
  text-decoration: underline;
}
.dp-breadcrumb span {
  color: var(--stone-grey);
}
.dp-breadcrumb li:last-child span {
  cursor: default;
}
@media (max-width: 768px) {
  .dp-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;
  }
  .dp-breadcrumb::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }
  .dp-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;
  }
  .dp-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .dp-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin-left: 6px;
    color: var(--stone-grey);
    flex-shrink: 0;
  }
  .dp-breadcrumb a,
  .dp-breadcrumb span {
    flex-shrink: 0;
    white-space: nowrap;
  }
}
/* Product Header */
.dp-pd-header {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 16px;
}
.dp-pd-header-left-card {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 16px;
}
.dp-pd-header-right-card {
  display: flex;
  flex-direction: column;
}
.dp-rohs-badge {
  cursor: default;
  position: relative;
}
.dp-rohs-badge:hover {
  background: var(--primary-soft);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.dp-rohs-badge[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 6px 10px;
  background: #1f2937;
  color: #ffffff;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 4px;
  z-index: 1000;
  pointer-events: none;
}
.dp-rohs-badge[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 2px;
  border: 4px solid transparent;
  border-top-color: #1f2937;
  z-index: 1001;
  pointer-events: none;
}
.dp-datasheetBtn {
  position: relative;
}
.dp-datasheetBtn[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 6px 10px;
  background: #1f2937;
  color: #ffffff;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 4px;
  z-index: 1000;
  pointer-events: none;
}
.dp-datasheetBtn[data-tooltip]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 2px;
  border: 4px solid transparent;
  border-top-color: #1f2937;
  z-index: 1001;
  pointer-events: none;
}
.dp-pd-main-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-top: -5px;
}
.dp-pd-main-info h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  display: inline;
  color: var(--onyx-grey);
  font-family: 'Inter', sans-serif;
}
.dp-product-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.dp-distributor-count-link {
  font-size: 12px;
  color: var(--primary-blue, #2563eb);
  text-decoration: none;
  font-weight: 500;
  margin-left: auto;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.dp-distributor-count-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.dp-distributor-section.dp-flash-highlight {
  animation: dp-flash-border 1.5s ease-in-out;
}
@keyframes dp-flash-border {
  0% {
    border: 2px solid transparent;
  }
  50% {
    border: 2px solid #2563eb;
  }
  100% {
    border: 2px solid transparent;
  }
}
.dp-mfr-part-label {
  font-size: 12px;
  color: var(--stone-grey);
  font-weight: 400;
}
.dp-copy-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  opacity: 0.6;
  position: relative;
}
.dp-copy-btn:hover {
  opacity: 1;
}
.dp-copy-btn:hover .dp-copy-tooltip {
  opacity: 1;
}
.dp-copy-btn:active {
  transform: scale(0.95);
}
.dp-copy-btn.copied .dp-copy-icon::before,
.dp-copy-btn.copied .dp-copy-icon::after {
  border-color: var(--success);
}
.dp-copy-btn.copied .dp-copy-icon::after {
  background: #ecfdf3;
}
.dp-copy-icon {
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
}
.dp-copy-icon::before,
.dp-copy-icon::after {
  content: "";
  position: absolute;
  border: 1.2px solid var(--stone-grey);
  background: transparent;
  border-radius: 1.5px;
}
.dp-copy-icon::before {
  width: 9px;
  height: 10px;
  top: 1.5px;
  left: 0;
}
.dp-copy-icon::after {
  width: 9px;
  height: 10px;
  top: 0;
  left: 3px;
  background: #ffffff;
  z-index: 1;
}
.dp-copy-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 5px;
  padding: 4px 8px;
  background: #1f2937;
  color: #ffffff;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}
.dp-copy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1f2937;
}
.dp-pd-subline-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 8px;
}
.dp-pd-subline-wrapper .dp-copy-btn {
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.6;
}
.dp-pd-subline-wrapper .dp-copy-btn:hover {
  opacity: 1;
}
.dp-description-label {
  font-size: 12px;
  color: var(--stone-grey);
  font-weight: 400;
  flex-shrink: 0;
}
.dp-pd-subline {
  font-size: 12px;
  color: var(--stone-grey);
  margin: 0;
  line-height: 1.5;
}
.dp-pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.dp-pd-tags .dp-pricing-range,
.dp-pd-tags .dp-total-stock {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--outline-grey);
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--stone-grey);
  white-space: nowrap;
  margin: 0;
}
.dp-pd-tags .dp-total-stock {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: var(--success);
  font-weight: 500;
}
.dp-pd-tags .dp-pricing-range {
  background: #f0f4ff;
  border-color: #c7d2fe;
  color: var(--primary);
  font-weight: 500;
}
.dp-pd-main-info-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.dp-pd-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--outline-grey);
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--stone-grey);
  white-space: nowrap;
}
/* Right header */
.dp-pd-header-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.dp-pd-header-right > button:first-child {
  margin-top: 0;
}
.dp-quick-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 12px;
}
.dp-quick-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
}
.dp-quick-info-row:last-child {
  border-bottom: none;
}
.dp-quick-info-label {
  color: var(--stone-grey);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
}
.dp-quick-info-value {
  font-size: 12px;
  color: var(--onyx-grey);
  margin-left: auto;
  text-align: right;
}
.dp-mfr-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.dp-mfr-name-label {
  font-size: 12px;
  color: var(--stone-grey);
  font-weight: 400;
}
.dp-mfr-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
}
.dp-mfr-name:hover {
  text-decoration: underline;
}
.dp-pricing-range {
  font-size: 12px;
  color: var(--stone-grey);
  margin-top: 4px;
  margin-bottom: 4px;
  text-align: right;
}
.dp-total-stock {
  font-size: 11px;
  margin-bottom: 4px;
  text-align: right;
}
.dp-btn-outline-primary {
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: #f8fafc;
  padding: 3px 14px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 500;
  transition: all 150ms ease-out;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.dp-btn-outline-primary:hover {
  background: var(--primary-soft);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.dp-btn-primary {
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 6px 14px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: white;
  font-weight: 600;
  transition: all 150ms ease-out;
  font-family: 'Inter', sans-serif;
}
.dp-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
@media (max-width: 860px) {
  .dp-pd-header {
    display: contents;
  }
  .dp-pd-header-left-card {
    display: flex;
    flex-direction: column;
    order: 0;
    position: relative;
  }
  .dp-pd-header-left-card .dp-media-card {
    order: 1;
    position: relative;
  }
  .dp-pd-header-left-card .dp-pd-main-info {
    order: 2;
    position: relative;
  }
  .dp-pd-header-right-card {
    order: 2;
  }
  .dp-pd-header-right {
    align-items: flex-start;
  }
  .dp-product-title-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .dp-product-title-wrapper .dp-distributor-count-link {
    display: none;
  }
  .dp-product-title-wrapper .dp-mfr-part-label {
    flex-shrink: 0;
    margin-right: 8px;
  }
  .dp-product-title-wrapper h1 {
    flex: 1;
    text-align: right;
    margin: 0;
  }
  .dp-product-title-wrapper .dp-copy-btn {
    order: 3;
  }
  .dp-media-card #dp-distributorCountLinkMobile,
  .dp-media-card .dp-distributor-count-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    border-radius: 999px;
    border: 1px solid var(--primary);
    background: #f8fafc;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 150ms ease-out;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
  }
  .dp-media-card #dp-distributorCountLinkMobile:hover,
  .dp-media-card .dp-distributor-count-link:hover {
    background: var(--primary-soft);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    text-decoration: none;
  }
  .dp-media-card #dp-distributorCountLinkMobile:active,
  .dp-media-card .dp-distributor-count-link:active {
    transform: translateY(0);
  }
  .dp-media-main {
    position: relative;
  }
  .dp-media-main #dp-pdMainInfoTags {
    position: absolute;
    top: 28px;
    right: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin: 0;
    width: auto;
  }
  .dp-media-main #dp-pdMainInfoTags .dp-total-stock,
  .dp-media-main #dp-pdMainInfoTags .dp-pricing-range {
    margin: 0;
  }
  .dp-rohs-badge {
    display: none !important;
  }
  .dp-pd-main-info-actions {
    flex-wrap: nowrap;
  }
  .dp-pd-main-info-actions > button:not(.dp-rohs-badge) {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dp-pd-main-info-actions > .dp-datasheetBtn[style*="display: none"] {
    display: none !important;
  }
  .dp-pd-main-info-actions.dp-no-datasheet > .dp-btn-primary {
    flex: 1 1 100% !important;
  }
  .dp-pd-main-info h1 {
    font-size: 16px;
  }
  .dp-mfr-name-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .dp-mfr-name-row .dp-mfr-name-label {
    flex-shrink: 0;
    margin-right: 8px;
  }
  .dp-mfr-name-row .dp-mfr-name {
    flex: 1;
    text-align: right;
  }
  .dp-mfr-name-row .dp-copy-btn {
    order: 3;
  }
  .dp-pd-subline-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .dp-pd-subline-wrapper .dp-description-label {
    flex-shrink: 0;
    margin-right: 8px;
  }
  .dp-pd-subline-wrapper .dp-pd-subline {
    flex: 1;
    text-align: right;
  }
  .dp-pd-subline-wrapper .dp-copy-btn {
    order: 3;
  }
  .dp-copy-btn .dp-copy-tooltip {
    left: auto;
    right: 0;
    transform: none;
  }
  .dp-copy-btn .dp-copy-tooltip::after {
    left: auto;
    right: 8px;
    transform: none;
  }
  .dp-pd-tags .dp-pricing-range,
  .dp-pd-tags .dp-total-stock {
    font-size: 10px;
  }
  .dp-quick-info-grid {
    width: 100%;
  }
}
/* Image Zoom Modal */
.dp-image-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.dp-image-zoom-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dp-image-zoom-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.dp-image-zoom-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--onyx-grey);
  transition: all 0.2s ease;
}
.dp-image-zoom-close:hover {
  background: var(--white);
  transform: scale(1.1);
}
.dp-distributor-count-link {
  font-size: 12px;
  color: var(--primary-blue, #2563eb);
  text-decoration: none;
  font-weight: 500;
  margin-left: auto;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.dp-distributor-count-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.dp-distributor-section.dp-flash-highlight {
  animation: dp-flash-border 1.5s ease-in-out;
}
.dp-distributor-section .dp-card,
.dp-resembling-parts-section .dp-card {
  overflow: visible;
  padding-bottom: 12px;
}
.dp-distributor-section .dp-card:last-child,
.dp-resembling-parts-section .dp-card:last-child {
  margin-bottom: 0;
}
.dp-distributor-list {
  border-radius: 0;
  border: none;
  overflow-x: auto;
  overflow-y: hidden;
  font-size: 11px;
  width: 100%;
  background: transparent;
  margin: 0;
  padding: 0;
  max-height: none;
}
.dp-distributor-list .center {
  text-align: center;
}
.dp-distributor-list.scrollable {
  max-height: 500px;
  overflow-y: auto;
}
.dp-distributor-list.overflow-hidden {
  overflow-x: hidden;
  overflow-y: hidden;
}
.dp-distributor-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 1200px;
}
.dp-distributor-table th,
.dp-distributor-table td {
  padding: 4px 8px;
  text-align: left;
  font-size: 12px;
  color: var(--onyx-grey);
  border-bottom: 1px solid #f0f0f0;
  vertical-align: unset;
}
.dp-distributor-table th:first-child,
.dp-distributor-table td:first-child {
  padding-left: 0;
}
.dp-distributor-table th:last-child,
.dp-distributor-table td:last-child {
  padding-right: 0;
}
.dp-distributor-table thead th {
  background: inherit;
  font-weight: 600;
  color: var(--onyx-grey);
  text-transform: capitalize;
  border-bottom: 1px solid var(--outline-grey);
  position: sticky;
  top: 0;
  z-index: 10;
}
.dp-distributor-table tbody tr:last-child td {
  border-bottom: none;
}
.dp-distributor-row {
  background: inherit;
}
.dp-info-on-request-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  cursor: pointer;
}
.dp-info-on-request-link:hover {
  color: inherit;
  text-decoration: none;
}
.dp-info-on-request-link:focus {
  outline: 1px dotted currentColor;
  outline-offset: 2px;
}
.dp-distributor-name {
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
}
.dp-distributor-name:hover {
  color: var(--primary-dark) !important;
}
.dp-inventory-link {
  display: none;
}
.dp-inventory-modal {
  display: none !important;
}
.dp-distributor-status-line {
  display: none;
}
.dp-distributor-actions {
  text-align: center;
}
.btn-category-product-line {
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.btn-category-product-line:hover,
.btn-category-product-line:active,
.btn-category-product-line:focus {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.dp-price-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: visible;
}
.dp-price-cell.has-tooltip {
  cursor: pointer;
}
.dp-price-cell.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;
  font-style: italic;
  font-weight: 600;
}
.dp-price-cell.has-tooltip:hover .dp-price-info-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dp-price-info-tooltip {
  position: fixed;
  min-width: 200px;
  max-width: 300px;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid var(--outline-grey);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 10000;
  pointer-events: none;
  white-space: normal;
}
.dp-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.dp-price-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;
}
.dp-price-table th:last-child {
  text-align: right;
}
.dp-price-table td {
  padding: 4px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--onyx-grey);
  text-align: left;
}
.dp-price-table td:last-child {
  text-align: right;
}
.dp-price-table tr:last-child td {
  border-bottom: none;
}
.dp-footer-note {
  font-size: 10px;
  color: var(--stone-grey);
  margin-top: 8px;
}
.dp-footer-note span {
  color: var(--onyx-grey);
  font-weight: 500;
}
.dp-offers-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}
.dp-offers-card-title h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  color: var(--onyx-grey);
}
.dp-offers-card-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 400;
  color: var(--stone-grey);
}
.dp-offers-card-legend .dp-badge-authorized,
.dp-offers-card-legend .dp-badge-non-authorized {
  cursor: default;
}
.dp-offers-card-legend .dp-badge-authorized:hover::after,
.dp-offers-card-legend .dp-badge-non-authorized:hover::after,
.dp-offers-card-legend .dp-badge-authorized:hover::before,
.dp-offers-card-legend .dp-badge-non-authorized:hover::before {
  display: none;
}
.dp-badge-authorized {
  font-size: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #15803d;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: relative;
}
.dp-badge-non-authorized {
  font-size: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d7d7d7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: relative;
}
.dp-offers-card-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dp-distributor-link-icon {
  display: none;
}
.dp-mobile-stock,
.dp-mobile-pricing {
  display: none;
}
@media (max-width: 860px) {
  .dp-distributor-section {
    margin-bottom: 10px;
  }
  .dp-offers-card-legend {
    display: none;
  }
  .dp-product-title-wrapper .dp-distributor-count-link {
    display: none;
  }
  .dp-media-card #dp-distributorCountLinkMobile,
  .dp-media-card .dp-distributor-count-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    border-radius: 999px;
    border: 1px solid var(--primary);
    background: #f8fafc;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 150ms ease-out;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
  }
  .dp-media-card #dp-distributorCountLinkMobile:hover,
  .dp-media-card .dp-distributor-count-link:hover {
    background: var(--primary-soft);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    text-decoration: none;
  }
  .dp-media-card #dp-distributorCountLinkMobile:active,
  .dp-media-card .dp-distributor-count-link:active {
    transform: translateY(0);
  }
  .dp-distributor-table {
    min-width: 100%;
    display: table;
  }
  .dp-distributor-table tbody tr:last-child td {
    border-bottom: 1px solid #f0f0f0 !important;
  }
  .dp-distributor-table th,
  .dp-distributor-table td {
    padding: 6px 4px;
    font-size: 12px;
    align-content: baseline;
  }
  .dp-distributor-table thead {
    display: table-header-group;
  }
  .dp-distributor-table tbody {
    display: table-row-group;
  }
  .dp-distributor-table tr {
    display: table-row;
  }
  .dp-distributor-table th:nth-child(n+5),
  .dp-distributor-table td:nth-child(n+5) {
    display: none;
  }
  .dp-distributor-table th:nth-child(3),
  .dp-distributor-table th:nth-child(4) {
    display: none;
  }
  .dp-distributor-table th:nth-child(2) {
    display: table-cell;
    text-align: right;
    font-size: 0;
  }
  .dp-distributor-table th:nth-child(2)::before {
    content: 'Price & Stock';
    font-size: 12px;
  }
  .dp-distributor-actions {
    text-align: right;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .dp-distributor-actions .dp-mobile-stock,
  .dp-distributor-actions .dp-mobile-pricing {
    text-align: right;
    display: block;
  }
  .dp-distributor-actions .btn-category-product-line {
    align-self: flex-end;
    margin-left: auto;
  }
  .dp-distributor-actions .dp-mobile-stock {
    font-size: 12px;
    color: var(--onyx-grey);
    text-align: right;
    width: 100%;
    line-height: 1.4;
  }
  .dp-distributor-actions .dp-mobile-pricing {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    position: relative;
    font-size: 12px;
    color: var(--onyx-grey);
    width: 100%;
    line-height: 1.4;
  }
  .dp-distributor-actions .dp-mobile-pricing .dp-price-cell {
    display: inline;
    padding: 0;
    border: none;
    background: transparent;
  }
  .dp-inventory-link {
    display: inline-block;
    font-size: 11px;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    text-align: left;
  }
  .dp-inventory-link:hover {
    color: var(--primary-dark);
  }
  .dp-distributor-row td:nth-child(3),
  .dp-distributor-row td:nth-child(4) {
    display: none;
  }
  .dp-mobile-price-text {
    text-align: right;
  }
  .dp-mobile-price-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .dp-mobile-price-info-icon:hover {
    background: var(--primary);
    color: #ffffff;
  }
  .dp-mobile-price-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    max-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--outline-grey);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    display: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    z-index: 10000;
    pointer-events: none;
  }
  .dp-mobile-price-tooltip.dp-show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .dp-mobile-price-tooltip .dp-price-table {
    margin: 0;
  }
  .dp-distributor-name .dp-badge-authorized,
  .dp-distributor-name .dp-badge-non-authorized {
    display: none;
  }
  .dp-distributor-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
  }
  .dp-distributor-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 4px;
  }
  .dp-distributor-link-icon svg {
    width: 14px;
    height: 14px;
    display: block;
  }
  .dp-distributor-link-icon:hover svg rect {
    fill: #1976d2;
  }
  .dp-distributor-status-line {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    align-items: flex-start;
  }
  .dp-distributor-status-line .dp-inventory-link {
    order: 2;
  }
  .dp-distributor-status {
    font-size: 11px;
    font-weight: 400;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-block;
  }
  .dp-status-authorized {
    border: 1px solid #10b981;
    background: #d1fae5;
    color: #065f46;
  }
  .dp-status-non-authorized {
    border: 1px solid #9ca3af;
    background: #f3f4f6;
    color: #4b5563;
  }
  .dp-inventory-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
  }
  .dp-inventory-modal.dp-show {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .dp-inventory-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  .dp-inventory-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 100001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
  .dp-inventory-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--outline-grey);
  }
  .dp-inventory-modal-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--onyx-grey);
  }
  .dp-inventory-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--onyx-grey);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .dp-inventory-modal-close:hover {
    color: var(--primary);
  }
  .dp-inventory-modal-body {
    padding: 10px 20px;
  }
  .dp-inventory-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 5px;
  }
  .dp-inventory-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .dp-inventory-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--stone-grey);
    text-transform: capitalize;
    flex-shrink: 0;
  }
  .dp-inventory-value {
    font-size: 12px;
    color: var(--onyx-grey);
    word-break: break-word;
    text-align: right;
  }
  .dp-inventory-value .dp-price-table {
    width: 100%;
    margin-top: 8px;
    font-size: 12px;
  }
}
/**
 * Inventory modal (mobile only). Structure from layout; visibility controlled by .dp-inventory-modal--open.
 */
.dp-inventory-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.dp-inventory-modal.dp-inventory-modal--open {
  display: flex !important;
}
.dp-inventory-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.dp-inventory-modal-content {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow: auto;
  background: var(--white, #fff);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
.dp-inventory-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--outline-grey, #e5e7eb);
}
.dp-inventory-modal-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--onyx-grey, #374151);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.dp-inventory-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--onyx-grey, #374151);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.dp-inventory-modal-close:hover {
  background: var(--outline-grey, #e5e7eb);
  color: #111;
}
.dp-inventory-modal-body {
  padding: 12px 16px 16px;
}
.dp-inventory-value-link {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  cursor: pointer;
}
.dp-inventory-value-link:hover {
  color: inherit;
  text-decoration: none;
}
/* Specs grid */
.dp-spec-grid {
  display: table;
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.dp-spec-grid thead {
  display: table-header-group;
}
.dp-spec-grid tbody {
  display: table-row-group;
}
.dp-spec-row {
  display: table-row;
}
.dp-spec-row td {
  display: table-cell;
  padding: 5px 0;
  border-bottom: 1px dashed #edf2f7;
  vertical-align: middle;
}
.dp-spec-row:last-child .dp-spec-cell-label,
.dp-spec-row:last-child .dp-spec-cell-value,
.dp-spec-row.dp-spec-row-last-visible .dp-spec-cell-label,
.dp-spec-row.dp-spec-row-last-visible .dp-spec-cell-value {
  border-bottom: none;
}
.dp-spec-row.dp-spec-row-hidden {
  display: none;
}
.dp-view-all-specs {
  display: inline-block;
  color: var(--primary-blue, #2563eb);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
}
.dp-view-all-specs:hover {
  text-decoration: underline;
}
.dp-spec-label {
  font-size: 12px;
  color: var(--stone-grey);
  white-space: nowrap;
}
.dp-spec-value {
  font-size: 12px;
  color: var(--onyx-grey);
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
}
.dp-spec-cell-label {
  text-align: left;
}
.dp-spec-cell-value {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
}
.dp-spec-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dp-spec-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
.dp-spec-select {
  width: 12px;
  height: 12px;
  cursor: pointer;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin: 0;
}
.dp-select-all-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ded9d0;
}
.dp-select-all-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--onyx-grey);
  cursor: pointer;
}
.dp-select-all-checkbox {
  width: 12px;
  height: 12px;
  cursor: pointer;
  accent-color: var(--primary);
}
.dp-view-similar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dp-btn-view-similar {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 20px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.dp-btn-view-similar:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.dp-btn-view-similar:active {
  transform: translateY(0);
}
.dp-btn-view-similar:disabled,
.dp-btn-view-similar.disabled {
  background: #e0e0e0;
  color: #999999;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
@media (max-width: 860px) {
  .dp-spec-manufacturer .dp-spec-link,
  .dp-spec-value span {
    display: inline-block;
    max-width: 75%;
  }
  .dp-spec-value {
    white-space: unset;
  }
}
/* 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;
}
/* 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-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-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-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;
}
.admin-menu-links:empty {
  display: none;
}
.menu-item-admin .menu-link {
  padding-right: 10px;
}
.menu-item-admin.active .menu-link {
  background-color: var(--primary);
  color: #ffffff;
}
.admin-menu-links > .menu-link.active {
  background-color: var(--primary);
  color: #ffffff;
}
.menu-item-admin.active .menu-arrow-icon {
  border-top-color: #ffffff;
}
.menu-dropdown-admin {
  min-width: 240px;
}
.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: 14px;
  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;
}
/* 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: 14px;
  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;
}
.admin-menu-links .menu-item.menu-item-admin.active > .menu-link {
  background-color: var(--primary);
  color: #ffffff;
}
.admin-menu-links .menu-item.menu-item-admin.active > .menu-link .menu-arrow-icon {
  border-top-color: #ffffff;
}
.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;
}
#dp-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;
}
#dp-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 .mfr-info-title {
  color: #191919;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 0;
}
.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 .dist-banner-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.manufacturers-mega-menu .dist-banner-content .dist-banner-subtitle {
  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 .dist-banner-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}
.dist-banner-content .dist-banner-subtitle {
  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 .dist-banner-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px 0;
}
.distributors-mega-menu .dist-banner-content .dist-banner-subtitle {
  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 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-label {
  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 .entity-title {
  display: inline;
}
.entity-list-link:hover {
  color: var(--primary);
  padding-left: 2px;
}
.entity-count {
  color: #999999;
  display: inline;
  font-size: 11px;
  margin-left: 5px;
  padding-top: 3px;
  white-space: nowrap;
}
.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-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 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-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 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);
}
.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;
}
.dp-social-icon {
  color: #666666;
  display: block;
  height: 16px;
  width: 16px;
}
.social-link:hover .dp-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 .dp-social-icon {
    color: #666666;
    height: 24px;
    width: 24px;
  }
  .footer-social-mobile .social-link:hover .dp-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;
  }
}
