/* Shared interaction styles across header, catalog, footer and advisor. */
/* Product value colors shared by the shop and the advice forms. */
:root {
    --hwk-value-neutral-gradient: linear-gradient(120deg, #fafaf9, #e7e7e3);
    --hwk-value-neutral-ink: #343434;
}
:where(.hwk-temperature.is-cold, .hwk-card-temperature-values.is-cold, .hwk-choice-cold) {
    --hwk-value-gradient: linear-gradient(120deg, #eaf3fc, #d2e5f5);
    --hwk-value-ink: #285c82;
    --hwk-value-control-accent: #2d76a4;
    --hwk-value-control-ink: #fff;
    --hwk-value-control-gradient: linear-gradient(135deg, var(--hwk-value-control-accent), #28618b);
}
:where(.hwk-temperature.is-middle, .hwk-card-temperature-values.is-middle, .hwk-choice-middle) {
    --hwk-value-gradient: linear-gradient(120deg, #faedec, #f2d2cf);
    --hwk-value-ink: #83352f;
    --hwk-value-control-accent: #c93535;
    --hwk-value-control-ink: #fff;
    --hwk-value-control-gradient: linear-gradient(135deg, var(--hwk-value-control-accent), #962829);
}
:where(.hwk-temperature.is-warm, .hwk-card-temperature-values.is-warm, .hwk-choice-warm) {
    --hwk-value-gradient: linear-gradient(120deg, #fff5cf, #f6e2a0);
    --hwk-value-ink: #654d08;
    --hwk-value-control-accent: #ffdf2c;
    --hwk-value-control-ink: #302b0d;
    --hwk-value-control-gradient: linear-gradient(135deg, var(--hwk-value-control-accent), #e8bc18);
}
:where([data-hwk-fact="alpine"], .hwk-choice-alpine, [data-hwk-fact="changed-snow"], .hwk-choice-changed-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #a6b8ce, #8099b4);
    --hwk-value-ink: #172c43;
}
:where([data-hwk-fact="nordic"], .hwk-choice-nordic, [data-hwk-fact="fresh-snow"], .hwk-choice-fresh-snow, .hwk-choice-care-clean, .hwk-choice-chain-care) {
    --hwk-value-gradient: linear-gradient(120deg, #b7cedd, #8db3c9);
    --hwk-value-ink: #163246;
}
:where([data-hwk-fact="tour"], .hwk-choice-tour, [data-hwk-fact="no-iron"], .hwk-choice-no-iron, .hwk-choice-care-refresh) {
    --hwk-value-gradient: linear-gradient(120deg, #aeb8c0, #8b9aa5);
    --hwk-value-ink: #182a35;
}
:where([data-hwk-fact="snowboard"], .hwk-choice-snowboard, [data-hwk-fact="merino"], .hwk-choice-merino, .hwk-choice-care-protect, .hwk-choice-chain-coating) {
    --hwk-value-gradient: linear-gradient(120deg, #dec68d, #c1a45b);
    --hwk-value-ink: #3a2c12;
}
:where([data-hwk-fact="ski-jumping"], [data-hwk-fact="artificial-snow"], .hwk-choice-artificial-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #8eb3d5, #759bc4);
    --hwk-value-ink: #142b45;
}
:where([data-hwk-fact="rodel"], [data-hwk-fact="firn-snow"], .hwk-choice-firn-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #88aebd, #729daf);
    --hwk-value-ink: #142e3b;
}
:where([data-hwk-fact="hobby-training"], .hwk-choice-hobby-training, [data-hwk-fact="brush-out"], .hwk-choice-chain-equipment) {
    --hwk-value-gradient: linear-gradient(120deg, #a1bbcd, #86a6be);
    --hwk-value-ink: #182f41;
}
:where([data-hwk-fact="racing"], .hwk-choice-racing) {
    --hwk-value-gradient: linear-gradient(120deg, #d6b677, #bd9a56);
    --hwk-value-ink: #3c2b13;
}
:where([data-hwk-fact="racing-pro"], .hwk-choice-racing-pro) {
    --hwk-value-gradient: linear-gradient(120deg, #d69688, #be7a6c);
    --hwk-value-ink: #2c1714;
}
:where([data-hwk-fact="hot-wax"], .hwk-choice-hot-wax, .hwk-choice-chain-hot-wax) {
    --hwk-value-gradient: linear-gradient(120deg, #e0b08b, #cc966d);
    --hwk-value-ink: #3c2516;
}
:where([data-hwk-fact="spray"], .hwk-choice-spray, .hwk-choice-chain-liquid-wax) {
    --hwk-value-gradient: linear-gradient(120deg, #94bec8, #75a4b1);
    --hwk-value-ink: #182e39;
}
:where([data-hwk-fact="humidity-low"], .hwk-choice-humidity-low) {
    --hwk-value-gradient: linear-gradient(120deg, #bdc9cf, #a5b5be);
    --hwk-value-ink: #243641;
}
:where([data-hwk-fact="humidity-middle"], .hwk-choice-humidity-middle) {
    --hwk-value-gradient: linear-gradient(120deg, #a6c4cd, #88b0bd);
    --hwk-value-ink: #193742;
}
:where([data-hwk-fact="humidity-high"], .hwk-choice-humidity-high) {
    --hwk-value-gradient: linear-gradient(120deg, #87b3bd, #70a0ad);
    --hwk-value-ink: #122a35;
}

.hwk-advice-range, .hwk-advice-range > * { min-inline-size: 0; }
.hwk-advice-range :is(.hwk-advice-range-heading, .hwk-advice-range-scale, .hwk-advice-range-meta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px 8px;
}
.hwk-advice-range-heading, .hwk-advice-range-meta { flex-wrap: wrap; }
.hwk-advice-range-scale, .hwk-advice-range-meta {
    color: #626262;
    font-size: 12px;
    line-height: 1.4;
}
.hwk-advice-range-meta { margin-block-start: 5px; }
.hwk-advice-range .hwk-advice-range-meta :is(.hwk-chat-check, .hwk-wax-checkbox) {
    min-height: 36px;
    margin: 0;
}
.hwk-advice-range-heading output {
    min-inline-size: 62px;
    padding: 3px 8px;
    border-radius: var(--hwk-control-radius, 4px);
    background: var(--hwk-value-control-gradient, var(--hwk-value-gradient, #ededeb));
    color: var(--hwk-value-control-ink, var(--hwk-value-ink, #202020));
    text-align: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
:is(.hwk-wax-advisor, .hwk-chat-dialog) .hwk-advice-range input[type="range"] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    accent-color: var(--hwk-value-control-accent, var(--hwk-value-ink, #202020));
    cursor: pointer;
}
:is(.hwk-wax-advisor, .hwk-chat-dialog) .hwk-advice-range input[type="range"]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
    border-radius: var(--hwk-control-radius, 4px);
}
:where([data-hwk-fact="fluor-free"], .hwk-choice-fluor-free) {
    --hwk-value-gradient: linear-gradient(120deg, #b5cda4, #98b98b);
    --hwk-value-ink: #253e26;
}
:where(.hwk-choice-ultra-high-x) {
    --hwk-value-gradient: linear-gradient(120deg, #394c3d, #2b3a2e);
    --hwk-value-ink: #fff;
    --hwk-value-border: #2b3a2e;
}
:where(.hwk-choice-high-x) {
    --hwk-value-gradient: linear-gradient(120deg, #537357, #465f49);
    --hwk-value-ink: #fff;
    --hwk-value-border: #465f49;
}
:where(.hwk-choice-low-x) {
    --hwk-value-gradient: linear-gradient(120deg, #afc39f, #95ad88);
    --hwk-value-ink: #203823;
}
:where([data-hwk-fact="low-fluor"], .hwk-choice-low-fluor) {
    --hwk-value-gradient: linear-gradient(120deg, #c2c9cd, #a9b2b8);
    --hwk-value-ink: #222d34;
}
:where([data-hwk-fact="high-fluor"], .hwk-choice-high-fluor) {
    --hwk-value-gradient: linear-gradient(120deg, #666e74, #505960);
    --hwk-value-ink: #fff;
    --hwk-value-border: #505960;
}
:where([data-hwk-fact="100-fluor"], .hwk-choice-100-fluor) {
    --hwk-value-gradient: linear-gradient(120deg, #3b4248, #282e33);
    --hwk-value-ink: #fff;
    --hwk-value-border: #282e33;
}

/* The application filters use the same value colors as the winter catalog. */
:where(.hwk-choice-chain-waxed-chain) {
    --hwk-value-gradient: linear-gradient(120deg, #485663, #303b45);
    --hwk-value-ink: #fff;
}
:where(.hwk-choice-care-other, .hwk-choice-chain-other) {
    --hwk-value-gradient: var(--hwk-value-neutral-gradient);
    --hwk-value-ink: var(--hwk-value-neutral-ink);
}

/* Catalog choices and their selected tags share these tones. */
:where(.hwk-choice-hot-wax) {
    --hwk-value-gradient: linear-gradient(120deg, #fff1df, #f2d1af);
    --hwk-value-ink: #713f22;
}
:where(.hwk-choice-no-iron) {
    --hwk-value-gradient: linear-gradient(120deg, #e8f6f1, #c5e5dc);
    --hwk-value-ink: #275349;
}
:where(.hwk-choice-spray) {
    --hwk-value-gradient: linear-gradient(120deg, #e8f5f7, #cce6ec);
    --hwk-value-ink: #285460;
}
:where(.hwk-choice-care-refresh) {
    --hwk-value-gradient: linear-gradient(120deg, #cfe0d3, #b0c8b8);
    --hwk-value-ink: #254439;
}
:where(.hwk-choice-chain-liquid-wax) {
    --hwk-value-gradient: linear-gradient(120deg, #d7e3df, #b8cbc5);
    --hwk-value-ink: #24423c;
}
:where(.hwk-choice-hobby-training, .hwk-choice-chain-equipment) {
    --hwk-value-gradient: linear-gradient(120deg, #dce5d1, #becfad);
    --hwk-value-ink: #324729;
}
:where(.hwk-choice-fresh-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #e2eef4, #c9dbe4);
    --hwk-value-ink: #25485a;
}
:where(.hwk-choice-changed-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #e3e5e3, #c8ceca);
    --hwk-value-ink: #333c37;
}
:where(.hwk-choice-artificial-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #cbd8e2, #b3c5d4);
    --hwk-value-ink: #263d4b;
}
:where(.hwk-choice-firn-snow) {
    --hwk-value-gradient: linear-gradient(120deg, #eadcc0, #d4bb92);
    --hwk-value-ink: #49351c;
}
:where(.hwk-choice-humidity-low) {
    --hwk-value-gradient: linear-gradient(120deg, #ecece9, #dedfda);
    --hwk-value-ink: #343733;
}
:where(.hwk-choice-humidity-middle) {
    --hwk-value-gradient: linear-gradient(120deg, #e0e1da, #c7cdc3);
    --hwk-value-ink: #303830;
}
:where(.hwk-choice-humidity-high) {
    --hwk-value-gradient: linear-gradient(120deg, #cad0c9, #abb6ad);
    --hwk-value-ink: #25352e;
}
:where(.hwk-choice-care-clean, .hwk-choice-chain-care) {
    --hwk-value-gradient: linear-gradient(120deg, #e7e6de, #ceccbf);
    --hwk-value-ink: #34362b;
}
:where(.hwk-choice-chain-waxed-chain) {
    --hwk-value-gradient: linear-gradient(120deg, #4d4f4e, #353836);
}
:where(.hwk-choice-low-fluor) {
    --hwk-value-gradient: linear-gradient(120deg, #d8d9d4, #bec0ba);
    --hwk-value-ink: #323530;
}
:where(.hwk-choice-high-fluor) {
    --hwk-value-gradient: linear-gradient(120deg, #686b67, #50534f);
    --hwk-value-border: #50534f;
}
:where(.hwk-choice-100-fluor) {
    --hwk-value-gradient: linear-gradient(120deg, #3d403d, #2c2f2c);
    --hwk-value-border: #2c2f2c;
}

:root {
    --hwk-target: 44px;
    --hwk-breadcrumb-padding: 16px;
    --hwk-icon-size: 22px;
    --hwk-hover-light: #0000000c;
    --hwk-hover-dark: var(--hwk-menu-hover);
    --hwk-shadow-card: 0 2px 8px #1515150d;
    --hwk-shadow-hover: 0 4px 12px #15151516;
    --hwk-shadow-panel: 0 8px 24px #15151524;
    --hwk-shadow-sticky: 0 -4px 16px #15151512;
}
.hwk-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: var(--hwk-icon-size);
    height: var(--hwk-icon-size);
    vertical-align: middle;
}
body :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea),
body :is(.hwk-chat-dialog, .hwk-advisor-launcher, .hwk-wax-advisor, #waxup-v5) {
    font-family: var(--hwk-font) !important;
}
/* A light headline, regular reading text and restrained emphasis. */
body :is(h1, h2, h3, h4, h5, h6) {
    font-weight: var(--hwk-weight-regular) !important;
}
body h1,
body :is(.hwk-home-section-heading h2, .hwk-home-chain-copy h2, .hwk-home-bundle-copy h2, .hwk-home-knowledge-copy h2) {
    font-weight: var(--hwk-weight-light) !important;
}
body :is(b, strong, th) { font-weight: var(--hwk-weight-medium); }
body :is(button, input, select, textarea) { line-height: var(--hwk-leading-ui); }
.hwk-commerce .wc-block-components-button { font-weight: var(--hwk-weight-medium); }

.hwk-header .hwk-icon,
.hwk-footer-structured .hwk-icon {
    filter: none !important;
}
.hwk-header :is(.hwk-account-nav > a, .hwk-search-toggle),
.hwk-footer-structured :is(.hwk-social > a, .hwk-language-switcher > a) {
    min-height: var(--hwk-target);
    border: 0;
    border-radius: var(--hwk-control-radius);
    background: transparent;
}
.hwk-footer-structured .hwk-social { gap: 4px; }
.hwk-footer-structured .hwk-social > a { width: var(--hwk-target); height: var(--hwk-target); }
.hwk-header :is(.hwk-account-nav > a, .hwk-search-toggle, .hwk-language-switcher a):is(:hover, :focus-visible),
.hwk-header .hwk-search-toggle[aria-expanded=true],
.hwk-footer-structured :is(.hwk-social > a, .hwk-language-switcher > a):is(:hover, :focus-visible, [aria-current=page]) {
    color: #fff;
    background: var(--hwk-hover-dark);
}
.hwk-footer-structured .hwk-language-switcher > a { width: 32px; }
.hwk-header .hwk-language-switcher a[aria-current=page],
.hwk-header .hwk-menu-toggle { background: var(--hwk-hover-dark); }
.hwk-header :is(.hwk-mega-close, .hwk-search-close) {
    width: var(--hwk-target);
    height: var(--hwk-target);
    min-width: var(--hwk-target);
    border-radius: var(--hwk-control-radius);
}
.hwk-header :is(.hwk-mega-close, .hwk-search-close):hover { background: var(--hwk-hover-light); }
.hwk-filter-toggle,
.hwk-filter-close,
.hwk-category-links a,
.hwk-search-categories a {
    min-height: var(--hwk-target);
    border-radius: var(--hwk-control-radius);
}
.hwk-filter-section a.term-label { min-height: var(--hwk-target); }
.hwk-filter-section .hwk-filter-symbol { width: var(--hwk-icon-size); height: var(--hwk-icon-size); flex-basis: var(--hwk-icon-size); }
.hwk-filter-section .hwk-filter-check .hwk-icon { width: 14px; height: 14px; }
.hwk-catalog-application summary .hwk-icon { width: 16px; height: 16px; }
.hwk-catalog-application[open] summary .hwk-icon { transform: rotate(180deg); }
.hwk-shop-hero h1 { text-align: left; }
.hwk-home-inline-link { border-bottom: 0; }
.hwk-home-inline-link:hover { background: var(--hwk-hover-light); }

.hwk-shop-hero .hwk-shop-intro { display: block; width: 100%; }
.hwk-shop-intro a:hover { opacity: .78; }
.hwk-header .hwk-nav-trigger .hwk-chevron { width: 16px; height: 16px; }

/* Page introductions and product galleries share the same breadcrumb rhythm. */
.hwk-hero-breadcrumbs,
body.woocommerce .hwk-product-page .hwk-product-breadcrumb {
    background: linear-gradient(#0002, #0002), var(--hwk-header-gradient);
}
.hwk-hero-breadcrumbs .hwk-page-breadcrumb,
body.woocommerce .hwk-product-page .hwk-product-breadcrumb {
    position: static;
    display: block;
    visibility: visible;
    margin: 0;
    padding-block: var(--hwk-breadcrumb-padding);
    padding-inline: var(--hwk-header-inset-left) var(--hwk-header-inset-right);
    color: #fff;
    font-size: var(--hwk-type-control);
    line-height: var(--hwk-leading-ui);
    overflow-wrap: anywhere;
}
:is(.hwk-hero-breadcrumbs, .hwk-product-breadcrumb) ol {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
:is(.hwk-hero-breadcrumbs, .hwk-product-breadcrumb) li {
    display: flex;
    gap: 10px;
    min-width: 0;
    margin: 0;
}
:is(.hwk-hero-breadcrumbs, .hwk-product-breadcrumb) li + li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin: .53em 0 0;
    border-top: 1px solid #b3b3b3;
    border-right: 1px solid #b3b3b3;
    transform: rotate(45deg);
}
:is(.hwk-hero-breadcrumbs, .hwk-product-breadcrumb) li:last-child { font-weight: var(--hwk-weight-medium); }
.hwk-hero-breadcrumbs .hwk-page-breadcrumb a,
.woocommerce .hwk-product-page .hwk-product-breadcrumb a {
    border-radius: var(--hwk-control-radius);
    color: inherit;
}
:is(.hwk-hero-breadcrumbs .hwk-page-breadcrumb, .woocommerce .hwk-product-page .hwk-product-breadcrumb) a:hover {
    background: #ffffff26;
    color: #fff;
    opacity: 1;
}
:is(.hwk-hero-breadcrumbs .hwk-page-breadcrumb, .woocommerce .hwk-product-page .hwk-product-breadcrumb) a:focus-visible {
    color: #fff;
    outline-color: #fff;
}

@media (min-width: 720px) {
    body.woocommerce .hwk-product-page .hwk-product-breadcrumb {
        margin-inline: calc(-1 * var(--hwk-full-gutter));
    }
}
@media (min-width: 1024px) {
    body.woocommerce .hwk-product-page .hwk-product-breadcrumb {
        margin-block-end: clamp(18px, 1.6vw, 28px);
    }
}
@media (max-width: 767px) {
    :root { --hwk-breadcrumb-padding: 8px; }
    .hwk-hero-breadcrumbs .hwk-page-breadcrumb,
    body.woocommerce .hwk-product-page .hwk-product-breadcrumb { font-size: 12px; }
    :is(.hwk-hero-breadcrumbs, .hwk-product-breadcrumb) ol { column-gap: 8px; }
    :is(.hwk-hero-breadcrumbs, .hwk-product-breadcrumb) li { gap: 8px; }
}

/* Repeat the same small radius on bounded surfaces throughout the shop. */
body :is(
    .hwk-editorial-card-media, .hwk-editorial-image-links > a,
    .hwk-team-card > img, .hwk-contact-form, .hwk-editorial-callout, .hwk-legal-layout .hwk-prose,
    .hwk-section-nav > a, .hwk-section-nav > button, .hwk-landing-catalog,
    .hwk-chain-card, .hwk-bundle-contents, .hwk-home-discipline,
    .hwk-consent-banner, .hwk-consent-dialog, .hwk-consent-option, .hwk-consent-embed
) {
    border-radius: var(--hwk-control-radius);
}
body :is(.hwk-consent-banner, .hwk-chat-dialog) { box-shadow: var(--hwk-shadow-panel); }
body .hwk-advisor-launcher { box-shadow: var(--hwk-shadow-card); }

.hwk-header-tools .hwk-cart-link[aria-expanded="true"] {
    background: var(--hwk-menu-hover);
}

.hwk-inline-arrow {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    flex: none;
    vertical-align: middle;
}

/* Give slow navigation and filter requests feedback without covering the page. */
.hwk-loading-indicator.is-visible {
    position: fixed;
    inset: env(safe-area-inset-top, 0px) 0 auto;
    z-index: 99990;
    height: 3px;
    overflow: hidden;
    background: #333;
    pointer-events: none;
}
.hwk-loading-indicator.is-visible::after {
    content: "";
    display: block;
    width: 32%;
    height: 100%;
    background: #f5f5f5;
    animation: hwk-loading-sweep 1s ease-in-out infinite;
}
@keyframes hwk-loading-sweep {
    from { transform: translateX(-65%); }
    to { transform: translateX(315%); }
}
@media (prefers-reduced-motion: reduce) {
    .hwk-loading-indicator.is-visible::after { width: 100%; animation: none; }
}
