/**
 * Header + footer refresh
 * - Lyst, roligt header-udtryk
 * - Ens knap/menu-sprog
 * - Footer sat op som moderne informationspaneler
 */

.site {
  --sk-shell-bg: #fffdf6;
  --sk-shell-bg-soft: #f3fbf7;
  --sk-shell-glass: rgba(255, 255, 255, 0.9);
  --sk-shell-border: #e7dbc8;
  --sk-shell-border-soft: #ece7de;
  --sk-shell-ink: #1f3f4c;
  --sk-shell-muted: #61727d;
  --sk-shell-accent: #eb8a5c;
  --sk-shell-accent-dark: #d66f42;
  --sk-shell-shadow: 0 10px 28px rgba(31, 63, 76, 0.1);
  --sk-shell-shadow-soft: 0 6px 18px rgba(31, 63, 76, 0.08);
}

/* =========================
   Header
   ========================= */

.site #masthead {
  position: relative;
  z-index: 100;
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.94) 0%, rgba(246, 252, 248, 0.9) 100%);
  backdrop-filter: saturate(130%) blur(8px);
  border-bottom: 1px solid var(--sk-shell-border-soft);
}

body.ast-primary-sticky-header-active .site #masthead,
.site #masthead.ast-sticky-active {
  box-shadow: 0 6px 20px rgba(31, 63, 76, 0.08);
}

.site #masthead .ast-main-header-wrap,
.site #masthead .ast-header-wrap,
.site #masthead .ast-above-header-wrap,
.site #masthead .ast-below-header-wrap {
  background: transparent;
}

.site #masthead,
.site #masthead .ast-main-header-wrap,
.site #masthead .ast-header-wrap,
.site #masthead .ast-primary-header-bar,
.site #masthead .ast-primary-header-bar-inner,
.site #masthead .ast-header-bar,
.site #masthead .main-header-bar,
.site #masthead .ast-above-header-bar,
.site #masthead .ast-below-header-bar,
.site #masthead .ast-above-header-wrap .main-header-bar,
.site #masthead .ast-primary-header-wrap .main-header-bar,
.site #masthead .ast-below-header-wrap .main-header-bar,
.site #masthead .site-primary-header-wrap,
.site #masthead .site-above-header-wrap,
.site #masthead .site-below-header-wrap {
  min-height: 0 !important;
  height: auto !important;
}

.site #masthead .ast-primary-header-bar,
.site #masthead .main-header-bar,
.site #masthead .ast-above-header-bar,
.site #masthead .ast-below-header-bar {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  border: 0 !important;
}

.site #masthead .ast-primary-header-bar-inner,
.site #masthead .ast-above-header-bar-inner,
.site #masthead .ast-below-header-bar-inner {
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site #masthead .site-above-header-wrap,
.site #masthead .site-below-header-wrap,
.site #masthead .site-primary-header-wrap {
  border: 1px solid var(--sk-shell-border);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf7 0%, #f3fbf7 100%);
  box-shadow: var(--sk-shell-shadow-soft);
  padding: 0.45rem 0.95rem;
}

.site #masthead .site-above-header-wrap {
  margin-top: 0.5rem;
}

.site #masthead .site-below-header-wrap {
  margin-bottom: 0.5rem;
}

.site #masthead .ast-builder-grid-row {
  align-items: center;
}

.site #masthead .ast-site-identity,
.site #masthead .site-branding,
.site #masthead .ast-site-title-wrap {
  margin: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site #masthead .site-logo-img img {
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.site #masthead .main-header-menu > .menu-item {
  line-height: 1.1 !important;
}

.site #masthead .main-navigation .main-header-menu > .menu-item > .menu-link,
.site #masthead .main-header-menu .menu-item > .menu-link {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  color: var(--sk-shell-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.site #masthead .main-navigation .main-header-menu > .menu-item > .menu-link:hover,
.site #masthead .main-header-menu .menu-item > .menu-link:hover {
  border-color: var(--sk-shell-border);
  background: #ffffff;
  box-shadow: var(--sk-shell-shadow-soft);
  color: var(--sk-shell-accent-dark);
  transform: translateY(-1px);
}

.site #masthead .main-navigation .main-header-menu > .current-menu-item > .menu-link,
.site #masthead .main-navigation .main-header-menu > .current-menu-ancestor > .menu-link {
  border-color: #e79c6e;
  background: linear-gradient(135deg, #f7b778 0%, var(--sk-shell-accent) 100%);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(214, 111, 66, 0.3);
}

.site #masthead .main-navigation ul.sub-menu {
  border: 1px solid var(--sk-shell-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--sk-shell-shadow);
  padding: 0.35rem;
}

