@font-face {
    font-family: "Catalog Sans";
    src: url("/css/open-sans-v44-latin-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --primary: #142b43;
    --primary-light: #244560;
    --accent: #2563eb;
    --text-dark: #142b43;
    --text-medium: #64748b;
    --border-subtle: #e3e9ef;
    --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f7f9fb; color: var(--text-dark); font-family: "Catalog Sans", Arial, sans-serif; font-size: 14px; line-height: 1.65; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #7da5f8; outline-offset: 4px; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20000; padding: 12px 20px; background: var(--primary); color: white; }
.skip-link:focus { top: 12px; }

.header { background: white; position: relative; z-index: 100; border-bottom: 1px solid var(--border-subtle); }
.header-topline { background: var(--primary); color: #d6e1ed; font-size: 11px; letter-spacing: .04em; }
.header-topline-inner { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header-topline a { color: #fff; }
.header-main { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: flex; flex-direction: column; }
.brand-kicker { order: 2; margin-top: 3px; color: var(--text-medium); text-transform: uppercase; font-size: 9px; letter-spacing: .18em; }
.logo-text { font-family: Arial, sans-serif; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.8px; max-width: 280px; }
.nav ul { margin: 0; padding: 0; display: flex; align-items: center; list-style: none; gap: 28px; }
.nav a, .dropdown-toggle { color: #536174; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav a.active { color: var(--accent); }
.dropdown { position: relative; }
.dropdown-toggle { padding: 10px 0; border: 0; background: none; }
.dropdown-toggle::after { display: none; }
.dropdown-toggle i { margin-left: 4px; font-size: 9px; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 240px; max-height: 360px; overflow-y: auto; padding: 8px; border: 1px solid var(--border-subtle); border-radius: 8px; box-shadow: 0 12px 30px #142b4314; background: white; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 9px 12px; border-radius: 4px; }
.dropdown-item:hover { background: #f0f5ff; }
.dropdown-divider { border-top: 1px solid var(--border-subtle); margin: 6px 0; }
.header-actions { display: flex; gap: 22px; align-items: center; }
.header-search { position: relative; }
.search-input { width: 190px; min-height: 40px; border: 1px solid var(--border-subtle); padding: 8px 12px 8px 34px; border-radius: 5px; background: #f7f9fb; font-size: 12px; }
.search-icon { position: absolute; left: 12px; top: 14px; color: #8695a6; font-size: 12px; }
.cart-icon { position: relative; font-size: 18px; }
.cart-count { position: absolute; top: -8px; right: -11px; display: none; align-items: center; justify-content: center; min-width: 17px; height: 17px; border-radius: 50%; background: var(--accent); color: white; font-size: 10px; }
.mobile-toggle { display: none; border: 1px solid var(--border-subtle); border-radius: 5px; background: white; width: 40px; height: 40px; color: var(--primary); }

.btn-primary-custom, .add-to-cart-btn, .btn-submit, .footer-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: white; padding: 12px 20px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-primary-custom:hover, .add-to-cart-btn:hover, .btn-submit:hover, .footer-cta:hover { background: #1d4ed8; border-color: #1d4ed8; color: white; }

.products-section { padding: 22px 0 48px; scroll-margin-top: 20px; }
.category-container { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; align-items: start; }
.category-sidebar { background: white; border: 1px solid var(--border-subtle); border-radius: 7px; padding: 18px; }
.filter-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 0; cursor: pointer; list-style: none; }
.filter-title::-webkit-details-marker { display: none; }
.sidebar-section[open] > .filter-title { margin-bottom: 18px; }
.filter-title span { font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; }
.filter-title i { color: #8b9bae; font-size: 12px; }
.form-label { display: block; color: #4a5d73; font-size: 11px; font-weight: 600; margin-bottom: 7px; }
.form-control, .form-select, .price-input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #dce4ec; border-radius: 4px; background-color: white; color: var(--primary); min-height: 40px; font-size: 12px; }
.form-control:focus, .form-select:focus, .price-input:focus, .quantity-input:focus { border-color: #8baff8; box-shadow: 0 0 0 3px #2563eb12; outline: none; }
.search-filter-form .mb-4 { margin-bottom: 16px !important; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-actions { display: grid; gap: 8px; margin-top: 18px; }
.add-to-cart-btn { width: 100%; }
.btn-cancel { display: inline-flex; align-items: center; justify-content: center; width: 100%; border: 1px solid #dce4ec; border-radius: 5px; background: white; color: #596c80; padding: 11px 16px; font-size: 12px; cursor: pointer; }
.btn-cancel:hover { background: #f4f7fb; color: var(--primary); }
.filter-support { margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }
.filter-support strong { font-size: 12px; }
.filter-support p { font-size: 11px; color: var(--text-medium); margin: 7px 0 12px; }
.filter-support a { font-size: 11px; color: var(--accent); }
.products-content { min-width: 0; }
.results-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 14px; }
.results-header h1 { font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.results-header h1 span { font-size: 12px; margin-left: 5px; font-weight: 400; color: var(--text-medium); }
.results-header p { color: var(--text-medium); font-size: 11px; margin-top: 3px; }
.sort-form { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.sort-form label { font-size: 11px; color: var(--text-medium); white-space: nowrap; }
.sort-form .form-select { width: 148px; min-height: 35px; padding-top: 6px; padding-bottom: 6px; }
.category-filters { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 7px; scrollbar-width: thin; }
.category-filter-btn { flex: 0 0 auto; padding: 7px 13px; border: 1px solid var(--border-subtle); border-radius: 4px; background: white; font-size: 10px; color: #66788c; }
.category-filter-btn.active { color: white; background: var(--primary); border-color: var(--primary); }
.category-filter-btn:hover { border-color: #8097b0; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--border-subtle); border-radius: 7px; transition: box-shadow .2s, border-color .2s; }
.product-card:hover { border-color: #b3c6de; box-shadow: 0 8px 24px #142b430d; }
.product-image { background: white; aspect-ratio: 1.2; padding: 17px; position: relative; border-bottom: 1px solid #f0f3f6; }
.product-image > a { display: block; width: 100%; height: 100%; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-info { padding: 17px; display: flex; flex: 1; flex-direction: column; }
.product-category { text-transform: uppercase; letter-spacing: .09em; color: #7b8ca0; font-size: 9px; margin-bottom: 7px; }
.product-title { font-size: 13px; line-height: 1.55; min-height: 40px; margin-bottom: 12px; }
.product-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; margin-bottom: 14px; }
.current-price { font-family: Arial, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.4px; }
.price-unit { color: #8a98a8; font-size: 10px; }
.product-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; border-top: 1px solid var(--border-subtle); padding-top: 12px; margin-top: auto; margin-bottom: 16px; font-size: 9px; color: #77879a; }
.product-meta strong { font-weight: 400; }
.moq-badge { color: #536d87; font-weight: 600; }
.inquiry-btn { background: white; border-color: #d6e2f5; color: var(--accent); padding: 9px 12px; font-size: 11px; }
.inquiry-btn i { font-size: 10px; }
.no-results { grid-column: 1 / -1; text-align: center; background: white; border: 1px solid var(--border-subtle); border-radius: 7px; padding: 60px 20px; }
.no-results-icon { font-size: 32px; color: #92a5bc; margin-bottom: 15px; }
.no-results h3 { font-size: 20px; margin-bottom: 10px; }
.catalog-endnote { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; color: #7b8da1; font-size: 11px; }

.sourcing-banner { background: white; border-top: 1px solid var(--border-subtle); }
.sourcing-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.sourcing-inner h2 { font-size: 21px; letter-spacing: -.4px; }
.sourcing-inner p { color: var(--text-medium); font-size: 12px; margin-top: 6px; }
.footer { background: var(--primary); color: #a2b2c4; padding: 42px 0 0; }
.footer-shell { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 55px; }
.footer-eyebrow { text-transform: uppercase; font-size: 9px; letter-spacing: .12em; margin-bottom: 9px; }
.footer-brand-panel h3 { color: white; font-size: 22px; letter-spacing: -.5px; margin-bottom: 12px; }
.footer-brand-panel > p:not(.footer-eyebrow) { max-width: 350px; font-size: 11px; line-height: 1.9; }
.footer-actions { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.footer-cta { background: #24425f; border-color: #3b5671; font-size: 10px; padding: 8px 12px; }
.footer-ghost { color: #d0dfef; font-size: 10px; }
.footer-link-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer h4 { color: #e4edf7; font-size: 11px; margin-bottom: 16px; }
.footer-link-group a { display: block; font-size: 11px; margin-bottom: 10px; }
.footer a:hover { color: white; }
.footer-contact-grid { display: grid; gap: 12px; }
.footer-contact-row { display: flex; gap: 12px; align-items: baseline; font-size: 11px; overflow-wrap: anywhere; }
.footer-contact-row i { width: 12px; color: #7e98b5; }
.footer-bottom { margin-top: 34px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid #ffffff14; display: flex; justify-content: space-between; gap: 15px; font-size: 10px; }

.modal-overlay { position: fixed; inset: 0; z-index: 10000; padding: 20px; background: #10243bd9; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.inquiry-modal { width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; padding: 28px; background: white; border-radius: 8px; }
.modal-header { display: block; padding: 0; border: 0; margin-bottom: 22px; }
.modal-header h2 { font-size: 23px; margin-bottom: 8px; }
.modal-header p { color: var(--text-medium); font-size: 12px; }
.quantity-selector { display: flex; gap: 10px; }
.quantity-btn { width: 40px; height: 40px; background: #f5f8fb; color: var(--primary); border: 1px solid var(--border-subtle); border-radius: 4px; }
.quantity-input { width: 80px; padding: 8px; border: 1px solid var(--border-subtle); border-radius: 4px; text-align: center; }
.modal-footer { display: block; padding: 18px 0 0; margin-top: 20px; border-top: 1px solid var(--border-subtle); }
.modal-footer-buttons { display: flex; gap: 10px; }
.btn-submit { width: 100%; }
.btn-submit:disabled { opacity: .65; cursor: wait; }
.notification { display: none; position: fixed; bottom: 22px; right: 22px; z-index: 20000; max-width: calc(100vw - 44px); padding: 14px 20px; border-radius: 6px; color: white; background: var(--primary); box-shadow: 0 8px 30px #142b4326; font-size: 12px; }

@media (min-width: 1600px) {
    .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .container { max-width: 1510px; }
}
@media (max-width: 1180px) {
    .container { padding-left: 28px; padding-right: 28px; }
    .header-main { gap: 22px; }
    .nav ul { gap: 18px; }
    .header-search { display: none; }
    .category-container { grid-template-columns: 215px minmax(0, 1fr); gap: 22px; }
    .products-grid { gap: 13px; }
    .product-info { padding: 13px; }
}
@media (max-width: 900px) {
    .header-main { min-height: 72px; }
    .mobile-toggle { display: block; margin-left: auto; }
    .logo-text { font-size: 23px; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border-subtle); padding: 20px 28px; box-shadow: 0 12px 20px #142b4310; }
    .nav.active { display: block; }
    .nav ul { flex-direction: column; align-items: stretch; gap: 12px; }
    .dropdown-menu { position: static; box-shadow: none; margin-top: 6px; }
    .category-container { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
    .category-sidebar { padding: 18px 13px; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .results-header { align-items: center; flex-wrap: wrap; gap: 10px; }
    .footer-shell { gap: 28px; grid-template-columns: 1fr 1fr; }
    .footer-brand-panel { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .header-topline { font-size: 9px; letter-spacing: 0; }
    .header-topline-inner { min-height: 26px; }
    .header-main { gap: 14px; min-height: 66px; }
    .logo-text { font-size: 21px; max-width: 210px; }
    .brand-kicker { font-size: 8px; letter-spacing: .08em; }
    .header-actions { gap: 0; }
    .products-section { padding-top: 14px; padding-bottom: 35px; }
    .category-container { grid-template-columns: 1fr; gap: 14px; }
    .category-sidebar { padding: 12px 14px; }
    .sidebar-section[open] > .filter-title { margin-bottom: 14px; }
    .search-filter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .search-filter-form .mb-4 { margin-bottom: 0 !important; min-width: 0; }
    .search-filter-form .filter-keyword, .filter-actions { grid-column: 1 / -1; }
    .filter-actions { grid-template-columns: 1fr 1fr; margin-top: 3px; }
    .filter-support { display: none; }
    .results-header { flex-direction: row; align-items: center; gap: 10px; }
    .results-header h1 { font-size: 17px; }
    .results-header p { font-size: 10px; }
    .sort-form { gap: 0; }
    .sort-form label { display: none; }
    .sort-form .form-select { width: 132px; font-size: 10px; }
    .product-info { padding: 11px; }
    .products-grid { gap: 10px; }
    .product-image { padding: 8px; aspect-ratio: 1; }
    .product-title { font-size: 11px; min-height: 36px; }
    .product-category { font-size: 8px; letter-spacing: .03em; }
    .current-price { font-size: 14px; }
    .product-meta { font-size: 8px; flex-direction: column; }
    .inquiry-btn { padding: 8px; font-size: 10px; gap: 5px; }
    .catalog-endnote { font-size: 10px; }
    .sourcing-inner { align-items: start; flex-direction: column; gap: 17px; }
    .sourcing-inner h2 { font-size: 20px; }
    .footer { padding-top: 30px; }
    .footer-shell { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand-panel { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 5px; }
    .inquiry-modal { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
