/* Shared storefront header; existing page layouts and admin are unaffected. */
#cycleStoreHeader { --home-navy: #07111f; --home-blue: #087cf0; --home-action: #006bd1; }
#cycleStoreHeader [hidden] { display: none !important; }
#cycleStoreHeader .home-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#cycleStoreHeader :is(a, button, input):focus-visible { outline: 3px solid #087cf0; outline-offset: 4px; }
#cycleStoreHeader { position: relative; background: var(--home-navy); color: white; border: 0; box-shadow: none; }
#cycleStoreHeader .top-service-strip { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; min-height: 33px; padding: 7px max(28px, calc((100% - 1384px) / 2)); background: #101d30 !important; color: #d6dfe9; font-size: 10px; border: 0; }
.home-top-usps { display: flex; gap: 22px; align-items: center; }
#cycleStoreHeader .top-service-right { display: flex; align-items: center; gap: 18px; font-size: inherit; }
#cycleStoreHeader .top-location-trigger { color: #fff; background: none; border: 0; padding: 0; min-height: 18px; gap: 6px; }
/* Align the utility links and remove the legacy divider on customer service. */
#cycleStoreHeader .top-service-right { gap: 20px; }
#cycleStoreHeader .top-service-right > a,
#cycleStoreHeader .top-service-right > .top-location-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 24px; margin: 0; padding: 0; border: 0; background: transparent;
  color: #d6dfe9; font-size: 12px; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
#cycleStoreHeader .top-service-right > a:hover,
#cycleStoreHeader .top-service-right > a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#cycleStoreHeader .top-service-right .service-link::before {
  content: ''; display: block; flex: 0 0 15px; width: 15px; height: 15px;
  background: #9ac8f1;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-3a8 8 0 0 1 16 0v3M20 17v1a3 3 0 0 1-3 3h-4'/%3E%3Crect x='2' y='11' width='5' height='7' rx='2'/%3E%3Crect x='17' y='11' width='5' height='7' rx='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
