/* Viken Profil 6.37.9 — compact public mobile menu + existing mobile polish */
.vp6370-mobile-cart{position:relative!important;display:inline-grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:0!important;background:transparent!important;font-size:0!important;overflow:visible!important}
.vp6370-mobile-cart svg{width:23px;height:23px;display:block;stroke:#111;fill:none;stroke-width:1.8}
.vp6370-cart-count{position:absolute;right:1px;top:1px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#111;color:#fff;font:800 9px/1 Inter,Arial,sans-serif;border:2px solid #fff}
.vp6370-cart-count:empty{display:none}
@media (max-width:1024px){
  /* One compact black menu button on phone. Any legacy duplicate is hidden by JS. */
  .vp-menu-button,.vp6120-menu-btn{background:#111!important;color:#fff!important;border:1px solid #111!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:inline-grid!important;place-items:center!important;font-size:0!important}
  .vp-menu-button svg,.vp6120-menu-btn svg{width:21px!important;height:21px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important}
  .vp-menu-button[data-vp6372-hidden-menu="1"],.vp6120-menu-btn[data-vp6372-hidden-menu="1"]{display:none!important}


  /* 6.37.9: compact public mobile menu. The header keeps its existing square button;
     the opened sheet contains only Tjenester, Om oss, Kontakt oss and Nettbutikk. */
  .vp-global-mobile-nav{padding:7px 16px 14px!important;background:#fff!important;border-top:1px solid #e9e9e9!important}
  .vp-global-mobile-nav>a,.vp-mobile-services-toggle{box-sizing:border-box!important;width:100%!important;min-height:43px!important;margin:0!important;padding:10px 2px!important;border:0!important;border-bottom:1px solid #ededed!important;background:#fff!important;color:#111!important;display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;text-decoration:none!important;font:750 13px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;letter-spacing:0!important}
  .vp-mobile-services-toggle{cursor:pointer!important}
  .vp-mobile-services-toggle span{margin-left:auto!important;font-size:13px!important;line-height:1!important;transition:transform .18s ease!important}
  .vp-mobile-services-toggle[aria-expanded="true"] span{transform:rotate(180deg)!important}
  .vp-mobile-services{padding:1px 0 6px 13px!important;margin:0!important;background:#fff!important}
  .vp-mobile-services:not(.is-open){display:none!important}
  .vp-mobile-services.is-open{display:block!important}
  .vp-mobile-services a{min-height:44px!important;padding:8px 0!important;border-bottom:1px solid #f2f2f2!important;display:flex!important;align-items:center!important;color:#4b4b4b!important;text-decoration:none!important;font:650 14px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
  .vp-global-mobile-nav .vp-mobile-shop-cta{margin-top:10px!important;padding:12px 14px!important;min-height:44px!important;justify-content:center!important;background:#111!important;color:#fff!important;border:1px solid #111!important;font-weight:850!important;text-align:center!important}

  /* Header cart = icon + quantity only */
  .vp6370-mobile-cart{position:relative!important;display:inline-grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:0!important;background:transparent!important;font-size:0!important;overflow:visible!important}
  .vp6370-mobile-cart svg{width:23px;height:23px;display:block;stroke:#111;fill:none;stroke-width:1.8}
  .vp6370-cart-count{position:absolute;right:1px;top:1px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#111;color:#fff;font:800 9px/1 Inter,Arial,sans-serif;border:2px solid #fff}
  .vp6370-cart-count:empty{display:none}

  /* Mobile-only persistent contact shortcut */
  .vp6370-contact-fab{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:1450;width:48px;height:48px;border-radius:50%;border:0;background:#111;color:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.22);cursor:pointer}
  .vp6370-contact-fab svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9}

  /* Tighter apparel / workwear shop rhythm */
  body[data-vp-site-section="profilklaer"] .shophead,
  body[data-vp-site-section="arbeidsklaer"] .shophead,
  body[data-vp-site-section="pakker"] .shophead{padding:12px 14px 8px!important;gap:7px!important;margin:0!important;align-items:stretch!important}
  /* vp6331 gives these children a large flex-basis for desktop. In a mobile column that
     becomes hundreds of pixels of vertical whitespace, so reset both children completely. */
  body[data-vp-site-section="profilklaer"] .shophead > :first-child,
  body[data-vp-site-section="arbeidsklaer"] .shophead > :first-child,
  body[data-vp-site-section="pakker"] .shophead > :first-child,
  body[data-vp-site-section="profilklaer"] .shophead .tools,
  body[data-vp-site-section="arbeidsklaer"] .shophead .tools,
  body[data-vp-site-section="pakker"] .shophead .tools{flex:none!important;flex-basis:auto!important;min-width:0!important;width:100%!important;height:auto!important;min-height:0!important}
  body[data-vp-site-section="profilklaer"] .shophead h2,
  body[data-vp-site-section="arbeidsklaer"] .shophead h2{margin:0 0 4px!important;font-size:28px!important;line-height:1!important}
  body[data-vp-site-section="profilklaer"] .shophead p,
  body[data-vp-site-section="arbeidsklaer"] .shophead p{margin:0!important;font-size:11px!important;line-height:1.35!important}
  body[data-vp-site-section="profilklaer"] .shophead .tools,
  body[data-vp-site-section="arbeidsklaer"] .shophead .tools,
  body[data-vp-site-section="pakker"] .shophead .tools{margin-top:3px!important;gap:6px!important;padding:0!important}
  body[data-vp-site-section="profilklaer"] .shophead .tool,
  body[data-vp-site-section="arbeidsklaer"] .shophead .tool{min-height:42px!important}
  body[data-vp-site-section="profilklaer"] .products,
  body[data-vp-site-section="arbeidsklaer"] .products,
  body[data-vp-site-section="pakker"] .products{padding:3px 14px 42px!important;margin-top:0!important}
  body[data-vp-site-section="profilklaer"] #productGrid,
  body[data-vp-site-section="arbeidsklaer"] #productGrid,
  body[data-vp-site-section="pakker"] #productGrid{margin-top:0!important;padding-top:0!important}
  body[data-vp-site-section="profilklaer"] .productgrid,
  body[data-vp-site-section="arbeidsklaer"] .productgrid,
  body[data-vp-site-section="pakker"] .productgrid{gap:18px 8px!important}
  body[data-vp-site-section="profilklaer"] .vp-product-filter-top,
  body[data-vp-site-section="arbeidsklaer"] .vp-product-filter-top{min-height:42px!important;padding:0!important}
  body[data-vp-site-section="profilklaer"] .categorywrap a,
  body[data-vp-site-section="arbeidsklaer"] .categorywrap a{padding-top:11px!important;padding-bottom:11px!important}

  /* Mobile product pager */
  .vp6370-pager{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 2px;padding-top:12px;border-top:1px solid #e4e4e4}
  .vp6370-pager button{min-height:42px;border:1px solid #111;background:#fff;color:#111;padding:0 13px;font:800 10px/1 Inter,Arial,sans-serif;letter-spacing:.04em}
  .vp6370-pager button:disabled{opacity:.28}
  .vp6370-pager span{font-size:10px;color:#666;text-align:center}

  /* Homepage typography */
  .logos .refhead .kicker,.logos .refhead h2{font-size:10px!important;line-height:1.2!important;letter-spacing:.12em!important;text-transform:uppercase!important;font-weight:800!important;margin:0!important}

  /* Sign/decor cleanup */
  body[data-vp-site-section="skilt-dekor"] #faste-produkter .products-head h2{font-size:30px!important;line-height:1.02!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;max-width:100%!important}
  body[data-vp-site-section="skilt-dekor"] .steps{padding:30px 14px!important}
  body[data-vp-site-section="skilt-dekor"] .step-grid{grid-template-columns:1fr!important;gap:8px!important;background:transparent!important}
  body[data-vp-site-section="skilt-dekor"] .step{padding:18px!important;min-width:0!important;border:1px solid #e3e3df!important;overflow:visible!important}
  body[data-vp-site-section="skilt-dekor"] .step h3{margin:6px 0 7px!important;line-height:1.15!important}
  body[data-vp-site-section="skilt-dekor"] .step p{margin:0!important;padding:0!important;line-height:1.5!important}

  /* Club/association flow cards */
  body[data-vp-site-section="lag-foreninger"] .flow .steps{grid-template-columns:1fr!important;gap:8px!important}
  body[data-vp-site-section="lag-foreninger"] .flow .step{padding:18px!important;min-width:0!important}
  body[data-vp-site-section="lag-foreninger"] .flow .step p{padding:0!important;margin:0!important;line-height:1.5!important}

  /* Force arrows to render as normal text glyphs, not emoji-style symbols on iOS. */
  .vp-text-arrow{font-family:var(--vp-site-font)!important;font-weight:700!important;font-style:normal!important;font-variant-emoji:text!important}
}
@media (min-width:1025px){.vp6370-contact-fab{display:none!important}}

/* 6.77.1 — one authoritative mobile layer, no hidden legacy UI behind it. */
@media(max-width:1024px){
  *,*::before,*::after{box-sizing:border-box}
  html,body{width:100%;max-width:100%}
  body.vp-mobile-nav-open{overflow:hidden!important}
  .vp-global-header{position:sticky!important;top:0!important;z-index:3000!important;width:100%!important}
  .vp-global-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;width:100%!important;max-width:100%!important;gap:8px!important;padding:0 12px!important}
  .vp-global-logo{min-width:0!important;max-width:145px!important;width:auto!important;overflow:hidden!important}
  .vp-global-logo img{display:block!important;max-width:100%!important;max-height:38px!important;object-fit:contain!important;object-position:left center!important}
  .vp-global-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;min-width:92px!important;margin-left:0!important;white-space:nowrap!important}
  .vp-global-actions .vp-shop-cta{display:none!important}
  .vp-product-filter-clear-top{display:none!important}
  .vp-global-mobile-nav{position:fixed!important;left:0!important;right:0!important;top:var(--vp-mobile-header-height,58px)!important;bottom:0!important;z-index:2999!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:8px 16px calc(20px + env(safe-area-inset-bottom))!important;background:#fff!important;box-shadow:0 18px 40px rgba(0,0,0,.16)!important}
  .vp-global-mobile-nav:not(.is-open){display:none!important}
  .vp-global-mobile-nav.is-open{display:block!important}
  .vp6120-mobile-menu[data-vp-legacy-mobile="1"]{display:none!important}
  :is(main,section,article,aside,form,.product-main,.productgrid,.product-grid,.vp6630-layout,.vp-os-live-shop){max-width:100%!important;min-width:0!important}
  :is(img,video,canvas,iframe,svg){max-width:100%;height:auto}
  :is(pre,.table-wrap,.vp-table-wrap){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .product-main .purchase-actions{position:static!important;bottom:auto!important;z-index:auto!important;backdrop-filter:none!important}
  body[data-vp-product-ready] .vp6370-contact-fab{bottom:calc(126px + env(safe-area-inset-bottom))!important}
  .vp6391-mobile-purchase{isolation:isolate!important;max-width:100vw!important}
  .vp6391-mobile-actions button{overflow:hidden!important;text-overflow:ellipsis!important}
  .vp-contact-overlay,.vp-legal-modal,.modal-wrap{overscroll-behavior:contain}
  .vp-contact-dialog,.vp-legal-dialog,.modal,.drawer{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow:auto!important}
}
