@charset "UTF-8";
.center-content {
  width: 1228px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navigation */
.navigation {
  background-color: #3d4f63;
  color: white;
  padding: 8px 0;
  display: flex;
  justify-content: space-around;
  width: 100%;
}
.navigation .navbar {
  display: flex;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-item:hover {
  background-color: #4a5f78;
}

.nav-item svg {
  width: 24px;
  height: 24px;
}

.nav-item span {
  font-size: 11px;
}

/* Vehicle Selection */
.vehicle-selection {
  background-color: white;
  padding: 12px 0;
  display: flex;
  gap: 12px;
}

.select-wrapper {
  flex: 1;
}

.select-wrapper select {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  appearance: none;
}

.select-wrapper.primary select {
  background-color: #3d5a80;
  color: white;
  border: none;
}

.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 10px;
  color: #64748b;
}

.select-wrapper.primary::after {
  color: white;
}

.filter-button {
  padding: 8px 16px;
  background-color: #3d5a80;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.filter-button:hover {
  background-color: #2d4a70;
}

/* Main Content */
.main-content {
  display: none;
  padding: 16px 0;
  gap: 16px;
  max-width: 1228px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-panel {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 500;
}

.sidebar-search {
  position: relative;
  margin-bottom: 16px;
}

.sidebar-search input {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: #f8fafc;
  font-size: 13px;
}

.sidebar-search::after {
  content: "🔍";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Category Tree */
.category-tree {
  font-size: 13px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s;
  user-select: none;
}

.category-item:hover {
  background-color: #f1f5f9;
}

.category-item.selected {
  background-color: #3d5a80;
  color: white;
}

.category-item.level-1 {
  padding-left: 28px;
}

.category-item.level-2 {
  padding-left: 44px;
}

.category-item.level-3 {
  padding-left: 60px;
}

.category-toggle {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-children {
  display: none;
}

.category-children.expanded {
  display: block;
}

.checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid #cbd5e1;
  border-radius: 3px;
  flex-shrink: 0;
}

.checkbox.checked {
  background-color: #3d5a80;
  border-color: #3d5a80;
  position: relative;
}

.checkbox.checked::after {
  content: "✓";
  color: white;
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 12px;
}

/* Products */
.products-section {
  flex: 1;
}

.filters-panel {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.filters-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  color: #64748b;
}

.filter-badge {
  padding: 4px 8px;
  background-color: #dbeafe;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.filters-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-button {
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  background-color: white;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.sort-button.primary {
  background-color: #3d5a80;
  color: white;
  border: none;
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-button {
  width: 32px;
  height: 32px;
  border: 1px solid #cbd5e1;
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product Card */
.product-card {
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background-color: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-title {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: start;
  gap: 8px;
}

.info-icon {
  color: #3b82f6;
  cursor: pointer;
  flex-shrink: 0;
}

.product-badges {
  display: flex;
  gap: 8px;
}

.product-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.product-badge.gray {
  background-color: #f1f5f9;
  color: #475569;
}

.product-badge.blue {
  background-color: #dbeafe;
  color: #1e40af;
}

.product-detail {
  font-size: 13px;
  color: #64748b;
}

.product-detail strong {
  color: #1e293b;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.action-button {
  padding: 6px 12px;
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-button:hover {
  background-color: #3d5a80;
}

.product-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 220px;
}

.price-buttons {
  display: flex;
  gap: 8px;
}

.price-button {
  padding: 6px 12px;
  background-color: #4a6fa5;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.price-button.green {
  background-color: #5a9e6f;
}

.price-button.green:hover {
  background-color: #4a8a5f;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-button {
  width: 32px;
  height: 32px;
  border: 1px solid #cbd5e1;
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.quantity-input {
  width: 60px;
  height: 32px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
}

.add-button {
  padding: 6px 12px;
  background-color: #5a9e6f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.add-button:hover {
  background-color: #4a8a5f;
}

/* SVG Icons */
svg {
  width: 20px;
  height: 20px;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.empty {
  width: 100%;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Custom select */
.select2-container .select2-selection--single {
  border: none;
  background: #F3F3F5;
  height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .product-card {
    flex-direction: column;
  }
  .product-price-section {
    width: 100%;
    align-items: stretch;
  }
}

/*# sourceMappingURL=part.css.map */
