@charset "UTF-8";
/* Smooth open/close for expanded content row with no space when closed */
.custom-diagram-detail-page .sp-expanded-content-row {
  height: 0;
  overflow: hidden;
  padding: 0 !important;
  border: none !important;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s, border 0.3s; }

.custom-diagram-detail-page .sp-expanded-content-row.is-open {
  /* height will be set by JS for smooth animation */
  overflow: visible; }

/* Smooth animation for expanded grid wrapper and boxes */
.custom-diagram-detail-page .sp-expanded-grid-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  will-change: max-height, opacity; }

.custom-diagram-detail-page .sp-expanded-content-row.is-open .sp-expanded-grid-wrapper {
  max-height: 2000px;
  opacity: 1;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s; }

.custom-diagram-detail-page .sp-expanded-box {
  transition: opacity 0.3s, transform 0.3s;
  opacity: 1;
  transform: translateY(0); }

.custom-diagram-detail-page .sp-expanded-content-row:not(.is-open) .sp-expanded-box {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none; }

.custom-diagram-detail-page .sp-center-section {
  display: none; }

/* MAIN CONTAINER */
.custom-diagram-detail-page .body .container {
  width: 100%;
  max-width: 1760px;
  padding: 0 20px; }
  @media (max-width: 768px) {
    .custom-diagram-detail-page .body .container {
      padding: 0 15px; } }

.custom-diagram-detail-page .body {
  margin: 30px 0 100px 0; }
  @media (max-width: 1260px) {
    .custom-diagram-detail-page .body {
      margin: 30px 0 70px 0; } }
  @media (max-width: 768px) {
    .custom-diagram-detail-page .body {
      margin: 30px 0 50px 0; } }

.custom-diagram-detail-page .breadcrumbs {
  margin-bottom: 30px; }

/* TITLE */
.custom-diagram-detail-page .page-heading {
  position: relative;
  display: block;
  font-family: 'Poppins', sans-serif;
  line-height: 38px;
  letter-spacing: 0;
  font-weight: 500;
  margin: 0 0 25px 0;
  text-transform: uppercase; }

@media (max-width: 768px) {
  .custom-diagram-detail-page .page-heading {
    font-size: 18px;
    line-height: 27px;
    text-align: left;
    margin: 0 0 17px 0; } }

/* MAIN LAYOUT */
.custom-diagram-detail-page .sp-main-layout {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
  margin-bottom: 60px; }

.custom-diagram-detail-page .category-id-info,
.custom-diagram-detail-page .switch-placeholder-info {
  display: none; }

@media (max-width: 1760px) {
  .custom-diagram-detail-page .sp-main-layout {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; }
  .custom-diagram-detail-page .sp-filter-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; }
  .custom-diagram-detail-page .sp-filter-item {
    width: 100%; } }

.custom-diagram-detail-page .sp-left-section {
  width: 925px;
  flex: 0 0 925px;
  max-width: 100%;
  display: flex;
  flex-direction: column; }

.custom-diagram-detail-page .sp-right-section {
  width: 735px;
  flex: 0 0 735px;
  max-width: 100%;
  position: sticky;
  top: 60px;
  align-self: flex-start; }

/* TABS */
.custom-diagram-detail-page .sp-tabs-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #CCCCCC;
  margin-bottom: 20px; }

.custom-diagram-detail-page .sp-tabs {
  display: flex;
  gap: 40px;
  padding-left: 18px; }

.custom-diagram-detail-page .sp-tab {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  color: #666666;
  background: none;
  border: none;
  padding: 0 0 12px 0;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.3s ease-in-out;
  position: relative; }
  .custom-diagram-detail-page .sp-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    right: -20px;
    height: 3px;
    background-color: #ED7911;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    pointer-events: none; }
  .custom-diagram-detail-page .sp-tab:first-child::after {
    left: -18px; }

.custom-diagram-detail-page .sp-tab.sp-tab--active {
  color: #ED7911; }

.custom-diagram-detail-page .sp-tab.sp-tab--active::after {
  transform: scaleX(1); }

.custom-diagram-detail-page .sp-tab:hover:not(.sp-tab--active) {
  color: #ED7911; }

.custom-diagram-detail-page .sp-tab:hover::after {
  transform: scaleX(1); }

.custom-diagram-detail-page .sp-view-all {
  height: 25px;
  background: #ED7911;
  display: flex;
  align-items: center;
  border-radius: 5px;
  margin-bottom: 9px;
  overflow: hidden;
  border: none;
  margin-bottom: 10px; }

.custom-diagram-detail-page .sp-nav-btn {
  width: 18px;
  height: 25px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-nav-btn.sp-nav-next {
  border: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px; }

.custom-diagram-detail-page .sp-nav-btn.sp-nav-next svg {
  margin-right: -2px; }

.custom-diagram-detail-page .sp-nav-btn.sp-nav-prev {
  border: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px; }

.custom-diagram-detail-page .sp-nav-btn:hover:not(.sp-nav-btn--disabled) {
  background: #CE6608; }

.custom-diagram-detail-page .sp-view-all #sp-detail-prev {
  background: #CE6608; }

.custom-diagram-detail-page .sp-view-all #sp-detail-next {
  background: #CE6608; }

.custom-diagram-detail-page .sp-nav-btn.sp-nav-btn--disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none; }

.custom-diagram-detail-page .sp-view-all-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 23px;
  color: #ffffff;
  text-decoration: none;
  padding: 2px 5px 2px 6px;
  white-space: nowrap;
  display: block;
  background-color: #ED7911;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-view-all-label:hover {
  background-color: #CE6608; }

.custom-diagram-detail-page .sp-view-all .sp-view-all-label:hover {
  background-color: #113F4F;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-view-all #sp-detail-prev:hover {
  background-color: #113F4F;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-view-all #sp-detail-next:hover {
  background-color: #113F4F;
  transition: all 0.3s ease-in-out; }

/* TAB CONTENT UTILITIES */
.custom-diagram-detail-page .sp-info-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 29px;
  letter-spacing: 0px;
  color: #000000;
  margin-bottom: 11px;
  margin-top: 0; }

.custom-diagram-detail-page .sp-info-heading:last-child {
  margin-bottom: 0px; }

.custom-diagram-detail-page .sp-info-heading.sp-info-heading-without-margin {
  margin-bottom: 0px; }

.custom-diagram-detail-page .sp-tab-content {
  display: none; }

.custom-diagram-detail-page .sp-tab-content.sp-tab-content--active {
  display: flex;
  flex-direction: column;
  border: 1px solid #CCCCCC; }

.custom-diagram-detail-page #tab-filter {
  max-height: 730px;
  min-height: 730px;
  overflow-y: auto; }

/* DIAGRAM BOX */
.custom-diagram-detail-page .sp-diagram-box {
  width: 100%;
  height: auto;
  min-height: 730px;
  border: 1px solid #CCCCCC;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 20px 20px 65px !important; }

.custom-diagram-detail-page .sp-diagram-box.sp-diagram-box--loading,
.custom-diagram-detail-page .sp-diagram-box.sp-diagram-box--error {
  padding: 20px 20px 30px !important; }

.custom-diagram-detail-page .sp-diagram-box.filter-active {
  flex: 1; }

.custom-diagram-detail-page .sp-img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; }

.custom-diagram-detail-page .sp-diagram-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.1 0.2s linear;
  transform-origin: center center;
  cursor: grab;
  z-index: 1; }

.custom-diagram-detail-page .sp-diagram-img:active {
  cursor: grabbing; }

/* DIAGRAM EMBED (API-returned content wrapper) */
.custom-diagram-detail-page .diagram-embed {
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  padding: 0px; }

.custom-diagram-detail-page .sp-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #666666; }

.custom-diagram-detail-page .sp-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #EEEEEE;
  border-top-color: #ED7911;
  border-radius: 50%;
  animation: sp-spin 0.8s linear infinite; }

.custom-diagram-detail-page .sp-loading-row td {
  border: none !important;
  padding: 0 !important;
  height: 100%; }

/* Center the loader perfectly within the full table body area */
.custom-diagram-detail-page .sp-loading-row {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; }

.custom-diagram-detail-page .sp-loading-row td .sp-loading-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center; }

.diagram-embed .sp-loading-container {
  padding-top: 15px; }

