/* One storefront entrance. Existing page introductions opt into the same
 * component; their native fields, hooks, sizes and behavior remain in place. */
/* Defaults (--vvp-hero-*, split title weights): vapovor-tokens.css. */
/* The task determines the entrance rhythm; colour never adds spacing by itself. */
.vvp-page-hero[data-vvp-page-purpose="catalogue"] { --vvp-hero-space-start: 16px; --vvp-hero-space-end: 24px; }
.vvp-page-hero[data-vvp-page-purpose="landing"] { --vvp-hero-space-start: 32px; --vvp-hero-space-end: 40px; }
.vvp-page-hero[data-vvp-page-purpose="reading"] { --vvp-hero-space-start: 28px; --vvp-hero-space-end: 40px; }
body #wrapper #main[data-vvp-page-purpose="catalogue"] { padding-top: 8px; }
body #wrapper #main[data-vvp-page-purpose="directory"] { padding-top: 12px; }
body #wrapper #main[data-vvp-page-purpose="task"]:has(.vvp-page-hero) { padding-top: 20px; }
/* Section titles use the editorial contrast. H1 keeps its confirmed weights. */
body :is(#wrapper,#layout-error) .vvp-title { --vvp-ui-title-lead-weight: var(--vvp-type-title-section-lead); --vvp-ui-title-soft-weight: var(--vvp-type-title-section-soft); font-family: var(--vvp-font-ui,Inter,system-ui,sans-serif); }
body :is(#wrapper,#layout-error) :is(.vvp-title__lead,.vvp-home-headline__primary) { font-weight: var(--vvp-ui-title-lead-weight); }
body :is(#wrapper,#layout-error) :is(.vvp-title__soft,.vvp-home-headline__secondary) { font-weight: var(--vvp-ui-title-soft-weight); }
#header, #header .header-nav { background: var(--vvp-hero-blue); border-bottom-color: transparent; box-shadow: none; }
#header .header-nav > .skm-header-shell { background: transparent; }
#header .logo { filter: brightness(0) invert(1); }
#header :is(.vvp-header-control,.user-info a,#_desktop_contact_link a,.vvp-mobile-contact) { color: var(--vvp-color-inverse) !important; background: transparent; }
#header .vvp-mobile-contact .material-icons { color: inherit; }
#header .skm-list--level-1 > .skm-item > .skm-row > .skm-link { color: var(--vvp-color-inverse) !important; background: transparent; }
#header .skm-list--level-1 > .skm-item > .skm-row > .skm-link:is(:hover,:focus-visible,[aria-expanded="true"]) { background: #ffffff14 !important; }
/* Give the breadcrumb its own continuous band, keeping native depth hiding and scrolling. */
body #wrapper nav.vvp-breadcrumb { padding-block: 6px; border-top: 1px solid #ffffff12; background: var(--vvp-color-action-hover); }
/* Equal action cells keep icon centres equally spaced, including the cart count. */
#header .header-nav > .container-fluid:has(> #search-icon) { --vvp-header-gutter: var(--vvp-ui-page-gutter); width: 100%; max-width: var(--vvp-ui-page-width,1440px); margin-inline: auto; padding-inline: var(--vvp-header-gutter); gap: 8px; }
#header .header-nav > .container-fluid:has(> #search-icon) > .vvp-brand-slot { margin-inline-end: auto; }
#header .header-nav > .container-fluid:has(> #search-icon) > .right-nav { gap: 8px; flex: 0 0 auto; align-items: center; }
#header .header-nav :is(#menu-icon,#search-icon),
#header .header-nav .right-nav :is(a.account,#contact-link,.vvp-mobile-contact,.cart-link,.skw-nav__link) { flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; max-width: 44px !important; height: 44px !important; min-height: 44px !important; max-height: 44px !important; margin: 0; padding: 0 !important; gap: 0 !important; align-items: center; justify-content: center; }
#header .header-nav .right-nav .cart-link { position: relative; }
#header .header-nav .right-nav #blockcart-wrapper .cart-link > .cart-products-count { position: absolute; inset-inline-start: calc(50% + 15px); top: 50%; transform: translateY(-50%); margin: 0; font-size: 12px; line-height: 1; white-space: nowrap; }
@media(max-width:479px) {
  #header .header-nav > .container-fluid:has(> #search-icon),
  #header .header-nav > .container-fluid:has(> #search-icon) > .right-nav { gap: 4px; }
}
@media(max-width:991px) {
  #header .header-nav > .container-fluid:has(> #search-icon) { --vvp-header-gutter: 24px; }
}
@media(max-width:340px) {
  #header .header-nav > .container-fluid:has(> #search-icon) { --vvp-header-gutter: 16px; }
}
/* Center the desktop menu on the page, independently of unequal logo/action widths.
 * No transform: native gallery coordinate calculations remain unchanged. */
@media(min-width:1280px) {
  #header .header-nav > .container-fluid:has(> #navigation .skrupt-menu[data-skm-mode="theme"]) { position: relative; }
  #header .header-nav > .container-fluid:has(> #navigation .skrupt-menu[data-skm-mode="theme"]) > #navigation { position: absolute; inset-inline: calc(var(--vvp-header-gutter) + 208px); inset-block: 0; width: auto; height: max-content; margin-block: auto; }
  #header #navigation .skm-list--level-1 > .skm-item > .skm-row > .skm-link { position: relative; display: flex; align-items: center; justify-content: center; padding-inline: 10px; border-radius: 7px; transition: background-color .15s ease; }
  #header #navigation .skm-list--level-1 > .skm-item > .skm-row > .skm-link[aria-current="page"] { background: rgba(255,255,255,.04) !important; color: var(--vvp-color-inverse) !important; font-weight: 500; }
  #header #navigation .skm-list--level-1 > .skm-item > .skm-row > .skm-link:is(:hover,:focus-visible,[aria-expanded="true"]) { background: #ffffff14 !important; }
}
#header .header-nav :is(.vvp-header-control,.user-info a,#_desktop_contact_link a,.cart-link):is(:hover,:focus-visible) { border-radius: 7px; background: #ffffff14 !important; }
/* The tablet panel shares the header content edges. Desktop reserves the
 * 200px action group plus an 8px gap symmetrically around its navigation. */
@media(min-width:768px) and (max-width:1279px) {
  #header.is-open .header-nav > .container-fluid > #navigation { inset-inline: var(--vvp-header-gutter); width: auto; }
}
@media(max-width:1279px) {
  #header :is(#navigation,#mobile_top_menu_wrapper) .skm-list--level-1 > .skm-item > .skm-row > .skm-link[aria-current="page"] { position: relative; font-weight: 400; color: var(--vvp-hero-blue,var(--vvp-color-action)) !important; background: rgba(38,59,99,.03) !important; }
  #header :is(#navigation,#mobile_top_menu_wrapper) .skm-list--level-1 > .skm-item > .skm-row > .skm-link:is(:hover,:focus-visible) { background: #263b6312 !important; }
}
@media(prefers-reduced-motion:reduce) {
  #header #navigation .skm-list--level-1 > .skm-item > .skm-row > .skm-link { transition: none; }
}
#header .vvp-brand-slot .logo-link { width: max-content; min-width: 140px; overflow: visible; gap: 10px; }
#header .vvp-brand-slot { width: auto; min-width: 0; }
/* One footer palette, inherited by the module through its public tokens. */
#footer { --vvp-footer-line: #ffffff26; background: var(--vvp-hero-blue); color: var(--vvp-hero-muted); }
#footer .skrupt-menu { --skm-background: transparent; --skm-color: var(--vvp-color-inverse); --skm-muted: var(--vvp-hero-muted); --skm-border: var(--vvp-footer-line); --skm-accent: #fff; --skm-hover: #ffffff0d; }
#footer > .skrupt-menu { border-bottom: 1px solid var(--vvp-footer-line); }
#footer :is(.block-contact,.skm-footer-menus,.footer-copyright) a,
#footer .footer-container :is(.h3,.h4,h3,.navbar-toggler):not(:where(#skrupt-consent-root *)) { color: var(--vvp-color-inverse); }
#footer :is(.vvp-footer-brand img,.skm-image,.block-icon img,.block-icon svg) { filter: brightness(0) invert(1); }
#footer :is(a,button):not(:where(#skrupt-consent-root *)):focus-visible { outline-color: #fff; }
/* Pages without an editorial heading, such as the checkout, keep a compact
 * blue entrance behind their existing light form cards. */
#wrapper:not(:has(.vvp-page-hero)) { background-image: linear-gradient(var(--vvp-hero-blue),var(--vvp-hero-blue)) !important; background-size: 100% 96px !important; background-repeat: no-repeat !important; }
:is(#wrapper,#layout-error) .vvp-page-hero {
  position: relative;
  isolation: isolate;
  z-index: 0;
  overflow: visible;
  color: var(--vvp-color-inverse);
  text-align: center;
  background: transparent;
  border-color: transparent !important;
  border-radius: 0;
  box-shadow: none;
}
.vvp-page-hero::before, .vvp-page-hero-shell::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--vvp-hero-blue); box-shadow: 0 0 0 100vmax var(--vvp-hero-blue); clip-path: inset(-100vmax -100vmax var(--vvp-hero-edge,-4px) -100vmax); }
.vvp-page-hero[data-hero-layout="full"] { --vvp-hero-edge: 0px; }
:is(#wrapper,#layout-error) .vvp-page-hero[data-hero-layout="split"] { text-align: left; }
:is(#wrapper,#layout-error) .vvp-page-hero[data-hero-layout="intro"] {
  width: 100% !important; max-width: none !important; text-align: center !important; padding-block: var(--vvp-hero-space-start) var(--vvp-hero-space-end) !important;
}
.vvp-page-hero[data-hero-layout="intro"] :is(h1,p,.skg-reader__title,.skg-reader__intro) { margin-inline: auto !important; }
.vvp-page-hero[data-hero-layout="intro"] :is(.skg-reader__meta,.skg-reader__byline) { justify-content: center; }
.vvp-page-hero[data-hero-layout="intro"] h1::before { margin-inline: auto; }
:is(#wrapper,#layout-error) .vvp-page-hero[data-hero-layout="intro"] [class*="eyebrow"]::after { left: 50%; transform: translateX(-50%); }
:is(#wrapper,#layout-error) :is(h1.vvp-page-hero,.vvp-page-hero h1),
:is(#wrapper,#layout-error) .vvp-page-hero h1 :is(span,strong,em) { color: var(--vvp-color-inverse) !important; text-align: inherit; }
:is(#wrapper,#layout-error) .vvp-page-hero :is(p,small,time),
:is(#wrapper,#layout-error) .vvp-page-hero :is(p,small,time) span { color: var(--vvp-hero-muted) !important; text-align: inherit !important; }
:is(#wrapper,#layout-error) .vvp-page-hero a:not(.btn):not(.vvp-ui-button):not(.vvp-hero-shortcuts a),
:is(#wrapper,#layout-error) .vvp-page-hero .skc-card__label { color: var(--vvp-color-inverse) !important; }
.vvp-page-hero .vvp-category-intro, #js-product-list-header.vvp-page-hero .vvp-category-intro, .vvp-page-hero #js-product-list-header .vvp-category-intro { align-items: center !important; text-align: center; }
.vvp-page-hero #category-description { align-self: center !important; max-width: min(100%,880px) !important; margin-inline: auto !important; text-align: center !important; }
.vvp-page-hero .skrupt-categories { --skc-text: var(--vvp-color-inverse); --skc-muted: var(--vvp-hero-muted); background: transparent; }
.vvp-page-hero .skc-track { justify-content: safe center !important; }
/* The native split grid places the title and gallery in its first two rows,
 * on desktop and mobile. Its backdrop therefore ends with the gallery. */
.vvp-page-hero-shell { position: relative; isolation: isolate; background: transparent !important; border-color: transparent !important; box-shadow: none; }
.vvp-page-hero-shell::before { content: '' !important; grid-area: 1 / 1 / 3 / -1; --vvp-hero-edge: 0px; }
.vvp-page-hero[data-hero-layout="split"]::before { content: none; }
.vvp-page-hero-surface { position: relative; background: #fff; border-radius: 20px; }
.vvp-page-hero .vvp-accessory-category { color: var(--vvp-hero-muted) !important; }
.vvp-page-hero [class*="eyebrow"] { color: var(--vvp-hero-muted); }
.vvp-page-hero .vvp-product-wishlist :is(span,i),
.vvp-page-hero .avratings :is(.av-stars,.av-rating,.av-count) { color: var(--vvp-color-inverse) !important; }
@media (max-width:1279px) {
  #header .vvp-brand-slot .logo-link { min-width: 0; gap: 7px; }
  #header .skm-list--level-1 > .skm-item > .skm-row > .skm-link { color: var(--vvp-hero-blue) !important; }
}
@media (max-width:767px) {
  .vvp-page-hero { --vvp-hero-edge: 0px; }
}

/* One entrance typography and rhythm on every page except the homepage.
 * Page-family sheets (listing, product, search…) may not diverge from it. */
body:not(#index) :is(#wrapper,#layout-error) .vvp-page-hero:not([data-hero-layout="full"]) {
  --vvp-hero-space-start: 24px; --vvp-hero-space-end: 32px;
  --vvp-ui-title-lead-weight: var(--vvp-type-title-hero-lead); --vvp-ui-title-soft-weight: var(--vvp-type-title-hero-soft);
}
body:not(#index) :is(#wrapper,#layout-error) .vvp-page-hero:not([data-hero-layout="full"],[data-hero-layout="split"]) {
  padding-block: 24px 32px !important;
}
body:not(#index) :is(#wrapper,#layout-error) :is(.vvp-page-hero:not([data-hero-layout="full"]) h1, h1.vvp-page-hero) {
  margin: 0 !important; font-family: var(--vvp-font-ui,Inter,system-ui,sans-serif);
  font-size: 40px !important; font-weight: 600 !important; line-height: 48px !important;
  letter-spacing: -.65px !important; text-transform: none;
}
body:not(#index) :is(#wrapper,#layout-error) :is(.vvp-page-hero:not([data-hero-layout="full"]) h1, h1.vvp-page-hero) :is(.vvp-title__lead,.vvp-title__soft) {
  font-size: inherit !important; line-height: inherit !important; letter-spacing: inherit !important;
}
body:not(#index) :is(#wrapper,#layout-error) :is(.vvp-page-hero:not([data-hero-layout="full"]) h1, h1.vvp-page-hero) .vvp-title__lead { font-weight: 600; }
body:not(#index) :is(#wrapper,#layout-error) :is(.vvp-page-hero:not([data-hero-layout="full"]) h1, h1.vvp-page-hero) .vvp-title__soft { font-weight: 400; }
body:not(#index) :is(#wrapper,#layout-error) .vvp-page-hero:not([data-hero-layout="full"],[data-hero-layout="split"]) h1 ~ :is(p,div) p,
body:not(#index) :is(#wrapper,#layout-error) .vvp-page-hero:not([data-hero-layout="full"],[data-hero-layout="split"]) h1 ~ p {
  font-size: 16px !important; font-weight: 400 !important; line-height: 24px !important; letter-spacing: normal !important;
}
@media (max-width:767.98px) {
  body:not(#index) :is(#wrapper,#layout-error) :is(.vvp-page-hero:not([data-hero-layout="full"]) h1, h1.vvp-page-hero) {
    font-size: 28px !important; line-height: 36px !important; letter-spacing: -.4px !important;
  }
}

/* Long titles wrap into balanced lines instead of leaving one word alone ("Max / 2 — Vaporesso"). */
:is(#wrapper,#layout-error) :is(h1.vvp-page-hero,.vvp-page-hero h1) { text-wrap: balance; }
/* Product titles: the brand (" — Marque") sits on its own line under the full name, which then wraps on its own. */
body#product h1 .vvp-title__soft--suffix { display: block; }

/* Theme-only wishlist control: same glyph, hit area and counter as its neighbours. */
#header .header-nav .right-nav .skw-nav__link { position: relative; }
#header .header-nav .right-nav .skw-nav__icon { display: block !important; position: static; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; padding: 0; font-size: 0; line-height: 0; color: inherit; background: none; fill: currentColor; }
#header .header-nav .right-nav .skw-nav__count { position: absolute; inset-inline-start: calc(50% + 15px); top: 50%; transform: translateY(-50%); min-width: 0; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; color: inherit; background: transparent; box-shadow: none; font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