.site #masthead .main-navigation ul.sub-menu .menu-link {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  color: var(--sk-shell-ink);
  text-transform: none;
  letter-spacing: 0;
}

.site #masthead .main-navigation ul.sub-menu .menu-link:hover {
  border-color: var(--sk-shell-border);
  background: #fff8ee;
  color: var(--sk-shell-accent-dark);
}

.site #masthead .header-social-inner-wrap {
  display: flex;
  gap: 0.45rem;
}

.site #masthead .header-social-item {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--sk-shell-border);
  background: #ffffff !important;
  color: var(--sk-shell-ink) !important;
  display: inline-grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site #masthead .header-social-item .ahfb-svg-iconset,
.site #masthead .header-social-item svg {
  width: 14px;
  height: 14px;
}

.site #masthead .header-social-item:hover {
  transform: translateY(-1px);
  border-color: #efc59d;
  color: var(--sk-shell-accent-dark) !important;
  box-shadow: var(--sk-shell-shadow-soft);
}

.site #masthead .ast-search-menu-icon .ast-search-icon a {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--sk-shell-border);
  background: #ffffff;
  color: var(--sk-shell-ink);
  display: inline-grid;
  place-items: center;
  box-shadow: var(--sk-shell-shadow-soft);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site #masthead .ast-search-menu-icon .ast-search-icon a:hover {
  color: var(--sk-shell-accent-dark);
  border-color: #efc59d;
  transform: translateY(-1px);
}

.site #masthead .ast-search-menu-icon .search-form {
  border: 1px solid var(--sk-shell-border);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--sk-shell-shadow-soft);
}

.site #masthead .ast-search-menu-icon .search-field {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px 9px 36px;
  background: transparent;
  color: var(--sk-shell-ink);
  font-size: 0.92rem;
}

.site #masthead .ast-search-menu-icon .search-field::placeholder {
  color: var(--sk-shell-muted);
}

.site #masthead .ast-search-menu-icon .search-submit {
  left: 10px;
  color: var(--sk-shell-muted);
}

.site #masthead .ast-search-menu-icon .search-form:focus-within {
  border-color: #efc59d;
}

/* Header cart */
.site #masthead .ast-builder-layout-element.ast-header-woo-cart,
.site #masthead .ast-site-header-cart,
.site #masthead .ast-header-woo-cart,
.site #masthead .ast-cart-menu-wrap,
.site #masthead .ast-addon-cart-wrap {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  align-self: center;
}

.site #masthead .ast-site-header-cart .cart-container {
  min-width: 38px;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid var(--sk-shell-border);
  background: #ffffff;
  box-shadow: var(--sk-shell-shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site #masthead .ast-site-header-cart .cart-container:hover {
  border-color: #efc59d;
  color: var(--sk-shell-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--sk-shell-shadow);
}

.site #masthead .ast-site-header-cart i.astra-icon {
  font-size: 1.22rem;
}

.site .ast-site-header-cart .ast-site-header-cart-data,
.site .ast-site-header-cart .ast-cart-menu-wrap {
  box-shadow: none !important;
}

.site .ast-site-header-cart .ast-site-header-cart-data {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(110%) !important;
  border: 1px solid var(--sk-shell-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--sk-shell-shadow);
}

.site .ast-site-header-cart.open .ast-site-header-cart-data,
.site .ast-site-header-cart.ast-cart-open .ast-site-header-cart-data,
.site .ast-site-header-cart:focus-within .ast-site-header-cart-data {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

.site .widget_shopping_cart {
  padding: 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--sk-shell-border-soft);
}

.site .ast-header-woo-cart .cart-container .cart-count {
  background: var(--sk-shell-accent);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

/* Ghost drawer fix */
.site .astra-cart-drawer:not(.active) {
  box-shadow: none !important;
  visibility: hidden !important;
  transform: translate3d(100%, 0, 0) !important;
  pointer-events: none !important;
}

/* Mobile header */
@media (max-width: 921px) {
  .site #ast-mobile-header .site-primary-header-wrap {
    margin: 0.4rem 0.75rem 0.55rem;
    padding: 0.4rem 0.75rem;
  }

  .site #ast-mobile-header .site-logo-img img {
    max-height: 40px;
  }

  .site #ast-mobile-header .ast-mobile-menu-trigger-outline {
    border: 1px solid var(--sk-shell-border);
    background: #ffffff;
    border-radius: 12px;
    min-width: 42px;
    min-height: 42px;
    color: var(--sk-shell-ink);
    box-shadow: var(--sk-shell-shadow-soft);
  }

  .site #ast-mobile-header .ast-mobile-menu-trigger-outline:hover,
  .site #ast-mobile-header .ast-mobile-menu-trigger-outline:focus-visible {
    border-color: #efc59d;
    color: var(--sk-shell-accent-dark);
  }

  .site .ast-mobile-header-content {
    margin: 0 0.75rem 0.85rem;
    border: 1px solid var(--sk-shell-border);
    border-radius: 16px;
    background: linear-gradient(170deg, #fffdf6 0%, #f2fbf6 100%);
    box-shadow: var(--sk-shell-shadow);
    overflow: hidden;
  }

  .site .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--sk-shell-border-soft);
    color: var(--sk-shell-ink);
    font-size: 0.98rem;
    text-transform: none;
  }

  .site .ast-mobile-header-content .main-header-menu > .menu-item:last-child > .menu-link {
    border-bottom: 0;
  }

  .site .ast-mobile-header-content .main-navigation .menu-item > .ast-menu-toggle {
    color: var(--sk-shell-muted);
    right: 0.75rem !important;
    top: 0.7rem !important;
  }
}