#cycleStoreHeader .top-service-right .top-location-trigger img { display: block; width: 18px; height: 12px; object-fit: cover; }
#cycleStoreHeader .main-row { display: grid !important; grid-template-columns: 190px minmax(220px, 1fr) auto !important; align-items: center; gap: 32px !important; width: 100% !important; max-width: 1440px !important; min-height: 99px !important; height: auto !important; margin: auto !important; padding: 18px 28px !important; background: transparent !important; }
#cycleStoreHeader .main-row::before, #cycleStoreHeader .main-row::after { display: none !important; }
#cycleStoreHeader .main-row { grid-template-rows: auto !important; grid-auto-rows: auto !important; }
#cycleStoreHeader .brand { position: static !important; transform: none !important; grid-column: 1 !important; grid-row: 1 !important; display: block !important; width: 190px !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
#cycleStoreHeader .brand-logo { display: block !important; width: 190px !important; max-width: 100% !important; height: 60px !important; object-fit: contain !important; object-position: center !important; transform: none !important; filter: none !important; }
#cycleStoreHeader .search-form { position: relative !important; display: flex !important; grid-column: 2 !important; grid-row: 1 !important; align-items: stretch !important; width: 100% !important; min-width: 0; height: 50px !important; min-height: 50px !important; margin: 0 !important; padding: 0 !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; transform: none !important; gap: 0 !important; overflow: hidden; }
#cycleStoreHeader .search-form::before, #cycleStoreHeader .search-form::after, #cycleStoreHeader .search-form button::before, #cycleStoreHeader .search-form button::after { display: none !important; }
#cycleStoreHeader .search-form input { width: 0 !important; height: 100% !important; min-height: 0 !important; min-width: 0 !important; padding: 0 14px !important; border: 0 !important; border-radius: 0 !important; color: #142235 !important; background: transparent !important; font-size: 14px !important; flex: 1 1 0% !important; margin: 0 !important; box-shadow: none !important; text-overflow: ellipsis; }
#cycleStoreHeader .search-form input::placeholder { color: #64707d !important; }
#cycleStoreHeader .search-form button { display: flex !important; position: static !important; transform: none !important; width: auto !important; height: 100% !important; min-width: 88px !important; padding: 0 18px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; color: #fff !important; background: var(--home-blue) !important; font-size: 14px !important; font-weight: 700; box-shadow: none !important; align-items: center; justify-content: center; align-self: stretch; min-height: 0 !important; }
#cycleStoreHeader .header-actions { display: flex !important; position: static !important; grid-column: 3 !important; grid-row: 1 !important; align-items: center !important; justify-content: flex-end !important; width: auto !important; height: auto !important; gap: 21px !important; margin: 0 !important; padding: 0 !important; background: transparent !important; transform: none !important; }
#cycleStoreHeader .header-actions > :is(a, button) { position: relative !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: auto !important; min-width: 38px !important; height: 52px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #fff !important; box-shadow: none !important; transform: none !important; font-size: 10px; font-weight: 500; }
#cycleStoreHeader .header-actions > :is(a, button)::after, #cycleStoreHeader .header-actions > :is(a, button)::before { display: none !important; }
#cycleStoreHeader .header-actions svg { width: 23px !important; height: 23px !important; fill: none; stroke: currentColor; stroke-width: 1.5; }
#cycleStoreHeader .header-actions > :is(a, button) > span { font-size: 12px; line-height: 1.3; font-weight: 500; }
#cycleStoreHeader .brand-logo { mix-blend-mode: screen; }
#cycleStoreHeader .brand { background: transparent !important; }
#cycleStoreHeader .brand-logo { mix-blend-mode: screen !important; }
#cycleStoreHeader .search-form button { flex: 0 0 auto !important; max-width: none !important; white-space: nowrap; }
#cycleStoreHeader .search-form { inset: auto !important; }
#cycleStoreHeader .header-actions > :is(#accountButton, #cartButton, #categoryAccountButton, #categoryCartButton) { position: relative !important; inset: auto !important; display: flex !important; width: auto !important; }
#cycleStoreHeader .header-actions .cart-button strong { position: absolute !important; top: -4px !important; right: 7px !important; left: auto !important; bottom: auto !important; display: grid !important; place-items: center; min-width: 17px !important; width: auto !important; height: 17px !important; padding: 0 4px !important; border-radius: 9px !important; border: 2px solid var(--home-navy); font-size: 9px !important; background: var(--home-blue) !important; color: white !important; transform: none !important; }
#cycleStoreHeader .store-category-nav { background: var(--home-navy); border-top: 1px solid #223043; border-bottom: 0; box-shadow: none; }
@media (min-width: 721px) {
#cycleStoreHeader .store-category-nav { display: flex !important; justify-content: center; align-items: center; gap: clamp(12px, 2.7vw, 43px); min-height: 47px; padding: 0 28px; }
#cycleStoreHeader .store-category-nav a { min-height: 47px; padding: 0; display: flex; align-items: center; gap: 4px; color: #e7edf5; background: none; font-size: 14px; font-weight: 600; }
#cycleStoreHeader .store-category-nav a:hover { color: #fff; box-shadow: inset 0 -2px var(--home-blue); }
#cycleStoreHeader .mobile-menu-link-icon { display: none; }
#cycleStoreHeader .mobile-menu-toggle { display: none !important; }
}
#cycleStoreHeader .store-category-nav a[data-catalog="aanbiedingen"] { color: #ef7e83; }
#cycleStoreHeader .store-mega-menu { top: 100%; left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 56px); max-width: 1384px; max-height: min(680px, calc(100dvh - 205px)); overflow: auto; overscroll-behavior: contain; color: #152132; background: #fff; border: 1px solid #dce5ef; border-top: 3px solid var(--home-blue); border-radius: 0 0 12px 12px; box-shadow: 0 18px 35px rgba(7, 17, 31, .18); }
#cycleStoreHeader .store-mega-menu-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; width: 100%; margin: 0; padding: 20px 28px; background: #f5f8fc; border-bottom: 1px solid #e2e8f0; }
#cycleStoreHeader #megaMenuCount { display: none; }
#cycleStoreHeader .store-mega-menu-header h2 { margin: 0; color: #102238; font-size: 24px; line-height: 1.3; }
#cycleStoreHeader .store-mega-menu-header > a { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 14px; color: #006bd1; background: #fff; border: 1px solid #cddff1; border-radius: 6px; font-size: 14px; font-weight: 700; }
#cycleStoreHeader .store-mega-menu-header > a::after { content: "→"; }
#cycleStoreHeader .store-mega-menu-grid { display: block; columns: 4; column-gap: 32px; width: 100%; max-width: none; margin: 0; padding: 24px 28px 8px; border: 0; background: #fff; box-shadow: none; }
#cycleStoreHeader .store-mega-menu { color-scheme: light; }
#cycleStoreHeader .store-mega-menu-grid:is(.is-row, .is-electronics, .is-compact, .is-small) { display: grid; columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 24px 32px; padding-bottom: 24px; }
#cycleStoreHeader .store-mega-menu-grid:is(.is-row, .is-electronics, .is-compact, .is-small) .store-mega-group { margin-bottom: 0; }
#cycleStoreHeader .store-mega-group { display: inline-block; width: 100%; margin: 0 0 24px; padding: 0; border: 0; break-inside: avoid; background: transparent; }
#cycleStoreHeader .store-mega-group-title { display: block; margin: 0 0 8px; padding: 4px 8px 10px; color: #122a43; border-bottom: 1px solid #e2e8f0; font-size: 16px; line-height: 1.4; font-weight: 750; }
#cycleStoreHeader .store-mega-group > div { display: grid; gap: 2px; }
#cycleStoreHeader .store-mega-group > div a { display: block; min-height: 32px; padding: 6px 8px; color: #405168; border-radius: 5px; font-size: 14px; line-height: 1.45; }
#cycleStoreHeader .store-mega-group a:hover, #cycleStoreHeader .store-mega-group a:focus-visible { color: #006bd1; background: #edf5ff; text-decoration: none; }
#cycleStoreHeader .store-category-nav a.active { color: #fff; background: transparent; box-shadow: inset 0 -3px var(--home-blue); }
@media (min-width: 721px) {
#cycleStoreHeader .store-mega-menu:not([hidden]) { display: block !important; }
}
@media (min-width: 721px) and (max-width: 1050px) {
#cycleStoreHeader .store-mega-menu { width: calc(100% - 32px); }
#cycleStoreHeader .store-mega-menu-grid { columns: 3; column-gap: 20px; padding-inline: 20px; }
#cycleStoreHeader .store-mega-menu-grid:is(.is-row, .is-electronics, .is-compact, .is-small) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
#cycleStoreHeader .store-mega-menu-header { padding-inline: 20px; }
}
@media (min-width: 721px) and (max-width: 850px) {
#cycleStoreHeader .store-mega-menu-grid { columns: 2; }
#cycleStoreHeader .store-mega-menu-grid:is(.is-row, .is-electronics, .is-compact, .is-small) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
#cycleStoreHeader .header-actions { gap: 15px !important; }
#cycleStoreHeader .header-actions > :is(a, button) > span { display: none; }
#cycleStoreHeader .main-row { grid-template-columns: 170px minmax(200px, 1fr) auto !important; gap: 22px !important; }
#cycleStoreHeader .brand, #cycleStoreHeader .brand-logo { width: 170px !important; }
.home-top-usps { gap: 14px; }
.home-top-usps > span:last-child { display: none; }
}
@media (max-width: 900px) {
.home-top-usps > span:nth-child(3) { display: none; }
}
@media (max-width: 720px) {
#cycleStoreHeader .top-service-strip { padding: 7px 16px; min-height: 28px; justify-content: center; font-size: 9px; }
.home-top-usps > span:not(:first-child), #cycleStoreHeader .top-service-right { display: none; }
#cycleStoreHeader .main-row { grid-template-columns: 28px minmax(0, 1fr) auto !important; gap: 12px !important; min-height: 126px !important; padding: 12px 16px 16px !important; }
#cycleStoreHeader .main-row { grid-template-rows: auto auto !important; }
#cycleStoreHeader .mobile-menu-toggle { position: static !important; display: flex !important; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px; grid-column: 1 !important; grid-row: 1 !important; width: 25px !important; height: 36px !important; min-width: 0 !important; padding: 3px !important; margin: 0 !important; border: 0 !important; background: transparent !important; transform: none !important; }
#cycleStoreHeader .mobile-menu-toggle span { display: block !important; width: 20px !important; height: 1.5px !important; background: #e1e9f1 !important; margin: 0 !important; }
#cycleStoreHeader .mobile-menu-toggle strong { display: none; }
#cycleStoreHeader .brand { grid-column: 2 !important; width: 100% !important; max-width: 135px !important; min-width: 0 !important; justify-self: start !important; }
#cycleStoreHeader .brand-logo { width: 100% !important; height: 42px !important; }
#cycleStoreHeader .header-actions { grid-column: 3 !important; gap: 14px !important; }
#cycleStoreHeader .header-actions > :is(a, button) { min-width: 24px !important; height: 36px !important; }
#cycleStoreHeader .header-actions .home-bikes-button { display: none !important; }
#cycleStoreHeader .header-actions svg { width: 21px !important; height: 21px !important; }
#cycleStoreHeader .header-actions .cart-button strong { right: -5px !important; top: -2px !important; }
#cycleStoreHeader .search-form { grid-column: 1 / -1 !important; grid-row: 2 !important; height: 48px !important; min-height: 48px !important; }
#cycleStoreHeader .search-form input { font-size: 14px !important; padding: 0 10px !important; }
#cycleStoreHeader .search-form button { min-width: 76px !important; padding: 0 12px !important; }
#cycleStoreHeader .store-category-nav { background: #fff; color: #152132; border-top: 0; }
#cycleStoreHeader .store-category-nav {
    display: flex !important; flex-direction: column !important; align-items: stretch !important;
    position: fixed !important; inset: 0 auto 0 0 !important; z-index: 100 !important;
    width: min(340px, 88vw) !important; max-width: none !important; height: 100dvh !important;
    margin: 0 !important; padding: 22px !important; gap: 0 !important; overflow-y: auto !important;
    transform: translateX(-105%) !important; visibility: hidden; pointer-events: none;
    border: 0 !important; box-shadow: none !important; transition: transform .2s, visibility .2s;
  }
