﻿/* Avelle semantic header systems â€” H1â€¦H5. Legacy numbered headers do not style this root. */
.avelle-header {
    --avh-ink: #171512;
    --avh-muted: #6f685f;
    --avh-bg: #fff;
    --avh-surface: #f6f1e9;
    --avh-accent: #000000;
    --avh-line: rgba(23, 21, 18, .13);
    --avh-announcement-bg: #171512;
    --avh-announcement-ink: #fff;
    --avh-white: #fff;
    --avh-dark: #171512;
    --avh-height: 80px;
    --avh-nav-height: 52px;
    position: relative;
    z-index: 90;
    color: var(--avh-ink);
    background: var(--avh-bg);
    border-bottom: 1px solid var(--avh-line);
    font-family: var(--avl-font-body, inherit);
}

.avelle-header *,
.avelle-header *::before,
.avelle-header *::after {
    box-sizing: border-box;
}

.avelle-header button,
.avelle-header a {
    color: inherit;
}

.avelle-header a:focus-visible,
.avelle-header button:focus-visible {
    outline: 2px solid var(--avh-accent);
    outline-offset: 3px;
}

.avelle-header__announcement {
    min-height: 38px;
    color: var(--avh-announcement-ink);
    background: var(--avh-announcement-bg);
    border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}

.avelle-header__announcement-inner {
    min-height: 38px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 24px;
}

.avelle-header__announcement p {
    margin: 0;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: .11em;
    text-align: center;
    text-transform: uppercase;
}

.avelle-header__utility {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .04em;
}

.avelle-header__utility--right {
    justify-content: flex-end;
}

.avelle-header__utility a,
.avelle-header__utility button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font: inherit;
}

.avelle-header__utility .language-switcher-wrapper,
.avelle-header__utility .tp-header-lang,
.avelle-header__utility .tp-header-currency {
    position: relative;
    margin: 0;
}

.avelle-header__utility .language-switcher-wrapper > ul,
.avelle-header__utility .tp-header-currency > ul {
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    color: var(--avh-dark);
    background: var(--avh-white);
    box-shadow: 0 18px 48px rgba(20, 18, 15, .14);
}

.avelle-header__main {
    min-height: var(--avh-height);
    color: var(--avh-ink);
    background: color-mix(in srgb, var(--avh-bg) 95%, transparent);
    border-bottom: 1px solid var(--avh-line);
    backdrop-filter: blur(16px);
}

.avelle-header__main-grid {
    min-height: var(--avh-height);
    display: grid;
    grid-template-columns: minmax(150px, .7fr) minmax(0, 2fr) minmax(190px, .8fr);
    align-items: center;
    gap: 30px;
}

.avelle-header__brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.avelle-header__brand .logo,
.avelle-header__brand .logo a {
    display: inline-flex;
    align-items: center;
}

.avelle-header__brand .logo img {
    width: auto;
    max-width: 150px;
    max-height: 43px;
}

.avelle-header__primary,
.avelle-header__secondary {
    min-width: 0;
}

.avelle-header__primary .tp-main-menu-content > ul,
.avelle-header__secondary .tp-main-menu-content > ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.2vw, 38px);
    list-style: none;
}

.avelle-header__primary .tp-main-menu-content > ul > li,
.avelle-header__secondary .tp-main-menu-content > ul > li {
    position: relative;
    margin: 0;
}

.avelle-header__primary .tp-main-menu-content > ul > li > .tp-submenu,
.avelle-header__secondary .tp-main-menu-content > ul > li > .tp-submenu {
    position: absolute;
    z-index: 20;
    top: calc(100% - 2px);
    left: -22px;
    min-width: 220px;
    margin: 0;
    padding: 15px 0;
    border: 1px solid var(--avh-line);
    border-radius: 4px;
    visibility: hidden;
    opacity: 0;
    list-style: none;
    color: var(--avh-ink);
    background: var(--avh-bg);
    box-shadow: 0 20px 50px rgba(20, 18, 15, .14);
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.avelle-header__primary .tp-main-menu-content > ul > li:hover > .tp-submenu,
.avelle-header__primary .tp-main-menu-content > ul > li:focus-within > .tp-submenu,
.avelle-header__secondary .tp-main-menu-content > ul > li:hover > .tp-submenu,
.avelle-header__secondary .tp-main-menu-content > ul > li:focus-within > .tp-submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* The mobile logo is an explicit theme option; keep it out of desktop layouts
   and replace the desktop mark only at the mobile breakpoint. */
.avelle-header__brand .logo img.logo-mobile { display: none; }

.avelle-header__primary .tp-main-menu-content > ul > li:hover > .avelle-mega-menu,
.avelle-header__primary .tp-main-menu-content > ul > li:focus-within > .avelle-mega-menu,
.avelle-header__secondary .tp-main-menu-content > ul > li:hover > .avelle-mega-menu,
.avelle-header__secondary .tp-main-menu-content > ul > li:focus-within > .avelle-mega-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.avelle-header__primary .tp-submenu li,
.avelle-header__secondary .tp-submenu li {
    position: relative;
    margin: 0;
    list-style: none;
}

.avelle-header__primary .tp-submenu a,
.avelle-header__secondary .tp-submenu a {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 22px;
    color: inherit;
    font-size: 13px;
    line-height: 1.25;
}

.avelle-header__primary .tp-submenu a:hover,
.avelle-header__secondary .tp-submenu a:hover {
    color: var(--avh-accent);
    background: color-mix(in srgb, var(--avh-accent) 7%, transparent);
}

.avelle-header__primary .tp-submenu .tp-submenu,
.avelle-header__secondary .tp-submenu .tp-submenu {
    top: -16px;
    left: calc(100% - 2px);
}

.avelle-header__primary .tp-main-menu-content > ul > li > a,
.avelle-header__secondary .tp-main-menu-content > ul > li > a {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    color: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.avelle-header__primary .tp-main-menu-content a > svg,
.avelle-header__secondary .tp-main-menu-content a > svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.avelle-header__primary .tp-main-menu-content > ul > li > a::after,
.avelle-header__secondary .tp-main-menu-content > ul > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .24s cubic-bezier(.2, .6, .2, 1);
}

.avelle-header__primary .tp-main-menu-content > ul > li:hover > a::after,
.avelle-header__primary .tp-main-menu-content > ul > li:focus-within > a::after,
.avelle-header__secondary .tp-main-menu-content > ul > li:hover > a::after,
.avelle-header__secondary .tp-main-menu-content > ul > li:focus-within > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.avelle-header__actions,
.avelle-header__actions .tp-header-action {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.avelle-header__action,
.avelle-header__actions .tp-header-action-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border: 0 !important;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    background: transparent;
    outline: 0 !important;
    box-shadow: none !important;
    transition: color .2s ease;
}

.avelle-header__action:hover,
.avelle-header__actions .tp-header-action-btn:hover {
    color: var(--avh-ink);
    background: transparent;
    transform: none;
}

.avelle-header__action:focus-visible,
.avelle-header__actions .tp-header-action-btn:focus-visible {
    color: var(--avh-ink);
    background: transparent;
    outline: 2px solid var(--avh-line) !important;
    outline-offset: 2px;
}

.avelle-header__actions .avr-icon > svg,
.avelle-header__actions .tp-header-action-btn > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.avelle-header__actions .tp-header-action-item {
    margin: 0;
}

.avelle-header__actions .tp-header-action-badge {
    top: 1px;
    right: -1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid var(--avh-bg);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--avh-white);
    background: var(--avh-accent);
    font-size: 9px;
    font-weight: 700;
}

