/** Shopify CDN: Minification failed

Line 165:10 Expected identifier but found whitespace
Line 165:12 Unexpected "{"
Line 165:21 Expected ":"
Line 165:54 Expected ":"
Line 171:19 Expected identifier but found whitespace
Line 171:21 Unexpected "{"
Line 171:30 Expected ":"
Line 448:1 Expected "}" to go with "{"

**/
/* BR Header Base CSS 
   File: assets/br-header.css */

/* Reset og Base Styles */
.br-header-wrapper *,
.br-header-wrapper *::before,
.br-header-wrapper *::after {
  box-sizing: border-box;
}

/* Header Wrapper */
.br-header-wrapper {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.br-header-wrapper.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.br-header-wrapper.hidden {
  transform: translateY(-100%);
}

/* Header Container */
.br-header {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Top Row Layout */
.br-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Animations */
.br-header__logo-link {
  transition: transform 0.3s ease;
}

.br-header__logo-link:hover {
  transform: scale(1.02);
}

/* Search Bar Animations */
.br-header__search-form {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.br-header__search-input {
  transition: all 0.3s ease;
  font-family: inherit;
}

.br-header__search-input::placeholder {
  color: #999;
}

.br-header__search-button {
  transition: all 0.3s ease;
}

.br-header__search-button:active {
  transform: translateY(-50%) scale(0.95);
}

/* Actions Hover Effects */
.br-header__action {
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.br-header__action:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Cart Count Badge Animation */
.br-header__cart-count {
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Categories Bar */
.br-header__categories {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Centrerer kategorierne */
  gap: 2rem;
  flex: 1;
  margin: 0 auto; /* Ekstra centrering */
  max-width: 1200px; /* Begræns bredde hvis ønsket - kan justeres eller fjernes */
}

/* Smooth scroll for categories on mobile */
@media (hover: none) {
  .br-header__categories {
    -webkit-overflow-scrolling: touch;
  }
}

/* Category Links */
.br-header__category {
  position: relative;
}

.br-header__category-link {
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.br-header__category-link:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* Category Arrow Animation */
.br-header__category-arrow {
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.br-megamenu[open] .br-header__category-arrow {
  transform: rotate(180deg);
}

/* Icon Hover Effects */
.br-header__category-icon {
  transition: transform 0.3s ease;
}

.br-header__category-link:hover .br-header__category-icon {
  transform: scale(1.1);
}

/* Actions hover styling */
.br-header__action {
  padding: {{ section.settings.icon_hover_padding }}px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.br-header__action:hover {
  background-color: {{ section.settings.icon_hover_background }};
}

/* Mobile Responsive */
@media screen and (max-width: 989px) {
  .br-header-wrapper {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 200;
  }
  
  body {
    padding-top: 100px; /* Adjust based on header height */
  }
  
  .br-header__top {
    justify-content: space-between;
  }
  
  .br-header__logo {
    margin: 0 auto;
  }
  
  .br-header__actions {
    margin-left: auto;
  }
}

/* Tablet Adjustments */
@media screen and (min-width: 768px) and (max-width: 989px) {
  .br-header {
    padding: 15px 20px;
  }
}

/* Print Styles */
@media print {
  .br-header-wrapper {
    display: none;
  }
}

/* Accessibility */
.br-header__action:focus,
.br-header__category-link:focus,
.br-header__search-button:focus {
  outline: 2px solid #4A90E2;
  outline-offset: 2px;
}

/* Mobile Search in Header */
.br-header__search-mobile {
  display: none;
  flex: 1;
  margin: 0 10px;
}

.br-header__search-form-mobile {
  position: relative;
}

.br-header__search-input-mobile {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 18px;
  background: #f5f5f5;
}

.br-header__search-button-mobile {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 5px;
  color: #666;
}

/* Show on mobile only */
@media screen and (max-width: 989px) {
  .br-header__search-mobile {
    display: block;
  }
  
  .br-header__search {
    display: none !important;
  }
  
  .br-header__top {
    flex-wrap: nowrap;
    gap: 8px;
  }
}

/* Fix overflow issue - mega menu skal kunne gå ud over header */
.br-header-wrapper {
  overflow: visible !important;
  z-index: 1000;
}

.br-header {
  overflow: visible !important;
  position: relative;
}

.br-header__categories {
  overflow: visible !important;
}

.br-megamenu {
  position: relative;
  overflow: visible !important;
}

/* Fjern whitespace og gør header sticky */
.br-header-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  /* background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tilføj padding til body for at kompensere for fixed header */
body {
  padding-top: 120px; /* Juster denne værdi baseret på header højde */
}

@media screen and (max-width: 989px) {
  body {
    padding-top: 100px; /* Mindre på mobil */
  }
}

/* Kompakt mobil header */
@media screen and (max-width: 989px) {
  .br-header__top {
    padding: 0;
    height: 50px; /* Fast højde */
    align-items: center;
  }
  
  .br-header__mobile-search-row {
    padding: 8px 15px;
    background: #f8f8f8;
    border-top: none;
  }
  
  .br-header__logo-text {
    font-size: 26px !important;
  }
  
  .br-header__logo-image {
    height: 30px !important;
  }
  
  .br-header__action svg {
    width: 22px;
    height: 22px;
  }
  
  /* Fjern unødvendig spacing */
  .br-header__categories {
    margin-top: 0;
    padding-top: 0;
  }
}

/* Juster body padding baseret på faktisk header højde */
@media screen and (max-width: 989px) {
  body {
    padding-top: 110px; /* Header + søgefelt højde */
  }
}

/* Thumbnail billeder i mega menu */
.br-megamenu__parent-thumb,
.br-megamenu__child-thumb,
.br-megamenu__grandchild-thumb {
  object-fit: cover;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Parent level - "Se alle" link */
.br-megamenu__view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.br-megamenu__view-all .br-megamenu__parent-thumb {
  order: -1; /* Billede først */
}

/* Child level - Kolonne titler */
.br-megamenu__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.br-megamenu__title:hover {
  color: #FF5722;
  text-decoration: underline;
}

/* Grandchild level - Sub links */
.br-megamenu__sublink,
.br-megamenu__sublink-direct {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.br-megamenu__sublink span,
.br-megamenu__sublink-direct span {
  flex: 1;
}

.br-megamenu__sublink:hover,
.br-megamenu__sublink-direct:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.03);
}

/* Hover effekt på billeder */
.br-megamenu__parent-thumb,
.br-megamenu__child-thumb,
.br-megamenu__grandchild-thumb {
  transition: transform 0.2s ease;
}

.br-megamenu__view-all:hover .br-megamenu__parent-thumb,
.br-megamenu__title:hover .br-megamenu__child-thumb,
.br-megamenu__sublink:hover .br-megamenu__grandchild-thumb,
.br-megamenu__sublink-direct:hover .br-megamenu__grandchild-thumb {
  transform: scale(1.1);
}

/* Fjern/skjul de store billeder hvis de stadig vises */
.br-megamenu__image-link {
  display: none !important;
}

/* Juster arrow position for sublinks med billeder */
.br-megamenu__sublink-arrow {
  margin-left: auto;
  flex-shrink: 0;
}

/* Skjul konto-ikon på mobil */
@media screen and (max-width: 989px) {
  .br-header__action[href*="account"] {
    display: none !important;
  }
}