/* Dymatec header 2026 — loads on every page. Everything is scoped to .dm-header
   and resets old theme styles so the rest of the site is unaffected. */
.dm-header, .dm-header * { box-sizing: border-box; }
.dm-header { font-family: 'Montserrat', Arial, sans-serif; color: #1d1f22; position: relative; z-index: 50; clear: both; width: 100%; }
.dm-header ul { list-style: none; margin: 0; padding: 0; }
.dm-header li { float: none; margin: 0; padding: 0; background: none; border: 0; }
.dm-header a { text-decoration: none; }
.dm-header img { border: 0; max-width: none; }
.dm-header button { font-family: inherit; }
.dm-hwrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.dm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.dm-topbar { background: #1d2024; color: #fff; }
.dm-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dm-topbar__left { display: flex; align-items: center; gap: 10px; }
.dm-topbar__flag { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.dm-topbar__right { display: flex; align-items: center; gap: 22px; }
.dm-topbar__links { display: flex; align-items: center; }
.dm-topbar__links li + li { border-left: 1px solid #4a4e55; }
.dm-topbar__links a { display: block; padding: 4px 14px; color: #fff; }
.dm-topbar__links a:hover { color: #f39200; }
.dm-topbar__links .dm-topbar__usa { color: #f39200; }
.dm-topbar__social { display: flex; gap: 4px; }
.dm-topbar__social a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #fff; font-size: 13px; }
.dm-topbar__social a:hover { color: #f39200; }

/* Main bar */
.dm-mainbar { background: #fff; border-bottom: 1px solid #ececec; }
.dm-mainbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.dm-logo { display: block; flex: 0 0 auto; }
.dm-logo img { display: block; height: 62px; width: auto; }

.dm-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.dm-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; }
.dm-nav a { display: block; padding: 12px 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: #1d1f22; border-bottom: 3px solid transparent; }
.dm-nav a:hover, .dm-nav .is-current a { color: #1d1f22; border-bottom-color: #f39200; }
.dm-nav__extra { display: none !important; }

.dm-mainbar__tools { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.dm-iconbtn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: #1d1f22; cursor: pointer; }
.dm-iconbtn:hover { color: #f39200; }
.dm-divider { width: 1px; height: 36px; background: #dcdde0; }
.dm-call { display: flex; align-items: center; gap: 12px; color: #1d1f22; }
.dm-call__text { display: flex; flex-direction: column; line-height: 1.25; }
.dm-call__text small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dm-call__text strong { font-size: 15px; font-weight: 700; }
.dm-call:hover strong { color: #d98200; }
.dm-burger { display: none; }

/* Search drop-down */
.dm-search { background: #f3f4f5; border-top: 1px solid #ececec; padding: 16px 0; }
.dm-search[hidden] { display: none; }
.dm-search__form { display: flex; gap: 10px; }
.dm-search__form input { flex: 1; height: 48px; padding: 0 16px; border: 2px solid #1d1f22; font: 500 15px 'Montserrat', Arial, sans-serif; background: #fff; }
.dm-search__form button { height: 48px; padding: 0 24px; background: #f39200; border: 2px solid #f39200; color: #15171a; font: 700 12px 'Montserrat', Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.dm-search__form button:hover { background: #d98200; border-color: #d98200; }

/* Smaller screens */
@media (max-width: 1180px) {
	.dm-nav ul { gap: 4px 20px; }
	.dm-call__text small { display: none; }
}
@media (max-width: 1000px) {
	.dm-hwrap { padding: 0 20px; }
	.dm-topbar__left span, .dm-topbar__links { display: none; }
	.dm-topbar__inner { justify-content: space-between; }
	.dm-mainbar__inner { min-height: 72px; gap: 12px; }
	.dm-logo img { height: 48px; }
	.dm-burger { display: flex; }
	.dm-divider, .dm-call__text { display: none; }
	.dm-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #ececec; box-shadow: 0 12px 24px rgba(0,0,0,.12); padding: 8px 20px 20px; }
	.dm-nav.is-open { display: block; }
	.dm-nav ul { flex-direction: column; gap: 0; }
	.dm-nav li { border-bottom: 1px solid #ececec; }
	.dm-nav a { padding: 16px 0; font-size: 14px; border-bottom: 0; }
	.dm-nav .is-current a { color: #d98200; }
	.dm-nav__extra { display: flex !important; margin-top: 8px !important; }
	.dm-nav__extra a { font-size: 12px; color: #5a5d63; }
	.dm-mainbar { position: relative; }
}
