/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */

.avlab-hero {
    position: relative;
}

.avlab-hero__viewport {
    position: relative;
    min-height: clamp(520px, 72vh, 720px);
    overflow: hidden;
    background: var(--avlab-navy, #173069);
}

.avlab-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    z-index: 0;
    background-color: #173069;
}

.avlab-hero__slide.is-active {
    z-index: 1;
    visibility: visible;
}

.avlab-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--avlab-hero-bg, none);
    background-position: center;
    background-size: cover;
}

.avlab-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgb(23 48 105 / 92%) 0%, rgb(23 48 105 / 72%) 34%, rgb(33 100 155 / 28%) 62%, rgb(0 0 0 / 18%) 100%),
        radial-gradient(ellipse 80% 60% at 85% 50%, rgb(33 100 155 / 16%), transparent 70%),
        linear-gradient(0deg, rgb(23 48 105 / 50%) 0%, transparent 42%);
    pointer-events: none;
}

.avlab-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: clamp(72px, 10vh, 108px) 0 clamp(88px, 12vh, 124px);
    text-align: left;
}

.avlab-hero__split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    width: min(1240px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.avlab-hero__title,
.elementor-widget-shortcode .avlab .avlab-hero__title {
    margin: 0;
    color: #fff;
    font-size: var(--avlab-display, clamp(2.4rem, 5vw, 4rem));
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.avlab-hero__subtitle {
    margin: 10px 0 0;
    max-width: 38rem;
    color: rgb(255 255 255 / 92%);
    font-size: clamp(1.05rem, 1.75vw, 1.28rem);
    font-weight: 600;
    line-height: 1.35;
}

.avlab-hero__text {
    max-width: 38rem;
    margin: 20px 0 32px;
    color: rgb(255 255 255 / 84%);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.65;
}

.avlab-hero__subtitle + .avlab-hero__text {
    margin-top: 12px;
}

.avlab-hero__copy .avlab-btn--light {
    transition:
        transform 0.35s var(--avlab-ease, ease),
        box-shadow 0.35s ease,
        background 0.35s ease,
        color 0.35s ease;
}

.avlab-hero__copy .avlab-btn--light::after {
    display: inline;
    margin-left: 4px;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        transform 0.35s var(--avlab-ease, ease),
        opacity 0.35s ease;
}

.avlab-hero__copy .avlab-btn--light:hover,
.avlab-hero__copy .avlab-btn--light:focus-visible {
    background: #fff;
    box-shadow:
        0 14px 36px rgb(0 0 0 / 28%),
        0 0 0 1px rgb(255 255 255 / 45%);
    color: #21649b;
    transform: translateY(-3px);
}

.avlab-hero__copy .avlab-btn--light:hover::after,
.avlab-hero__copy .avlab-btn--light:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}

.avlab-hero__art-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(300px, 32vw, 360px);
    min-height: clamp(300px, 32vw, 360px);
    max-height: clamp(300px, 32vw, 360px);
    padding: clamp(16px, 2vw, 24px);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 4px;
    background:
        radial-gradient(ellipse 72% 68% at 50% 48%, rgb(255 255 255 / 16%), rgb(255 255 255 / 4%) 68%, transparent 100%),
        linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(33 100 155 / 14%));
    box-shadow:
        0 24px 56px rgb(0 0 0 / 26%),
        inset 0 1px 0 rgb(255 255 255 / 18%);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.avlab-hero__art-frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    pointer-events: none;
}

.avlab-hero__art-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100% - 12px);
    max-height: calc(100% - 12px);
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 28px rgb(0 0 0 / 24%));
    transition: transform 0.45s var(--avlab-ease, ease);
}

.avlab-hero__slide.is-active .avlab-hero__art-frame:hover img {
    transform: scale(1.03);
}

.avlab-hero__slide .avlab-hero__copy > *,
.avlab-hero__slide .avlab-hero__split > .avlab-hero__copy > * {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.55s var(--avlab-ease, ease),
        transform 0.55s var(--avlab-ease, ease);
}

.avlab-hero__slide.is-active .avlab-hero__copy > *,
.avlab-hero__slide.is-active .avlab-hero__split > .avlab-hero__copy > * {
    opacity: 1;
    transform: translateY(0);
}

