/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 457:0 Unexpected "<"

**/
<style>
.assembly-guides-page {
  padding: 40px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.main-page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: #333;
}

.section-description {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.search-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  margin: 30px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.filter-group select,
.filter-group input {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: white;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.assembly-search{
  background-color:#5c8ab6;
  color:#fff;
  padding: 10px 20px;
  border: 1px solid transparent; 
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.assembly-search:hover {
  color:#5c8ab6;
  background-color:#fff;
  border: 1px solid #5c8ab6;
} 

.results-stats {
  margin: 20px 0;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.total-products {
  font-size: 14px;
  color: #666;
  font-weight: normal;
  margin-left: 10px;
}

.guides-table-container {
  overflow-x: auto;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.guides-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  min-width: 800px;
}

.guides-table th {
  background: #f8f9fa;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #495057;
}

.guides-table th:hover {
  background: #e9ecef;
}

.guides-table th[data-sort]::after {
  content: ' ↕';
  opacity: 0.5;
  font-size: 12px;
}

.guides-table td {
  padding: 12px;
  border-bottom: 1px solid #dee2e6;
  font-size: 14px;
  vertical-align: top;
}

.guide-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  font-size: 13px;
  transition: all 0.2s ease;
}

.guide-link:hover {
  text-decoration: underline;
  background: #e9ecef;
  color: #0056b3;
}

.no-results {
  text-align: center;
  padding: 60px 3px;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.no-results p {
  margin: 10px 0;
  font-size: 16px;
}

.source-badge {
  font-size: 10px;
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 600;
}

.source-assembly {
  background: #28a745;
}

.source-specifications {
  background: #17a2b8;
}

.variant-name {
  font-size: 12px;
  color: #666;
  font-style: italic;
  margin-top: 4px;
}

.guides-table th.sort-asc::after {
  content: ' ↑';
  opacity: 1;
}

.guides-table th.sort-desc::after {
  content: ' ↓';
  opacity: 1;
}

/* 优化分页样式 */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  padding: 15px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dee2e6;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #495057;
}

.pagination-btn:hover:not(:disabled) {
  background: #5c8ab6;
  color: white;
  border-color: #5c8ab6;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(92, 138, 182, 0.2);
}

.pagination-btn:disabled {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 15px;
  font-size: 14px;
  color: #495057;
  white-space: nowrap;
}

.pagination-range {
  font-weight: 600;
  color: #5c8ab6;
}

.pagination-total {
  color: #6c757d;
}

.pagination-page-size {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #495057;
}

.pagination-page-size select {
  padding: 6px 10px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  color: #495057;
}

.pagination-page-size select:focus {
  outline: none;
  border-color: #5c8ab6;
  box-shadow: 0 0 0 2px rgba(92, 138, 182, 0.1);
}

.per-page {
  color: #6c757d;
  font-size: 13px;
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 1024px) {
  .search-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-width {
    padding: 0 15px;
  }
  
  .main-page-title {
    font-size: 2rem;
  }
  
  .search-filters {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .filter-actions {
    justify-content: center;
    margin-top: 10px;
  }
  
  /* 移动端表格优化 */
  .guides-table-container {
    border: none;
    border-radius: 0;
  }
  
  .guides-table {
    min-width: 100%;
    display: block;
    overflow-x: auto;
  }
  
  .guides-table thead {
    display: none;
  }
  
  .guides-table tbody {
    display: block;
    width: 100%;
  }
  
  .guides-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  
  .guides-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
  }
  
  .guides-table td:last-child {
    border-bottom: none;
  }
  
  .guides-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #495057;
    margin-right: 10px;
    flex: 0 0 40%;
    font-size: 13px;
  }
  
  .guides-table td:last-child::before {
    align-self: flex-start;
  }
  
  /* 移动端分页优化 */
   .pagination {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .pagination-controls {
    justify-content: center;
  }
  
  .pagination-info {
    margin: 0 10px;
  }
  
  .pagination-page-size {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .assembly-guides-page {
    padding: 20px 0;
  }
  
  .main-page-title {
    font-size: 1.75rem;
  }
  
  .search-filters {
    padding: 15px;
  }
  
  .guides-table td {
    padding: 8px 0;
    font-size: 13px;
  }
  
  .guide-link {
    font-size: 12px;
    padding: 3px 6px;
  }
  
  .pagination-controls {
    gap: 4px;
  }
  
  .pagination-btn {
    width: 32px;
    height: 32px;
  }
  
  .pagination-info {
    font-size: 13px;
    margin: 0 8px;
  }
  
  .pagination-page-size {
    font-size: 13px;
  }
  
  .pagination-page-size select {
    padding: 4px 8px;
    font-size: 13px;
  }
}
</style>