:root {
	--blue: #0E4C86;
	--blue-deep: #082F54;
	--blue-light: #E8F0F8;
	--orange: #FF6A13;
	--orange-deep: #D8550A;
	--orange-light: #FFEEE2;
	--graphite: #1E2328;
	--steel: #6B7280;
	--border: #E4E7EB;
	--paper: #F7F8FA;
	--white: #FFFFFF;
	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--graphite); background: var(--paper); line-height: 1.55; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; }

/* ---------- Rate ticker ---------- */
.rate-ticker { background: var(--blue-deep); overflow: hidden; white-space: nowrap; }
.rate-ticker-track { display: inline-flex; gap: 40px; padding: 7px 0; animation: ticker-scroll 28s linear infinite; }
.rate-ticker-track span { font-family: var(--font-mono); font-size: 11.5px; color: #C7D8E8; display: inline-flex; gap: 8px; align-items: center; }
.rate-ticker-track b { color: var(--white); }
.rate-ticker-track i { font-style: normal; }
.rate-ticker-track i.up { color: #7FD99A; }
.rate-ticker-track i.down { color: #F3A08F; }
.rate-ticker-track i.flat { color: #B9C6D4; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.logo em { color: var(--orange); font-style: normal; }
.logo-hex { width: 24px; height: 24px; color: var(--orange); }

.location-search { flex: 1; display: flex; max-width: 560px; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden; }
.location-box { display: flex; align-items: center; gap: 4px; padding: 0 10px; background: var(--paper); border-right: 1px solid var(--border); }
.location-box select { border: none; background: transparent; font-size: 13px; color: var(--graphite); padding: 10px 4px; }
.loc-pin { color: var(--orange); font-size: 10px; }
.location-search input { flex: 1; border: none; padding: 10px 12px; font-size: 14px; }
.location-search input:focus { outline: none; }
.location-search button { background: var(--blue); color: var(--white); border: none; padding: 0 18px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.location-search button:hover { background: var(--blue-deep); }

.header-nav { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.header-nav a { font-size: 13.5px; font-weight: 500; color: var(--graphite); }
.header-nav a:hover { color: var(--blue); }
.nav-list { color: var(--orange) !important; }
.nav-login { border: 1px solid var(--border); border-radius: 6px; padding: 8px 14px; }
.btn-cta-header { background: var(--orange); color: var(--white) !important; padding: 10px 18px; border-radius: 6px; font-weight: 700; }
.btn-cta-header:hover { background: var(--orange-deep); }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; height: 340px; }
.slider-track { position: relative; height: 100%; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.6s ease; padding: 0 20px; }
.slide.active { opacity: 1; z-index: 1; }
.slide-content { max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 40px; }
.slide-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; margin: 0 0 10px; color: rgba(255,255,255,0.85); }
.slide h1 { font-size: 34px; color: var(--white); line-height: 1.2; max-width: 620px; margin-bottom: 12px; }
.slide-sub { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 520px; margin: 0 0 22px; }
.btn-cta-slide { display: inline-block; background: var(--white); color: var(--blue-deep); padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 14.5px; }
.btn-cta-slide:hover { background: var(--orange-light); }

.slide-1 { background: linear-gradient(120deg, var(--orange-deep), var(--orange)); }
.slide-2 { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); }
.slide-3 { background: linear-gradient(120deg, #0B3A5C, #1B6FA8); }
.slide-4 { background: linear-gradient(120deg, #6A3A0F, var(--orange-deep)); }

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255,255,255,0.2); border: none; color: var(--white); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.slider-arrow:hover { background: rgba(255,255,255,0.35); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; cursor: pointer; padding: 0; }
.dot.active { background: var(--white); width: 22px; border-radius: 4px; transition: width 0.2s; }

/* ---------- Finder strip ---------- */
.finder-strip { max-width: 1280px; margin: -26px auto 0; padding: 0 20px; position: relative; z-index: 3; }
.finder-strip-label { font-family: var(--font-mono); font-size: 11px; color: var(--orange); letter-spacing: 0.06em; margin: 0 0 8px 4px; }
.finder-strip-form { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 10px; box-shadow: 0 10px 30px rgba(14,76,134,0.12); }
.finder-strip-form select, .finder-strip-form input { width: 100%; }
.finder-strip-form button { background: var(--orange); color: var(--white); border: none; padding: 0 22px; border-radius: 6px; font-weight: 700; cursor: pointer; font-family: var(--font-body); white-space: nowrap; }
.finder-strip-form button:hover { background: var(--orange-deep); }

/* ---------- Hex category grid ---------- */
.category-hex-grid { max-width: 1280px; margin: 36px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
.hex-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hex-shape { width: 68px; height: 68px; background: var(--white); border: 1px solid var(--border); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%); display: flex; align-items: center; justify-content: center; color: var(--blue); transition: background 0.15s, color 0.15s; }
.hex-item:hover .hex-shape { background: var(--blue); color: var(--white); }
.hex-shape svg { width: 26px; height: 26px; }
.hex-label { font-size: 12.5px; font-weight: 500; }

/* ---------- Trust ring ---------- */
.trust-ring { --pct: 0; width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--orange) calc(var(--pct) * 1%), var(--border) 0); display: flex; align-items: center; justify-content: center; }
.trust-ring-num { width: 42px; height: 42px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--blue-deep); }
.trust-ring-lg { width: 76px; height: 76px; }
.trust-ring-lg .trust-ring-num { width: 62px; height: 62px; font-size: 17px; }

/* ---------- Verified suppliers ---------- */
.section-head-row { max-width: 1280px; margin: 0 auto; padding: 40px 20px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.section-head-row h2 { font-size: 22px; }
.see-all { color: var(--blue); font-size: 13.5px; font-weight: 600; }
.verified-strip .supplier-results { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------- About block ---------- */
.about-block { max-width: 1280px; margin: 40px auto 0; padding: 40px 20px; background: var(--blue-deep); border-radius: 12px; color: var(--white); }
.about-block h2 { font-size: 22px; margin-bottom: 24px; max-width: 560px; }
.about-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-icon { color: var(--orange); font-size: 16px; }
.feature-item b { display: block; font-size: 15px; margin: 8px 0 6px; }
.feature-item p { color: #B7C9DA; font-size: 13.5px; margin: 0; }

/* ---------- Generic components (inner pages) ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 0 20px 48px; }
.breadcrumb { font-size: 13px; color: var(--steel); padding: 18px 0 10px; }
.breadcrumb a { color: var(--blue); }
.crumb-sep { color: var(--steel); margin: 0 2px; }
.page-title { font-size: 24px; font-weight: 700; margin: 0 0 16px; }
.page-sub { color: var(--steel); font-size: 14px; margin: -8px 0 18px; }
.result-count { color: var(--steel); font-size: 13px; margin: -10px 0 16px; }

.subcategory-grid, .product-grid, .supplier-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.subcategory-card, .product-card, .supplier-card { border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: var(--white); }
.subcategory-card:hover, .product-card:hover, .supplier-card:hover { border-color: var(--blue); }
.subcategory-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.subcat-thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-light); color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.product-thumb-fallback { width: 100%; aspect-ratio: 1.4; background: var(--blue-light); color: var(--blue); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; border-radius: 6px; margin-bottom: 8px; }
.supplier-name { font-size: 12.5px; color: var(--steel); margin: 4px 0 0; }
.supplier-results .supplier-card { display: flex; align-items: center; gap: 12px; }
.supplier-card h3 { font-size: 15px; margin: 0 0 4px; }

.badge-verified { font-family: var(--font-mono); font-size: 10px; color: var(--white); background: var(--blue); border-radius: 3px; padding: 2px 7px; }
.badge-type { font-size: 10px; color: var(--blue); background: var(--blue-light); border-radius: 3px; padding: 2px 7px; margin-right: 4px; text-transform: capitalize; }
.badge-failed { font-size: 10px; color: #B23A2E; background: #FBEAE7; border-radius: 3px; padding: 2px 7px; margin-right: 4px; }
.badge-row { margin: 4px 0; }
.btn-primary { display: inline-block; background: var(--orange); color: var(--white); padding: 10px 20px; border-radius: 6px; margin: 12px 0; font-weight: 700; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-full { display: block; width: 100%; text-align: center; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 32px 20px; color: var(--steel); }
.empty-state a { color: var(--blue); font-weight: 600; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; align-items: center; }
.filter-bar input[type="text"] { flex: 1; min-width: 220px; }
.btn-locate { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; color: var(--blue); font-weight: 500; }

.supplier-header { display: flex; gap: 18px; align-items: flex-start; padding-top: 20px; margin-bottom: 4px; }
.supplier-logo-sm { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-light); color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.supplier-location { color: var(--steel); font-size: 13px; margin: 2px 0 0; }
.supplier-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin: 16px 0 0; }
.supplier-tabs a { padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--steel); border-bottom: 2px solid transparent; }
.supplier-tabs a:hover { color: var(--blue); border-color: var(--blue); }
.page-section { padding: 24px 0; border-bottom: 1px solid var(--border); }
.page-section h2 { font-size: 17px; margin-bottom: 10px; }

.product-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-top: 16px; }
.gallery-main-frame { background: var(--blue-light); border-radius: 8px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gallery-main-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 6px; margin-top: 8px; }
.gallery-thumb { width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--border); cursor: pointer; border-radius: 4px; }
.price { font-family: var(--font-mono); font-size: 18px; color: var(--blue-deep); }
.specs { font-family: var(--font-mono); font-size: 11px; color: var(--steel); margin: 2px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--steel); font-weight: 500; width: 150px; background: var(--paper); }
.product-description { color: var(--graphite); font-size: 14px; margin: 12px 0; }

.auth-wrap { display: flex; justify-content: center; padding: 40px 0; }
.auth-wrap.wide .auth-card { max-width: 640px; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; width: 100%; max-width: 420px; }
.auth-card form p { margin: 0 0 14px; }
.auth-card label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.auth-card input, .auth-card select, .auth-card textarea { width: 100%; }
.auth-links { text-align: center; margin-top: 16px; font-size: 13px; color: var(--steel); }
.auth-links a { color: var(--blue); font-weight: 500; }
.success-card { text-align: center; }
.success-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 24px; margin-bottom: 14px; }

.dashboard-panel { border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 16px; background: var(--white); }
.list-plain { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.list-row:last-child { border-bottom: none; }

.messages { list-style: none; padding: 0; margin: 20px 0 0; }
.messages li { padding: 10px 16px; border-radius: 6px; margin-bottom: 8px; font-size: 14px; }
.message-success { background: #EAF3DE; color: #27500A; }
.message-error { background: #FBEAE7; color: #791F1F; }

input, select, textarea { font-family: var(--font-body); font-size: 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); }
button { font-family: var(--font-body); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #C7D8E8; margin-top: 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 200px 1fr; gap: 32px; }
.footer-col h4 { font-family: var(--font-body); font-size: 14px; margin-bottom: 12px; color: var(--white); }
.footer-col a { display: block; font-size: 13px; color: #A9C0D6; margin-bottom: 8px; }
.footer-col a:hover { color: var(--white); }
.footer-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 20px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #7FA0BE; margin: 0; }

/* ---------- Engineering tools ---------- */
.tools-header { padding-top: 8px; }
.tools-header .page-title { margin-bottom: 6px; }
.tools-header .page-sub { margin: 0; max-width: 640px; }

.tools-layout { margin-top: 20px; padding-bottom: 20px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }

.tools-sidebar { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 20px; }
.tools-sidebar-group { display: flex; flex-direction: column; gap: 2px; }
.tools-sidebar-label { font-family: var(--font-mono); font-size: 10.5px; color: var(--steel); letter-spacing: 0.08em; text-transform: uppercase; padding: 0 10px; margin-bottom: 6px; }
.tools-tab {
	display: flex; align-items: center; gap: 8px; background: transparent; border: none; border-radius: 6px;
	padding: 9px 10px; font-size: 13.5px; font-weight: 500; color: var(--graphite); cursor: pointer;
	font-family: var(--font-body); text-align: left; width: 100%;
}
.tools-tab-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.tools-tab:hover { background: var(--blue-light); color: var(--blue-deep); }
.tools-tab.active { background: var(--blue); color: var(--white); font-weight: 600; }
.tools-tab.active .tools-tab-dot { background: var(--orange); }

.tools-content { min-width: 0; }
.tools-panel { display: none; }
.tools-panel.active { display: block; animation: tools-fade-in 0.15s ease; }
@keyframes tools-fade-in { from { opacity: 0; } to { opacity: 1; } }
.tools-panel h2 { font-size: 19px; margin-bottom: 6px; }

.tools-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
.tools-table { width: 100%; border-collapse: collapse; background: var(--white); }
.tools-table th, .tools-table td { text-align: left; padding: 11px 16px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.tools-table th { background: var(--blue-light); color: var(--blue-deep); font-weight: 600; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em; text-transform: uppercase; }
.tools-table td { font-family: var(--font-mono); }
.tools-table tbody tr:nth-child(even) { background: var(--paper); }
.tools-table tbody tr:hover { background: var(--blue-light); }
.tools-size { font-weight: 700; color: var(--blue); }
.tools-table tbody tr:last-child td { border-bottom: none; }

.tools-subhead { font-size: 13.5px; color: var(--blue-deep); margin: 20px 0 10px; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.tools-subhead:first-of-type { margin-top: 4px; }
.tools-note { background: var(--orange-light); border-left: 3px solid var(--orange); border-radius: 4px; padding: 12px 14px; font-size: 13px; color: var(--graphite); margin: 16px 0 0; }
.tools-methodology { background: var(--blue-light); border-left: 3px solid var(--blue); border-radius: 4px; padding: 12px 14px; font-size: 12.5px; color: var(--graphite); margin: 0 0 22px; line-height: 1.6; }

.calc-form { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 22px; margin-bottom: 16px; }
.calc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 16px; }
.calc-row:last-child { margin-bottom: 0; }
.calc-row label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: 0.02em; }
.calc-row select, .calc-row input[type="number"] { width: 100%; }
.calc-checkbox { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 13.5px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--graphite) !important; }
.calc-checkbox input { width: auto !important; accent-color: var(--blue); }
.calc-accessories { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; margin-bottom: 16px; }
.calc-accessory-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.calc-checkbox-qty { gap: 6px !important; }
.calc-qty-inline { width: 52px !important; padding: 4px 6px !important; margin-left: 2px; }

.calc-results { display: flex; flex-direction: column; gap: 14px; }
.calc-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.calc-stat { background: var(--blue-deep); border-radius: 10px; padding: 18px; text-align: center; }
.calc-stat-label { display: block; font-size: 11.5px; color: #A9C0D6; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; font-family: var(--font-mono); }
.calc-stat-value { display: block; font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--white); }
.calc-breakdown { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 4px 18px; }

.din-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 28px; }
.din-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.din-card:hover { border-color: var(--blue); }
.din-card-top { display: flex; justify-content: space-between; align-items: center; }
.din-card-code { font-family: var(--font-mono); font-weight: 700; color: var(--blue-deep); font-size: 14px; }
.din-card-name { font-size: 13.5px; color: var(--graphite); margin: 0; }
.din-detail-head { border-bottom: 1px solid var(--border); padding-bottom: 16px; }

/* Seller product form */
.product-form-wrap { max-width: 760px; margin: 0 auto; }
.product-form-head { margin-bottom: 20px; }
.form-section { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 18px; }
.form-section-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--steel); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.form-field { margin-bottom: 14px; }
.form-field > label { display: block; font-size: 13px; font-weight: 600; color: var(--graphite); margin-bottom: 5px; }
.form-field input[type=text], .form-field input[type=number], .form-field input[type=file],
.form-field select, .form-field textarea,
.product-form-wrap input[type=text], .product-form-wrap input[type=number], .product-form-wrap select, .product-form-wrap textarea {
	width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 7px; font-size: 14px; font-family: inherit; box-sizing: border-box; background: var(--paper);
}
.form-field select:focus, .form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* Cascading category picker */
.category-picker { background: var(--paper); border: 1px solid var(--border); border-radius: 8px; padding: 14px; }
.cat-level-select { margin-bottom: 8px; }
.cat-add-btn { margin-top: 4px; font-size: 13px; padding: 6px 12px; }
.selected-cats { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue-deep); border: 1px solid var(--blue); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.cat-chip b { cursor: pointer; font-weight: 700; }
.btn-secondary { display: inline-block; padding: 9px 18px; border: 1px solid var(--border); border-radius: 7px; background: var(--white); color: var(--graphite); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-secondary:hover { background: var(--paper); }
.gallery-del-btn { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; padding: 0; border-radius: 50%; background: #B23A2E; color: #fff; border: none; font-size: 12px; line-height: 1; cursor: pointer; }

.din-diagram-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px; max-width: 260px; margin: 16px 0; }
.din-diagram { width: 100%; height: auto; }
.din-diagram-img { width: 100%; height: auto; border-radius: 6px; }
.din-dim-label { font-family: var(--font-mono); font-size: 11px; fill: var(--orange); font-weight: 700; }

@media (max-width: 900px) {
	.tools-layout { grid-template-columns: 1fr; }
	.tools-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px; }
	.tools-sidebar-group { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px; }
	.tools-sidebar-label { display: none; }
	.tools-tab { width: auto; border: 1px solid var(--border); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.header-inner { flex-wrap: wrap; }
	.location-search { order: 3; max-width: none; width: 100%; }
	.header-nav { gap: 10px; }
	.nav-list, .nav-login { display: none; }
	.hero-slider { height: 420px; }
	.slide h1 { font-size: 24px; }
	.finder-strip-form { grid-template-columns: 1fr 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
	.footer-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.product-layout { grid-template-columns: 1fr; }
}