@keyframes sp-spin {
  to {
    transform: rotate(360deg); } }

/* ERROR STATES */
.custom-diagram-detail-page .sp-error-container {
  padding: 40px;
  text-align: center;
  width: 100%; }

.custom-diagram-detail-page .sp-error-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #d12a2a;
  margin: 0 0 8px 0;
  text-transform: capitalize; }

.custom-diagram-detail-page .sp-error-message {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #666666;
  margin: 0;
  text-transform: capitalize; }

.custom-diagram-detail-page .sp-error-cell {
  text-align: center;
  padding: 44px 40px !important;
  border: none !important; }

.custom-diagram-detail-page .sp-table .sp-error-row {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  table-layout: auto;
  pointer-events: none; }

.custom-diagram-detail-page .sp-table .sp-error-row .sp-error-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-bottom: none !important; }

/* NO PARTS EMPTY STATE
   tbody gets flex so it fills its allocated height (from flex:1 on desktop/tablet)
   and centers the message. min-height handles mobile where the flex chain breaks. */
.custom-diagram-detail-page .sp-table tbody.sp-table-body--empty {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px; }

.custom-diagram-detail-page .sp-table .sp-no-parts-row {
  display: flex !important;
  width: 100%; }

.custom-diagram-detail-page .sp-table .sp-no-parts-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 44px 40px !important;
  border: none !important;
  box-sizing: border-box; }

/* GLOBAL ERROR (all 3 APIs failed) */
.custom-diagram-detail-page .sp-global-error {
  padding: 60px 20px;
  text-align: center; }

.custom-diagram-detail-page .sp-global-error__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #d12a2a;
  margin: 0 0 10px 0; }

.custom-diagram-detail-page .sp-global-error__message {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #666666;
  margin: 0; }

.custom-diagram-detail-page .diagram-embed__canvas {
  display: block;
  transform-origin: 0 0;
  cursor: grab; }

.custom-diagram-detail-page .diagram-embed__hotspot:hover,
.custom-diagram-detail-page .diagram-embed__hotspot.is-hover,
.custom-diagram-detail-page .diagram-embed__hotspot:active,
.custom-diagram-detail-page .diagram-embed__hotspot.active,
.custom-diagram-detail-page .diagram-embed__hotspot:focus,
.custom-diagram-detail-page .diagram-embed__hotspot.is-focus,
.custom-diagram-detail-page .diagram-embed__hotspot:focus-visible {
  background: #ED7911 !important;
  box-shadow: 0 0 0 3px rgba(237, 121, 17, 0.5);
  outline: none;
  z-index: 10; }

.custom-diagram-detail-page .diagram-embed__hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: #113F4F;
  border-radius: 50%;
  border: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 140ms ease;
  z-index: 5;
  pointer-events: auto; }

.custom-diagram-detail-page .diagram-embed__canvas:active {
  cursor: grabbing; }

.custom-diagram-detail-page .diagram-embed__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none; }

/* Hotspots */
.custom-diagram-detail-page .sp-hotspots-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; }

.custom-diagram-detail-page .sp-hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(237, 121, 17, 0.7);
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: all 0.2s;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }

/* Share and Controls Positioning */
.custom-diagram-detail-page .sp-diagram-bottom-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: none;
  align-items: center;
  gap: 18px;
  z-index: 15; }

.custom-diagram-detail-page .sp-zoom-controls {
  display: flex;
  height: 25px;
  width: 83px;
  background: #225E72;
  border: 1px solid #0F323E;
  border-radius: 5px;
  overflow: hidden; }

.custom-diagram-detail-page .sp-zoom-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid #0F323E;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-reset-zoom-btn {
  padding: 5px 9px; }

.custom-diagram-detail-page .sp-zoom-btn:last-child {
  border-right: none;
  margin-left: -2px; }

.custom-diagram-detail-page .sp-zoom-btn svg {
  width: 13px;
  height: 13px;
  display: block; }

.custom-diagram-detail-page .sp-zoom-btn.sp-reset-zoom-btn svg {
  width: 13px;
  height: 13px;
  display: block; }

/* Specific size for zoom-in to match instructions */
.custom-diagram-detail-page .sp-zoom-btn[title="Zoom In"] svg {
  width: 13px;
  height: 13px; }

.custom-diagram-detail-page .sp-zoom-btn[title="Zoom Out"] svg {
  width: 13px;
  height: 13px; }

.custom-diagram-detail-page .sp-zoom-btn:hover {
  background: #ED7911; }

/* SHARE BUTTON LOGIC */
.custom-diagram-detail-page .sp-share-container {
  position: relative; }

.custom-diagram-detail-page .sp-share-btn {
  width: 21px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #225E72;
  transition: color 0.2s;
  padding: 0px; }

.custom-diagram-detail-page .sp-share-btn:hover {
  color: #ED7911; }

.custom-diagram-detail-page .sp-social-dropdown {
  position: absolute;
  bottom: 35px;
  right: -10px;
  background: #ffffff;
  border: 1px solid #CCCCCC;
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  display: flex; }

.custom-diagram-detail-page .sp-social-dropdown::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 15px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-bottom: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  transform: rotate(45deg); }

.custom-diagram-detail-page .sp-share-container:hover .sp-social-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0); }

.custom-diagram-detail-page .sp-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s; }

.custom-diagram-detail-page .sp-social-icon:hover {
  opacity: 0.8; }

