.bwa-archive-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.bwa-archive-hero__image {
    position: absolute;
    max-width: none;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.bwa-archive-hero__image--left {
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    width: auto;
    height: 100%;
    object-position: left center;
    opacity: 1;
    mix-blend-mode: normal;
}

.bwa-archive-hero__watermark {
    position: absolute;
    right: max(-44px, -2.3vw);
    top: 0;
    z-index: 2;
    height: 100%;
    width: auto;
    max-width: 58vw;
    object-fit: contain;
    object-position: right center;
    color: rgba(2, 162, 214, 0.11);
    font-family: var(--font-primary);
    font-size: clamp(86px, 10.4vw, 200px);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: 0;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.bwa-archive-hero__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 295px;
    margin-top: var(--klube-header-height, 84px);
    padding: 45px clamp(20px, 5vw, 80px);
    overflow: hidden;
}

.bwa-archive-hero__top::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(128.85deg, var(--bwa-archive-hero-bg, #006a99) 0%, var(--bwa-archive-hero-bg-secondary, #00b4ff) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.bwa-archive-hero__content {
    position: relative;
    z-index: 3;
    display: flex;
    width: min(100%, 760px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
}

.bwa-archive-hero__breadcrumb {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.26px;
    white-space: nowrap;
}

.bwa-archive-hero__breadcrumb-link,
.bwa-archive-hero__breadcrumb-current {
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
}

.bwa-archive-hero__breadcrumb-link:hover,
.bwa-archive-hero__breadcrumb-link:focus-visible {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bwa-archive-hero__breadcrumb-separator {
    width: 3px;
    height: 6px;
    flex: 0 0 auto;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: currentColor;
}

.bwa-archive-hero__title {
    margin: -7px 0 0;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.bwa-archive-hero__description {
    max-width: 620px;
    margin: -8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.bwa-archive-hero__actions {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bwa-archive-hero__button {
    display: inline-flex;
    min-width: 206px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border: 1px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.bwa-archive-hero__button--primary {
    border-color: #ffffff;
    background-color: #ffffff;
    color: var(--bwa-archive-hero-bg, #02a2d6);
}

.bwa-archive-hero__button:hover,
.bwa-archive-hero__button:focus-visible {
    transform: translateY(-1px);
    color: var(--bwa-archive-hero-bg, #02a2d6);
    background-color: #ffffff;
    text-decoration: none;
}

.bwa-archive-hero__button--primary:hover,
.bwa-archive-hero__button--primary:focus-visible {
    color: #006a99;
}

.site-template--archive .site-template__content {
    margin: 0;
    padding: 90px 0;
}

.site-template--bwa_recette {
    background: #F5F7FA;
}

.bwa-archive-controls {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    max-width: 1474px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 auto 42px;
    padding: 0;
}

.bwa-archive-controls__filters {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 2px 8px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(0, 106, 153, 0.45) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.bwa-archive-controls__filter,
.bwa-archive-controls__reset,
.bwa-archive-controls__sort-trigger {
    min-height: 44px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.bwa-archive-controls__filter {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border: 1px solid rgba(15, 28, 42, 0.16);
    background: #ffffff;
    color: #151a1c;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    scroll-snap-align: start;
}

.bwa-archive-controls__filter:hover,
.bwa-archive-controls__filter:focus-visible {
    border-color: #02a2d6;
    color: #02a2d6;
    transform: translateY(-1px);
}

.bwa-archive-controls__filter.is-active {
    border-color: #02a2d6;
    background: #02a2d6;
    color: #ffffff;
}

.bwa-archive-controls__sort {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 13px;
}

.bwa-archive-controls__sort-label {
    margin: 0;
    color: #151a1c;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bwa-archive-controls__sort-dropdown {
    position: relative;
}

.bwa-archive-controls__sort-trigger {
    display: inline-flex;
    min-width: 188px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 46px 10px 22px;
    border: 1px solid rgba(15, 28, 42, 0.16);
    background-color: #ffffff;
    background-image: linear-gradient(45deg, transparent 50%, #151a1c 50%), linear-gradient(135deg, #151a1c 50%, transparent 50%);
    background-position: calc(100% - 23px) 50%, calc(100% - 16px) 50%;
    background-repeat: no-repeat;
    background-size: 7px 7px, 7px 7px;
    color: #151a1c;
    cursor: pointer;
    text-transform: uppercase;
    list-style: none;
}

.bwa-archive-controls__sort-trigger::-webkit-details-marker {
    display: none;
}

.bwa-archive-controls__sort-trigger:focus-visible {
    outline: 2px solid #02a2d6;
    outline-offset: 3px;
}

.bwa-archive-controls__sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: flex;
    min-width: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(15, 28, 42, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 28, 42, 0.14);
}

.bwa-archive-controls__sort-dropdown:not([open]) .bwa-archive-controls__sort-menu {
    display: none;
}

.bwa-archive-controls__sort-option {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 12px 18px;
    color: #151a1c;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.bwa-archive-controls__sort-option:hover,
.bwa-archive-controls__sort-option:focus-visible,
.bwa-archive-controls__sort-option.is-active {
    background: #02a2d6;
    color: #ffffff;
    text-decoration: none;
}

.bwa-archive-controls__reset {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 1px solid rgba(15, 28, 42, 0.16);
    color: #151a1c;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.bwa-archive-controls__reset:hover,
.bwa-archive-controls__reset:focus-visible {
    border-color: #02a2d6;
    color: #02a2d6;
    text-decoration: none;
}

.bwa-archive-load-more {
    display: flex;
    width: min(100%, 308px);
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin: 48px auto 0;
    color: #000000;
}

.bwa-archive-load-more__count {
    margin: 0;
    color: #000000;
    font-family: "Jost", var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0.02em;
    text-align: center;
}

.bwa-archive-load-more__count strong {
    font-family: var(--font-primary);
    font-weight: 700;
}

.bwa-archive-load-more__progress {
    position: relative;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 50px;
    background: #d3d8df;
}

.bwa-archive-load-more__progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bwa-archive-load-more-progress, 0%);
    border-radius: inherit;
    background: linear-gradient(135deg, #02a2d6 0%, #1ec9ff 50%);
    transition: width 0.25s ease;
}

.bwa-archive-load-more__button {
    display: inline-flex;
    width: min(100%, 249px);
    min-height: 45px;
    align-items: center;
    justify-content: center;
    padding: 9px 33px;
    border: 2px solid #02a2d6;
    border-radius: 50px;
    background: transparent;
    color: #02a2d6;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bwa-archive-load-more__button:hover,
.bwa-archive-load-more__button:focus-visible {
    background: #02a2d6;
    color: #ffffff;
    transform: translateY(-1px);
}

.bwa-archive-load-more__button:focus-visible {
    outline: 2px solid #02a2d6;
    outline-offset: 4px;
}

.bwa-archive-elementor-content {
    position: relative;
    z-index: 2;
}

.bwa-archive-elementor-content:empty {
    display: none;
}

.bwa-shop-floating-pwa {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 900;
    display: inline-flex;
    min-width: min(330px, calc(100vw - 40px));
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    background: #0f1c2a;
    box-shadow: 0 18px 42px rgba(15, 28, 42, 0.24);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%) translateY(0);
    transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.2s ease;
}

.bwa-shop-floating-pwa:hover,
.bwa-shop-floating-pwa:focus-visible {
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 22px 48px rgba(15, 28, 42, 0.3);
}

.bwa-shop-floating-pwa:focus-visible {
    outline: 2px solid #02a2d6;
    outline-offset: 4px;
}

.bwa-shop-floating-pwa.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(calc(100% + 32px + env(safe-area-inset-bottom)));
}

@media (min-width: 1025px) {
    .bwa-shop-floating-pwa {
        display: none;
    }
}

@media (max-width: 1023px) {
    .bwa-archive-hero {
        min-height: 620px;
    }

    .bwa-archive-hero__top {
        margin-top: 0;
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .bwa-archive-hero__actions {
        flex-wrap: wrap;
    }

    .bwa-archive-hero__button {
        min-width: 188px;
        padding-inline: 28px;
    }

    .bwa-archive-hero__image {
        width: min(75vw, 720px);
    }

    .bwa-archive-hero__watermark {
        right: -30px;
        bottom: 42px;
        max-width: 70vw;
        font-size: clamp(70px, 15vw, 150px);
    }


    .bwa-archive-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        margin-bottom: 32px;
    }

    .bwa-archive-controls__filters {
        justify-content: flex-start;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .bwa-archive-controls__filters::-webkit-scrollbar {
        display: none;
    }

    .bwa-archive-controls__sort {
        justify-content: space-between;
    }

    .bwa-archive-controls__sort-trigger {
        min-width: min(58vw, 220px);
    }
}

@media (max-width: 767px) {
    .bwa-archive-hero {
        min-height: 0px;
        margin-top: 90px;
    }

    .bwa-archive-hero__top {
        min-height: 350px;
        padding: 100px 20px 34px;
    }

    .bwa-archive-hero__content {
        gap: 18px;
    }

    .bwa-archive-hero__breadcrumb {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .bwa-archive-hero__title {
        font-size: 42px;
    }

    .bwa-archive-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .bwa-archive-hero__button {
        width: min(100%, 320px);
    }

    .bwa-archive-hero__image {
        width: 100vw;
        opacity: 0.72;
    }

    .bwa-archive-hero__watermark {
        right: -18px;
        bottom: 34px;
        max-width: 95vw;
        font-size: 72px;
        opacity: 0.8;
    }

    .bwa-archive-controls__sort {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .bwa-archive-controls__sort-dropdown,
    .bwa-archive-controls__sort-trigger,
    .bwa-archive-controls__reset {
        width: 100%;
    }

    .bwa-archive-controls__sort-menu {
        left: 0;
        right: auto;
    }
}
