/* AgHoseMatch — Industrial-themed responsive CSS */

:root {
    /* Theme: muted olive green + soft amber-yellow.
       Intentionally avoids matching any single OEM brand's house colors
       (no JD green, no Cat yellow). Reads as "ag / industrial" without
       directly imitating a competitor.
       --accent is a yellow background, so any UI using it as a background
       must pair with --accent-text (dark) instead of white. */
    --primary: #3a4a2e;        /* dark olive (header / titles) */
    --primary-light: #4d6040;  /* lighter olive for hovers / gradients */
    --accent: #d4a017;         /* muted amber-gold — buttons, focus rings */
    --accent-hover: #b3870f;
    --accent-text: #1a1a1a;    /* dark text used on top of amber */
    --steel: #525c46;          /* warm gray-green for secondary buttons */
    --text: #f1efe7;           /* off-white text on dark olive header */
    --text-dark: #1a1a1a;
    --bg: #f5f5f5;
    --card-bg: #ffffff;
    --border: #ddd;
    --success: #4f7a3a;
    --warning: #c9851a;
    --danger: #b94a3c;
    --info: #4a7a8a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ── Header / Nav ──────────────────── */
header {
    background: var(--primary);
    color: var(--text);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Main content ──────────────────── */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 64px - 80px);
}

.page-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.page-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ── Cards ──────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}

.card:hover {
    border-color: var(--steel);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.3);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.card-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.card-desc {
    font-size: 0.9rem;
    color: #555;
}

.card-price {
    margin-top: 10px;
    font-weight: 600;
    color: var(--accent);
}

/* ── Size grid (smaller cards) ──────────────────── */
.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.size-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.size-card:hover { border-color: var(--steel); }
.size-card.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.3); }

.size-card .dash { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.size-card .dim { font-size: 0.85rem; color: #666; margin-top: 4px; }

/* ── Fitting grid ──────────────────── */
.fitting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}

.fitting-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.fitting-card:hover { border-color: var(--steel); }
.fitting-card.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.3); }

.fitting-card .fitting-name { font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.fitting-card .fitting-orient { font-size: 0.85rem; color: #888; }
.fitting-card .fitting-price { font-size: 0.9rem; color: var(--accent); margin-top: 6px; font-weight: 600; }

/* ── Card thumbnails ──────────────────── */
.card-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f4f4f6 0%, #e6e6ea 100%);
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 12px;
    min-height: 64px;
}
.card-thumb svg { display: block; max-width: 100%; height: auto; }

.fitting-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f4f4f6 0%, #e6e6ea 100%);
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 10px;
    min-height: 76px;
}
.fitting-thumb svg { display: block; max-width: 100%; height: auto; }

.size-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    min-height: 70px;
}
.size-thumb svg { display: block; }

/* ── Wizard steps ──────────────────── */
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.step-dot.active { background: var(--accent); color: var(--accent-text); }
.step-dot.done { background: var(--success); color: white; }

/* ── Buttons ──────────────────── *//* Form controls don't inherit the page font by default in most browsers —
   force them to so the admin UI matches the site type. */
button, input, select, textarea {
    font-family: inherit;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--accent); color: var(--accent-text); font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: var(--steel); color: white; }
.btn-secondary:hover { background: var(--primary-light); }

.btn-outline {
    background: transparent;
    color: var(--steel);
    border: 2px solid var(--steel);
}
.btn-outline:hover { background: var(--steel); color: white; }

