  /* Catalog-page-specific styling. Shared nav/product-card/footer chrome
     lives in store-common.css, loaded before this file. */

  .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; gap: 12px; flex-wrap: wrap; }
  .page-header h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
  .back-to-featured { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 14px; transition: color 0.15s; }
  .back-to-featured:hover { color: #fff; }
  .manage-store-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: rgba(204,31,31,0.12); color: #CC1F1F; border: 1px solid rgba(204,31,31,0.35); border-radius: 8px; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
  .manage-store-btn:hover { background: rgba(204,31,31,0.22); border-color: rgba(204,31,31,0.6); }
  .manage-store-btn i { font-size: 16px; }
  body.light .manage-store-btn { background: rgba(204,31,31,0.08); border-color: rgba(204,31,31,0.3); }
  body.light .manage-store-btn:hover { background: rgba(204,31,31,0.15); }
  .my-orders-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
  .my-orders-btn:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
  .my-orders-btn i { font-size: 16px; }
  body.light .my-orders-btn { background: rgba(0,0,0,0.04); color: rgba(0,0,0,0.7); border-color: rgba(0,0,0,0.15); }
  body.light .my-orders-btn:hover { background: rgba(0,0,0,0.08); color: #111; border-color: rgba(0,0,0,0.3); }
  .page-sub { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

  /* Category pills */
  .category-bar { display: flex; gap: 8px; margin-bottom: 1.5rem; overflow-x: auto; padding-bottom: 4px; }
  .category-bar::-webkit-scrollbar { height: 0; }
  .cat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); border: 1.5px solid rgba(255,255,255,0.1); border-radius: 99px; cursor: pointer; background: none; white-space: nowrap; transition: all 0.15s; }
  .cat-pill:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
  .cat-pill.active { color: #fff; background: #CC1F1F; border-color: #CC1F1F; }

  /* Filters */
  .filters-bar { display: flex; gap: 10px; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: center; }
  .filter-search { position: relative; flex: 1; min-width: 200px; }
  .search-suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #151515; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; overflow: hidden; z-index: 50; display: none; box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
  .search-suggestions.open { display: block; }
  .suggestion-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; text-decoration: none; color: inherit; }
  .suggestion-item:hover, .suggestion-item.active { background: rgba(255,255,255,0.06); }
  .suggestion-img { width: 32px; height: 32px; border-radius: 5px; background: #1A1A1A; flex-shrink: 0; overflow: hidden; }
  .suggestion-img img { width: 100%; height: 100%; object-fit: cover; }
  .suggestion-info { min-width: 0; flex: 1; }
  .suggestion-title { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .suggestion-vendor { font-size: 11px; color: rgba(255,255,255,0.4); }
  .suggestion-price { font-size: 12px; font-weight: 700; color: #CC1F1F; flex-shrink: 0; }
  .filter-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: rgba(255,255,255,0.6); }
  .filter-search input { width: 100%; padding: 10px 12px 10px 40px; font-size: 14px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 6px; background: rgba(255,255,255,0.04); color: #fff; outline: none; }
  .filter-search input:focus { border-color: #CC1F1F; }
  .filter-search input::placeholder { color: rgba(255,255,255,0.25); }
  .filter-select { padding: 10px 32px 10px 12px; font-size: 13px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 6px; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7); outline: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
  .filter-select:focus { border-color: #CC1F1F; }
  .filter-select option { background: #1A1A1A; color: #fff; }
  .stock-filter-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.5); cursor: pointer; }
  .price-filter { display: flex; align-items: center; gap: 6px; }
  .price-filter input { width: 84px; padding: 10px 10px; font-size: 13px; border: 1.5px solid rgba(255,255,255,0.1); border-radius: 6px; background: rgba(255,255,255,0.04); color: #fff; outline: none; }
  .price-filter input:focus { border-color: #CC1F1F; }
  .price-filter input::placeholder { color: rgba(255,255,255,0.25); }
  .price-filter span { color: rgba(255,255,255,0.35); font-size: 13px; }
  .results-info { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .results-count { font-size: 13px; color: rgba(255,255,255,0.62); }
  .cart-btn-top { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 13px; font-weight: 700; color: #fff; background: #CC1F1F; border: none; border-radius: 8px; cursor: pointer; transition: background 0.15s; text-decoration: none; }
  .cart-btn-top:hover { background: #B01A1A; }

  /* Pagination */
  .pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2rem; }
  .page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; cursor: pointer; transition: all 0.15s; }
  .page-btn:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
  .page-btn.active { color: #fff; background: #CC1F1F; border-color: #CC1F1F; }
  .page-btn:disabled { opacity: 0.3; cursor: not-allowed; }
  .page-ellipsis { padding: 0 6px; color: rgba(255,255,255,0.6); }

  /* Cart drawer */
  .cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  .cart-overlay.open { opacity: 1; pointer-events: auto; }
  .cart-drawer { position: fixed; top: 0; right: -440px; width: 420px; max-width: 100vw; height: 100vh; background: #111; border-left: 1px solid rgba(255,255,255,0.1); z-index: 201; display: flex; flex-direction: column; transition: right 0.3s ease; }
  .cart-drawer.open { right: 0; }
  .cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cart-header h2 { font-size: 18px; font-weight: 700; }
  .cart-header .cart-count { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 400; margin-left: 8px; }
  .cart-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: rgba(255,255,255,0.5); background: none; border: none; cursor: pointer; border-radius: 6px; transition: all 0.15s; }
  .cart-close:hover { color: #fff; background: rgba(255,255,255,0.05); }
  .cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
  .cart-empty { text-align: center; padding: 48px 0; color: rgba(255,255,255,0.6); }
  .cart-empty i { font-size: 48px; display: block; margin-bottom: 12px; color: rgba(255,255,255,0.1); }
  .cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cart-item-img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #1A1A1A; flex-shrink: 0; }
  .cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
  .cart-item-details { flex: 1; min-width: 0; }
  .cart-item-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cart-item-variant { font-size: 12px; color: rgba(255,255,255,0.62); margin-bottom: 8px; }
  .cart-item-qty { display: flex; align-items: center; gap: 0; }
  .qty-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: all 0.15s; }
  .qty-btn:first-child { border-radius: 6px 0 0 6px; }
  .qty-btn:last-child { border-radius: 0 6px 6px 0; }
  .qty-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
  .qty-val { width: 36px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cart-item-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
  .cart-item-price { font-size: 14px; font-weight: 700; color: #fff; }
  .cart-item-remove { font-size: 16px; color: rgba(255,255,255,0.25); background: none; border: none; cursor: pointer; transition: color 0.15s; }
  .cart-item-remove:hover { color: #EF4444; }
  .cart-footer { padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
  .cart-subtotal { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .cart-subtotal-label { font-size: 14px; color: rgba(255,255,255,0.5); }
  .cart-subtotal-val { font-size: 20px; font-weight: 800; color: #fff; }
  .cart-checkout-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; font-size: 14px; font-weight: 700; color: #fff; background: #CC1F1F; border: none; border-radius: 10px; cursor: pointer; transition: background 0.15s; }
  .cart-checkout-btn:hover { background: #B01A1A; }
  .cart-checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }
  .cart-continue { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.65); cursor: pointer; background: none; border: none; width: 100%; transition: color 0.15s; }
  .cart-continue:hover { color: #fff; }

  /* Empty state */
  .empty-state { text-align: center; padding: 80px 20px; }
  .empty-state i { font-size: 64px; color: rgba(255,255,255,0.08); margin-bottom: 16px; }
  .empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
  .empty-state p { font-size: 14px; color: rgba(255,255,255,0.62); }

  @media (max-width: 768px) {
    .filters-bar { flex-direction: column; }
    .cart-drawer { width: 100vw; }
  }

  /* Light mode */
  body.light .page-header h1 { color: #111; }
  body.light .page-sub { color: #777; }
  body.light .back-to-featured { color: rgba(0,0,0,0.55); }
  body.light .back-to-featured:hover { color: #111; }
  body.light .cat-pill { color: rgba(0,0,0,0.5); border-color: #DDD; }
  body.light .cat-pill:hover { color: #111; border-color: #BBB; }
  body.light .cat-pill.active { color: #fff; background: #CC1F1F; border-color: #CC1F1F; }
  body.light .filter-search input { background: #fff; border-color: #DDD; color: #111; }
  body.light .search-suggestions { background: #fff; border-color: #E8E8E8; }
  body.light .suggestion-item:hover, body.light .suggestion-item.active { background: #F5F5F5; }
  body.light .suggestion-img { background: #F0F0F0; }
  body.light .suggestion-title { color: #111; }
  body.light .suggestion-vendor { color: #999; }
  body.light .filter-search i { color: #999; }
  body.light .filter-search input::placeholder { color: rgba(0,0,0,0.35); }
  body.light .filter-select { background: #fff; border-color: #DDD; color: #333; }
  body.light .filter-select option { background: #fff; color: #111; }
  body.light .stock-filter-label { color: #666; }
  body.light .price-filter input { background: #fff; border-color: #DDD; color: #111; }
  body.light .price-filter input::placeholder { color: rgba(0,0,0,0.35); }
  body.light .price-filter span { color: #999; }
  body.light .results-count { color: #888; }
  body.light .page-btn { color: #666; background: #fff; border-color: #DDD; }
  body.light .page-btn:hover { color: #111; border-color: #BBB; }
  body.light .page-btn.active { color: #fff; background: #CC1F1F; border-color: #CC1F1F; }
  body.light .page-ellipsis { color: #999; }
  body.light .cart-drawer { background: #fff; border-left-color: #E8E8E8; }
  body.light .cart-header { border-bottom-color: #EEE; }
  body.light .cart-header h2 { color: #111; }
  body.light .cart-header .cart-count { color: #888; }
  body.light .cart-close { color: #999; }
  body.light .cart-close:hover { color: #111; background: rgba(0,0,0,0.04); }
  body.light .cart-item { border-bottom-color: #EEE; }
  body.light .cart-item-img { background: #F0F0F0; }
  body.light .cart-item-title { color: #111; }
  body.light .cart-item-variant { color: #888; }
  body.light .qty-btn { color: #666; background: #F5F5F5; border-color: #DDD; }
  body.light .qty-btn:hover { color: #111; background: #EEE; }
  body.light .qty-val { color: #111; background: #FAFAFA; border-color: #DDD; }
  body.light .cart-item-price { color: #111; }
  body.light .cart-item-remove { color: #CCC; }
  body.light .cart-item-remove:hover { color: #EF4444; }
  body.light .cart-footer { border-top-color: #EEE; }
  body.light .cart-subtotal-label { color: #888; }
  body.light .cart-subtotal-val { color: #111; }
  body.light .cart-empty { color: rgba(0,0,0,0.3); }
  body.light .cart-empty i { color: rgba(0,0,0,0.1); }
  body.light .empty-state i { color: rgba(0,0,0,0.08); }
  body.light .empty-state h3 { color: #111; }
  body.light .empty-state p { color: #888; }

  /* Bulk Order modal */
  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 300; display: none; align-items: center; justify-content: center; }
  .modal-overlay.open { display: flex; }
  .modal { background: #111; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; width: 600px; max-width: 95vw; max-height: 90vh; overflow-y: auto; }
  .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .modal-header h3 { font-size: 18px; font-weight: 700; }
  .modal-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgba(255,255,255,0.65); background: none; border: none; cursor: pointer; border-radius: 6px; }
  .modal-close:hover { color: #fff; background: rgba(255,255,255,0.05); }
  .modal-body { padding: 24px; }
  .modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
  .bulk-order-help { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 16px; line-height: 1.5; }
  .action-btn { padding: 8px 16px; font-size: 13px; font-weight: 600; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: none; color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.15s; }
  .action-btn:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
  .action-btn.primary { background: #CC1F1F; border-color: #CC1F1F; color: #fff; }
  .action-btn.primary:hover { background: #B01A1A; }
  .import-status { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.5); }
  .data-table { width: 100%; border-collapse: collapse; }
  .data-table th { text-align: left; padding: 10px 14px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.62); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .data-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
  .data-table tr:hover td { background: rgba(255,255,255,0.02); }
  .row-status-matched { color: #22C55E; }
  .row-status-unmatched { color: #EF4444; }

  body.light .modal { background: #fff; border-color: #E8E8E8; }
  body.light .modal-header { border-bottom-color: #EEE; }
  body.light .modal-header h3 { color: #111; }
  body.light .modal-close { color: #999; }
  body.light .modal-footer { border-top-color: #EEE; }
  body.light .bulk-order-help { color: #666; }
  body.light .action-btn { color: #666; border-color: #DDD; }
  body.light .action-btn:hover { color: #111; border-color: #BBB; }
  body.light .import-status { color: #666; }
  body.light .data-table th { color: #999; border-bottom-color: #E8E8E8; }
  body.light .data-table td { color: #333; border-bottom-color: #F0F0F0; }
  body.light .data-table tr:hover td { background: #FAFAFA; }
