/* Enterweb header 8.2.0. Scoped styles: no changes to products or checkout. */
#header.ew8-header {
    --ew8-ink: #102a48;
    --ew8-blue: #1558ef;
    --ew8-line: #dfe7ef;
    --ew8-soft: #f6f9fc;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 30;
}
#header.ew8-header *,
#header.ew8-header *::before,
#header.ew8-header *::after { box-sizing: border-box; }
#header .ew8-shell {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}
#header .ew8-mainbar {
    background: linear-gradient(100deg, #ff5a9e 0%, #ffb4a3 29%, #ffedbc 58%, #e8f0fc 100%);
    border-bottom: 1px solid rgba(16,42,72,.08);
}
#header .ew8-mainrow {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 20px;
}
#header .ew8-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    margin: 0 auto 0 0;
    padding: 0;
    text-decoration: none;
}
#header .ew8-logo img {
    display: block;
    width: 76px;
    height: 76px;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    transform: none;
}
#header .ew8-site-navigation { min-width: 0; }
#header .ew8-site-list,
#header .ew8-dropdown {
    margin: 0;
    padding: 0;
    list-style: none;
}
#header .ew8-site-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-flow: row nowrap;
    gap: clamp(10px,1.35vw,22px);
}
#header .ew8-site-list > li {
    display: block;
    flex: 0 0 auto;
    list-style: none;
    margin: 0;
    padding: 0;
}
#header .ew8-site-list > li > a,
#header .ew8-solutions > summary {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 48px;
    padding: 12px 0;
    color: var(--ew8-ink);
    background: transparent;
    font: 700 13px/1.35 Arial, Helvetica, sans-serif;
    letter-spacing: .01em;
    white-space: nowrap;
    text-decoration: none;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
#header .ew8-site-list > li > a:hover,
#header .ew8-site-list > li > a:focus-visible,
#header .ew8-site-list > li > a[aria-current="page"],
#header .ew8-solutions > summary:hover,
#header .ew8-solutions[open] > summary {
    color: var(--ew8-blue);
    border-bottom-color: var(--ew8-blue);
}
#header .ew8-solutions { position: relative; }
#header .ew8-solutions > summary { list-style: none; }
#header .ew8-solutions > summary::-webkit-details-marker { display: none; }
#header .ew8-solutions[open] > summary svg { transform: rotate(180deg); }
#header .ew8-dropdown {
    position: absolute;
    z-index: 50;
    left: -18px;
    top: calc(100% + 4px);
    min-width: 260px;
    max-width: 320px;
    padding: 10px;
    border: 1px solid var(--ew8-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,42,72,.14);
}
#header .ew8-dropdown li { margin: 0; list-style: none; }
#header .ew8-dropdown a {
    display: block;
    padding: 12px 10px;
    border-radius: 6px;
    color: var(--ew8-ink);
    font: 500 14px/1.4 Arial, Helvetica, sans-serif;
    white-space: normal;
    text-decoration: none;
}
#header .ew8-dropdown a:hover,
#header .ew8-dropdown a:focus-visible { background: #eef5ff; color: var(--ew8-blue); }
#header .ew8-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    border: 1px solid rgba(16,42,72,.17);
    border-radius: 10px;
    background: rgba(255,255,255,.82);
    color: var(--ew8-ink);
    text-decoration: none;
}
#header .ew8-cart:hover { background: #fff; color: var(--ew8-blue); }
#header #cartItemCount.ew8-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 30px;
    background: #10c7d9 !important;
    color: #082b55;
    font: 700 11px/1 Arial, Helvetica, sans-serif;
}
#header .ew8-portalbar { background: var(--ew8-soft); border-bottom: 1px solid var(--ew8-line); }
#header .ew8-portalrow { display: flex; align-items: center; gap: 18px; min-height: 62px; }
#header .ew8-portal-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
#header .ew8-portal-title {
    color: var(--ew8-ink);
    font: 700 13px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .055em;
    text-transform: uppercase;
    text-decoration: none;
}
#header .ew8-portal-caption { color: #586b80; font: 400 12px/1.5 Arial, Helvetica, sans-serif; }
#header .ew8-search {
    display: flex;
    align-items: stretch;
    flex: 0 1 350px;
    width: 350px;
    min-width: 0;
    margin: 0 0 0 auto;
    border: 1px solid #cbd8e5;
    border-radius: 9px;
    background: #fff;
}
#header .ew8-search:focus-within { outline: 3px solid rgba(21,88,239,.2); border-color: var(--ew8-blue); }
#header .ew8-search input {
    display: block;
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px 0 0 9px;
    background: transparent;
    color: var(--ew8-ink);
    font: 400 13px/1.4 Arial, Helvetica, sans-serif;
    box-shadow: none;
}
#header .ew8-search input::placeholder { color: #65758a; opacity: 1; }
#header .ew8-search input:focus { outline: none; }
#header .ew8-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    height: 42px;
    border: 0;
    border-left: 1px solid #e7edf4;
    border-radius: 0 9px 9px 0;
    background: #fff;
    color: var(--ew8-blue);
    cursor: pointer;
}
#header .ew8-search button:hover { background: #eef5ff; }
#header .ew8-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid rgba(16,42,72,.18);
    border-radius: 9px;
    background: rgba(255,255,255,.85);
    color: var(--ew8-ink);
    font: 600 13px/1.4 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