/* =========================
   Footer
   ========================= */

.site #colophon {
  position: relative;
  margin-top: clamp(2.2rem, 5vw, 4rem);
  background:
    radial-gradient(620px 320px at 8% 0%, rgba(137, 210, 173, 0.16), transparent 68%),
    radial-gradient(700px 360px at 92% 6%, rgba(244, 176, 118, 0.18), transparent 72%),
    linear-gradient(180deg, #fbf6ec 0%, #f1fbf5 44%, #f8fbff 100%);
  border-top: 1px solid var(--sk-shell-border);
}

.site #colophon .site-primary-footer-wrap,
.site #colophon .site-below-footer-wrap {
  background: transparent;
}

.site #colophon .ast-builder-grid-row-container-inner {
  max-width: min(1240px, 94vw);
  margin: 0 auto;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.site #colophon .site-primary-footer-wrap {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.3rem, 2.6vw, 1.8rem);
}

.site #colophon .site-primary-footer-inner-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(170px, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.5rem);
  align-items: stretch;
}

.site #colophon .site-footer-primary-section-1,
.site #colophon .site-footer-primary-section-2,
.site #colophon .site-footer-primary-section-4,
.site #colophon .site-footer-primary-section-5 {
  border: 1px solid var(--sk-shell-border);
  border-radius: 18px;
  background: var(--sk-shell-glass);
  box-shadow: var(--sk-shell-shadow-soft);
  padding: clamp(0.95rem, 1.5vw, 1.25rem);
}

.site #colophon .site-footer-primary-section-2 {
  display: grid;
  gap: 1rem;
}

.site #colophon .site-primary-footer-inner-wrap > .site-footer-section:not(:has(> *)) {
  display: none;
}

.site #colophon .footer-widget-area,
.site #colophon .widget {
  margin: 0;
}

.site #colophon .widget-title {
  margin: 0 0 0.75rem;
  color: var(--sk-shell-ink);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.site #colophon .widget_nav_menu ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.site #colophon .widget_nav_menu li {
  margin: 0;
}

.site #colophon .widget_nav_menu .menu-link {
  color: #2f4c5a;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.35;
  padding: 0.2rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site #colophon .widget_nav_menu .menu-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9d9d3;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.site #colophon .widget_nav_menu .menu-link:hover {
  color: var(--sk-shell-accent-dark);
  transform: translateX(3px);
}

.site #colophon .widget_nav_menu .menu-link:hover::before {
  background: var(--sk-shell-accent);
}

.site #colophon .footer-brand {
  display: grid;
  gap: 0.75rem;
}

.site #colophon .footer-brand p {
  margin: 0;
}

.site #colophon .footer-brand__logo {
  display: inline-flex;
  align-items: center;
}

.site #colophon .footer-brand__logo img {
  max-width: 176px;
  width: auto;
  height: auto;
}

.site #colophon .footer-brand__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #395867;
}

.site #colophon .footer-brand__contact a {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--sk-shell-border);
  background: #ffffff;
  color: var(--sk-shell-ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site #colophon .footer-brand__contact a:hover {
  border-color: #efc59d;
  color: var(--sk-shell-accent-dark);
  transform: translateY(-1px);
}

.site #colophon .footer-brand__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site #colophon .footer-brand__badges br {
  display: none;
}

.site #colophon .footer-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e5ddce;
  background: #fffcf7;
  color: #4a5e67;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.36rem 0.62rem;
}

.site #colophon .footer-badge.trust {
  background: #e9f8ef;
  border-color: #b8dec4;
  color: #2f6a47;
}