.avelle-header__actions .tp-header-action-item-menu {
    display: none !important;
}

.avelle-header__mobile-menu {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    color: inherit;
    background: transparent;
}

.avelle-header__search--full .tp-header-search-wrapper {
    height: 48px;
    overflow: visible;
    border: 1px solid var(--avh-line);
    border-radius: 4px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px;
    background: color-mix(in srgb, var(--avh-surface) 64%, var(--avh-white));
    box-sizing: border-box;
    transition: none;
}

.avelle-header__search--full .tp-header-search-box,
.avelle-header__search--full .tp-header-search-input,
.avelle-header__search--full .tp-header-search-input input {
    width: 100%;
    height: 46px;
}

.avelle-header__search--full .tp-header-search-box,
.avelle-header__search--full .tp-header-search-btn {
    height: 46px !important;
    min-height: 46px;
    display: flex;
    align-items: center;
}

.avelle-header__search--full .tp-header-search-input input {
    height: 46px !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 0;
    outline: 0 !important;
    box-shadow: none !important;
    margin: 0;
    line-height: 46px !important;
    padding: 0 18px;
    color: var(--avh-ink);
    background: transparent;
    font-size: 13px;
}

.avelle-header__search--full .tp-header-search-category {
    display: none !important;
}

.avelle-header__search--full .product-category-label {
    height: 46px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 650;
}

.avelle-header__search--full .tp-header-search-btn button {
    width: 48px;
    height: 46px;
    border: 0 !important;
    border-radius: 0 3px 3px 0;
    color: var(--avh-ink);
    background: var(--avh-surface);
    outline: 0 !important;
    box-shadow: none !important;
    transition: none;
}

