/** Shopify CDN: Minification failed

Line 429:1 Expected "}" to go with "{"

**/
  
@media (max-width: 768px) {
  .parts-explorer {
    display: flex;
    flex-direction: column !important;
  }
          .parts-sidebar {
            display: none;
          }
          .parts-explorer 
    .parts-grid {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
}
.parts-explorer {
    .brand-card-content {
        padding: 20px !important;
    }
    .brand-logo {
        padding: 20px !important;
    }
}
          
}
  /* Layout Wrapper */
.row-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* Space between quantity and button */
}

/* Quantity Selector Styling */
.custom-quantity-style {
  display: flex;
  align-items: center;
  border: 1px solid #d1d1d1; /* Light grey border from image */
  border-radius: 8px;
  background: #fff;
  width: 130px !important;
  height: 30px;
  overflow: hidden;
}

.custom-quantity-style .quantity__button {
  width: 40px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.custom-quantity-style .quantity__input {
  width: 50px;
  border: none;
  text-align: center;
  font-size: 16px;
  color: #0056b3; /* Blue text color for the number */
  padding: 0;
}

/* The Blue Add Button Styling */
.custom-blue-add-btn {
  background-color: #ef8027 !important; /* The blue color from your image */
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  padding: 0 !important;
  cursor: pointer;
  transition: opacity 0.2s;
  min-width: 50px !important;
}
.sold-out-badge {
  background: #f4f4f4;
  color: #777;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.custom-blue-add-btn:hover {
  opacity: 0.9;
}

.custom-blue-add-btn span {
  line-height: 1;
      /* font-size: 18px; */
}
button.product-form__submit.custom-blue-add-btn.disabled {
  cursor: not-allowed !important;
    background: #beb9b9 !important;
    /* font-size: 13px !important; */
}
.parts-table a {
    color: #000;
        font-family: 'Montserrat';

}
/* Remove default Shopify styling that might interfere */
.custom-quantity-style::after, .custom-quantity-style::before {
  display: none !important;
}

  @media (min-width: 768px) {

    .parts-grid-level-2{
    height: 350px !important;
    width: 200px !important;
}
.card-img-model{
        height: 450px !important;
}
}
    /* Parts Explorer Layout */
.parts-explorer {
  display: flex;
  gap: 30px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
  font-family: sans-serif; .pagination-nav { width: 100%; text-align: center; margin-top: 20px; }
  .pagination-nav a, .pagination-nav span { padding: 5px 10px; border: 1px solid #ddd; margin: 0 2px; text-decoration: none; }
  .pagination-nav .current { background: #000; color: #fff; border-color: #000; }

  /* Basic Pagination Styling */
  .grid-pagination, .mini-pagination {
    width: 100%;
    padding: 20px;
    text-align: center;
    clear: both;
  }
  .active { font-weight: bold; color: #000; 
}

.parts-sidebar {
  flex: 0 0 250px;
  border-right: 1px solid #eee;
  padding-right: 20px;
}
    .parts-sidebar {
        margin-top: 120px;
                padding-top: 30px;
        background: #fff;
        padding-left: 30px;
        border-radius: 16px;
    }
.sidebar-back-link {
text-decoration: none;
    color: #ef8027;
    font-weight: bold;
    font-size: 14px;
    display: block;
    font-family: 'Montserrat';
    margin-bottom: 20px;
    /* margin-top: 30px; */
}

.sidebar-title {
font-size: 20px;
    font-family: 'Montserrat';
    color: #000000;
    /* text-transform: uppercase; */
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin: 0;
    letter-spacing: 0.3px;
}
h1.main-title {
    text-align: left;
    font-size: 36px;
    margin-bottom: 50px;
}
.sidebar-list { list-style: none; padding: 0; margin-top: 15px; }
.sidebar-item { margin-bottom: 10px; }
.sidebar-link {
text-decoration: none;
  font-size: 15px;
  color: #000000;
  line-height: 1.4;
  display: block;
  font-family: 'Montserrat';
  font-weight: 400 !important;
  
}

.sidebar-link.active {
  color: #e31e24;
  font-weight: bold;
}

.parts-main { flex: 1; }

/* Diagram & Table */
.diagram-image-container {
  width: 100%;
  border: 1px solid #eee;
  padding: 10px;
  background: #fff;
  margin-bottom: 30px;
}


.diagram-image-container img { width: 100%; cursor: zoom-in; }

.parts-table-wrapper {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.parts-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.parts-table thead tr { background: #222; color: #fff; text-align: left; }
.parts-table th { padding: 15px; border: 1px solid #333; }
.parts-table td { padding: 12px; border-bottom: 1px solid #eee; }

.parts-table a.product-link {
    color: black;
    font-family: 'Montserrat';
    font-weight: 600;
}
.parts-table thead tr, .parts-table thead td, .parts-table  .price-text, .parts-table  .sku-text {
    font-family: 'Montserrat';
}

.view-btn {
    background: #EF8027;
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat';
    display: inline-block;
}

/* Grids & Cards */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 8px;
}
.parts-grid-model{
grid-template-columns: 1fr 1fr !important;

}

.parts-card {
    border: 1px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.brand-card-content h3{
    font-size: 16px;
    margin: 10px 0;
}

.card-img { width: 100%; height: 200px; object-fit: contain; padding: 10px; background:rgb(255, 255, 255); }
.card-info { padding: 15px; border-top: 1px solid #eee; }
.card-info h3 { margin: 0; font-size: 16px; }

.brand-card-content { padding:40px 20px; }
.brand-logo {     height: 100px;
    width: 200px; object-fit: contain; margin-bottom: 10px; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .parts-explorer { flex-direction: column;  }
  .parts-sidebar { flex: none; border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; }
  .parts-explorer {
    display: flex;
    flex-direction: column !important;
  }
}
 .diagram-zoom-container { position: relative; width: 100%; overflow: hidden; background: #fff; border: 1px solid #eaeaea; margin-bottom: 30px; }
    .zoom-ui-overlay { position: absolute; top: 15px; right: 15px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
    .zoom-btn { width: 44px; height: 44px; background: #fff; border: 1px solid #ddd; border-radius: 4px; font-size: 22px; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    .zoom-btn.reset-text { font-size: 10px; text-transform: uppercase; }
    .zoom-viewport { width: 100%; display: flex; justify-content: center; align-items: center;  }
    #diagramImage { max-width: 100%; height: auto; transition: transform 0.3s ease; transform-origin: center center; }
    
    /* Table Styling */
    .row-wrapper { display: flex; align-items: center; justify-content: center; gap: 10px; }

  .diagram-zoom-container { position: relative; overflow: hidden; border: 1px solid #ddd; border-radius: 8px; background: #f9f9f9; margin-bottom: 20px; }
  .zoom-viewport { cursor: grab; overflow: hidden; display: flex; justify-content: center; align-items: center; min-height: 400px; }
  .zoom-viewport img { transition: transform 0.2s ease-out; transform-origin: center; max-width: 100%; height: auto; }
  .zoom-ui-overlay { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; gap: 5px; }
  .zoom-btn { background: #fff; border: 1px solid #ccc; width: 35px; height: 35px; cursor: pointer; font-weight: bold; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
  .zoom-btn.reset-text { width: auto; padding: 0 10px; }


  /* Container holding the diagram */
.diagram-zoom-container {
  position: relative;
  width: 100%;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Floating controls in top right */
.zoom-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.zoom-controls button {
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background 0.2s;
}

.zoom-controls button:hover {
  background: #f0f0f0;
}

#zoomReset {
  width: auto;
  padding: 0 12px;
  font-size: 12px;
}
@media screen and (max-width: 768px) {
  .table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
  }

  .parts-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
  }

  .parts-table th, 
  .parts-table td {
    padding: 10px 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .parts-table td a {
    display: inline-block;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
  }

  .table-responsive-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: #ef8027;
    border-radius: 10px;
  }

  .table-responsive-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
}
/* Viewport for the image */
.zoom-viewport {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.zoom-viewport:active {
  cursor: grabbing;
}

#final-diag-image {
  max-width: 100%;
  height: auto;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  user-select: none;
}