.avlab-hero__slide.is-active .avlab-hero__copy > *:nth-child(1),
.avlab-hero__slide.is-active .avlab-hero__split > .avlab-hero__copy > *:nth-child(1) {
    transition-delay: 0.08s;
}

.avlab-hero__slide.is-active .avlab-hero__copy > *:nth-child(2),
.avlab-hero__slide.is-active .avlab-hero__split > .avlab-hero__copy > *:nth-child(2) {
    transition-delay: 0.14s;
}

.avlab-hero__slide.is-active .avlab-hero__copy > *:nth-child(3),
.avlab-hero__slide.is-active .avlab-hero__split > .avlab-hero__copy > *:nth-child(3) {
    transition-delay: 0.2s;
}

.avlab-hero__slide.is-active .avlab-hero__copy > *:nth-child(4),
.avlab-hero__slide.is-active .avlab-hero__split > .avlab-hero__copy > *:nth-child(4) {
    transition-delay: 0.26s;
}

.avlab-hero__slide .avlab-hero__art-frame {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
    transition:
        opacity 0.65s var(--avlab-ease, ease),
        transform 0.65s var(--avlab-ease, ease);
}

.avlab-hero__slide.is-active .avlab-hero__art-frame {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition-delay: 0.18s;
}

.avlab-hero__doors {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.avlab-hero__slat {
    flex: 1;
    background: linear-gradient(180deg, #122a5c 0%, #173069 48%, #1b4d88 100%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
    transform: scaleY(0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.avlab-hero__slat:nth-child(odd) {
    transform-origin: top center;
}

.avlab-hero__slat:nth-child(even) {
    transform-origin: bottom center;
}

.avlab-hero__doors.is-closing .avlab-hero__slat {
    transform: scaleY(1);
}

.avlab-hero__doors.is-opening .avlab-hero__slat {
    transform: scaleY(0);
}

.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(1) { transition-delay: 0.02s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(2) { transition-delay: 0.05s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(3) { transition-delay: 0.08s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(4) { transition-delay: 0.11s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(5) { transition-delay: 0.14s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(6) { transition-delay: 0.17s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(7) { transition-delay: 0.2s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(8) { transition-delay: 0.23s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(9) { transition-delay: 0.26s; }
.avlab-hero__doors.is-closing .avlab-hero__slat:nth-child(10) { transition-delay: 0.29s; }

.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(10) { transition-delay: 0.02s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(9) { transition-delay: 0.05s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(8) { transition-delay: 0.08s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(7) { transition-delay: 0.11s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(6) { transition-delay: 0.14s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(5) { transition-delay: 0.17s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(4) { transition-delay: 0.2s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(3) { transition-delay: 0.23s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(2) { transition-delay: 0.26s; }
.avlab-hero__doors.is-opening .avlab-hero__slat:nth-child(1) { transition-delay: 0.29s; }

.avlab-hero__controls {
    position: absolute;
    z-index: 4;
    right: max(24px, calc(50% - 620px));
    bottom: 28px;
    left: max(24px, calc(50% - 620px));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0;
    border: 0;
    background: transparent;
}

.avlab-hero__status {
    display: flex;
    align-items: center;
    min-width: 52px;
    padding: 10px 14px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 4px;
    background: rgb(23 48 105 / 58%);
    backdrop-filter: blur(16px);
}

.avlab-hero__counter {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.avlab-hero__counter-sep {
    margin: 0 2px;
    opacity: 0.5;
}

.avlab-hero__counter-total {
    opacity: 0.65;
    font-weight: 600;
}

.avlab-hero__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 4px;
    background: rgb(23 48 105 / 58%);
    backdrop-filter: blur(16px);
}

.avlab-hero__dot {
    width: 8px;
    min-width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgb(255 255 255 / 40%);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.avlab-hero__dot.is-active {
    width: 24px;
    background: #fff;
}

/* ══════════════════════════════════════════
   ACCOUNT — layered overlap
   ══════════════════════════════════════════ */

.avlab-storefront .avlab-account {
    padding: clamp(32px, 4vw, 48px) 0;
    background: var(--avlab-surface, #f5f8fc);
}

.avlab-account__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    isolation: isolate;
    min-height: clamp(280px, 34vw, 340px);
}

.avlab-account__signup {
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
    padding-right: clamp(54%, 60vw, 64%);
    border: 1px solid rgb(23 48 105 / 22%);
    border-left: 4px solid #21649b;
    border-radius: 4px;
    background: linear-gradient(165deg, #173069 0%, #1a4580 52%, #21649b 100%);
    box-shadow: 0 10px 28px rgb(23 48 105 / 16%);
    color: #fff;
}

.avlab-account__signup-copy {
    position: relative;
    z-index: 1;
    max-width: clamp(260px, 32vw, 380px);
}

.avlab-account__signup::after {
    content: "";
    position: absolute;
    top: 0;
    right: 42%;
    width: min(100px, 14%);
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 10%));
    pointer-events: none;
}

.avlab-account__signup .avlab-kicker {
    margin-bottom: 10px;
    color: rgb(255 255 255 / 76%);
}

.avlab-account__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.05rem, 1.7vw, 1.32rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.avlab-account__text {
    margin: 10px 0 0;
    color: rgb(255 255 255 / 84%);
    font-size: 0.92rem;
    line-height: 1.5;
}

.avlab-account__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.avlab-account__actions .avlab-btn--compact {
    min-height: 42px;
    padding: 0 20px;
    font-size: 0.9rem;
}

.avlab-account__benefits {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-self: center;
    width: min(56%, 680px);
    margin: clamp(16px, 2.4vw, 24px) clamp(16px, 2.4vw, 24px) clamp(16px, 2.4vw, 24px) clamp(46%, 52vw, 54%);
    padding: clamp(22px, 2.8vw, 28px) clamp(24px, 3vw, 36px);
    border: 1px solid rgb(23 48 105 / 12%);
    border-radius: 4px;
    background: #fff;
    box-shadow:
        0 18px 42px rgb(23 48 105 / 18%),
        0 6px 16px rgb(23 48 105 / 10%);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.avlab-account__benefits::before {
    content: "";
    position: absolute;
    top: clamp(18px, 2.5vw, 24px);
    bottom: clamp(18px, 2.5vw, 24px);
    left: 0;
    width: 4px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, #21649b, #173069);
}

.avlab-account__panel:hover .avlab-account__benefits {
    transform: translateY(-3px);
    box-shadow:
        0 22px 48px rgb(23 48 105 / 22%),
        0 8px 20px rgb(23 48 105 / 12%);
}

.avlab-account__benefits-head {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #173069;
}

.avlab-account__benefits-title {
    margin: 0;
    color: #173069;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.avlab-account__list {
    display: grid;
    flex: 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, minmax(52px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid rgb(23 48 105 / 10%);
    border-radius: 4px;
    overflow: hidden;
}

.avlab-account__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-right: 1px solid rgb(23 48 105 / 8%);
    border-bottom: 1px solid rgb(23 48 105 / 8%);
    color: rgb(0 0 0 / 82%);
    font-size: clamp(0.88rem, 1.05vw, 0.94rem);
    line-height: 1.45;
    transition: background 0.2s ease;
}

.avlab-account__list li:nth-child(2n) {
    border-right: 0;
}

.avlab-account__list li:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.avlab-account__list li::before {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 1px;
    background: #21649b;
}

.avlab-account__list li:hover {
    background: rgb(33 100 155 / 6%);
}

/* ══════════════════════════════════════════
   CATALOG
   ══════════════════════════════════════════ */

.avlab-catalog {
    position: relative;
    padding: clamp(56px, 7vw, 88px) 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgb(33 100 155 / 6%), transparent 70%),
        var(--avlab-surface, #f5f8fc);
    scroll-margin-top: 96px;
}

@media (min-width: 960px) {
    .avlab-catalog {
        padding-top: clamp(28px, 3.2vw, 40px);
    }
}

.avlab-catalog__head {
    margin-bottom: 36px;
}

.avlab-catalog__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

.avlab-sidebar {
    position: sticky;
    top: 24px;
}

.avlab-sidebar__drawer {
    padding: 22px 20px;
    border: 1px solid var(--avlab-border, rgb(23 48 105 / 12%));
    border-radius: 4px;
    background: #fff;
    box-shadow: var(--avlab-shadow-sm, 0 4px 16px rgb(23 48 105 / 8%));
}

.avlab-sidebar__summary {
    display: none;
}

.avlab-sidebar__label {
    margin: 0 0 16px;
    color: var(--avlab-blue, #21649b);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.avlab-tree__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.avlab-tree__item + .avlab-tree__item,
.avlab-tree__all {
    margin-top: 3px;
}

.avlab-tree__thumb {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border: 1px solid rgb(23 48 105 / 10%);
    border-radius: 4px;
    background: var(--avlab-surface-2, #e9eff7);
    transition: transform 0.25s var(--avlab-ease, ease), box-shadow 0.25s ease;
}

.avlab-tree__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avlab-tree__thumb-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(23 48 105 / 55%), rgb(33 100 155 / 75%));
}

.avlab-tree__thumb--all .avlab-tree__thumb-fallback {
    background: linear-gradient(135deg, #173069, #21649b);
}

.avlab-tree__label {
    flex: 1;
    min-width: 0;
}

.avlab-tree__link,
.avlab-tree__node > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 4px;
    color: var(--avlab-navy, #173069);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.25s var(--avlab-ease, ease);
}

.avlab-tree__link:hover .avlab-tree__thumb,
.avlab-tree__node > summary:hover .avlab-tree__thumb {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgb(23 48 105 / 14%);
}

.avlab-tree__node > summary {
    list-style: none;
}

.avlab-tree__node > summary::-webkit-details-marker {
    display: none;
}

.avlab-tree__node > summary a,
.elementor-widget-shortcode .avlab .avlab-tree__node > summary a {
    flex: 1;
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.avlab-tree__node > summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: 0.45;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

.avlab-tree__node[open] > summary::after {
    transform: rotate(225deg) translateY(-1px);
}

.avlab-tree__count {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgb(23 48 105 / 6%);
    color: rgb(0 0 0 / 48%);
    font-size: 0.75rem;
    font-weight: 600;
}

.avlab-tree__link:hover,
.avlab-tree__node > summary:hover {
    background: rgb(33 100 155 / 8%);
    color: var(--avlab-blue, #21649b);
}

.avlab-tree__link[aria-current="page"],
.avlab-tree__link.is-current,
.avlab-tree__item.is-current > .avlab-tree__node > summary,
.avlab-tree__node > summary a[aria-current="page"] {
    background: linear-gradient(90deg, rgb(23 48 105 / 10%), rgb(33 100 155 / 8%));
    color: var(--avlab-navy, #173069);
}

.avlab-tree__node > .avlab-tree__list {
    margin: 4px 0 6px 10px;
    padding-left: 12px;
    border-left: 2px solid rgb(23 48 105 / 10%);
}

.avlab-tree__node .avlab-tree__link,
.avlab-tree__node .avlab-tree__node > summary {
    font-weight: 500;
    font-size: 0.88rem;
}

.avlab-catalog__main {
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--avlab-border, rgb(23 48 105 / 12%));
    border-radius: 4px;
    background: #fff;
    box-shadow: var(--avlab-shadow-sm, 0 4px 16px rgb(23 48 105 / 8%));
}

.avlab-search {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 4px;
    background: var(--avlab-surface, #f5f8fc);
}

.avlab-search__field {
    display: block;
    min-width: 0;
}

.avlab-search__field:first-child {
    flex: 1;
}

.avlab-search__input,
.avlab-search__select,
.elementor-widget-shortcode .avlab .avlab-search__input,
.elementor-widget-shortcode .avlab .avlab-search__select {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgb(23 48 105 / 14%);
    border-radius: 4px;
    background: #fff;
    color: var(--avlab-navy, #173069);
    font-size: 0.98rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.avlab-search__input:focus,
.avlab-search__select:focus {
    border-color: var(--avlab-blue, #21649b);
    box-shadow: 0 0 0 3px rgb(33 100 155 / 14%);
    outline: none;
}

.avlab-search__select {
    min-width: 200px;
}

.avlab-search .avlab-btn {
    flex-shrink: 0;
    min-width: 120px;
}

.avlab-count {
    margin: 18px 4px 20px;
    color: rgb(0 0 0 / 52%);
    font-size: 0.9rem;
    font-weight: 500;
}

.avlab-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 22px);
}

.avlab-grid--sale {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.avlab-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 56px 12px 24px;
}

.avlab-empty p {
    margin: 0;
    color: rgb(0 0 0 / 58%);
    font-size: 1.05rem;
}

.avlab-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--avlab-border, rgb(23 48 105 / 12%));
}

.avlab-pager .page-numbers,
.elementor-widget-shortcode .avlab .avlab-pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 4px;
    background: rgb(23 48 105 / 6%);
    color: var(--avlab-navy, #173069);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.avlab-pager .page-numbers:hover {
    background: rgb(33 100 155 / 14%);
    transform: translateY(-1px);
}

.avlab-pager .page-numbers.current,
.elementor-widget-shortcode .avlab .avlab-pager .page-numbers.current {
    background: linear-gradient(135deg, #173069, #21649b);
    box-shadow: var(--avlab-shadow-sm, 0 4px 16px rgb(23 48 105 / 8%));
    color: #fff;
}

/* ══════════════════════════════════════════
   CTA — hangar rail
   ══════════════════════════════════════════ */

.avlab-cta {
    position: relative;
    overflow: hidden;
    min-height: clamp(200px, 24vw, 240px);
    background: #173069;
}

.avlab-cta__bg {
    position: absolute;
    inset: 0;
    background-image: var(--avlab-cta-bg, linear-gradient(135deg, #173069, #21649b));
    background-position: center right;
    background-size: cover;
    transition: transform 0.6s var(--avlab-ease, ease);
}

.avlab-cta__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgb(23 48 105 / 94%) 0%, rgb(23 48 105 / 78%) 38%, rgb(23 48 105 / 32%) 62%, rgb(23 48 105 / 12%) 100%),
        linear-gradient(0deg, rgb(23 48 105 / 35%), transparent 42%);
    pointer-events: none;
}

.avlab-cta__stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: clamp(200px, 24vw, 240px);
    padding: clamp(24px, 3vw, 32px) 0;
}

.avlab-cta__rail {
    position: relative;
    display: flex;
    width: min(100%, 720px);
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgb(23 48 105 / 88%), rgb(33 100 155 / 72%));
    backdrop-filter: blur(12px);
    box-shadow:
        0 16px 40px rgb(0 0 0 / 22%),
        inset 0 1px 0 rgb(255 255 255 / 12%);
    transition:
        transform 0.35s var(--avlab-ease, ease),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.avlab-cta__rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(225deg, rgb(255 255 255 / 14%), transparent 58%);
    pointer-events: none;
}

.avlab-cta__accent {
    flex-shrink: 0;
    width: 4px;
    background: linear-gradient(180deg, #7eb8e8, #21649b 45%, #173069);
}

.avlab-cta__body {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 36px);
    padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.8vw, 28px);
    background-image:
        linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
    background-size: 24px 24px;
}

.avlab-cta__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: clamp(0.86rem, 1.1vw, 1rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.38;
}

.avlab-cta__action {
    position: relative;
    flex-shrink: 0;
    align-self: center;
    margin-left: clamp(16px, 2vw, 24px);
}

.avlab-cta__action .avlab-btn--cta {
    position: relative;
    z-index: 1;
    transition:
        transform 0.42s var(--avlab-ease, ease),
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.avlab-cta__trail {
    position: absolute;
    top: 50%;
    left: calc(100% + 10px);
    width: clamp(72px, 11vw, 128px);
    height: 1px;
    background: linear-gradient(90deg, rgb(255 255 255 / 72%), rgb(255 255 255 / 18%) 72%, transparent);
    pointer-events: none;
    opacity: 0.42;
    transform: translateY(-50%) scaleX(0.28);
    transform-origin: left center;
    transition:
        transform 0.42s var(--avlab-ease, ease),
        opacity 0.42s ease;
}

.avlab-cta__trail::after {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: rgb(255 255 255 / 82%);
    opacity: 0;
    transform: translateX(6px);
    transition:
        opacity 0.42s var(--avlab-ease, ease),
        transform 0.42s var(--avlab-ease, ease);
}

.avlab-cta:hover .avlab-cta__bg {
    transform: scale(1.04);
}

.avlab-cta:hover .avlab-cta__rail {
    transform: translateY(-3px);
    border-color: rgb(255 255 255 / 28%);
    box-shadow:
        0 22px 48px rgb(0 0 0 / 26%),
        inset 0 1px 0 rgb(255 255 255 / 16%);
}

.avlab-cta:hover .avlab-cta__trail {
    opacity: 0.92;
    transform: translateY(-50%) scaleX(0.82);
}

.avlab-cta:hover .avlab-cta__trail::after {
    opacity: 1;
    transform: translateX(0);
}

.avlab-cta:hover .avlab-btn--cta {
    transform: translateX(-5px);
}

/* ══════════════════════════════════════════
   SALE + TOP CATEGORIES
   ══════════════════════════════════════════ */

.avlab-sale {
    padding: clamp(56px, 7vw, 88px) 0;
    background:
        linear-gradient(180deg, #fff 0%, var(--avlab-surface, #f5f8fc) 100%);
}

.avlab-topcats {
    padding: clamp(20px, 2.5vw, 28px) 0;
    background: #fff;
}

#avlab-top-categories {
    scroll-margin-top: 96px;
}

.avlab-topcats__carousel {
    position: relative;
}

.avlab-topcats__viewport {
    overflow: hidden;
    padding: 4px 0 8px;
}

.avlab-topcats__track {
    display: flex;
    gap: 22px;
    transition: transform 0.5s var(--avlab-ease, ease);
}

.avlab-topcats__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.avlab-topcats__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #21649b;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.avlab-topcats__dot.is-active {
    background: #21649b;
    transform: scale(1.15);
}

.avlab-topcat {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgb(23 48 105 / 14%);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgb(23 48 105 / 7%);
    color: #173069;
    text-decoration: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.35s var(--avlab-ease, ease);
}

.avlab-topcat__media {
    position: relative;
    display: block;
    flex-shrink: 0;
    aspect-ratio: 5 / 4;
    min-height: 200px;
    overflow: hidden;
    background-color: var(--avlab-surface-2, #e9eff7);
    background-image: var(--avlab-topcat, linear-gradient(145deg, #173069 0%, #21649b 100%));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.5s var(--avlab-ease, ease);
}

.avlab-topcat__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgb(23 48 105 / 38%) 100%);
    opacity: 0.5;
    transition: opacity 0.35s ease;
}

.avlab-topcat__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 20px 22px 22px;
    border-top: 1px solid rgb(23 48 105 / 10%);
    background: #fff;
}

.avlab-topcat__name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #173069;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.avlab-topcat__name::after {
    content: "→";
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    color: var(--avlab-blue, #21649b);
    transition: opacity 0.3s ease, transform 0.3s var(--avlab-ease, ease);
}

.avlab-topcat__count {
    color: rgb(0 0 0 / 48%);
    font-size: 0.84rem;
    font-weight: 600;
}

.avlab-topcat:hover {
    border-color: rgb(33 100 155 / 40%);
    box-shadow:
        0 2px 4px rgb(23 48 105 / 6%),
        0 10px 28px rgb(23 48 105 / 14%);
}

.avlab-topcat:hover .avlab-topcat__media {
    transform: scale(1.04);
}

.avlab-topcat:hover .avlab-topcat__media::after {
    opacity: 0.8;
}

.avlab-topcat:hover .avlab-topcat__name {
    color: var(--avlab-blue, #21649b);
}

.avlab-topcat:hover .avlab-topcat__name::after {
    opacity: 1;
    transform: translateX(0);
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */

.avlab-contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #173069 0%, #1b4d88 50%, #21649b 100%);
    color: #fff;
}

.avlab-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgb(255 255 255 / 8%), transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 80%, rgb(255 255 255 / 6%), transparent 55%);
    pointer-events: none;
}

.avlab-contact__bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(40px, 5vw, 56px) 0;
}

.avlab-contact__title,
.elementor-widget-shortcode .avlab .avlab-contact__title {
    margin: 0;
    max-width: 36rem;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.avlab-contact__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 14px 0 0;
}

.avlab-contact__meta a,
.elementor-widget-shortcode .avlab .avlab-contact__meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(255 255 255 / 76%);
    font-size: 0.98rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.avlab-contact__meta a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(255 255 255 / 50%);
}

.avlab-contact__meta a:hover {
    color: #fff;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (min-width: 960px) {
    .avlab-sidebar__drawer:not([open]) > :not(summary) {
        display: block;
    }
}

@media (max-width: 1100px) {
    .avlab-grid,
    .avlab-grid--sale {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 959px) {
    .avlab-catalog__layout,
    .avlab-hero__split {
        grid-template-columns: 1fr;
    }

    .avlab-account__panel {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .avlab-account__signup {
        padding-right: clamp(24px, 3vw, 36px);
        border-bottom: 4px solid #21649b;
    }

    .avlab-account__signup-copy {
        max-width: none;
    }

    .avlab-account__signup::after {
        display: none;
    }

    .avlab-account__benefits {
        width: auto;
        margin: -18px 14px 0;
        transform: none;
        box-shadow:
            0 14px 32px rgb(23 48 105 / 16%),
            0 4px 12px rgb(23 48 105 / 8%);
    }

    .avlab-account__panel:hover .avlab-account__benefits {
        transform: none;
    }

    .avlab-sidebar {
        position: static;
    }

    .avlab-sidebar__drawer {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .avlab-sidebar__summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-radius: 4px;
        background: linear-gradient(135deg, #173069, #21649b);
        color: #fff;
        font-weight: 700;
        list-style: none;
        cursor: pointer;
    }

    .avlab-sidebar__summary::-webkit-details-marker {
        display: none;
    }

    .avlab-sidebar__label {
        display: none;
    }

    .avlab-sidebar__drawer[open] .avlab-tree {
        margin-top: 10px;
        padding: 16px;
        border: 1px solid var(--avlab-border, rgb(23 48 105 / 12%));
        border-radius: 4px;
        background: #fff;
    }

    .avlab-hero__split {
        width: min(1240px, calc(100% - 28px));
    }

    .avlab-account__list {
        grid-template-rows: auto;
    }

    .avlab-account__list li {
        border-right: 0;
    }

    .avlab-account__list li:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgb(23 48 105 / 8%);
    }

    .avlab-account__list li:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 720px) {
    .avlab-grid,
    .avlab-grid--sale,
    .avlab-account__list {
        grid-template-columns: 1fr;
    }

    .avlab-search {
        flex-wrap: wrap;
        padding: 14px;
    }

    .avlab-search__field,
    .avlab-search__field--sort,
    .avlab-search .avlab-btn {
        flex: 1 1 100%;
    }

    .avlab-contact__bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .avlab-cta__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .avlab-cta__action {
        width: 100%;
        margin-left: 0;
    }

    .avlab-cta__trail {
        width: clamp(48px, 18vw, 80px);
    }

    .avlab-cta:hover .avlab-cta__trail {
        transform: translateY(-50%) scaleX(0.72);
    }

    .avlab-hero__art-frame {
        width: min(100%, 360px);
        height: 280px;
        min-height: 280px;
        max-height: 280px;
        margin: 0 auto;
    }

    .avlab-hero__controls {
        border-radius: 4px;
    }
}

.avlab-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s var(--avlab-ease, ease),
        transform 0.65s var(--avlab-ease, ease);
}

.avlab-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .avlab-hero__slat,
    .avlab-hero__slide .avlab-hero__copy > *,
    .avlab-hero__slide.is-active .avlab-hero__art-frame:hover img,
    .avlab-hero__copy .avlab-btn--light,
    .avlab-hero__slide .avlab-hero__art-frame,
    .avlab-topcats__track,
    .avlab-topcat,
    .avlab-cta__bg,
    .avlab-cta__rail,
    .avlab-cta__trail,
    .avlab-account__benefits,
    .avlab-account__list li,
    .avlab-card,
    .avlab-reveal {
        transition: none;
    }

    .avlab-cta:hover .avlab-cta__bg,
    .avlab-cta:hover .avlab-cta__rail,
    .avlab-cta:hover .avlab-btn--cta,
    .avlab-cta:hover .avlab-cta__trail,
    .avlab-cta:hover .avlab-cta__trail::after,
    .avlab-account__panel:hover .avlab-account__benefits,
    .avlab-account__list li:hover,
    .avlab-reveal {
        transform: none;
        opacity: 1;
    }
}

/* ══════════════════════════════════════════
   ELEMENTOR / THEME OVERRIDES
   ══════════════════════════════════════════ */

.avlab-results.is-loading {
    opacity: 0.45;
    pointer-events: none;
}

body .avlab,
body .elementor-widget-shortcode .avlab {
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
}

body .avlab h1,
body .avlab h2,
body .avlab h3,
body .avlab p,
body .elementor-widget-shortcode .avlab h1,
body .elementor-widget-shortcode .avlab h2,
body .elementor-widget-shortcode .avlab h3,
body .elementor-widget-shortcode .avlab p {
    font-family: inherit !important;
    text-align: left !important;
}

body .avlab .avlab-hero__title,
body .elementor-widget-shortcode .avlab .avlab-hero__title {
    color: #fff !important;
}

body .avlab .avlab-title,
body .avlab .avlab-card__title,
body .avlab .avlab-account__benefits-title,
body .avlab .avlab-topcat__name,
body .elementor-widget-shortcode .avlab .avlab-title,
body .elementor-widget-shortcode .avlab .avlab-account__benefits-title {
    color: #173069 !important;
}

body .avlab-storefront .avlab-account__title,
body .avlab .avlab-account__title,
body .avlab .avlab-cta__title,
body .avlab .avlab-on-dark,
body .elementor-widget-shortcode .avlab .avlab-account__title,
body .elementor-widget-shortcode .avlab .avlab-cta__title,
body .elementor-widget-shortcode .avlab .avlab-on-dark {
    color: #fff !important;
}

body .avlab button.avlab-topcats__dot,
body .elementor-widget-shortcode .avlab button.avlab-topcats__dot {
    width: 10px !important;
    min-width: 10px !important;
    max-width: 10px !important;
    height: 10px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #21649b !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
}

body .avlab button.avlab-topcats__dot.is-active {
    background: #21649b !important;
}

body .avlab button.avlab-iconbtn,
body .elementor-widget-shortcode .avlab button.avlab-iconbtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgb(255 255 255 / 30%) !important;
    border-radius: 4px !important;
    background: rgb(255 255 255 / 12%) !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

body .avlab button.avlab-iconbtn:hover {
    background: rgb(255 255 255 / 22%) !important;
}

body .avlab button.avlab-hero__dot,
body .elementor-widget-shortcode .avlab button.avlab-hero__dot {
    width: 8px !important;
    min-width: 8px !important;
    max-width: none !important;
    height: 8px !important;
    min-height: 8px !important;
    max-height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: rgb(255 255 255 / 40%) !important;
    box-shadow: none !important;
}

body .avlab button.avlab-hero__dot.is-active,
body .elementor-widget-shortcode .avlab button.avlab-hero__dot.is-active {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    background: #fff !important;
}

body .avlab a.avlab-btn,
body .avlab button.avlab-btn,
body .elementor-widget-shortcode .avlab a.avlab-btn,
body .elementor-widget-shortcode .avlab button.avlab-btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    border-radius: 4px !important;
    font-family: inherit !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body .avlab a.avlab-btn--ghost,
body .elementor-widget-shortcode .avlab a.avlab-btn--ghost {
    background: transparent !important;
    color: #173069 !important;
    box-shadow: inset 0 0 0 1.5px rgb(23 48 105 / 35%) !important;
}

body .avlab-storefront .avlab-account__signup a.avlab-btn--ghost {
    color: #fff !important;
    box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 40%) !important;
}

body .avlab a.avlab-btn--ghost:hover,
body .avlab a.avlab-btn--ghost:focus-visible,
body .elementor-widget-shortcode .avlab a.avlab-btn--ghost:hover {
    background: #173069 !important;
    color: #fff !important;
}

body .avlab-storefront .avlab-account__signup a.avlab-btn--ghost:hover {
    background: rgb(255 255 255 / 16%) !important;
    color: #fff !important;
}

body .avlab .avlab-catalog__layout {
    display: grid !important;
    float: none !important;
}

body .avlab .avlab-empty,
body .avlab .avlab-catalog__main,
body .avlab .avlab-card,
body .avlab .avlab-grid {
    float: none !important;
    clear: none !important;
}

body .avlab .avlab-empty {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
}