.site #colophon .site-below-footer-wrap {
  border-top: 1px solid var(--sk-shell-border);
  padding-top: 0.95rem;
  padding-bottom: 1.15rem;
}

.site #colophon .site-below-footer-inner-wrap {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
}

.site #colophon #astra-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site #colophon #astra-footer-menu > .menu-item {
  margin: 0;
}

.site #colophon #astra-footer-menu > .menu-item > .menu-link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #395766;
  font-size: 0.84rem;
  text-decoration: none;
  line-height: 1.2;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site #colophon #astra-footer-menu > .menu-item > .menu-link:hover {
  border-color: var(--sk-shell-border);
  background: #ffffff;
  color: var(--sk-shell-accent-dark);
}

.site #colophon #astra-footer-menu > .current-menu-item > .menu-link {
  border-color: #e79c6e;
  background: var(--sk-shell-accent);
  color: #ffffff;
}

.site #colophon #astra-footer-menu .ova_megamenu_container {
  display: none !important;
}

.site #colophon .ast-footer-copyright,
.site #colophon .ast-footer-copyright p {
  margin: 0;
  color: #607280;
  font-size: 0.85rem;
}

/* Footer responsive */
@media (max-width: 1100px) {
  .site #colophon .site-primary-footer-inner-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site #colophon .site-footer-primary-section-1 {
    grid-column: 1 / -1;
  }

  .site #colophon .site-footer-primary-section-5 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 921px) {
  .site #masthead .site-above-header-wrap,
  .site #masthead .site-below-header-wrap,
  .site #masthead .site-primary-header-wrap {
    border-radius: 16px;
  }

  .site #colophon .site-primary-footer-inner-wrap {
    grid-template-columns: 1fr;
  }

  .site #colophon .site-footer-primary-section-1,
  .site #colophon .site-footer-primary-section-2,
  .site #colophon .site-footer-primary-section-4,
  .site #colophon .site-footer-primary-section-5 {
    grid-column: auto;
  }

  .site #colophon .site-below-footer-inner-wrap {
    display: grid !important;
    justify-items: center;
    text-align: center;
  }

  .site #colophon .footer-widget-area[data-section="section-footer-menu"] .astra-footer-mobile-vertical-menu {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
}

@media (max-width: 544px) {
  .site #masthead .site-logo-img img {
    max-height: 36px;
  }

  .site #masthead .header-social-item,
  .site #masthead .ast-search-menu-icon .ast-search-icon a,
  .site #masthead .ast-site-header-cart .cart-container {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .site #colophon .site-primary-footer-wrap {
    padding-top: 1.5rem;
  }

  .site #colophon .widget-title {
    font-size: 1rem;
  }

  .site #colophon #astra-footer-menu {
    justify-content: center;
  }
}

/* ========================================
   Footer fix: venstrestil første kolonne
   ======================================== */
.site #colophon .site-footer-primary-section-1,
.site #colophon .site-footer-primary-section-1 .footer-widget-area,
.site #colophon .site-footer-primary-section-1 .ast-builder-html-element,
.site #colophon .site-footer-primary-section-1 .footer-brand,
.site #colophon .site-footer-primary-section-1 .footer-brand p {
  text-align: left !important;
}

.site #colophon .site-footer-primary-section-1 .footer-brand {
  justify-items: start;
}

.site #colophon .site-footer-primary-section-1 .footer-brand__badges,
.site #colophon .site-footer-primary-section-1 .footer-brand__contact {
  justify-content: flex-start;
}

@media (max-width: 921px) {
  .site #colophon .site-footer-primary-section-1,
  .site #colophon .site-footer-primary-section-1 .footer-widget-area,
  .site #colophon .site-footer-primary-section-1 .ast-builder-html-element {
    text-align: left !important;
  }

  .site #colophon .site-footer-primary-section-1 .footer-brand {
    justify-items: start;
  }
}

/* Footer fix: venstrestil anden kolonne */
.site #colophon .site-footer-primary-section-2,
.site #colophon .site-footer-primary-section-2 .footer-widget-area,
.site #colophon .site-footer-primary-section-2 .footer-widget-area-inner,
.site #colophon .site-footer-primary-section-2 .widget,
.site #colophon .site-footer-primary-section-2 .widget-title,
.site #colophon .site-footer-primary-section-2 p,
.site #colophon .site-footer-primary-section-2 li,
.site #colophon .site-footer-primary-section-2 a {
  text-align: left !important;
}

@media (max-width: 921px) {
  .site #colophon .site-footer-primary-section-2,
  .site #colophon .site-footer-primary-section-2 .footer-widget-area,
  .site #colophon .site-footer-primary-section-2 .footer-widget-area-inner {
    text-align: left !important;
  }
}