#header.ew8-header a:focus-visible,
#header.ew8-header button:focus-visible,
#header.ew8-header summary:focus-visible { outline: 3px solid #1558ef; outline-offset: 3px; }
#header .ew8-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
#header .ew8-portal-links { padding: 0; box-shadow: none !important; background: #fff !important; }
#header .ew8-portal-links .container { max-width: 1380px; }
#header .ew8-portal-links .nav-link {
    padding: 11px 12px;
    color: #3b4c60;
    font: 400 13px/1.4 Arial, Helvetica, sans-serif;
}
#header .ew8-portal-links .navbar-nav { list-style: none; }
@media (min-width: 1200px) {
    #header .ew8-portal-links #mainNavbar { display: flex !important; align-items: center; }
}
@media (max-width: 1199.98px) {
    #header .ew8-mainrow { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; min-height: 82px; padding-top: 8px; padding-bottom: 8px; }
    #header .ew8-logo { grid-column: 1; grid-row: 1; width: 64px; height: 64px; margin: 0; }
    #header .ew8-logo img { width: 64px; height: 64px; }
    #header.ew8-js .ew8-site-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
    #header .ew8-cart { grid-column: 3; grid-row: 1; margin: 0; }
    #header .ew8-site-navigation { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    #header.ew8-js .ew8-site-navigation:not(.ew8-open) { display: none; }
    #header .ew8-site-list { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; border-top: 1px solid rgba(16,42,72,.14); }
    #header .ew8-site-list > li > a,
    #header .ew8-solutions > summary { min-height: 46px; padding: 12px 8px; white-space: normal; }
    #header .ew8-dropdown { position: static; min-width: 0; max-width: none; width: 100%; margin: 0 0 8px; box-shadow: none; }
    #header .ew8-portalrow { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
    #header .ew8-portal-caption { display: none; }
    #header .ew8-search { flex: 1 1 260px; max-width: 500px; }
    #header.ew8-js .ew8-account-toggle { display: inline-flex; }
    #header .ew8-portal-links #mainNavbar { width: 100%; padding: 10px 0; }
    #header:not(.ew8-js) .ew8-portal-links #mainNavbar { display: block !important; }
    #header .ew8-portal-links #mainNavbar.show { display: block; }
    #header .ew8-portal-links .nav-link { min-height: 44px; padding: 12px 8px; }
}
@media (max-width: 599.98px) {
    #header .ew8-shell { padding-left: 16px; padding-right: 16px; }
    #header .ew8-mainrow { min-height: 76px; }
    #header .ew8-logo,
    #header .ew8-logo img { width: 58px; height: 58px; }
    #header .ew8-portalrow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
    #header .ew8-portal-copy { grid-column: 1; grid-row: 1; }
    #header .ew8-account-toggle { grid-column: 2; grid-row: 1; }
    #header .ew8-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin: 0; }
    #header .topbar .d-flex { flex-wrap: wrap; }
    #header .topbar .active-client { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    #header .ew8-site-list > li > a,
    #header .ew8-solutions > summary { transition: none; }
}
/* WHMCS navbar.tpl uses anchors without a nav-link class. */
#header .ew8-portal-links .navbar-nav > li > a {
    display: block;
    padding: 12px 12px;
    color: #3b4c60;
    font: 400 13px/1.4 Arial, Helvetica, sans-serif;
    text-decoration: none;
}
#header .ew8-portal-links .navbar-nav > li > a:hover,
#header .ew8-portal-links .navbar-nav > li > a:focus-visible { color: #1558ef; }
@media (max-width: 1199.98px) {
    #header .ew8-portal-links .navbar-nav > li > a { min-height: 44px; padding: 12px 8px; }
}