.avelle-header__search--full .tp-header-search-btn button:hover,
.avelle-header__search--full .tp-header-search-btn button:focus,
.avelle-header__search--full .tp-header-search-btn button:focus-visible {
    color: var(--avh-ink);
    background: var(--avh-line);
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.avelle-header__search--full .tp-header-search-wrapper:focus-within {
    height: 48px;
    border-color: var(--avh-line);
    box-shadow: none;
    transform: none;
}

.avelle-header__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.avelle-header__contact > svg {
    width: 24px;
    height: 24px;
}

.avelle-header__contact span {
    display: grid;
    gap: 3px;
}

.avelle-header__contact small {
    color: var(--avh-muted);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.avelle-header__contact strong {
    font-size: 12px;
    font-weight: 700;
}

.avelle-header__nav-row {
    min-height: var(--avh-nav-height);
    color: var(--avh-ink);
    background: var(--avh-bg);
}

.avelle-header__nav-grid {
    min-height: var(--avh-nav-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
}

.avelle-header__departments {
    align-self: stretch;
    min-width: 235px;
    border: 0;
    border-right: 1px solid var(--avh-line);
    border-left: 1px solid var(--avh-line);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    background: color-mix(in srgb, var(--avh-surface) 68%, var(--avh-white));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.avelle-header__departments svg:last-child {
    margin-left: auto;
    transition: transform .2s ease;
}

.avelle-header__departments[aria-expanded="true"] svg:last-child {
    transform: rotate(180deg);
}

.avelle-header__departments-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 24px 0;
    color: var(--avh-ink);
    background: var(--avh-white);
    border-top: 1px solid var(--avh-line);
    box-shadow: 0 24px 60px rgba(20, 18, 15, .14);
}

.avelle-header__departments-panel[hidden] {
    display: none;
}

.avelle-header__season-link,
.avelle-header__edition {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* H2 â€” Ecomus: clean category-led header. */
.avelle-header--clean-contemporary {
    --avh-bg: #fffdf9;
    --avh-surface: #f4efe7;
    --avh-accent: #6c7a67;
    --avh-announcement-bg: #ebe4d9;
    --avh-announcement-ink: #28231e;
}

.avelle-header--clean-contemporary .avelle-header__nav-row {
    display: none;
}

/* H3 â€” Minimog: warm conversion system with a dedicated navigation row. */
.avelle-header--contemporary-warm {
    --avh-bg: #fffaf5;
    --avh-surface: #f7e9df;
    --avh-accent: #a24f55;
    --avh-announcement-bg: #a24f55;
    --avh-announcement-ink: #fff;
}

.avelle-header--contemporary-warm .avelle-header__main-grid {
    grid-template-columns: minmax(170px, 1fr) auto minmax(230px, 1fr);
}

.avelle-header--contemporary-warm .avelle-header__brand {
    grid-column: 2;
    justify-content: center;
}

.avelle-header--contemporary-warm .avelle-header__primary {
    display: none;
}

.avelle-header--contemporary-warm .avelle-header__contact {
    grid-column: 1;
    grid-row: 1;
}

.avelle-header--contemporary-warm .avelle-header__actions {
    grid-column: 3;
}

/* H4 â€” Wolmart: search-first functional density. */
.avelle-header--functional-rich {
    --avh-bg: #fff;
    --avh-surface: #f5f2ec;
    --avh-accent: #000000;
    --avh-announcement-bg: #27231e;
    --avh-announcement-ink: #fff;
    --avh-height: 84px;
}

.avelle-header--functional-rich .avelle-header__main-grid {
    grid-template-columns: minmax(135px, .55fr) minmax(400px, 2.3fr) auto auto;
    gap: 24px;
}

.avelle-header--functional-rich .avelle-header__primary {
    display: none;
}

.avelle-header--functional-rich .avelle-header__secondary .tp-main-menu-content > ul {
    justify-content: flex-start;
}

/* H1 â€” WoodMart: editorial centered mark and restrained actions. */
.avelle-header--editorial {
    --avh-bg: #f9f6f0;
    --avh-surface: #EBEBEB8df;
    --avh-accent: #68756b;
    --avh-announcement-bg: #171512;
    --avh-announcement-ink: #fff;
}

.avelle-header--editorial .avelle-header__main-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.avelle-header--editorial .avelle-header__brand {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
}

.avelle-header--editorial .avelle-header__primary {
    display: none;
}

.avelle-header--editorial .avelle-header__actions {
    grid-column: 3;
    grid-row: 1;
}

.avelle-header--editorial .avelle-header__nav-grid {
    grid-template-columns: 1fr;
}

/* H5 â€” XStore: dark graphic frame. */
.avelle-header--editorial-maximal {
    --avh-ink: #f8f1e8;
    --avh-muted: #b7aca0;
    --avh-bg: #151311;
    --avh-surface: #211d19;
    --avh-accent: #e0a44f;
    --avh-line: rgba(255, 255, 255, .16);
    --avh-announcement-bg: #e0a44f;
    --avh-announcement-ink: #151311;
}

.avelle-header--editorial-maximal .avelle-header__main-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.avelle-header--editorial-maximal .avelle-header__brand {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
}

.avelle-header--editorial-maximal .avelle-header__primary {
    display: none;
}

.avelle-header--editorial-maximal .avelle-header__actions {
    grid-column: 3;
    grid-row: 1;
}

.avelle-header--editorial-maximal .avelle-header__nav-grid {
    grid-template-columns: minmax(0, 1fr) auto;
}

.avelle-header--editorial-maximal .avelle-header__secondary .tp-main-menu-content > ul {
    justify-content: flex-start;
}

.avelle-header--editorial-maximal .avelle-header__actions .tp-header-action-badge {
    color: var(--avh-announcement-ink);
    border-color: var(--avh-announcement-ink);
    background: var(--avh-accent);
}

@media (max-width: 1199.98px) {
    .avelle-header__main-grid {
        gap: 18px;
    }

    .avelle-header__primary .tp-main-menu-content > ul,
    .avelle-header__secondary .tp-main-menu-content > ul {
        gap: 18px;
    }

    .avelle-header__contact {
        display: none;
    }

    .avelle-header--functional-rich .avelle-header__main-grid {
        grid-template-columns: 130px minmax(300px, 1fr) auto;
    }
}

@media (max-width: 991.98px) {
    .avelle-header__brand .logo:has(img.logo-mobile) img:not(.logo-mobile) { display: none; }
    .avelle-header__brand .logo:has(img.logo-mobile) img.logo-mobile { display: block; }
    .avelle-header {
        --avh-height: 60px;
    }

    .avelle-header__announcement,
    .avelle-header__announcement-inner {
        min-height: 34px;
    }

    .avelle-header__announcement-inner {
        display: flex;
        justify-content: center;
    }

    .avelle-header__announcement p {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 9px;
    }

    .avelle-header__utility {
        display: none;
    }

    .avelle-header__main-grid,
    .avelle-header--contemporary-warm .avelle-header__main-grid,
    .avelle-header--functional-rich .avelle-header__main-grid,
    .avelle-header--editorial .avelle-header__main-grid,
    .avelle-header--editorial-maximal .avelle-header__main-grid {
        min-height: var(--avh-height);
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .avelle-header__mobile-menu,
    .avelle-header--contemporary-warm .avelle-header__mobile-menu,
    .avelle-header--functional-rich .avelle-header__mobile-menu,
    .avelle-header--editorial .avelle-header__mobile-menu,
    .avelle-header--editorial-maximal .avelle-header__mobile-menu {
        grid-column: 1;
        grid-row: 1;
        display: inline-flex;
    }

    .avelle-header__brand,
    .avelle-header--contemporary-warm .avelle-header__brand,
    .avelle-header--functional-rich .avelle-header__brand,
    .avelle-header--editorial .avelle-header__brand,
    .avelle-header--editorial-maximal .avelle-header__brand {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
    }

    .avelle-header__brand .logo img {
        max-width: 112px;
        max-height: 34px;
    }

    .avelle-header__primary,
    .avelle-header__search,
    .avelle-header__contact,
    .avelle-header__nav-row,
    .avelle-header__departments-panel {
        display: none !important;
    }

    .avelle-header__actions,
    .avelle-header--contemporary-warm .avelle-header__actions,
    .avelle-header--functional-rich .avelle-header__actions,
    .avelle-header--editorial .avelle-header__actions,
    .avelle-header--editorial-maximal .avelle-header__actions {
        grid-column: 3;
        grid-row: 1;
        gap: 0;
    }

    .avelle-header__action,
    .avelle-header__actions .tp-header-action-btn {
        width: 38px;
        height: 38px;
    }

    .avelle-header__account,
    .avelle-header__actions .tp-header-action-item-compare,
    .avelle-header__actions .tp-header-action-item-wishlist {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .avelle-header .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .avelle-header__announcement p {
        max-width: calc(100vw - 28px);
    }
}

/* Functional-rich header uses the AVR contract; keep its search and actions
 * on the same stable geometry as the Torque header controls. */
.avr-functional__search .tp-header-search-wrapper {
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    border: 1px solid var(--avr-line) !important;
    box-sizing: border-box;
    transform: none !important;
    transition: none !important;
}

.avr-functional__search .tp-header-search-wrapper:focus-within {
    border: 1px solid var(--avr-line) !important;
    box-shadow: none !important;
    outline: 0 !important;
    transform: none !important;
}

/* The register stylesheet is loaded after this file; keep the active
 * functional-rich contract explicit so the idle border cannot disappear or
 * turn into a focus outline. */
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-wrapper,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-wrapper:focus-within {
    border: 1px solid var(--avr-line) !important;
    box-shadow: none !important;
    outline: 0 !important;
    transform: none !important;
}

.avr-header.avr-header--functional .avr-functional__search .tp-header-search-btn,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-btn button,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-btn button:hover,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-btn button:focus,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-btn button:focus-visible {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--avr-ink) !important;
    background: var(--avr-surface) !important;
}

.avr-functional__search .tp-header-search-box,
.avr-functional__search .tp-header-search-btn {
    height: 46px !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center;
}

.avr-functional__search .tp-header-search-btn {
    background: var(--avr-surface) !important;
    border: 0 !important;
    box-shadow: none !important;
}

.avr-functional__search .tp-header-search-input input {
    display: block !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    line-height: 46px !important;
}

/* Focus belongs to the field, not to a second nested frame. Keep every
 * search sub-control on the same single wrapper border in the active state. */
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-input,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-input input,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-input input:focus,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-box,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-box:focus-within,
.avr-header.avr-header--functional .avr-functional__search .tp-header-search-btn {
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.avr-header.avr-header--functional .avr-functional__search .tp-header-search-input input:focus {
    border: 0 !important;
}

.avr-functional__search .tp-header-search-btn button,
.avr-functional__search .tp-header-search-btn button:hover,
.avr-functional__search .tp-header-search-btn button:focus,
.avr-functional__search .tp-header-search-btn button:focus-visible {
    width: 40px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--avr-ink) !important;
    background: var(--avr-surface) !important;
}

.avr-actions,
.avr-actions .tp-header-action {
    gap: 10px !important;
}

.avr-actions > .avr-icon,
.avr-actions .tp-header-action-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--avh-ink) !important;
    transform: none !important;
}

.avr-actions > .avr-icon:hover,
.avr-actions > .avr-icon:focus-visible,
.avr-actions .tp-header-action-btn:hover,
.avr-actions .tp-header-action-btn:focus-visible {
    border: 0 !important;
    outline: 2px solid var(--avh-line) !important;
    outline-offset: 2px;
    background: transparent !important;
    color: var(--avh-ink) !important;
}

.avr-actions > .avr-icon > svg,
.avr-actions .tp-header-action-btn > svg {
    width: 20px !important;
    height: 20px !important;
}

.avr-actions .tp-header-action-badge {
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border: 2px solid var(--avh-bg);
    border-radius: 999px;
    color: var(--avh-white);
    background: var(--avh-ink);
    font-size: 9px;
    line-height: 12px;
}

/* Functional-rich actions follow the Torque information hierarchy: account
 * copy, wishlist count, and cart count/total remain visible next to search. */
.avr-functional__torque-actions {
    align-items: center;
    gap: 18px !important;
    min-width: max-content;
}

.avr-torque-action,
.avr-torque-action__link,
.avr-torque-action__icon-link,
.avr-torque-action__cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.avr-torque-action__link,
.avr-torque-action__icon-link {
    color: var(--avh-ink) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.avr-torque-action__link:hover,
.avr-torque-action__link:focus-visible,
.avr-torque-action__icon-link:hover,
.avr-torque-action__icon-link:focus-visible {
    color: var(--avh-ink) !important;
    background: transparent !important;
    outline: 0 !important;
}

.avr-torque-action__copy {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    line-height: 1.15;
}

.avr-torque-action__copy strong,
.avr-torque-action__copy small {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avr-torque-action__copy strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.avr-torque-action__copy small {
    margin-top: 3px;
    color: var(--avh-muted);
    font-size: 12px;
    font-weight: 400;
}

.avr-torque-action--account .avr-torque-action__link {
    width: 164px;
    min-width: 164px;
    gap: 8px;
    justify-content: flex-start;
}

.avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link,
.avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link:hover,
.avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link:focus-visible,
.avr-header.avr-header--functional .avr-torque-action--wishlist .avr-torque-action__icon-link:hover,
.avr-header.avr-header--functional .avr-torque-action--wishlist .avr-torque-action__icon-link:focus-visible,
.avr-header.avr-header--functional .avr-torque-action--cart .avr-torque-action__link:hover,
.avr-header.avr-header--functional .avr-torque-action--cart .avr-torque-action__link:focus-visible {
    color: var(--avr-ink) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html:root body .avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link:hover,
html:root body .avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link:focus-visible,
html:root body .avr-header.avr-header--functional .avr-torque-action--wishlist .avr-torque-action__icon-link:hover,
html:root body .avr-header.avr-header--functional .avr-torque-action--wishlist .avr-torque-action__icon-link:focus-visible,
html:root body .avr-header.avr-header--functional .avr-torque-action--cart .avr-torque-action__link:hover,
html:root body .avr-header.avr-header--functional .avr-torque-action--cart .avr-torque-action__link:focus-visible {
    color: var(--avr-ink) !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.avr-torque-account-dropdown {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 0;
    width: 230px;
    padding: 10px;
    border: 1px solid var(--avr-line);
    border-radius: var(--avl-r, 8px);
    color: var(--avr-ink);
    background: var(--avr-surface);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

/* Keep a pointer-safe bridge across the small visual gap between the
 * account trigger and its panel. The bridge belongs to the panel so moving
 * the mouse into the expanded menu does not collapse it mid-transition. */
.avr-torque-account-dropdown::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 0;
    left: 0;
    height: 9px;
}

.avr-torque-action--account:hover .avr-torque-account-dropdown,
.avr-torque-action--account:focus-within .avr-torque-account-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.avr-torque-account-dropdown ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.avr-torque-account-dropdown li,
.avr-torque-account-dropdown a {
    display: block;
}

.avr-torque-account-dropdown li a {
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--avr-ink) !important;
    background: transparent !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
}

.avr-torque-account-dropdown li a:hover,
.avr-torque-account-dropdown li a:focus-visible {
    color: var(--avr-ink) !important;
    background: var(--avl-surface) !important;
    outline: 0;
}

.avr-torque-account-dropdown--guest {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.avr-torque-account-dropdown--guest p,
.avr-torque-account-dropdown--guest span {
    margin: 0;
    color: var(--avl-ink) !important;
    font-size: 12px;
    line-height: 1.45;
}

.avr-torque-account-dropdown--guest span a {
    display: inline;
    color: var(--avl-ink) !important;
    text-decoration: underline;
}

.avr-header.avr-header--functional .avr-torque-account-dropdown--guest > span > a,
.avr-header.avr-header--functional .avr-torque-account-dropdown--guest > span > a:hover,
.avr-header.avr-header--functional .avr-torque-account-dropdown--guest > span > a:focus-visible {
    color: var(--avl-ink) !important;
}

.avr-torque-account-dropdown__button {
    padding: 10px 12px;
    color: var(--avr-surface) !important;
    background: var(--avr-ink) !important;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.avr-torque-action--account .avr-torque-action__link > svg {
    flex: 0 0 auto;
    margin-left: auto;
    width: 14px;
    height: 14px;
}

.avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link > svg,
.avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link > svg * {
    color: var(--avl-bg) !important;
    stroke: currentColor !important;
}

.avr-header.avr-header--functional .avr-torque-action--account .avr-torque-action__link > i {
    color: var(--avl-bg) !important;
}

.avr-torque-action--account .avr-torque-action__link > i {
    margin-left: auto;
    font-size: 14px;
}

.avr-torque-action--wishlist .avr-torque-action__icon-link,
.avr-torque-action__cart-icon {
    width: 36px;
    height: 40px;
    justify-content: center;
    line-height: 1;
}

.avr-torque-action--wishlist .avr-torque-action__icon-link > svg,
.avr-torque-action__cart-icon > svg {
    width: 27px;
    height: 27px;
}

.avr-torque-action--wishlist .avr-torque-action__icon-link > i,
.avr-torque-action__cart-icon > i {
    font-size: 27px;
    line-height: 1;
}

.avr-torque-action__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid var(--avh-white);
    border-radius: 999px;
    color: var(--avr-surface);
    background: var(--avr-ink);
    font-size: 9px;
    font-weight: 700;
    line-height: 13px;
}

.avr-torque-action--wishlist .avr-torque-action__badge {
    min-width: 19px;
    height: 19px;
    font-size: 11px;
    line-height: 15px;
}

.avr-torque-action--cart .avr-torque-action__link {
    gap: 9px;
}

.avr-torque-action--cart .avr-torque-action__copy strong {
    font-size: 16px;
}

@media (max-width: 1199px) {
    .avr-functional__torque-actions {
        gap: 10px !important;
    }

    .avr-torque-action--account,
    .avr-torque-action--cart .avr-torque-action__copy {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .avelle-header *,
    .avelle-header *::before,
    .avelle-header *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Coordinated hero/slider layer. The same Visual Slider data drives all five systems. */
.avelle-preset-hero {
    --avh-hero-ink: #181512;
    --avh-hero-surface: #EBEBEB6dc;
    --avh-hero-bg: #fff;
    --avh-hero-copy: #fff;
    --avh-hero-banner-ink: #171512;
    --avh-hero-banner-bg: #EBEBEB7de;
    --avh-hero-trust-bg: #faf7f2;
    --avh-hero-trust-line: #e5ded4;
    --avh-hero-muted: #746b61;
    --avh-hero-accent: #000000;
    --avh-hero-overlay: linear-gradient(90deg, rgba(20, 18, 15, .54), rgba(20, 18, 15, .04) 68%);
    position: relative;
    padding: 24px 0 0;
    color: var(--avh-hero-ink);
    background: var(--avh-hero-bg);
}

.avelle-preset-hero *,
.avelle-preset-hero *::before,
.avelle-preset-hero *::after {
    box-sizing: border-box;
}

.avelle-preset-hero__layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.avelle-preset-hero__stage,
.avelle-preset-hero__carousel,
.avelle-preset-hero__carousel .owl-stage-outer,
.avelle-preset-hero__carousel .owl-stage,
.avelle-preset-hero__carousel .owl-item,
.avelle-preset-hero__slide,
.avelle-preset-hero__empty {
    height: 620px;
    min-height: 0;
}

.avelle-preset-hero__stage,
.avelle-preset-hero__slide {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: var(--avh-hero-surface);
}

.avelle-preset-hero__media,
.avelle-preset-hero__media picture,
.avelle-preset-hero__media img,
.avelle-preset-hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.avelle-preset-hero__media img,
.avelle-preset-hero__media video {
    object-fit: cover;
    object-position: center;
    transition: transform 1.1s cubic-bezier(.2, .6, .2, 1);
}

.avelle-preset-hero__slide:hover .avelle-preset-hero__media img {
    transform: scale(1.025);
}

.avelle-preset-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--avh-hero-overlay);
    pointer-events: none;
}

.avelle-preset-hero__content {
    position: relative;
    z-index: 2;
    width: min(560px, 55%);
    height: 100%;
    padding: clamp(42px, 6vw, 88px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--avh-hero-copy);
}

.avelle-preset-hero__content > span {
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.avelle-preset-hero__content h1 {
    max-width: 12ch;
    margin: 0;
    color: inherit;
    font-family: var(--avl-font-display, Georgia, serif);
    font-size: clamp(42px, 5vw, 76px);
    line-height: .98;
    font-weight: 560;
    letter-spacing: -.035em;
}

.avelle-preset-hero__content p {
    max-width: 46ch;
    margin: 24px 0 0;
    color: color-mix(in srgb, currentColor 84%, transparent);
    font-size: 15px;
    line-height: 1.62;
}

.avelle-preset-hero__content > a {
    min-height: 46px;
    margin-top: 30px;
    border-bottom: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.avelle-preset-hero__content > a svg {
    transition: transform .2s ease;
}

.avelle-preset-hero__content > a:hover svg {
    transform: translateX(4px);
}

.avelle-preset-hero__carousel .owl-nav button {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    border-radius: 999px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--avh-hero-copy) !important;
    background: rgba(17, 15, 13, .18) !important;
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
}

.avelle-preset-hero__carousel .owl-nav .owl-prev { left: 24px; }
.avelle-preset-hero__carousel .owl-nav .owl-next { right: 24px; }

.avelle-preset-hero__carousel .owl-dots {
    position: absolute;
    right: 30px;
    bottom: 24px;
    left: 30px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.avelle-preset-hero__carousel .owl-dots .owl-dot {
    width: 26px;
    height: 3px;
    border: 0;
    background: rgba(255, 255, 255, .45);
}

.avelle-preset-hero__carousel .owl-dots .owl-dot.active {
    background: var(--avh-hero-copy);
}

.avelle-preset-hero__banners {
    min-width: 0;
    display: grid;
    gap: 20px;
}

.avelle-preset-hero__banner {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    color: var(--avh-hero-banner-ink);
    background: var(--avh-hero-banner-bg);
}

.avelle-preset-hero__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .02) 72%);
}

.avelle-preset-hero__banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}

.avelle-preset-hero__banner:hover img {
    transform: scale(1.035);
}

.avelle-preset-hero__banner-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: clamp(24px, 3vw, 42px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.avelle-preset-hero__banner-copy small {
    margin-bottom: 11px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.avelle-preset-hero__banner-copy strong {
    max-width: 10ch;
    color: inherit;
    font-family: var(--avl-font-display, Georgia, serif);
    font-size: clamp(24px, 2.3vw, 38px);
    line-height: 1.03;
    font-weight: 560;
}

.avelle-preset-hero__banner-copy em {
    margin-top: 22px;
    border-bottom: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    line-height: 2;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.avelle-preset-hero__categories {
    min-width: 0;
    padding: 26px 24px;
    background: var(--avh-hero-trust-bg);
    border: 1px solid var(--avh-hero-trust-line);
}

.avelle-preset-hero__categories-label {
    display: block;
    margin-bottom: 16px;
    color: var(--avh-hero-muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.avelle-preset-hero__categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.avelle-preset-hero__categories li + li {
    border-top: 1px solid var(--avh-hero-trust-line);
}

.avelle-preset-hero__categories a {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--avh-hero-banner-ink);
    font-size: 13px;
    font-weight: 600;
}

.avelle-preset-hero__categories a:hover {
    color: var(--avh-hero-accent);
}

.avelle-preset-hero__empty {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.avelle-preset-hero__trust {
    margin-top: 20px;
}

/* Clean Contemporary â€” three coherent category panels. */
.avelle-preset-hero--clean-contemporary {
    --avh-hero-bg: #fffdf9;
    padding-top: 20px;
    background: var(--avh-hero-bg);
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__banners {
    display: contents;
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__stage,
.avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel,
.avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel .owl-stage-outer,
.avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel .owl-stage,
.avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel .owl-item,
.avelle-preset-hero--clean-contemporary .avelle-preset-hero__slide,
.avelle-preset-hero--clean-contemporary .avelle-preset-hero__banner {
    height: 550px;
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__content {
    width: 100%;
    padding: 38px;
    justify-content: flex-end;
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__content h1 {
    font-size: clamp(34px, 3.3vw, 52px);
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__content p {
    display: none;
}

.avelle-preset-hero--clean-contemporary .avelle-preset-hero__banner-copy {
    justify-content: flex-end;
}

/* Contemporary Warm â€” one conversion-led campaign, generous readable copy. */
.avelle-preset-hero--contemporary-warm {
    --avh-hero-bg: #fffaf5;
    --avh-hero-cta: #a24f55;
    --avh-hero-overlay: linear-gradient(90deg, rgba(73, 35, 38, .62), rgba(73, 35, 38, .06) 72%);
    background: var(--avh-hero-bg);
}

.avelle-preset-hero--contemporary-warm .avelle-preset-hero__stage,
.avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel,
.avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel .owl-stage-outer,
.avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel .owl-stage,
.avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel .owl-item,
.avelle-preset-hero--contemporary-warm .avelle-preset-hero__slide {
    height: 660px;
}

.avelle-preset-hero--contemporary-warm .avelle-preset-hero__content > a {
    min-width: 176px;
    padding: 0 24px;
    border: 0;
    border-radius: 4px;
    justify-content: center;
    color: var(--avh-hero-copy);
    background: var(--avh-hero-cta);
}

/* Functional Rich â€” categories, slider and campaign tiles in one grid. */
.avelle-preset-hero--functional-rich .avelle-preset-hero__layout {
    grid-template-columns: 250px minmax(0, 1fr) 310px;
}

.avelle-preset-hero--functional-rich .avelle-preset-hero__stage,
.avelle-preset-hero--functional-rich .avelle-preset-hero__carousel,
.avelle-preset-hero--functional-rich .avelle-preset-hero__carousel .owl-stage-outer,
.avelle-preset-hero--functional-rich .avelle-preset-hero__carousel .owl-stage,
.avelle-preset-hero--functional-rich .avelle-preset-hero__carousel .owl-item,
.avelle-preset-hero--functional-rich .avelle-preset-hero__slide,
.avelle-preset-hero--functional-rich .avelle-preset-hero__categories,
.avelle-preset-hero--functional-rich .avelle-preset-hero__banners {
    height: 520px;
}

.avelle-preset-hero--functional-rich .avelle-preset-hero__banners {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.avelle-preset-hero--functional-rich .avelle-preset-hero__content {
    width: min(520px, 74%);
    padding: 54px;
}

.avelle-preset-hero--functional-rich .avelle-preset-hero__content h1 {
    font-size: clamp(38px, 4vw, 62px);
}

.avelle-preset-hero--functional-rich .avelle-preset-hero__banner-copy {
    padding: 26px;
}

.avelle-preset-hero--functional-rich .avelle-preset-hero__banner-copy strong {
    font-size: 25px;
}

/* Editorial â€” edge-to-edge cinematic story, but dense continuation remains below. */
.avelle-preset-hero--editorial {
    --avh-hero-bg: #f9f6f0;
    padding-top: 0;
    background: var(--avh-hero-bg);
}

.avelle-preset-hero--editorial > .container-fluid {
    padding: 0;
}

.avelle-preset-hero--editorial .avelle-preset-hero__stage,
.avelle-preset-hero--editorial .avelle-preset-hero__carousel,
.avelle-preset-hero--editorial .avelle-preset-hero__carousel .owl-stage-outer,
.avelle-preset-hero--editorial .avelle-preset-hero__carousel .owl-stage,
.avelle-preset-hero--editorial .avelle-preset-hero__carousel .owl-item,
.avelle-preset-hero--editorial .avelle-preset-hero__slide {
    height: min(760px, calc(100vh - 122px));
    min-height: 620px;
}

.avelle-preset-hero--editorial .avelle-preset-hero__content {
    padding-left: max(6vw, calc((100vw - 1320px) / 2));
}

.avelle-preset-hero--editorial .avelle-preset-hero__trust {
    margin: 0 auto;
    padding: 0 var(--avl-gutter, 24px);
    max-width: 1370px;
}

/* Editorial Maximal â€” dark frame, graphic stage and campaign hotspots. */
.avelle-preset-hero--editorial-maximal {
    --avh-hero-bg: #151311;
    --avh-hero-copy: #f8f1e8;
    --avh-hero-cta: #e0a44f;
    --avh-hero-cta-ink: #151311;
    padding: 0;
    color: var(--avh-hero-copy);
    background: var(--avh-hero-bg);
}

.avelle-preset-hero--editorial-maximal > .container-fluid {
    padding: 0;
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__stage,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel .owl-stage-outer,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel .owl-stage,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel .owl-item,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__slide {
    height: 680px;
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__slide::after {
    background: linear-gradient(90deg, rgba(17, 14, 12, .78), rgba(17, 14, 12, .06) 68%), linear-gradient(0deg, rgba(224, 164, 79, .18), transparent 55%);
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__content h1 {
    font-size: clamp(54px, 7vw, 102px);
    text-transform: uppercase;
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__content > a {
    min-width: 180px;
    padding: 0 24px;
    border: 0;
    justify-content: center;
    color: var(--avh-hero-cta-ink);
    background: var(--avh-hero-cta);
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banners {
    position: absolute;
    top: 50%;
    right: 4vw;
    z-index: 5;
    display: flex;
    gap: 18px;
    transform: translateY(-50%);
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner {
    width: 142px;
    height: 142px;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 999px;
    color: var(--avh-hero-copy);
    background: rgba(21, 19, 17, .52);
    backdrop-filter: blur(12px);
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner::after,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner img,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner-copy small,
.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner-copy em {
    display: none;
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner-copy {
    padding: 22px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner-copy strong {
    max-width: 8ch;
    font-size: 18px;
}

.avelle-preset-hero--editorial-maximal .avelle-preset-hero__trust {
    margin: 0;
    padding: 0 var(--avl-gutter, 24px);
    color: var(--avh-hero-copy);
    background: var(--avh-hero-bg);
}

@media (max-width: 1199.98px) {
    .avelle-preset-hero--functional-rich .avelle-preset-hero__layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .avelle-preset-hero--functional-rich .avelle-preset-hero__banners {
        display: none;
    }

    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__banners {
        right: 24px;
    }

    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__banner:nth-child(2) {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .avelle-preset-hero {
        padding-top: 12px;
    }

    .avelle-preset-hero .container,
    .avelle-preset-hero .container-fluid {
        padding-right: 14px;
        padding-left: 14px;
    }

    .avelle-preset-hero__layout,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__layout,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__layout {
        display: block;
    }

    .avelle-preset-hero__categories,
    .avelle-preset-hero__banners,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__banners {
        display: none;
    }

    .avelle-preset-hero__stage,
    .avelle-preset-hero__carousel,
    .avelle-preset-hero__carousel .owl-stage-outer,
    .avelle-preset-hero__carousel .owl-stage,
    .avelle-preset-hero__carousel .owl-item,
    .avelle-preset-hero__slide,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__stage,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel .owl-stage-outer,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel .owl-stage,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__carousel .owl-item,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__slide,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__stage,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel .owl-stage-outer,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel .owl-stage,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__carousel .owl-item,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__slide,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__stage,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__carousel,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__carousel .owl-stage-outer,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__carousel .owl-stage,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__carousel .owl-item,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__slide,
    .avelle-preset-hero--editorial .avelle-preset-hero__stage,
    .avelle-preset-hero--editorial .avelle-preset-hero__carousel,
    .avelle-preset-hero--editorial .avelle-preset-hero__carousel .owl-stage-outer,
    .avelle-preset-hero--editorial .avelle-preset-hero__carousel .owl-stage,
    .avelle-preset-hero--editorial .avelle-preset-hero__carousel .owl-item,
    .avelle-preset-hero--editorial .avelle-preset-hero__slide,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__stage,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel .owl-stage-outer,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel .owl-stage,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__carousel .owl-item,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__slide {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .avelle-preset-hero__content {
        width: min(78%, 520px);
        padding: clamp(24px, 7vw, 48px);
    }

    .avelle-preset-hero__content > span {
        margin-bottom: 10px;
        font-size: 9px;
    }

    .avelle-preset-hero__content h1,
    .avelle-preset-hero--clean-contemporary .avelle-preset-hero__content h1,
    .avelle-preset-hero--functional-rich .avelle-preset-hero__content h1,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__content h1 {
        max-width: 12ch;
        font-size: clamp(30px, 8vw, 52px);
    }

    .avelle-preset-hero__content p {
        max-width: 34ch;
        margin-top: 12px;
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .avelle-preset-hero__content > a,
    .avelle-preset-hero--contemporary-warm .avelle-preset-hero__content > a,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__content > a {
        min-width: 0;
        min-height: 40px;
        margin-top: 16px;
        padding: 0;
        border: 0;
        border-bottom: 1px solid currentColor;
        color: inherit;
        background: transparent;
        font-size: 9px;
    }

    .avelle-preset-hero__carousel .owl-nav {
        display: none;
    }

    .avelle-preset-hero__carousel .owl-dots {
        right: 18px;
        bottom: 14px;
        left: 18px;
    }

    .avelle-preset-hero--editorial,
    .avelle-preset-hero--editorial-maximal {
        padding-top: 0;
    }

    .avelle-preset-hero--editorial .avelle-preset-hero__content {
        padding-left: clamp(24px, 7vw, 48px);
    }

    .avelle-preset-hero__trust,
    .avelle-preset-hero--editorial .avelle-preset-hero__trust,
    .avelle-preset-hero--editorial-maximal .avelle-preset-hero__trust {
        margin-top: 12px;
        padding: 0;
    }
}

@media (max-width: 575.98px) {
    .avelle-preset-hero__content {
        width: 84%;
        padding: 22px;
    }

    .avelle-preset-hero__content p {
        display: none;
    }
}