#cycleStoreHeader.mobile-menu-open .store-category-nav { transform: translateX(0) !important; visibility: visible; pointer-events: auto; }
#cycleStoreHeader .store-category-nav a { display: flex !important; width: 100% !important; min-height: 49px !important; padding: 12px 0 !important; border-bottom: 1px solid #e2e7ed; }
#cycleStoreHeader .mobile-menu-backdrop { position: fixed !important; inset: 0 !important; z-index: 90 !important; display: none !important; width: 100vw; height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(7,17,31,.5); }
#cycleStoreHeader.mobile-menu-open .mobile-menu-backdrop { display: block !important; }
#cycleStoreHeader .store-category-nav a { color: #152132; }
#cycleStoreHeader .store-category-nav a[data-catalog="aanbiedingen"] { color: #b02032; }
}
#cycleStoreHeader .search-form button { background: var(--home-action) !important; }
@media (min-width: 721px) and (max-width: 1050px) {
#cycleStoreHeader .store-category-nav { gap: 14px; padding-inline: 16px; }
#cycleStoreHeader .store-category-nav a { font-size: 12px; }
}
#cycleStoreHeader .home-search-icon { width: 20px; height: 20px; flex: 0 0 20px; align-self: center; margin-left: 14px; fill: none; stroke: #526174; stroke-width: 1.8; pointer-events: none; }
#cycleStoreHeader .search-form:focus-within { border-color: #249aff !important; outline: 2px solid #249aff !important; outline-offset: 3px; }
#cycleStoreHeader .search-form input:focus-visible { outline: none !important; }
#cycleStoreHeader .search-form button:focus-visible { outline: 2px solid #fff !important; outline-offset: -5px; }
@media (prefers-reduced-motion: reduce) {
  #cycleStoreHeader *, #cycleStoreHeader *::before, #cycleStoreHeader *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