.btn-success { background: var(--success); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-danger { background: var(--danger); color: white; }

.btn-group { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Forms ──────────────────── */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Length presets ──────────────────── */
.preset-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.preset-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.preset-btn:hover { border-color: var(--accent); color: var(--accent); }
.preset-btn.selected { background: var(--accent); color: white; border-color: var(--accent); }

/* ── Photo upload ──────────────────── */
.upload-zone {
    border: 3px dashed var(--border);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 16px;
}

.upload-zone:hover { border-color: var(--accent); background: rgba(212, 160, 23, 0.06); }
.upload-zone.has-file { border-color: var(--success); background: rgba(39, 174, 96, 0.05); }

.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 10px; }
.upload-zone .upload-text { color: #666; }
.upload-zone .upload-filename { font-weight: 600; color: var(--success); margin-top: 8px; }

/* ── Review summary ──────────────────── */
.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.review-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.review-table td:first-child {
    font-weight: 600;
    width: 180px;
    color: var(--primary);
}

.total-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 2px solid var(--accent);
    margin: 20px 0;
}

/* ── Alerts ──────────────────── */
.alert {
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-danger { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6cb; }
.alert-success { background: #e8f5e9; color: #27ae60; border: 1px solid #c3e6cb; }
.alert-info { background: #e3f2fd; color: #2196f3; border: 1px solid #b3d4fc; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }

/* ── Admin ──────────────────── */
.login-box {
    max-width: 400px;
    margin: 80px auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.login-box h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.order-table th {
    background: var(--primary);
    color: var(--text);
    padding: 12px 14px;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.order-table tr:hover { background: #f8f9fa; }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: #ffeaa7; color: #856404; }
.status-paid { background: #74b9ff; color: #0c3547; }
.status-building { background: #fdcb6e; color: #7c5e00; }
.status-shipped { background: #a29bfe; color: #2c2669; }
.status-completed { background: #55efc4; color: #0d5d3e; }
.status-cancelled { background: #fab1a0; color: #6e1e0a; }

.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 16px;
    border: 2px solid var(--border);
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--steel); }
.filter-btn.active { background: var(--steel); color: white; border-color: var(--steel); }

/* ── Order detail modal ──────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
    background: white;
    border-radius: 10px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal h2 { color: var(--primary); margin-bottom: 20px; }
.modal-close {
    float: right;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}
.modal-close:hover { color: var(--accent); }

/* ── Footer ──────────────────── */
footer {
    background: var(--primary);
    color: var(--text);
    text-align: center;
    padding: 24px 20px;
    font-size: 0.9rem;
}
footer a { color: var(--accent); }
.footer-disclaimer {
    max-width: 820px;
    margin: 10px auto 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Order Tracking ──────────────────── */
.track-form { max-width: 500px; margin: 0 auto 30px; }
.track-result { max-width: 700px; margin: 0 auto; }

.track-timeline {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
    padding: 0 10px;
}
.track-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: #ddd;
}
.track-step {
    flex: 1;
    text-align: center;
    position: relative;
}
.track-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.track-step.done .track-dot {
    background: var(--success);
}
.track-step.done .track-dot::after {
    content: '\2713';
    color: white;
    font-size: 14px;
    font-weight: bold;
}
.track-step.active .track-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.35);
}
.track-step.active .track-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}
.track-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #bbb;
}
.track-step.done .track-label,
.track-step.active .track-label {
    color: var(--text-dark);
}
.track-cancelled {
    background: #fff5f5;
    border: 1px solid var(--danger);
    padding: 20px;
    border-radius: 8px;
    color: var(--danger);
    text-align: center;
    margin: 20px 0;
    font-size: 1.05rem;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Content pages (about, returns) ──────────────────── */
.content-page {
    max-width: 800px;
    margin: 0 auto;
}

.content-page h1 { color: var(--primary); margin-bottom: 20px; font-size: 2rem; }
.content-page h2 { color: var(--steel); margin: 28px 0 12px; font-size: 1.3rem; }
.content-page p { margin-bottom: 16px; color: #444; }
.content-page ul { margin-left: 20px; margin-bottom: 16px; color: #444; }
.content-page li { margin-bottom: 8px; }

.content-page .highlight-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--steel) 100%);
    color: var(--text);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ── Confirmation page ──────────────────── */
.confirm-box {
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.confirm-box .check-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 16px;
}

.confirm-box h1 { color: var(--success); margin-bottom: 12px; }
.confirm-box p { color: #555; margin-bottom: 8px; }

/* ── Loading spinner ──────────────────── */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 300;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.loading-overlay.active { display: flex; }

/* ── Responsive ──────────────────── */
@media (max-width: 768px) {
    .header-inner { height: 56px; }
    .logo { font-size: 1.3rem; }
    nav { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--primary); padding: 16px 20px; flex-direction: column; }
    nav.open { display: flex; }
    nav a { margin: 0; padding: 8px 0; }
    .nav-toggle { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .review-table td:first-child { width: auto; }
    .page-title { font-size: 1.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .total-price { font-size: 1.4rem; }
    .home-sections { grid-template-columns: minmax(0, 1fr); }
    .hero-title { font-size: 1.8rem; }
    .trust-bar { grid-template-columns: 1fr; }
    .catalog-table th:nth-child(4), .catalog-table td:nth-child(4),
    .catalog-table th:nth-child(5), .catalog-table td:nth-child(5),
    .catalog-table th:nth-child(6), .catalog-table td:nth-child(6) { display: none; }
}

/* ── Homepage hero & sections ──────────────────── */
.hero {
    text-align: center;
    padding: 40px 20px 30px;
}

.hero-title {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    max-width: 640px;
    margin: 0 auto 24px;
}

.hero-cta {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.hero-brands {
    margin-top: 28px;
    font-size: 0.9rem;
    color: #777;
    letter-spacing: 0.02em;
}

.home-sections {
    display: grid;
    /* Auto-fit so a single card centers nicely and two cards still pair side-by-side. */
    grid-template-columns: repeat(auto-fit, minmax(320px, 460px));
    justify-content: center;
    gap: 24px;
    margin: 30px auto;
    max-width: 960px;
}

.home-section-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 36px 28px;
    text-decoration: none;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.home-section-card:hover {
    border-color: var(--steel);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.home-section-card .section-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.home-section-card h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.home-section-card p {
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

.home-section-card .btn {
    margin-top: auto;
}

/* ── Build sheets ─────────────────────────────────────────── */
.text-muted { color: #666; }

.build-sheet-header {
    border-bottom: 2px solid var(--text);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.build-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: var(--card-bg);
}

.build-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.build-card-meta { font-size: 0.9rem; line-height: 1.5; }
.build-card-meta > div { margin-bottom: 4px; }

.build-items {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.build-items th,
.build-items td {
    border: 1px solid var(--border);
    padding: 6px 10px;
    text-align: left;
    font-size: 0.9rem;
    vertical-align: top;
}

.build-items th {
    background: #f0f2f4;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

@media print {
    header, footer, nav,
    .filter-bar, .no-print,
    #buildsheets-days,
    #dashboard-section > div:first-child {
        display: none !important;
    }
    body { background: #fff; color: #000; }
    main { max-width: none; margin: 0; padding: 0; }
    .build-card {
        page-break-inside: avoid;
        break-inside: avoid;
        border: 1px solid #000;
        box-shadow: none;
    }
    .build-items th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .badge { border: 1px solid #000; }
}


.section-brands {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.6;
}

.section-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--steel);
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
    justify-content: center;
    gap: 20px;
    margin: 40px auto 20px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    max-width: 960px;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    width: 28px;
    height: 28px;
    color: var(--steel);
    margin-bottom: 8px;
    display: inline-block;
}

.trust-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 1rem;
}

.trust-item span {
    font-size: 0.9rem;
    color: #666;
}

/* ── Catalog page ──────────────────── */
.mfr-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.catalog-search {
    margin-bottom: 16px;
}

.catalog-search input {
    width: 100%;
    max-width: 500px;
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.catalog-search input:focus {
    outline: none;
    border-color: var(--accent);
}

.catalog-count {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
}

.catalog-table .part-number {
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.catalog-table .part-price {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.catalog-table-wrap {
    overflow-x: auto;
}

