/* skrupt — one compact text navigation row in the Vapovor header.
   Structural :where() alternatives reserve the final geometry before JS;
   :is() keeps exactly the former class specificity after enhancement. */
@media (min-width: 1280px) {
  #header .header-nav > .container-fluid:is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(10px, 1vw, 16px);
    padding: 14px 24px;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > .vvp-brand-slot,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > .vvp-brand-slot .logo-link {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > .vvp-brand-slot .logo {
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    max-height: 40px;
    flex-basis: 40px;
  }

  #header .header-nav > .container-fluid:is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > #navigation {
    position: relative;
    order: 2;
    flex: 1 1 auto;
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > #navigation > .skm-theme-slot,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot > .skrupt-menu {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide.skm-is-enhanced, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) > .skm-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 44px;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide.skm-is-enhanced, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(10px, 1.1vw, 18px);
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide.skm-is-enhanced, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1:not(.skm-list--secondary) {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide.skm-is-enhanced, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--secondary {
    flex: 0 0 auto;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item {
    flex: 0 0 auto;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row {
    flex-wrap: nowrap;
    border: 0;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row > .skm-link {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--secondary > .skm-item > .skm-row > .skm-link {
    color: var(--skm-accent, #c83868);
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row .skm-label {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item.skm-text-trigger > .skm-row > .skm-disclosure,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item.skm-gallery-trigger > .skm-row > .skm-disclosure,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row .skm-image,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row .skm-description {
    display: none;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row > a.skm-link:hover,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row > a.skm-link[aria-current="page"],
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-list--level-1 > .skm-item > .skm-row > a.skm-link[aria-expanded="true"] {
    color: var(--skm-color, #263b63);
    background: var(--skm-hover, #f5f7fb);
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot :is(.skm-is-wide, :where([data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]))) .skm-panel--level-1:not(.skm-panel--gallery) {
    inset-inline: 0;
    top: 100%;
    width: 100%;
    margin-top: 0;
  }

  #header .header-nav > :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > .right-nav {
    flex: 0 0 auto;
    gap: 2px;
    margin: 0;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .right-nav .user-info a,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .right-nav #_desktop_contact_link a,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .right-nav .vvp-mobile-contact,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) ._desktop_wishlist_link,
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) ._desktop_wishlist_link .nxtal-wishlist-link a {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
  }

  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .right-nav #blockcart-wrapper .cart-link {
    min-width: 60px;
    gap: 6px;
    padding: 0 10px;
  }
}

/* Search stays an icon on tablets too; the theme supplies its dialog and
   accessible name. Keep this override confined to the integrated header. */
#header .header-nav > :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) > #search-icon {
  display: inline-flex !important;
  flex: 0 0 44px !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}
#header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) #search-icon .vvp-search-label { display: none !important; }

/* Root category links remain the compact navigation, with or without JS. */
@media (max-width: 1279px) {
  #header .skm-mode-theme:not([data-skm-preview="true"]) .skm-item--gallery.skm-item--linked > .skm-panel--gallery { display: none !important; }
}

/* Compact navigation uses full-row links; the category page provides the
   next level. Target the menu itself after the theme moves it on phones. */
#header .skrupt-menu[data-skm-text-menu="true"].skm-is-compact .skm-list--level-1 > .skm-item > .skm-row > a.skm-link {
  display: flex;
  flex: 1 1 100%;
  width: 100%;
  min-height: 48px;
}

/* The theme moves menu content to _mobile_top_menu below 768 px, so target
   the marked menu itself. Groups without a URL retain a plus/minus button
   on desktop as well; only actual text-link triggers hide that control. */
#header .skrupt-menu[data-skm-text-menu="true"] .skm-disclosure > .skm-chevron {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin: 0;
  border: 0;
  transform: none;
}

#header .skrupt-menu[data-skm-text-menu="true"] .skm-disclosure > .skm-chevron::before,
#header .skrupt-menu[data-skm-text-menu="true"] .skm-disclosure > .skm-chevron::after {
  position: absolute;
  display: block;
  content: "";
  background: currentColor;
}

#header .skrupt-menu[data-skm-text-menu="true"] .skm-disclosure > .skm-chevron::before {
  top: 50%;
  left: 0;
  width: 12px;
  height: 1.5px;
  transform: translateY(-50%);
}

#header .skrupt-menu[data-skm-text-menu="true"] .skm-disclosure > .skm-chevron::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 12px;
  transform: translateX(-50%);
}

#header .skrupt-menu[data-skm-text-menu="true"] .skm-disclosure[aria-expanded="true"] > .skm-chevron::after {
  display: none;
}

#header .skm-theme-slot a:focus-visible,
#header .skm-theme-slot button:focus-visible,
#header #_mobile_top_menu .skrupt-menu[data-skm-text-menu="true"] a:focus-visible,
#header #_mobile_top_menu .skrupt-menu[data-skm-text-menu="true"] button:focus-visible {
  outline: 2px solid var(--skm-accent, #c83868);
  outline-offset: 2px;
}

/* Legacy header rules override generic anchor display and text colors.
   Limit these compatibility declarations to the integrated gallery. */
#header #navigation .skrupt-menu.skm-mode-theme:not([data-skm-preview="true"]) .skm-panel--gallery a.skm-gallery-link {
  display: flex !important;
}

#header #navigation .skrupt-menu.skm-mode-theme:not([data-skm-preview="true"]) .skm-panel--gallery a.skm-gallery-link--guide,
#header #navigation .skrupt-menu.skm-mode-theme:not([data-skm-preview="true"]) .skm-panel--gallery a.skm-gallery-link--guide .skm-gallery-copy,
#header #navigation .skrupt-menu.skm-mode-theme:not([data-skm-preview="true"]) .skm-panel--gallery a.skm-gallery-link--guide .skm-gallery-label {
  color: #fff !important;
}

#header #navigation .skrupt-menu.skm-mode-theme:not([data-skm-preview="true"]) .skm-panel--gallery a.skm-gallery-link--guide .skm-gallery-guide-type,
#header #navigation .skrupt-menu.skm-mode-theme:not([data-skm-preview="true"]) .skm-panel--gallery a.skm-gallery-link--guide .skm-gallery-description {
  color: #dae3f5 !important;
}


/* Theme-integrated desktop menus occupy their final row from first paint.
   Standalone menus/previews keep their progressive, fully expanded markup.
   The template supplies a scoped no-script fallback for every destination. */
@media (min-width: 1280px) {
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot > .skrupt-menu[data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]):not(.skm-is-enhanced) .skm-panel--level-1 {
    display: none;
  }

  /* Groups without a destination retain their separate disclosure after JS.
     Reserve its space now without exposing a nonfunctional control. */
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot > .skrupt-menu[data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]):not(.skm-is-enhanced) .skm-list--level-1 > .skm-item--parent:not(.skm-item--linked) > .skm-row > .skm-disclosure {
    display: inline-flex !important;
    visibility: hidden;
  }
}
@media (min-width: 1280px) and (hover: none), (min-width: 1280px) and (pointer: coarse) {
  #header :is(.skm-header-shell, :where(.container-fluid:has(> .vvp-brand-slot):has(> #navigation > .skm-theme-slot > [data-skm-mode="theme"]:not([data-skm-preview="true"])))) .skm-theme-slot > .skrupt-menu[data-skm-mode="theme"][data-skm-layout="menu"][data-skm-breakpoint="1279"]:not([data-skm-preview="true"]):not(.skm-is-enhanced) .skm-list--level-1 > .skm-item--gallery.skm-item--linked > .skm-row > .skm-disclosure {
    display: inline-flex !important;
    visibility: hidden;
  }
}
