/* ============================================
   PRIMOS Catalog & Dashboard Styles
   Product catalog, dashboard, Claude search, HR portal
   ============================================ */

    .btn {
      padding: 8px 15px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 13px;
      border: none;
      font-weight: 500;
    }

    .btn-primary {
      background: #4a90d9;
      color: white;
    }

    .btn-primary:hover {
      background: #3a7bc8;
    }

    .btn-success {
      background: #28a745;
      color: white;
    }

    .btn-success:hover {
      background: #218838;
    }

    .btn-secondary {
      background: #6c757d;
      color: white;
    }

    /* Cards Grid */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }

    .card {
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .card h3 {
      font-size: 16px;
      margin-bottom: 10px;
      color: #333;
    }

    .card p {
      font-size: 14px;
      color: #666;
      margin-bottom: 15px;
    }

    .card-icon {
      font-size: 32px;
      margin-bottom: 10px;
    }

    /* Dashboard Section */
    .dashboard-welcome {
      background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
      color: white;
      padding: 30px;
      border-radius: 10px;
      margin-bottom: 20px;
    }

    /* Claude Search Styles */
    .claude-search-container {
      background: linear-gradient(135deg, #fdf8f9 0%, #fff 100%);
      border: 2px solid #8B1538;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 24px;
      box-shadow: 0 4px 20px rgba(139, 21, 56, 0.1);
    }

    .claude-search-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .claude-search-header h3 {
      margin: 0;
      color: #8B1538;
      font-size: 18px;
      font-weight: 600;
    }

    .claude-icon {
      font-size: 24px;
    }

    .sync-status {
      margin-left: auto;
      font-size: 12px;
      color: #888;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .sync-status.syncing::before {
      content: '';
      width: 8px;
      height: 8px;
      background: #f0ad4e;
      border-radius: 50%;
      animation: pulse 1s infinite;
    }

    .sync-status.synced::before {
      content: '';
      width: 8px;
      height: 8px;
      background: #5cb85c;
      border-radius: 50%;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    .claude-search-input-wrapper {
      display: flex;
      gap: 8px;
    }

    #claude-search-input {
      flex: 1;
      padding: 14px 18px;
      border: 2px solid #e0e0e0;
      border-radius: 12px;
      font-size: 15px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    #claude-search-input:focus {
      outline: none;
      border-color: #8B1538;
      box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
    }

    #claude-search-input::placeholder {
      color: #aaa;
    }

    .claude-search-btn {
      padding: 14px 20px;
      background: #8B1538;
      color: white;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.2s, transform 0.1s;
      min-width: 56px;
    }

    .claude-search-btn:hover {
      background: #a01d43;
    }

    .claude-search-btn:active {
      transform: scale(0.98);
    }

    .claude-search-btn:disabled {
      background: #ccc;
      cursor: not-allowed;
    }

    .claude-search-suggestions {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 12px;
      flex-wrap: wrap;
    }

    .claude-search-suggestions span {
      font-size: 12px;
      color: #888;
    }

    .claude-search-suggestions button {
      padding: 6px 12px;
      background: white;
      border: 1px solid #ddd;
      border-radius: 16px;
      font-size: 12px;
      cursor: pointer;
      transition: all 0.2s;
      color: #555;
    }

    .claude-search-suggestions button:hover {
      border-color: #8B1538;
      color: #8B1538;
      background: #fdf8f9;
    }

    .claude-search-results {
      margin-top: 20px;
    }

    .claude-response {
      background: white;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 20px;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .claude-response-content {
      line-height: 1.8;
      color: #333;
      font-size: 14px;
    }

    .claude-response-content p {
      margin: 0 0 12px 0;
    }

    .claude-response-content ul {
      margin: 8px 0;
      padding-left: 0;
      list-style: none;
    }

    .claude-response-content li {
      padding: 6px 0;
      padding-left: 20px;
      position: relative;
    }

    .claude-response-content li::before {
      content: '•';
      position: absolute;
      left: 0;
      color: #8B1538;
      font-weight: bold;
    }

    .claude-result-link {
      color: #8B1538;
      text-decoration: none;
      font-weight: 500;
      padding: 2px 6px;
      background: rgba(139, 21, 56, 0.08);
      border-radius: 4px;
      transition: background 0.2s;
    }

    .claude-result-link:hover {
      background: rgba(139, 21, 56, 0.15);
      text-decoration: underline;
    }

    .claude-response-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 16px;
      padding-top: 12px;
      border-top: 1px solid #eee;
    }

    .response-time {
      font-size: 12px;
      color: #888;
    }

    .response-actions {
      display: flex;
      gap: 8px;
    }

    .response-actions button {
      padding: 6px 12px;
      background: #f0f0f0;
      border: none;
      border-radius: 6px;
      font-size: 12px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .response-actions button:hover {
      background: #e0e0e0;
    }

    .claude-search-loading {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px;
      color: #888;
      font-size: 14px;
    }

    .claude-search-loading::before {
      content: '';
      width: 20px;
      height: 20px;
      border: 2px solid #ddd;
      border-top-color: #8B1538;
      border-radius: 50%;
      margin-right: 12px;
      animation: spin 1s linear infinite;
    }

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

    .claude-search-error {
      background: #fff5f5;
      border: 1px solid #f5c6cb;
      color: #721c24;
      padding: 16px;
      border-radius: 8px;
      font-size: 14px;
    }

    .dashboard-welcome h2 {
      font-size: 24px;
      margin-bottom: 10px;
    }

    .dashboard-welcome p {
      opacity: 0.9;
    }

    .quick-links {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }

    .quick-link {
      background: white;
      padding: 15px 20px;
      border-radius: 8px;
      text-decoration: none;
      color: #333;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .quick-link:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .quick-link-icon {
      font-size: 24px;
    }

    /* Product Catalog - Faceted Filter Design */
    .catalog-container {
      display: flex;
      gap: 24px;
    }

    .catalog-sidebar {
      width: 280px;
      flex-shrink: 0;
      background: white;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      height: fit-content;
      position: sticky;
      top: 20px;
      max-height: calc(100vh - 140px);
      overflow-y: auto;
    }

    .catalog-main {
      flex: 1;
      min-width: 0;
    }

    /* Inline Search in Sidebar */
    .catalog-search-inline input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      transition: border-color 0.2s;
    }

    .catalog-search-inline input:focus {
      outline: none;
      border-color: #8B1538;
    }

    /* Filter Sections */
    .filter-section {
      border-bottom: 1px solid #eee;
      padding-bottom: 12px;
      margin-bottom: 12px;
    }

    .filter-section:last-of-type {
      border-bottom: none;
      margin-bottom: 0;
    }

    .filter-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 0;
      cursor: pointer;
      user-select: none;
    }

    .filter-header:hover .filter-title {
      color: #8B1538;
    }

    .filter-title {
      font-size: 13px;
      font-weight: 600;
      color: #333;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      transition: color 0.2s;
    }

    .filter-toggle {
      font-size: 10px;
      color: #999;
      transition: transform 0.2s;
    }

    .filter-header.expanded .filter-toggle {
      transform: rotate(180deg);
    }

    .filter-options {
      padding: 8px 0;
      max-height: 500px;
      overflow: hidden;
      transition: max-height 0.3s ease-out, padding 0.2s;
    }

    .filter-options.collapsed {
      max-height: 0;
      padding: 0;
      overflow: hidden;
    }

    .filter-checkbox {
      display: flex;
      align-items: center;
      padding: 6px 8px;
      margin: 2px 0;
      border-radius: 4px;
      cursor: pointer;
      font-size: 13px;
      color: #555;
      transition: background-color 0.2s;
    }

    .filter-checkbox:hover {
      background: #f5f5f5;
    }

    .filter-checkbox input {
      margin-right: 10px;
      accent-color: #8B1538;
      width: 16px;
      height: 16px;
      cursor: pointer;
    }

    .filter-subgroup {
      margin-bottom: 12px;
    }

    .filter-subgroup:last-child {
      margin-bottom: 0;
    }

    .filter-subgroup-title {
      font-size: 11px;
      font-weight: 600;
      color: #999;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      margin-bottom: 6px;
      padding-left: 8px;
    }

    .filter-actions {
      padding-top: 16px;
      border-top: 1px solid #eee;
      margin-top: 12px;
    }

    .btn-clear-filters {
      width: 100%;
      padding: 10px;
      background: #f5f5f5;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 500;
      color: #666;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-clear-filters:hover {
      background: #eee;
      color: #333;
    }

    /* Active Filters Bar */
    .catalog-active-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 16px;
      min-height: 0;
    }

    .catalog-active-filters:empty {
      display: none;
    }

    .filter-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background: rgba(139, 21, 56, 0.1);
      border-radius: 20px;
      font-size: 13px;
      color: #8B1538;
    }

    .filter-pill-remove {
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
      font-weight: 600;
    }

    .filter-pill-remove:hover {
      color: #5a0f25;
    }

    /* Results Header */
    .catalog-results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      padding: 12px 16px;
      background: #f8f9fa;
      border-radius: 8px;
    }

    .catalog-results-count {
      font-size: 14px;
      color: #666;
    }

    .catalog-results-count strong {
      color: #333;
    }

    .catalog-sort {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .catalog-sort label {
      font-size: 13px;
      color: #666;
    }

    .catalog-sort select {
      padding: 6px 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 13px;
      background: white;
    }

    /* Start/Empty State */
    .catalog-start-state {
      text-align: center;
      padding: 80px 40px;
      background: white;
      border-radius: 12px;
      border: 2px dashed #ddd;
    }

    .catalog-start-icon {
      font-size: 64px;
      margin-bottom: 20px;
      opacity: 0.5;
    }

    .catalog-start-state h3 {
      font-size: 20px;
      color: #333;
      margin-bottom: 12px;
    }

    .catalog-start-state p {
      font-size: 14px;
      color: #888;
      line-height: 1.6;
    }

    .catalog-empty {
      text-align: center;
      padding: 60px 40px;
      background: white;
      border-radius: 12px;
      color: #666;
    }

    .catalog-empty-icon {
      font-size: 48px;
      margin-bottom: 16px;
    }

    .catalog-empty h3 {
      font-size: 18px;
      color: #333;
      margin-bottom: 8px;
    }

    .catalog-empty p {
      font-size: 14px;
      color: #888;
    }

    /* Product Results List */
    .catalog-results-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .product-result-row {
      display: flex;
      align-items: center;
      padding: 16px 20px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      cursor: pointer;
      transition: all 0.2s;
      gap: 16px;
    }

    .product-result-row:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transform: translateY(-1px);
    }

    .product-result-image {
      width: 70px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .product-result-image img {
      max-width: 70px;
      max-height: 50px;
      object-fit: contain;
    }

    .product-result-image-fallback {
      width: 70px;
      height: 50px;
      background: #f5f5f5;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #ccc;
    }

    .product-result-info {
      flex: 1;
      min-width: 0;
    }

    .product-result-title {
      font-size: 14px;
      font-weight: 600;
      color: #333;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-result-meta {
      display: flex;
      gap: 12px;
      font-size: 12px;
      color: #888;
    }

    .product-result-sku {
      color: #8B1538;
      font-weight: 600;
    }

    .product-result-tags {
      display: flex;
      gap: 8px;
      flex-shrink: 0;
    }

    .product-result-tag {
      padding: 4px 10px;
      background: #f0f0f0;
      border-radius: 4px;
      font-size: 12px;
      color: #666;
    }

    .product-result-price {
      font-size: 15px;
      font-weight: 700;
      color: #28a745;
      min-width: 90px;
      text-align: right;
    }

    .product-result-arrow {
      color: #ccc;
      font-size: 18px;
    }

    .product-result-row:hover .product-result-arrow {
      color: #8B1538;
    }

    /* Product Modified Badge */
    .product-modified-badge {
      display: inline-block;
      padding: 3px 8px;
      background: #fff3cd;
      color: #856404;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 600;
      margin-left: 8px;
    }

    /* Product Edit Form Styles */
    .product-edit-form {
      padding: 20px 0;
    }

    .edit-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .edit-form-section {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 16px;
    }

    .edit-form-section h4 {
      margin: 0 0 12px 0;
      font-size: 14px;
      font-weight: 600;
      color: #333;
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 8px;
    }

    .edit-form-row {
      display: flex;
      flex-direction: column;
      margin-bottom: 12px;
    }

    .edit-form-row:last-child {
      margin-bottom: 0;
    }

    .edit-form-row label {
      font-size: 12px;
      font-weight: 500;
      color: #666;
      margin-bottom: 4px;
    }

    .edit-form-row input,
    .edit-form-row select,
    .edit-form-row textarea {
      padding: 8px 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .edit-form-row input:focus,
    .edit-form-row select:focus,
    .edit-form-row textarea:focus {
      outline: none;
      border-color: #8B1538;
      box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
    }

    .edit-form-row input[readonly] {
      background: #e9ecef;
      color: #6c757d;
      cursor: not-allowed;
    }

    .edit-form-row textarea {
      min-height: 80px;
      resize: vertical;
    }

    /* Product Modal Actions */
    .product-modal-actions {
      display: flex;
      gap: 12px;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #eee;
      justify-content: flex-end;
    }

    .btn-edit-product {
      padding: 10px 20px;
      background: #8B1538;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-edit-product:hover {
      background: #6d1029;
    }

    .btn-save-edit {
      padding: 10px 24px;
      background: #28a745;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-save-edit:hover {
      background: #218838;
    }

    .btn-cancel-edit {
      padding: 10px 20px;
      background: #6c757d;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-cancel-edit:hover {
      background: #5a6268;
    }

    .btn-revert-product {
      padding: 10px 20px;
      background: #dc3545;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s;
      margin-right: auto;
    }

    .btn-revert-product:hover {
      background: #c82333;
    }

    /* Edit Form Actions */
    .edit-form-actions {
      display: flex;
      gap: 12px;
      justify-content: flex-end;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid #eee;
    }

    /* Category Tabs */
    .catalog-category-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .category-tab {
      padding: 10px 20px;
      background: white;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      color: #666;
      transition: all 0.2s;
    }

    .category-tab:hover {
      border-color: #8B1538;
      color: #8B1538;
    }

    .category-tab.active {
      background: #8B1538;
      border-color: #8B1538;
      color: white;
    }

    .category-tab-count {
      display: inline-block;
      margin-left: 6px;
      padding: 2px 8px;
      background: rgba(0,0,0,0.1);
      border-radius: 10px;
      font-size: 12px;
    }

    .category-tab.active .category-tab-count {
      background: rgba(255,255,255,0.2);
    }

    /* Product Category Cards (Collapsible) */
    .product-category-card {
      background: white;
      border-radius: 12px;
      margin-bottom: 16px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      overflow: hidden;
    }

    .category-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 24px;
      cursor: pointer;
      background: #fafafa;
      border-bottom: 1px solid #eee;
      transition: background-color 0.2s;
    }

    .category-header:hover {
      background: #f0f0f0;
    }

    .category-header.collapsed {
      border-bottom: none;
    }

    .category-header-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .category-icon {
      font-size: 24px;
    }

    .category-title {
      font-size: 16px;
      font-weight: 600;
      color: #333;
    }

    .category-count {
      font-size: 13px;
      color: #888;
      font-weight: 400;
      margin-left: 8px;
    }

    .category-toggle {
      font-size: 14px;
      color: #666;
      transition: transform 0.3s;
    }

    .category-header.collapsed .category-toggle {
      transform: rotate(-90deg);
    }

    .category-products {
      padding: 0;
      max-height: 2000px;
      overflow: hidden;
      transition: max-height 0.3s ease-out, padding 0.3s;
    }

    .category-products.collapsed {
      max-height: 0;
      padding: 0;
    }

    /* Product Row (within category) */
    .product-row {
      display: flex;
      align-items: center;
      padding: 16px 24px;
      border-bottom: 1px solid #f0f0f0;
      cursor: pointer;
      transition: background-color 0.2s;
      gap: 20px;
    }

    .product-row:last-child {
      border-bottom: none;
    }

    .product-row:hover {
      background: #fafafa;
    }

    .product-row-image {
      width: 80px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .product-row-image img {
      max-width: 80px;
      max-height: 60px;
      object-fit: contain;
    }

    .product-row-image-fallback {
      width: 80px;
      height: 60px;
      background: #f5f5f5;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      color: #ccc;
    }

    .product-row-info {
      flex: 1;
      min-width: 0;
    }

    .product-row-title {
      font-size: 15px;
      font-weight: 600;
      color: #333;
      margin-bottom: 4px;
    }

    .product-row-sku {
      font-size: 13px;
      color: #8B1538;
      font-weight: 600;
    }

    .product-row-meta {
      display: flex;
      gap: 16px;
      align-items: center;
      flex-shrink: 0;
    }

    .product-row-size {
      font-size: 13px;
      color: #666;
      background: #f0f0f0;
      padding: 4px 10px;
      border-radius: 4px;
    }

    .product-row-weight {
      font-size: 13px;
      color: #666;
    }

    .product-row-price {
      font-size: 16px;
      font-weight: 700;
      color: #28a745;
      min-width: 100px;
      text-align: right;
    }

    .product-row-action {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f5f5f5;
      border-radius: 6px;
      color: #666;
      font-size: 14px;
      transition: all 0.2s;
    }

    .product-row:hover .product-row-action {
      background: #8B1538;
      color: white;
    }

    /* Legacy support - old product grid styles (kept for compatibility) */
    .product-grid {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .product-card {
      display: flex;
      flex-direction: row;
      align-items: center;
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      padding: 18px 24px;
      gap: 24px;
    }

    .product-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .product-image {
      width: 150px;
      min-width: 150px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      font-size: 28px;
    }

    .product-image img {
      max-width: 150px;
      height: auto;
    }

    .product-image-fallback {
      font-size: 28px;
      width: 100px;
      height: 80px;
      background: #f0f0f0;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .product-info {
      flex: 1;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 24px;
    }

    .product-info h4 {
      font-size: 16px;
      font-weight: 600;
      min-width: 240px;
      margin: 0;
      color: #1a1a2e;
    }

    .product-info .sku {
      font-size: 15px;
      font-weight: 600;
      color: #8B1538;
      min-width: 100px;
    }

    .product-meta {
      display: flex;
      gap: 12px;
      flex: 1;
      align-items: center;
    }

    .product-tag {
      font-size: 13px;
      font-weight: 500;
      padding: 6px 12px;
      background: #e9ecef;
      border-radius: 4px;
      color: #495057;
    }

    .product-tag.aircraft {
      display: none;
    }

    .product-price {
      font-size: 16px;
      font-weight: 700;
      color: #28a745;
      min-width: 90px;
      text-align: right;
    }

    .product-actions {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    /* Empty State */
    .catalog-empty {
      text-align: center;
      padding: 60px 40px;
      background: white;
      border-radius: 12px;
      color: #666;
    }

    .catalog-empty-icon {
      font-size: 48px;
      margin-bottom: 16px;
    }

    .catalog-empty h3 {
      font-size: 18px;
      color: #333;
      margin-bottom: 8px;
    }

    .catalog-empty p {
      font-size: 14px;
      color: #888;
    }

    /* Results Header */
    .catalog-results-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .catalog-results-count {
      font-size: 14px;
      color: #666;
    }

    .catalog-results-count strong {
      color: #333;
    }

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

    .catalog-view-btn {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #e0e0e0;
      background: white;
      border-radius: 6px;
      cursor: pointer;
      color: #666;
      transition: all 0.2s;
    }

    .catalog-view-btn:hover {
      border-color: #8B1538;
      color: #8B1538;
    }

    .catalog-view-btn.active {
      background: #8B1538;
      border-color: #8B1538;
      color: white;
    }

    /* Filter Pills */
    .catalog-active-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 16px;
    }

    .filter-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background: rgba(139, 21, 56, 0.1);
      border-radius: 20px;
      font-size: 13px;
      color: #8B1538;
    }

    .filter-pill-remove {
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
    }

    .filter-pill-remove:hover {
      color: #5a0f25;
    }

    .clear-filters-btn {
      padding: 6px 12px;
      background: transparent;
      border: 1px solid #ddd;
      border-radius: 20px;
      font-size: 13px;
      color: #666;
      cursor: pointer;
      transition: all 0.2s;
    }

    .clear-filters-btn:hover {
      background: #f0f0f0;
    }

    /* Filter section in catalog */
    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .filter-group label {
      font-size: 12px;
      font-weight: 600;
      color: #666;
      text-transform: uppercase;
    }

    .filter-group select {
      min-width: 180px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
    }

    .filters {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    /* HR Portal */
    .hr-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }

    .hr-card {
      background: white;
      border-radius: 10px;
      padding: 25px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      text-align: center;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .hr-card:hover {
      transform: translateY(-3px);
    }

    .hr-card-icon {
      font-size: 40px;
      margin-bottom: 15px;
    }

    .hr-card h4 {
      font-size: 16px;
      margin-bottom: 5px;
    }

    .hr-card p {
      font-size: 13px;
      color: #666;
    }


    /* Selection Cards */
    .selection-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 15px;
      margin-bottom: 25px;
    }

    .selection-card {
      border: 2px solid #e9ecef;
      border-radius: 10px;
      padding: 15px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
    }

    .selection-card:hover {
      border-color: #8B1538;
      background: #fff5f7;
    }

    .selection-card.selected {
      border-color: #8B1538;
      background: #8B1538;
      color: white;
    }

    .selection-card h4 {
      font-size: 14px;
      margin-bottom: 5px;
    }

    .selection-card p {
      font-size: 12px;
      opacity: 0.8;
      margin: 0;
    }

    /* Aircraft Grid - Grouped by manufacturer */
    .manufacturer-group {
      margin-bottom: 25px;
    }

    .manufacturer-group h4 {
      font-size: 14px;
      color: #666;
      margin-bottom: 10px;
      padding-bottom: 5px;
      border-bottom: 1px solid #eee;
    }

    .aircraft-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 10px;
    }

    .aircraft-card {
      border: 2px solid #e9ecef;
      border-radius: 8px;
      padding: 12px 8px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
      font-size: 13px;
      font-weight: 500;
    }

    .aircraft-card:hover {
      border-color: #8B1538;
      background: #fff5f7;
    }

    .aircraft-card.selected {
      border-color: #8B1538;
      background: #8B1538;
      color: white;
    }

    /* Option Groups */
    .option-group {
      margin-bottom: 25px;
    }

    .option-group label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: #333;
      margin-bottom: 8px;
    }

    .option-group select {
      width: 100%;
      max-width: 300px;
      padding: 10px 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      background: white;
    }

    .option-group select:focus {
      outline: none;
      border-color: #8B1538;
    }

    /* Color Swatches */
    .color-swatches {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .color-swatch {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      cursor: pointer;
      border: 2px solid #ddd;
      position: relative;
      transition: all 0.2s;
    }

    .color-swatch:hover {
      transform: scale(1.1);
      border-color: #8B1538;
    }

    .color-swatch.selected {
      border-color: #8B1538;
      box-shadow: 0 0 0 2px #8B1538;
    }

    .color-swatch.selected::after {
      content: '✓';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-weight: bold;
      text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

    .color-swatch-label {
      width: 100%;
      text-align: center;
      font-size: 10px;
      margin-top: 3px;
      color: #666;
    }

    .color-option {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Checkbox Options */
    .checkbox-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 10px;
    }

    .checkbox-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border: 1px solid #e9ecef;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .checkbox-option:hover {
      border-color: #8B1538;
      background: #fff5f7;
    }

    .checkbox-option.selected {
      border-color: #8B1538;
      background: #fff5f7;
    }

    .checkbox-option input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: #8B1538;
    }

    /* Quantity Selector */
    .quantity-selector {
      display: flex;
      align-items: center;
      gap: 10px;
    }

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

    .quantity-btn:hover {
      border-color: #8B1538;
      color: #8B1538;
    }

    .quantity-value {
      font-size: 16px;
      font-weight: 600;
      min-width: 30px;
      text-align: center;
    }

    /* Navigation Buttons */
    .config-nav-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid #eee;
    }

    .btn-config {
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }


    /* Subsection styling for pillows, blankets, etc */
    .config-subsection {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 20px;
      margin-bottom: 20px;
    }

    .config-subsection h4 {
      font-size: 15px;
      color: #333;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .config-subsection h4 .toggle-icon {
      cursor: pointer;
      font-size: 12px;
    }

    .subsection-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 15px;
    }

    /* Inline options row */
    .options-row {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      align-items: flex-start;
    }

    .options-row .option-group {
      margin-bottom: 0;
      flex: 1;
      min-width: 200px;
    }

    /* Modal Styles */