.custom-diagram-detail-page .sp-social-icon.fb {
  background: #0866FF; }

.custom-diagram-detail-page .sp-social-icon.tw {
  background: #000000; }

.custom-diagram-detail-page .sp-social-icon.pi {
  background: #E60023; }

.custom-diagram-detail-page .sp-social-icon.wa {
  background: #25d366; }

.custom-diagram-detail-page .sp-social-icon.in {
  background: #0a66c2; }

.custom-diagram-detail-page .sp-social-icon.mail {
  background: #EA4335; }

.custom-diagram-detail-page .sp-social-icon.link {
  background: #6B7280; }

.custom-diagram-detail-page .sp-social-icon svg {
  width: 16px;
  height: 16px; }

/* INFO BOX */
.custom-diagram-detail-page .sp-info-box {
  width: 100%;
  flex: 1;
  border: 1px solid #CCCCCC;
  background: #ffffff;
  padding: 25px;
  overflow-y: auto;
  font-family: 'Poppins', sans-serif;
  color: #333333; }

.custom-diagram-detail-page .sp-info-box::-webkit-scrollbar {
  width: 11px; }

.custom-diagram-detail-page .sp-info-box::-webkit-scrollbar-track {
  background-color: #ECECEC;
  border-radius: 0px; }

.custom-diagram-detail-page .sp-info-box::-webkit-scrollbar-thumb {
  background-color: #C9C9C9;
  border-radius: 10px;
  background-clip: padding-box;
  border: 3px solid transparent; }

.custom-diagram-detail-page .sp-info-box p {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 15px;
  margin-top: 25px; }

.custom-diagram-detail-page .sp-info-box p:first-child {
  margin-top: 0; }

.custom-diagram-detail-page .sp-info-list {
  list-style: none;
  margin-bottom: 25px;
  margin-left: 0; }

.custom-diagram-detail-page .sp-info-list.sp-info-list--bottom {
  margin-bottom: 30px; }

.custom-diagram-detail-page .sp-info-list li {
  position: relative;
  padding-left: 0px;
  font-size: 16px;
  line-height: 38px;
  letter-spacing: 0px;
  color: #000000; }

.custom-diagram-detail-page .sp-info-list li::before {
  content: '';
  display: inline-block;
  width: 5.56px;
  height: 9.75px;
  margin-right: 9.44px;
  background: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.81022 5.12715C5.81022 5.30197 5.74348 5.47676 5.61026 5.61004L1.41609 9.80417C1.14929 10.071 0.716713 10.071 0.45002 9.80417C0.183327 9.53748 0.183327 9.10499 0.45002 8.83817L4.16126 5.12715L0.450151 1.41611C0.183457 1.14931 0.183457 0.716867 0.450151 0.450195C0.716844 0.183265 1.14942 0.183265 1.41622 0.450195L5.61039 4.64426C5.74363 4.7776 5.81022 4.9524 5.81022 5.12715Z' fill='%23ED7911' stroke='%23ED7911' stroke-width='0.5'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain; }

.custom-diagram-detail-page .sp-info-divider {
  height: 1px;
  background: #cccccc;
  margin: 23px 0px; }

.custom-diagram-detail-page .sp-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  background: #225E72;
  color: #fff;
  border-radius: 5px;
  vertical-align: middle;
  font-size: 10px; }

.custom-diagram-detail-page .sp-inline-icon-orange {
  background: #CE6608;
  border-radius: 5px;
  width: 18px;
  height: 25px;
  margin: 0px 4px 2px 4px; }

.custom-diagram-detail-page .sp-inline-icon-orange:first-child {
  margin: 0px 0px 2px 4px; }

.custom-diagram-detail-page .sp-inline-icon-orange:last-child {
  margin: 0px 4px 2px 5px; }

.custom-diagram-detail-page .sp-inline-number {
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  background-color: #113F4F;
  margin-right: 2px;
  color: #fff; }

/* FILTER BOX (Overlay) */
.custom-diagram-detail-page .sp-filter-overlay {
  width: 100%;
  height: 100%;
  background: #ffffff; }

.custom-diagram-detail-page .sp-filter-overlay.active {
  overflow: hidden; }

.custom-diagram-detail-page .sp-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #CCCCCC; }

.custom-diagram-detail-page .sp-filter-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #000000; }

.custom-diagram-detail-page .sp-reset-btn {
  background: rgba(34, 94, 114, 0.9);
  color: #fff;
  border: none;
  padding: 6px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
  border-color: #999999;
  text-align: center; }

.custom-diagram-detail-page .sp-reset-btn:hover:not(:disabled) {
  background: #225e72;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-reset-btn:disabled {
  background: #333333;
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65; }

.custom-diagram-detail-page .sp-filter-header-right {
  display: flex;
  align-items: center;
  gap: 8px; }

.custom-diagram-detail-page .sp-filter-active-badge {
  color: #14AE5C;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  padding: 0px 0px 0px 5px;
  transition: all 0.5s ease-in-out;
  display: none; }

.custom-diagram-detail-page .sp-sub-description {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: #000000;
  margin-top: 3px;
  font-family: 'Poppins', sans-serif; }

.custom-diagram-detail-page .sp-filter-list {
  overflow-x: hidden;
  overflow-y: auto; }

.custom-diagram-detail-page .sp-filter-list::-webkit-scrollbar {
  width: 11px; }

.custom-diagram-detail-page .sp-filter-list::-webkit-scrollbar-track {
  background-color: #ECECEC;
  border-radius: 0px; }

.custom-diagram-detail-page .sp-filter-list::-webkit-scrollbar-thumb {
  background-color: #C9C9C9;
  border-radius: 10px;
  background-clip: padding-box;
  border: 3px solid transparent; }

.custom-diagram-detail-page .sp-filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #cccccc;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #666;
  height: max-content !important; }

.custom-diagram-detail-page .sp-filter-item--placeholder {
  min-height: 46px;
  background: #ffffff;
  cursor: default;
  pointer-events: none; }

.custom-diagram-detail-page .sp-filter-item-left {
  display: flex;
  align-items: center;
  gap: 15px; }

.custom-diagram-detail-page .sp-filter-label {
  color: #000000; }

.custom-diagram-detail-page .sp-filter-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  cursor: pointer; }

.custom-diagram-detail-page .sp-toggle-switch {
  position: relative;
  display: inline-block;
  width: 37px;
  height: 20px;
  vertical-align: middle; }

.custom-diagram-detail-page .sp-toggle-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none; }

.custom-diagram-detail-page .sp-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #DDDDDD;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none; }

.custom-diagram-detail-page .sp-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  will-change: transform;
  pointer-events: none; }

.custom-diagram-detail-page .sp-toggle-switch input:checked + .sp-toggle-slider {
  background-color: #ED7911; }

.custom-diagram-detail-page .sp-toggle-switch input:checked + .sp-toggle-slider:before {
  transform: translateX(16px); }

/* TABLE SECTION */
.custom-diagram-detail-page .sp-table-scroll {
  width: 100%;
  max-height: 786px;
  min-height: 786px;
  /* Accounts for Tabs area header spacing */
  overflow: hidden;
  contain: paint;
  isolation: isolate;
  border: 1px solid #CCCCCC;
  background: #ffffff;
  border-radius: 0;
  display: flex;
  flex-direction: column; }

.custom-diagram-detail-page .sp-table {
  width: 100%;
  border-collapse: collapse;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden; }

.custom-diagram-detail-page .sp-table thead {
  background: #EEEEEE;
  display: table;
  width: 100%;
  table-layout: fixed;
  padding-right: 11px; }

.custom-diagram-detail-page .sp-table tbody {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  flex: 1;
  position: relative;
  contain: paint;
  isolation: isolate; }

.custom-diagram-detail-page .sp-table tbody::-webkit-scrollbar {
  width: 11px; }

.custom-diagram-detail-page .sp-table tbody::-webkit-scrollbar-track {
  background-color: #ECECEC;
  border-left: 1px solid #CCCCCC;
  border-radius: 0px; }

.custom-diagram-detail-page #tab-filter .sp-filter-list::-webkit-scrollbar-track {
  background-color: #ECECEC;
  border-left: 1px solid #CCCCCC;
  border-radius: 0px; }

.custom-diagram-detail-page .sp-table tbody::-webkit-scrollbar-thumb {
  background-color: #C9C9C9;
  border-radius: 10px;
  background-clip: padding-box;
  border: 3px solid transparent; }

.custom-diagram-detail-page .sp-table tr {
  display: table;
  width: 100%;
  table-layout: fixed; }

.custom-diagram-detail-page .hidden-by-filter {
  display: none !important; }

.custom-diagram-detail-page .sp-table th {
  border-bottom: 1px solid #CCCCCC;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 23px;
  color: #888888;
  text-align: left; }

.custom-diagram-detail-page .sp-table th:nth-child(1) {
  width: 6.2%;
  text-align: center;
  padding-left: 26px;
  text-transform: uppercase; }

.custom-diagram-detail-page .sp-table th:nth-child(2) {
  width: 20.8%;
  padding: 11.5px 24px 11px 31px; }

.custom-diagram-detail-page .sp-table th:nth-child(3) {
  width: 48%;
  padding: 11.5px 24px 11px 0px; }

.custom-diagram-detail-page .sp-table th:last-child {
  width: 25%;
  text-align: right;
  padding-right: 30px; }

.custom-diagram-detail-page .sp-table td {
  padding: 21px;
  border-bottom: 1px solid #CCCCCC;
  vertical-align: middle; }

.custom-diagram-detail-page .sp-table-row {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  z-index: 1; }

.custom-diagram-detail-page .sp-table-row.pulse {
  z-index: 99 !important;
  position: relative;
  outline: none; }

.custom-diagram-detail-page .sp-expanded-content-row.pulse {
  z-index: 98 !important;
  position: relative;
  outline: none; }

.custom-diagram-detail-page .sp-table-row.is-active-part,
.custom-diagram-detail-page .sp-table-row:hover {
  background: #fffaf6 !important; }

.custom-diagram-detail-page .sp-table-row.sp-table-row--expanded {
  background: #fffaf6; }

.custom-diagram-detail-page .sp-table-row td:nth-child(1),
.custom-diagram-detail-page .sp-table-row td:nth-child(2),
.custom-diagram-detail-page .sp-table-row td:nth-child(3) {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000; }

.custom-diagram-detail-page .sp-table-row td:nth-child(2) {
  text-transform: uppercase; }

.custom-diagram-detail-page .sp-table-row td:nth-child(1) {
  width: 6.2%;
  text-align: center;
  padding-left: 30px; }

.custom-diagram-detail-page .sp-table-row td:nth-child(2) {
  width: 20.8%;
  padding: 21px 24px 21px 32px;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word; }

.custom-diagram-detail-page .sp-table-row td:nth-child(3) {
  width: 48%;
  padding-left: 4px;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word; }

.custom-diagram-detail-page .sp-table-row td:last-child {
  width: 25%;
  text-align: right;
  padding-right: 20px; }

/* text-align: center consolidated above */
.custom-diagram-detail-page .sp-price-cell {
  width: 25%;
  text-align: right;
  white-space: nowrap;
  cursor: pointer; }

.custom-diagram-detail-page .sp-price-from {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #000000;
  margin-right: 2px; }

.custom-diagram-detail-page .sp-price-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #ED7911;
  margin: 0 -2px; }

.custom-diagram-detail-page .sp-arrow-down {
  vertical-align: middle;
  margin-left: 5.72px;
  transition: transform 0.3s ease-in-out;
  width: 14.25px;
  height: 9.28px;
  transform: rotate(0deg);
  margin-right: -4px;
  margin-bottom: 5px; }

.custom-diagram-detail-page .sp-table-row--expanded {
  background: #fffaf6; }

.custom-diagram-detail-page .sp-table-row {
  transition: background 0.2s; }

.custom-diagram-detail-page .sp-table-row.is-active-part,
.custom-diagram-detail-page .sp-table-row:hover {
  background: #fffaf6 !important; }

.custom-diagram-detail-page .sp-table-row--expanded td {
  border-bottom: none; }

.custom-diagram-detail-page .sp-table-row--expanded .sp-arrow-down {
  transform: rotate(180deg); }

.custom-diagram-detail-page .sp-expanded-content-row {
  background: #fffaf6; }

.custom-diagram-detail-page .sp-expanded-content-row.is-open {
  background: #FFF3E9; }
  .custom-diagram-detail-page .sp-expanded-content-row.is-open:last-child {
    border-bottom: 1px solid #ccc !important; }

.custom-diagram-detail-page .sp-expanded-content-row td {
  padding: 0;
  border-bottom: none; }

.custom-diagram-detail-page .sp-products-loading {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 30px; }

.custom-diagram-detail-page .sp-products-loading__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ED7911;
  animation: sp-dot-pulse 1.2s infinite ease-in-out; }
  .custom-diagram-detail-page .sp-products-loading__dot:nth-child(2) {
    animation-delay: 0.2s; }
  .custom-diagram-detail-page .sp-products-loading__dot:nth-child(3) {
    animation-delay: 0.4s; }

.custom-diagram-detail-page .sp-table-scroll .sp-table-row.is-active-part {
  border-bottom: 1px solid #CCCCCC; }

.custom-diagram-detail-page .sp-table-scroll .sp-table-row.sp-table-row--expanded.is-active-part {
  border-bottom: none; }

@keyframes sp-dot-pulse {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: scale(0.8); }
  40% {
    opacity: 1;
    transform: scale(1); } }

.custom-diagram-detail-page .sp-no-products {
  padding: 15px 17px;
  font-size: 16px;
  color: #888888;
  margin: 0;
  border-left: 3px solid #ED7911; }

.custom-diagram-detail-page .sp-expanded-box.sp-expanded-box--empty {
  padding: 0;
  padding-right: 0; }

.custom-diagram-detail-page .sp-expanded-box.sp-expanded-box--empty .sp-no-products {
  width: 100%;
  border-left: none; }

.custom-diagram-detail-page .sp-expanded-grid-wrapper {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .sp-expanded-grid-wrapper:last-child .sp-expanded-box {
  border-bottom: 1px solid #CCCCCC; }

.custom-diagram-detail-page .sp-expanded-box {
  display: flex;
  align-items: center;
  background: inherit;
  border-left: 3px solid #ED7911;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 0; }

.custom-diagram-detail-page .sp-expanded-img-wrapper {
  margin-right: 23px;
  padding: 10px 0 10px 17px;
  width: 7.298%;
  min-width: 52px;
  max-width: 52px; }

.custom-diagram-detail-page .sp-expanded-img {
  width: 34px;
  height: 34px;
  margin: 0;
  object-fit: cover;
  background: #ffffff; }

.custom-diagram-detail-page .sp-expanded-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  flex-grow: 1;
  padding: 15px 15px 15px 0; }

.custom-diagram-detail-page .sp-expanded-title a {
  color: #000000;
  text-decoration: none; }
  .custom-diagram-detail-page .sp-expanded-title a:hover {
    color: #ED7911; }

.custom-diagram-detail-page .sp-expanded-qty {
  display: flex;
  align-items: center;
  border: 1px solid #CCCCCC;
  border-radius: 3px;
  height: 32px;
  width: 5.099%;
  max-width: 57px;
  min-width: 57px;
  background: #FFFFFF;
  overflow: hidden;
  margin: 11px 0 11px 15px; }

.custom-diagram-detail-page .sp-qty-input {
  width: 40px;
  height: 100%;
  border: none;
  border-right: 1px solid #CCCCCC;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000000;
  text-align: center;
  outline: none;
  padding: 0;
  -moz-appearance: textfield; }

.custom-diagram-detail-page .sp-qty-input::-webkit-outer-spin-button,
.custom-diagram-detail-page .sp-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; }

.custom-diagram-detail-page .sp-qty-controls {
  display: flex;
  flex-direction: column;
  width: 17px;
  height: 100%;
  background: #ECECEC; }

.custom-diagram-detail-page .sp-qty-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  height: 50%; }

.custom-diagram-detail-page .sp-qty-btn:first-child {
  border-bottom: 1px solid #CCCCCC; }

.custom-diagram-detail-page .sp-qty-btn:hover {
  background: #DDDDDD; }

/* Base button styles as provided */
.custom-diagram-detail-page .button.button--primary {
  height: 54px;
  border: none;
  border-radius: 3px;
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  background: #ed7911;
  background: -moz-linear-gradient(top, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  background: -webkit-linear-gradient(top, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  background: linear-gradient(to bottom, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  color: #ffffff;
  cursor: pointer;
  padding-inline: 30px;
  transition: background 0.3s; }

.custom-diagram-detail-page .button.button--primary:hover,
.custom-diagram-detail-page .button.button--primary:focus,
.custom-diagram-detail-page .button.button--primary:active {
  background: #225e72;
  background: -moz-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: -webkit-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: linear-gradient(to bottom, #225e72 0%, #225e72 91%, #113f4f 94%); }

.custom-diagram-detail-page .previewCartCheckout .button.button--primary {
  width: 100%;
  font-size: 16px;
  padding: 18px 15px 16px;
  margin: 0 0 10px 0 !important;
  background: #ed7911;
  height: auto;
  background: -moz-linear-gradient(top, #ed7911 0%, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  background: -webkit-linear-gradient(top, #ed7911 0%, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  background: linear-gradient(to bottom, #ed7911 0%, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed7911', endColorstr='#ce6608', GradientType=0); }

.custom-diagram-detail-page .previewCartCheckout .button.button--primary:hover,
.custom-diagram-detail-page .previewCartCheckout .button.button--primary:focus,
.custom-diagram-detail-page .previewCartCheckout .button.button--primary:active {
  background: #ed7911;
  height: auto;
  background: -moz-linear-gradient(top, #ed7911 0%, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: -webkit-linear-gradient(top, #ed7911 0%, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: linear-gradient(to bottom, #ed7911 0%, #225e72 0%, #225e72 91%, #113f4f 94%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed7911', endColorstr='#113f4f', GradientType=0); }

.custom-diagram-detail-page .button.button--primary.sp-add-to-cart {
  height: 32px;
  width: 18.6%;
  max-width: 144px;
  min-width: 144px;
  padding: 6px 10px 5px 10px;
  margin-left: 12px;
  margin-top: 11px;
  margin-bottom: 11px;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden; }

.custom-diagram-detail-page .button.button--primary.sp-outof-stock {
  background: #d12a2a;
  background: -moz-linear-gradient(top, #d12a2a 0%, #d12a2a 91%, #a90404 94%);
  background: -webkit-linear-gradient(top, #d12a2a 0%, #d12a2a 91%, #a90404 94%);
  background: linear-gradient(to bottom, #d12a2a 0%, #d12a2a 91%, #a90404 94%); }

.custom-diagram-detail-page .button.button--primary.sp-outof-stock:hover,
.custom-diagram-detail-page .button.button--primary.sp-outof-stock:focus,
.custom-diagram-detail-page .button.button--primary.sp-outof-stock:active {
  background: #225e72;
  background: -moz-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: -webkit-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: linear-gradient(to bottom, #225e72 0%, #225e72 91%, #113f4f 94%); }

@keyframes sp-fade-cart {
  0%,
  30% {
    opacity: 1; }
  45% {
    opacity: 0; }
  85% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@keyframes sp-fade-price {
  0% {
    opacity: 0; }
  30% {
    opacity: 0; }
  45% {
    opacity: 1; }
  85% {
    opacity: 1; }
  100% {
    opacity: 0; } }

.custom-diagram-detail-page .sp-btn-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  pointer-events: none; }

.custom-diagram-detail-page .sp-btn-label--cart {
  animation: sp-fade-cart 5s ease-in-out infinite; }

.custom-diagram-detail-page .sp-btn-label--price {
  animation: sp-fade-price 5s ease-in-out infinite; }

/* CAROUSEL */
.custom-diagram-detail-page .sp-carousel-section {
  position: relative;
  margin-bottom: 0;
  width: 100%;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; }

.custom-diagram-detail-page .sp-carousel-section.is-loading {
  opacity: 0;
  visibility: hidden; }

/* Fewer slides than slidesToShow — active slide centered via CSS order + margin auto */
.custom-diagram-detail-page .sp-carousel-section.sp-carousel--centered .slick-track {
  display: flex !important;
  float: none !important;
  width: auto !important;
  transform: none !important;
  margin: 0 auto !important; }

.custom-diagram-detail-page .sp-carousel-section.sp-carousel--centered .slick-slide {
  float: none !important;
  flex-shrink: 0; }

/* ── SLICK GAP: 25px between every card ── */
/* Each slide gets 12.5px padding on each side = 25px gap between neighbours */
.custom-diagram-detail-page #sp-carousel-track .slick-slide {
  padding: 0 12.5px;
  box-sizing: border-box;
  margin-left: 2px; }

/* Negative margin on the track cancels the outer edge padding */
.custom-diagram-detail-page #sp-carousel-track {
  margin: 0 -12.5px; }

.custom-diagram-detail-page .sp-carousel-error {
  width: 100%;
  text-align: center;
  padding: 20px;
  color: #d12a2a;
  font-family: 'Poppins', sans-serif;
  font-size: 16px; }

.custom-diagram-detail-page .sp-carousel-viewport {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 8px;
  box-sizing: border-box; }

.custom-diagram-detail-page .sp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 30px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #0E0E0E;
  transition: color 0.2s ease, opacity 0.2s ease; }

.custom-diagram-detail-page .sp-carousel-arrow:hover:not(:disabled) {
  color: #ed7911; }

.custom-diagram-detail-page .sp-carousel-arrow:disabled {
  color: #cccccc;
  cursor: default; }

.custom-diagram-detail-page .sp-arrow-left {
  right: auto;
  left: -48px; }

.custom-diagram-detail-page .sp-arrow-right {
  color: #0E0E0E;
  left: auto;
  right: -48px; }

/* productGrid flex styles are overridden by Slick — keep only non-conflicting resets */
.custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid {
  display: block;
  /* Slick takes over flex layout */
  margin: 0;
  padding: 0;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none; }

.custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid::-webkit-scrollbar {
  display: none; }

.custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid .product {
  width: 224px;
  flex: 0 0 224px;
  cursor: pointer;
  transition: transform 0.3s ease; }

.custom-diagram-detail-page .product .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background-color: transparent;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-bottom: 0px; }

.custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid .product .card .card-figure {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 224px;
  max-height: 224px;
  position: relative;
  float: none;
  margin: 0 0 15px 0;
  padding: 0;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out; }

.custom-diagram-detail-page .product .card .card-body {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
  text-align: center;
  margin-top: 0px; }

.custom-diagram-detail-page .product .card .card-body a {
  display: inline-block !important;
  margin-top: 15px; }

.custom-diagram-detail-page .sp-expanded-img-link {
  display: block;
  line-height: 0;
  cursor: zoom-in; }

.custom-diagram-detail-page .product .card .card-body a p.card-title_text {
  display: inline-block !important;
  margin: 0; }

.custom-diagram-detail-page .sp-carousel-viewport .productGrid:before,
.custom-diagram-detail-page .sp-carousel-viewport .productGrid:after {
  display: none; }

.custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid .product .card .card-figure > a,
.custom-diagram-detail-page .card-figure > a {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 224px;
  max-height: 224px;
  display: flex;
  position: relative;
  border: 1px solid rgba(204, 204, 204, 0.8);
  background: #ffffff;
  box-sizing: border-box;
  box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-sizing: border-box;
  -webkit-box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; }

.custom-diagram-detail-page .card-figure a {
  position: relative; }

.custom-diagram-detail-page .card-figure a::before,
.custom-diagram-detail-page .card-figure a::after {
  position: absolute;
  top: -1px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  content: '';
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
  z-index: 10; }

.custom-diagram-detail-page #sp-carousel-track .product .card:hover,
.custom-diagram-detail-page #sp-carousel-track .product .card:focus-within,
.custom-diagram-detail-page #sp-carousel-track .product .card:active,
.custom-diagram-detail-page #sp-carousel-track .product .card.card--active {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none; }

.custom-diagram-detail-page .card-figure a::before {
  border-top: 2px solid #225E72;
  border-bottom: 2px solid #225E72;
  transform: scale(0, 1); }

.custom-diagram-detail-page .card-figure a::after {
  border-right: 2px solid #225E72;
  border-left: 2px solid #225E72;
  transform: scale(1, 0); }

.custom-diagram-detail-page .card:hover .card-figure a::before,
.custom-diagram-detail-page .card:hover .card-figure a::after,
.custom-diagram-detail-page .card:focus-within .card-figure a::before,
.custom-diagram-detail-page .card:focus-within .card-figure a::after,
.custom-diagram-detail-page .card:active .card-figure a::before,
.custom-diagram-detail-page .card:active .card-figure a::after,
.custom-diagram-detail-page .card--hover .card-figure a::before,
.custom-diagram-detail-page .card--hover .card-figure a::after,
.custom-diagram-detail-page .card.card--active .card-figure a::before,
.custom-diagram-detail-page .card.card--active .card-figure a::after {
  opacity: 1;
  transform: scale(1); }

/* Active Carousel State */
.custom-diagram-detail-page .card--active .card-title_text {
  color: #ed7911;
  font-weight: 400; }

.custom-diagram-detail-page .card-title_text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
  text-align: center;
  color: #225E72;
  transition: color 0.5s;
  margin: 0; }

.custom-diagram-detail-page .card:hover .card-title_text,
.custom-diagram-detail-page .card:focus-within .card-title_text,
.custom-diagram-detail-page .card:active .card-title_text,
.custom-diagram-detail-page .card--hover .card-title_text,
.custom-diagram-detail-page .card--active .card-title_text {
  color: #ed7911; }

.custom-diagram-detail-page .card-figure a .card-img-container {
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; }

.custom-diagram-detail-page .card-figure a .card-img-container img.card-image {
  display: inline-block !important;
  position: static;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none; }

.custom-diagram-detail-page .sp-carousel-section {
  margin-top: 60px; }

.custom-diagram-detail-page .pace {
  display: none; }

.custom-diagram-detail-page .sp-expanded-thumbnail-img {
  padding: 4px 4px 6px 4px; }

.custom-diagram-detail-page .sp-table-row.sp-hidden,
.custom-diagram-detail-page .sp-expanded-content-row.sp-hidden {
  display: none !important; }

body.custom-diagram-detail-page .product .card:hover .card-figure > a,
body.custom-diagram-detail-page .product .card.card--active .card-figure > a,
body.custom-diagram-detail-page .product .card-figure:hover > a {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  transition: transform 0.3s ease-in-out; }

.custom-diagram-detail-page .previewCartAction-checkout .button--primary {
  width: auto;
  float: left;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 17px 15px 15px;
  margin: 0;
  line-height: 1;
  height: auto;
  background: #ed7911;
  background: -moz-linear-gradient(top, #ed7911 0%, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  background: -webkit-linear-gradient(top, #ed7911 0%, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  background: linear-gradient(to bottom, #ed7911 0%, #ed7911 0%, #ed7911 91%, #ce6608 94%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed7911', endColorstr='#ce6608', GradientType=0); }

.custom-diagram-detail-page .previewCartAction-checkout .button--primary:hover,
.custom-diagram-detail-page .previewCartAction-checkout .button--primary:focus,
.custom-diagram-detail-page .previewCartAction-checkout .button--primary:active {
  color: #fff;
  height: auto;
  background: #ed7911;
  background: -moz-linear-gradient(top, #ed7911 0%, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: -webkit-linear-gradient(top, #ed7911 0%, #225e72 0%, #225e72 91%, #113f4f 94%);
  background: linear-gradient(to bottom, #ed7911 0%, #225e72 0%, #225e72 91%, #113f4f 94%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed7911', endColorstr='#113f4f', GradientType=0); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE SLIDER BREAKPOINTS
   Arrows are fixed at left:0 / right:0 in base styles — section
   padding reserves the space so cards never slide under an arrow.
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1860px) and (min-width: 1801px) {
  .custom-diagram-detail-page .sp-arrow-right {
    right: -35px; }
  .custom-diagram-detail-page .sp-arrow-left {
    left: -35px; } }

@media (max-width: 1800px) and (min-width: 769px) {
  .custom-diagram-detail-page .sp-arrow-right,
  .custom-diagram-detail-page .sp-arrow-left {
    background: #EEEEEE;
    border: 1px solid #CCCCCC;
    width: 36px;
    height: 36px;
    border-radius: 100px; }
    .custom-diagram-detail-page .sp-arrow-right svg,
    .custom-diagram-detail-page .sp-arrow-left svg {
      width: 12px;
      height: 18px; }
  .custom-diagram-detail-page .sp-arrow-right {
    right: -18px; }
    .custom-diagram-detail-page .sp-arrow-right svg {
      margin: 0 auto 0 13px; }
  .custom-diagram-detail-page .sp-arrow-left {
    left: -16px; }
    .custom-diagram-detail-page .sp-arrow-left svg {
      margin-left: -5px; } }

@media (max-width: 1760px) and (min-width: 1200px) {
  .custom-diagram-detail-page .sp-main-layout {
    flex-direction: row;
    flex-wrap: nowrap; }
  .custom-diagram-detail-page .sp-left-section {
    width: calc(50% - 10px);
    flex: 0 0 calc(50% - 10px); }
  .custom-diagram-detail-page .sp-right-section {
    width: calc(50% - 10px);
    flex: 0 0 calc(50% - 10px);
    position: sticky;
    top: 60px;
    align-self: flex-start; } }

/* ── Below 1600px → 5 slides, 20px gap, auto card size, arrows inside ── */
@media (max-width: 1599px) {
  /* 20px gap: 10px on each side */
  .custom-diagram-detail-page #sp-carousel-track .slick-slide {
    padding: 0 10px; }
  .custom-diagram-detail-page #sp-carousel-track {
    margin: 0 -10px; }
  /* Removing padding to let all cards touch the container edge */
  .custom-diagram-detail-page .sp-carousel-section {
    padding: 0;
    box-sizing: border-box; }
  /* Auto card size — Slick controls slide width */
  .custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid .product {
    width: 100%;
    flex: none; }
  .custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid .product .card .card-figure {
    width: 100%;
    max-width: none;
    max-height: none; }
  .custom-diagram-detail-page .custom-catrgory-new .productGrid.catrgory-grid .product .card .card-figure > a,
  .custom-diagram-detail-page .card-figure > a {
    width: 100%;
    max-width: none;
    max-height: none; }
  .custom-diagram-detail-page .sp-table-row td:nth-child(1),
  .custom-diagram-detail-page .sp-table-row td:nth-child(2),
  .custom-diagram-detail-page .sp-table-row td:nth-child(3),
  .custom-diagram-detail-page .sp-table th,
  .custom-diagram-detail-page .sp-price-val,
  .custom-diagram-detail-page .sp-expanded-title {
    font-size: 14px;
    line-height: 21px; }
  .custom-diagram-detail-page .sp-price-from {
    font-size: 12px;
    line-height: 18px; }
  .custom-diagram-detail-page .sp-table th:nth-child(1),
  .custom-diagram-detail-page .sp-table-row td:nth-child(1) {
    width: 5.8%; }
  .custom-diagram-detail-page .sp-table th:nth-child(2),
  .custom-diagram-detail-page .sp-table-row td:nth-child(2) {
    width: 32%; }
  .custom-diagram-detail-page .sp-table th:nth-child(2) {
    padding: 11.5px 24px 11px 32px; }
  .custom-diagram-detail-page .sp-table th:nth-child(3),
  .custom-diagram-detail-page .sp-table-row td:nth-child(3) {
    width: 39.5%; }
  .custom-diagram-detail-page .sp-table-row td:nth-child(4),
  .custom-diagram-detail-page .sp-table th:nth-child(4) {
    width: 31.25%; }
  .custom-diagram-detail-page .sp-expanded-box {
    padding-right: 15px; }
  .custom-diagram-detail-page .sp-expanded-img-wrapper {
    padding-left: 15px;
    margin-right: 15px; }
  .custom-diagram-detail-page .sp-table-row td:nth-child(1) {
    padding-left: 22px; }
  .custom-diagram-detail-page .sp-table th:nth-child(1) {
    padding-left: 15px; }
  .custom-diagram-detail-page .sp-table th:last-child {
    padding-right: 28px; }
  .custom-diagram-detail-page .sp-no-products {
    font-size: 14px;
    line-height: 21px; }
  .custom-diagram-detail-page .sp-info-heading {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px; }
  .custom-diagram-detail-page .sp-info-list li {
    position: relative;
    padding-left: 0px;
    font-size: 14px;
    line-height: 28px;
    margin-bottom: 5px; }
    .custom-diagram-detail-page .sp-info-list li:last-child {
      margin-bottom: 0; }
  .custom-diagram-detail-page .sp-info-list li::before {
    font-size: 14px;
    line-height: 28px; }
  .custom-diagram-detail-page .sp-info-divider {
    margin: 20px 0; } }

@media (max-width: 1199px) {
  .custom-diagram-detail-page .sp-main-layout {
    flex-direction: column;
    gap: 34px; }
  .custom-diagram-detail-page .sp-left-section {
    width: 100%;
    flex: 0 0 100%; }
  .custom-diagram-detail-page .sp-right-section {
    width: 100%;
    flex: 0 0 100%;
    position: static;
    top: auto;
    align-self: auto; }
  .custom-diagram-detail-page .sp-main-layout.sp-mobile-all-filters-off .sp-right-section {
    display: none !important; }
  .custom-diagram-detail-page .sp-table-scroll {
    max-height: 570px;
    min-height: 227px; }
  .custom-diagram-detail-page .sp-diagram-box {
    height: auto;
    min-height: auto;
    padding: 20px 20px 60px; }
  .custom-diagram-detail-page .sp-diagram-box.sp-diagram-box--loading,
  .custom-diagram-detail-page .sp-diagram-box.sp-diagram-box--error {
    aspect-ratio: 1/1; }
  .custom-diagram-detail-page #tab-filter {
    max-height: 570px;
    min-height: auto;
    overflow-y: overlay; }
  .custom-diagram-detail-page .sp-main-layout.sp-mobile-all-filters-off .sp-right-section {
    display: none; }
  .custom-diagram-detail-page .sp-filter-item {
    width: 25%;
    border-right: 1px solid #CCCCCC;
    border-left: none;
    position: relative; }
    .custom-diagram-detail-page .sp-filter-item:nth-child(4n) {
      border-right: none; }
    .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 1)::after, .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 2)::after, .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 3)::after {
      content: '';
      position: absolute;
      left: 100%;
      bottom: -1px;
      height: 1px;
      background-color: #CCCCCC;
      pointer-events: none; }
    .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 1)::after {
      width: 303%; }
    .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 2)::after {
      width: 203%; }
    .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 3)::after {
      width: 105%; }
  .custom-diagram-detail-page .sp-table th:nth-child(1) {
    padding-left: 0px; }
  .custom-diagram-detail-page .sp-table tbody {
    height: 100%;
    aspect-ratio: 1/1; }
  .custom-diagram-detail-page .sp-loading-row {
    aspect-ratio: 1/1; } }

@media (max-width: 1024px) {
  .custom-diagram-detail-page .breadcrumbs {
    margin-bottom: 25px; }
  .custom-diagram-detail-page .sp-diagram-bottom-controls {
    gap: 15px; }
  .custom-diagram-detail-page .sp-zoom-controls {
    width: auto !important; }
  .custom-diagram-detail-page .sp-zoom-btn[title="Zoom In"] {
    display: none; }
  .custom-diagram-detail-page .sp-zoom-btn[title="Zoom Out"] {
    display: none; }
  .custom-diagram-detail-page .sp-zoom-btn {
    border-right: none; }
  .custom-diagram-detail-page .sp-reset-zoom-btn {
    margin-bottom: -0px;
    margin-left: -2px; }
  .custom-diagram-detail-page .sp-table th:nth-child(1) {
    padding-left: 5px; } }

@media (max-width: 768px) {
  .custom-diagram-detail-page .sp-arrow-right,
  .custom-diagram-detail-page .sp-arrow-left {
    top: -31px;
    background: #EEEEEE;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 100px;
    color: #EEEEEE; }
    .custom-diagram-detail-page .sp-arrow-right svg,
    .custom-diagram-detail-page .sp-arrow-left svg {
      width: 10px;
      height: 16px; }
  .custom-diagram-detail-page .sp-arrow-right {
    right: 2px; }
    .custom-diagram-detail-page .sp-arrow-right svg {
      margin: 0 auto 0 11px; }
  .custom-diagram-detail-page .sp-arrow-left {
    right: 49px;
    left: auto; }
  .custom-diagram-detail-page .sp-carousel-section {
    margin-top: 97px; }
  .custom-diagram-detail-page #sp-carousel-track .slick-slide {
    padding: 0 8px; }
  .custom-diagram-detail-page .card::before,
  .custom-diagram-detail-page .card::after {
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px; }
  .custom-diagram-detail-page .product .card .card-body a {
    margin-top: 14px; }
  .custom-diagram-detail-page .card-title_text {
    font-size: 14px;
    line-height: 21px; }
  .custom-diagram-detail-page .sp-table th:nth-child(1) {
    padding-left: 10px; } }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE TABLE & LAYOUT — 768px and below
   Card-style rows: line 1 = #mark + MPN:value
   Line 2 = description (left) + price (right)
   Expanded = image+title row, then full-width counter + Add to Cart
   Only 4 rows visible initially, "Show More" arrow to reveal rest
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 567px) {
  /* ── Main layout stacks vertically ── */
  .custom-diagram-detail-page .sp-main-layout {
    flex-direction: column;
    margin-bottom: 30px; }
  .custom-diagram-detail-page .sp-left-section {
    width: 100%;
    flex: 0 0 100%; }
  .custom-diagram-detail-page .sp-right-section {
    width: 100%;
    flex: 0 0 100%;
    position: static;
    top: auto;
    align-self: auto; }
  .custom-diagram-detail-page .sp-center-section {
    display: block;
    width: 100%;
    background-color: #EEEEEE;
    height: 34px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC; }
  .custom-diagram-detail-page .sp-main-layout.sp-mobile-all-filters-off .sp-center-section,
  .custom-diagram-detail-page .sp-main-layout.sp-mobile-all-filters-off .sp-right-section {
    display: none !important; }
  .custom-diagram-detail-page .sp-main-layout {
    gap: 0px; }
  /* ── Diagram box ── */
  .custom-diagram-detail-page .sp-diagram-box {
    min-height: auto;
    padding: 15px 15px 60px !important; }
  .custom-diagram-detail-page .sp-tab {
    font-size: 16px;
    line-height: 24px; }
  /* ── Table scroll container ── */
  .custom-diagram-detail-page .sp-table-scroll {
    max-height: none;
    min-height: 300px;
    border: 1px solid #CCCCCC;
    border-radius: 0; }
  .custom-diagram-detail-page .sp-loading-row {
    aspect-ratio: 1/1; }
  /* ── Hide table header on mobile ── */
  .custom-diagram-detail-page .sp-table thead {
    display: none; }
  .custom-diagram-detail-page .sp-table {
    display: block;
    overflow: visible; }
  .custom-diagram-detail-page .sp-table tbody {
    display: block;
    overflow-y: visible;
    max-height: none; }
  /* ── Each data row → flex card ── */
  .custom-diagram-detail-page .sp-table-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    width: 100% !important;
    padding: 15px;
    border-bottom: 1px solid #CCCCCC;
    box-sizing: border-box;
    table-layout: auto;
    align-items: flex-start; }
  /* ── td 1: Mark number → "#18" ── */
  .custom-diagram-detail-page .sp-table-row td:nth-child(1) {
    width: auto !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    border-bottom: none;
    order: 1; }
  .custom-diagram-detail-page .sp-table-row td:nth-child(1)::before {
    content: '#'; }
  /* ── td 2: Part Number → "MPN: DSG917" — fills rest of line 1 ── */
  .custom-diagram-detail-page .sp-table-row td:nth-child(2) {
    width: auto !important;
    padding: 0 0 0 20px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    border-bottom: none;
    order: 2;
    flex: 1 1 auto; }
  .custom-diagram-detail-page .sp-table-row td:nth-child(2)::before {
    content: 'MPN: ';
    font-weight: 400;
    color: #000000; }
  /* ── td 3: Description — new line, left side ── */
  .custom-diagram-detail-page .sp-table-row td:nth-child(3) {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    padding: 5px 15px 0 4px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 21px;
    border-bottom: none;
    order: 3;
    flex-basis: 55%; }
  /* ── td 4: Price — same line as description, right ── */
  .custom-diagram-detail-page .sp-table-row td:last-child {
    width: auto !important;
    padding: 5px 0 0 0 !important;
    text-align: right;
    border-bottom: none;
    order: 4;
    margin-left: auto; }
  .custom-diagram-detail-page .sp-table-row.sp-table-row--expanded td:nth-child(2) {
    flex: 1 1 calc(100% - 45px);
    max-width: calc(100% - 45px);
    padding-left: 20px !important; }
  .custom-diagram-detail-page .sp-table-row td:nth-child(3) {
    flex: 1 1 calc(100% - 115px);
    max-width: calc(100% - 115px); }
  .custom-diagram-detail-page .sp-table-row.sp-table-row--expanded td:last-child {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap; }
  .custom-diagram-detail-page .sp-price-from {
    font-size: 12px;
    line-height: 18px;
    margin-right: 5px; }
  .custom-diagram-detail-page .sp-price-val {
    font-size: 14px;
    line-height: 21px; }
  .custom-diagram-detail-page .sp-arrow-down {
    width: 12px;
    height: 8px;
    margin-left: 4px;
    margin-bottom: 3px;
    margin-right: -2px; }
  /* ── Expanded parent row state ── */
  .custom-diagram-detail-page .sp-table-row--expanded {
    background: #fffaf6;
    border-bottom: none; }
  /* ── Expanded content row (detail panel) ── */
  .custom-diagram-detail-page .sp-expanded-content-row {
    width: 100%;
    background: #fffaf6; }
  .custom-diagram-detail-page .sp-expanded-content-row.is-open {
    background: #FFF3E9; }
  .custom-diagram-detail-page .sp-expanded-content-row td {
    display: block;
    width: 100%;
    padding: 0 !important; }
  .custom-diagram-detail-page .sp-expanded-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 15px 15px 16px 12px;
    border-left: 2px solid #ED7911;
    gap: 0;
    padding-right: 15px; }
  /* Image — small thumbnail */
  .custom-diagram-detail-page .sp-expanded-img-wrapper {
    order: 0;
    display: inline-flex;
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    margin-right: 12px;
    padding: 0; }
  .custom-diagram-detail-page .sp-expanded-img {
    width: 30px;
    height: 30px; }
  /* Title — beside image on same line, forces qty+button to next row */
  .custom-diagram-detail-page .sp-expanded-title {
    order: 1;
    font-size: 14px;
    line-height: 21px;
    padding: 5px 0;
    flex: 1 1 calc(100% - 46px);
    max-width: calc(100% - 46px);
    min-width: 0; }
  /* Qty counter — on a new line, left */
  .custom-diagram-detail-page .sp-expanded-qty {
    order: 2;
    height: 32px;
    width: 57px;
    min-width: 57px;
    flex-shrink: 0;
    margin: 11px 0 0 0; }
  .custom-diagram-detail-page .sp-qty-input {
    width: 38px;
    font-size: 14px;
    line-height: 21px; }
  .custom-diagram-detail-page .sp-expanded-qty {
    height: 28px;
    max-width: 53px;
    min-width: 53px;
    margin-right: 10px; }
  .custom-diagram-detail-page .sp-qty-controls {
    width: 15px; }
  /* ADD TO CART — same line as qty, fills remaining space, 10px gap */
  .custom-diagram-detail-page .button.button--primary.sp-add-to-cart {
    order: 3;
    height: 28px;
    flex: 1;
    padding: 4px 18px 3px;
    margin: 11px 0 0 0px !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    text-transform: uppercase;
    background: #ed7911;
    background: -moz-linear-gradient(top, #ed7911 0%, #ed7911 91%, #ce6608 94%);
    background: -webkit-linear-gradient(top, #ed7911 0%, #ed7911 91%, #ce6608 94%);
    background: linear-gradient(to bottom, #ed7911 0%, #ed7911 91%, #ce6608 94%);
    color: #ffffff;
    width: auto;
    max-width: 100%;
    min-width: auto; }
  .custom-diagram-detail-page .button.button--primary.sp-outof-stock {
    background: #d12a2a;
    background: -moz-linear-gradient(top, #d12a2a 0%, #d12a2a 91%, #a90404 94%);
    background: -webkit-linear-gradient(top, #d12a2a 0%, #d12a2a 91%, #a90404 94%);
    background: linear-gradient(to bottom, #d12a2a 0%, #d12a2a 91%, #a90404 94%); }
  .custom-diagram-detail-page .button.button--primary.sp-outof-stock:hover,
  .custom-diagram-detail-page .button.button--primary.sp-outof-stock:focus,
  .custom-diagram-detail-page .button.button--primary.sp-outof-stock:active {
    background: #225e72;
    background: -moz-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
    background: -webkit-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
    background: linear-gradient(to bottom, #225e72 0%, #225e72 91%, #113f4f 94%); }
  .custom-diagram-detail-page .sp-add-to-cart:hover,
  .custom-diagram-detail-page .sp-add-to-cart:focus,
  .custom-diagram-detail-page .sp-add-to-cart:active {
    background: #225e72;
    background: -moz-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
    background: -webkit-linear-gradient(top, #225e72 0%, #225e72 91%, #113f4f 94%);
    background: linear-gradient(to bottom, #225e72 0%, #225e72 91%, #113f4f 94%); }
  /* ── "Show More" toggle button ── */
  .custom-diagram-detail-page .sp-mobile-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4px 12px;
    background: #225E72;
    border: none;
    border-top: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #FFFFFF;
    gap: 8px;
    transition: background 0.2s ease; }
  .custom-diagram-detail-page .sp-mobile-show-more:hover {
    background: #ed7911; }
  .custom-diagram-detail-page .sp-mobile-show-more svg {
    width: 12px;
    height: 8px;
    transition: transform 0.3s ease;
    stroke-color: #ffffff; }
  .custom-diagram-detail-page .sp-mobile-show-more.is-expanded svg {
    transform: rotate(180deg); }
  .custom-diagram-detail-page .sp-table-row.sp-hidden,
  .custom-diagram-detail-page .sp-expanded-content-row.sp-hidden,
  .custom-diagram-detail-page .diagram-embed__hotspot.sp-hidden {
    display: none !important; }
  /* Hide rows beyond the 4th (applied via JS class) */
  .custom-diagram-detail-page .sp-table-row.sp-mobile-hidden,
  .custom-diagram-detail-page .sp-expanded-content-row.sp-mobile-hidden {
    display: none !important; }
  /* ── Loading row on mobile ── */
  .custom-diagram-detail-page .sp-loading-row {
    display: flex !important;
    position: relative;
    justify-content: center;
    min-height: 180.5px; }
  .custom-diagram-detail-page .sp-loading-row td {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center; }
  .custom-diagram-detail-page .sp-table .sp-error-row {
    position: relative;
    min-height: 180.5px; }
  .custom-diagram-detail-page .sp-table .sp-error-row .sp-error-cell {
    min-height: 180.5px;
    padding: 60px 60px 70px !important; }
  .custom-diagram-detail-page .sp-filter-item {
    width: 50%; }
  .custom-diagram-detail-page .sp-tabs-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 15px; }
  .custom-diagram-detail-page .sp-view-all {
    margin-bottom: 0px; }
  .custom-diagram-detail-page .sp-filter-header {
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    align-content: flex-start; }
  .custom-diagram-detail-page .sp-filter-item {
    border-right: 1px solid #CCCCCC;
    border-left: none; }
    .custom-diagram-detail-page .sp-filter-item:nth-child(4n) {
      border-right: 1px solid #CCCCCC; }
    .custom-diagram-detail-page .sp-filter-item:nth-child(2n) {
      border-right: none; }
    .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 1)::after, .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 2)::after, .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(4n + 3)::after {
      content: none; }
    .custom-diagram-detail-page .sp-filter-item:last-child:nth-child(odd)::after {
      content: '';
      position: absolute;
      left: 100%;
      bottom: -1px;
      width: 102%;
      height: 1px;
      background-color: #CCCCCC;
      pointer-events: none; }
  .custom-diagram-detail-page .diagram-embed__hotspot {
    width: 12px;
    height: 12px;
    font-size: 7px; }
  .custom-diagram-detail-page .sp-diagram-box.sp-diagram-box--loading,
  .custom-diagram-detail-page .sp-diagram-box.sp-diagram-box--error {
    min-height: 180.5px; }
  .custom-diagram-detail-page .sp-error-container {
    padding: 60px 60px 70px;
    min-height: 180.5px; }
  .custom-diagram-detail-page .sp-tabs {
    display: flex;
    gap: 24px;
    padding-left: 0px; }
  .custom-diagram-detail-page .sp-tab:first-child::after {
    left: 0px; }
  .custom-diagram-detail-page .sp-tab::after {
    right: -12px;
    left: -12px; } }

.progress-bar-animated {
  animation: a 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .progress-bar-animated {
    animation: none; } }

.hotspot {
  opacity: .25;
  z-index: 1;
  animation: hotspot-load 1s ease;
  animation-delay: 1s;
  animation-fill-mode: backwards; }

.pulse {
  animation: e 1s ease-in-out;
  animation-iteration-count: 3;
  clip-path: inset(-30px 0 -30px 0); }

.pulse-top {
  clip-path: inset(-30px 0 0 0); }

.pulse-bottom {
  clip-path: inset(0 0 -30px 0); }

.pulse:after {
  animation: none; }

.pulse-success {
  animation: f 1s ease-in-out;
  animation-iteration-count: 3; }

.pulse-success:after {
  animation: none; }

.pulse-secondary {
  animation: g 1s ease-in-out;
  animation-iteration-count: 3; }

.pulse-secondary:after {
  animation: none; }

.pulse-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  animation: d 1s ease-in-out;
  animation-iteration-count: 3; }

.pulse-fill .pulse-fill:after {
  animation: none; }

.cart-button-animation {
  opacity: 1;
  animation: c 5s linear infinite; }

.cart-price-animation {
  opacity: 0;
  animation: b 5s linear infinite; }

@keyframes b {
  0%,
  to {
    opacity: 0; }
  20%,
  80% {
    opacity: 0; }
  30%,
  70% {
    opacity: 1; } }

@keyframes c {
  0%,
  to {
    opacity: 1; }
  20%,
  80% {
    opacity: 1; }
  30%,
  70% {
    opacity: 0; } }

@keyframes d {
  0% {
    background-color: rgba(255, 204, 0, 0.4); }
  to {
    background-color: rgba(255, 204, 0, 0); } }

@keyframes e {
  0% {
    box-shadow: 0 0 0 0 #eebe94; }
  to {
    box-shadow: 0 0 0 15px rgba(237, 121, 17, 0); } }

@keyframes f {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 118, 0, 0.8); }
  to {
    box-shadow: 0 0 0 15px rgba(0, 118, 0, 0); } }

@keyframes g {
  0% {
    background-color: rgba(255, 204, 0, 0); }
  50% {
    background-color: rgba(51, 51, 51, 0.5); }
  to {
    background-color: rgba(255, 204, 0, 0); } }

.you-are-here {
  animation: h 2s ease-in-out;
  animation-iteration-count: 5; }

@keyframes h {
  0% {
    color: #fc0; }
  50% {
    color: rgba(255, 204, 0, 0); }
  to {
    color: #fc0; } }
