/* =========================================================
   COLORVELLA GLOBAL HEADER
========================================================= */

.cv-global-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(
            180deg,
            rgba(7,8,18,.96),
            rgba(7,8,18,.90)
        );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cv-global-header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cv-global-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;

    color: white;
    text-decoration: none;
}

.cv-global-brand-icon {
    font-size: 29px;
    line-height: 1;
    flex: 0 0 auto;
}

.cv-global-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.cv-global-brand-name {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.04em;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 50%,
            #f65ed2 76%,
            #9d6cff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cv-global-brand-tagline {
    margin-top: 4px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.cv-global-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cv-global-nav a {
    position: relative;
    color: rgba(255,255,255,.86);
    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        color .18s ease,
        transform .18s ease;
}

.cv-global-nav a:hover {
    color: white;
    transform: translateY(-1px);
}

.cv-global-nav a.cv-active {
    color: #ff68d8;
}

.cv-global-nav a.cv-shop-link {
    padding: 9px 15px;
    border-radius: 999px;

    border: 1px solid rgba(235,83,255,.34);

    background:
        linear-gradient(
            135deg,
            rgba(255,67,195,.13),
            rgba(103,82,255,.13)
        );
}

.cv-global-nav a.cv-shop-link:hover,
.cv-global-nav a.cv-shop-link.cv-active {
    color: white;

    border-color: rgba(255,91,218,.62);

    box-shadow:
        0 0 22px rgba(215,70,255,.14);
}

.cv-global-menu-button {
    display: none;

    width: 44px;
    height: 44px;

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

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);

    color: white;
    background: rgba(255,255,255,.05);

    font-size: 21px;
    cursor: pointer;
}

.cv-global-mobile-nav {
    display: none;
}

@media (max-width: 900px) {

    .cv-global-header-inner {
        width: min(100% - 28px, 1180px);
        min-height: 66px;
    }

    .cv-global-nav {
        display: none;
    }

    .cv-global-menu-button {
        display: inline-flex;
    }

    .cv-global-mobile-nav {
        display: none;

        width: min(100% - 28px, 1180px);
        margin: 0 auto;
        padding: 8px 0 18px;

        grid-template-columns: 1fr;
        gap: 7px;
    }

    .cv-global-mobile-nav.cv-open {
        display: grid;
    }

    .cv-global-mobile-nav a {
        padding: 12px 14px;

        border-radius: 12px;

        color: rgba(255,255,255,.88);
        text-decoration: none;

        font-weight: 800;
        font-size: 14px;

        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.07);
    }

    .cv-global-mobile-nav a.cv-active {
        color: #ff6fdc;
        border-color: rgba(255,101,221,.25);
    }
}

@media (max-width: 480px) {

    .cv-global-brand-tagline {
        display: none;
    }

    .cv-global-brand-name {
        font-size: 19px;
    }
}
