/* =========================================================
   VIA AURA HEADER
========================================================= */

.va-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.va-header__inner {
    width: 100%;
    max-width: 1600px;
    min-height: 104px;

    margin: 0 auto;
    padding: 0 54px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
}


/* =========================================================
   LEFT
========================================================= */

.va-header__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 48px;
}


/* hamburger */

.va-menu-toggle {
    width: 28px;
    height: 28px;

    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 5px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.va-menu-toggle span {
    display: block;

    width: 20px;
    height: 1px;

    background: var(--va-navy);

    transition:
        transform 250ms ease,
        opacity 250ms ease;
}


/* =========================================================
   NAVIGATION
========================================================= */

.va-header__nav {
    display: flex;
    align-items: center;

    gap: 42px;
}

.va-header__nav a,
.va-header__text-link {

    position: relative;

    font-family: var(--va-font-body);

    font-size: 11px;
    line-height: 1;

    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;
    text-decoration: none;

    color: var(--va-navy);

    transition: color 250ms ease;
}

.va-header__nav a::after,
.va-header__text-link::after {

    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: -7px;

    height: 1px;

    background: var(--va-gold);

    transition: right 250ms ease;
}

.va-header__nav a:hover,
.va-header__text-link:hover {
    color: var(--va-gold);
}

.va-header__nav a:hover::after,
.va-header__text-link:hover::after {
    right: 0;
}


/* =========================================================
   CENTER LOGO
========================================================= */

.va-header__center {
    display: flex;

    justify-content: center;
    align-items: center;

    padding: 8px 40px;
}

.va-header__logo {
    display: block;

    line-height: 0;

    text-decoration: none;
}

.va-header__logo img {

    display: block;

    width: auto;

    height: 78px;

    max-width: 180px;

    object-fit: contain;

    transition:
        transform 300ms ease,
        opacity 300ms ease;
}

.va-header__logo:hover img {
    transform: translateY(-1px);
    opacity: 0.9;
}


/* =========================================================
   RIGHT
========================================================= */

.va-header__right {

    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 34px;
}


/* =========================================================
   ICONS
========================================================= */

.va-header__icon {

    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color: var(--va-navy);

    text-decoration: none;

    transition:
        color 250ms ease,
        transform 250ms ease;
}

.va-header__icon:hover {

    color: var(--va-gold);

    transform: translateY(-1px);
}

.va-header__icon svg {
    width: 23px;
    height: 23px;
}


/* =========================================================
   CART BADGE
========================================================= */

.va-header__cart {
    margin-left: 2px;
}

.va-cart-count {

    position: absolute;

    top: -4px;
    right: -7px;

    min-width: 17px;
    height: 17px;

    padding: 0 4px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--va-gold);
    color: #fff;

    border-radius: 50px;

    font-family: var(--va-font-body);

    font-size: 9px;
    line-height: 17px;

    font-weight: 600;
}

.va-cart-count:empty {
    display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .va-header__inner {
        padding-left: 30px;
        padding-right: 30px;
    }

    .va-header__left {
        gap: 30px;
    }

    .va-header__nav {
        gap: 24px;
    }

    .va-header__right {
        gap: 24px;
    }

    .va-header__logo img {
        height: 70px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 820px) {

    .va-header__inner {

        min-height: 78px;

        padding: 0 20px;

        grid-template-columns: 1fr auto 1fr;
    }

    .va-header__nav {
        display: none;
    }

    .va-header__left {
        gap: 0;
    }

    .va-header__center {
        padding: 5px 15px;
    }

    .va-header__logo img {

        height: 58px;

        max-width: 130px;
    }

    .va-header__right {
        gap: 15px;
    }

    .va-header__text-link {
        display: none;
    }

    .va-header__right .va-header__icon:first-of-type {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .va-header__inner {
        min-height: 72px;

        padding-left: 16px;
        padding-right: 16px;
    }

    .va-header__logo img {
        height: 52px;
        max-width: 115px;
    }

    .va-menu-toggle {
        width: 25px;
    }

}