
/* header */

.header {
    padding: 25px 0;
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
}

.header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-menu.header-menu-mobile {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000;
    z-index: 1000;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.header-menu.header-menu-mobile.open {
    display: block;
    opacity: 1;
}

.header-menu-mobile-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.header-menu-mobile-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-menu-mobile .custom-logo-link img {
    filter: brightness(0) invert(1);
}

.header-menu-mobile .instagram {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-menu-toggle {
    display: none;
    cursor: pointer;
}

.header-menu-toggle.open {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.header-menu-toggle.open span {
    display: inline-block;
    height: 1.5px;
    width: 42px;
    background-color: var(--color-text-dark);
}

.header-menu-toggle.close {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 42px;
    height: 42px;
}

.header-menu-toggle.close span {
    position: absolute;
    display: inline-block;
    height: 1.5px;
    width: 42px;
    background-color: var(--color-white);
    transition: 0.3s;
}

.header-menu-toggle.close span:first-child {
    transform: rotate(45deg);
}

.header-menu-toggle.close span:last-child {
    transform: rotate(-45deg);
}

.header-menu ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style-type: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.header-menu.header-menu-mobile ul {
    flex-direction: column;
    gap: 50px;
}

.header-menu-mobile-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.header-menu .menu-item a,
.header-link {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-transform: uppercase;
    color: var(--color-text-dark);
    border-bottom: 1px solid var(--color-text-dark);
    transition: .3s;
    padding-bottom: 2px;
}

.header-menu.header-menu-mobile .menu-item a,
.header-menu.header-menu-mobile .header-link {
    font-family: var(--font-primary);
    color: var(--color-white);
    border-bottom-color: var(--color-white);
    font-size: 44px;
    line-height: 70%;
    text-transform: uppercase;
    padding: 0;
}

.header-menu .menu-item a:hover,
.header-link:hover {
    border-bottom-color: transparent;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.header-link svg {
    vertical-align: super;
}

.header-btn {
    position: relative;
    cursor: pointer;
    min-width: 138px;
    width: fit-content;
    max-width: 200px;
    padding: 8px 20px;
    aspect-ratio: 138/31;
    transition: .2s;
    background-color: var(--color-text-dark);
    -webkit-mask-image: url('data:image/svg+xml,<svg width="145" height="31" viewBox="0 0 145 31" xmlns="http://www.w3.org/2000/svg"><path fill="%230D0D0D" d="M12.493 31v-0.065c0-5.31-2.039-7.685-6.247-7.685H0.434C0.195 23.25 0 23.056 0 22.818V8.182C0 7.944 0.195 7.75 0.434 7.75h5.812c4.208 0 6.225-2.375 6.247-7.685V0H132.507v0.065c0 5.31 2.017 7.685 6.247 7.685h5.812c0.239 0 0.434 0.194 0.434 0.432v14.636c0 0.238-0.195 0.432-0.434 0.432h-5.812c-4.23 0-6.247 2.375-6.247 7.685V31H12.493Z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg width="145" height="31" viewBox="0 0 145 31" xmlns="http://www.w3.org/2000/svg"><path fill="%230D0D0D" d="M12.493 31v-0.065c0-5.31-2.039-7.685-6.247-7.685H0.434C0.195 23.25 0 23.056 0 22.818V8.182C0 7.944 0.195 7.75 0.434 7.75h5.812c4.208 0 6.225-2.375 6.247-7.685V0H132.507v0.065c0 5.31 2.017 7.685 6.247 7.685h5.812c0.239 0 0.434 0.194 0.434 0.432v14.636c0 0.238-0.195 0.432-0.434 0.432h-5.812c-4.23 0-6.247 2.375-6.247 7.685V31H12.493Z"/></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    
    /* Text styles */
    color: var(--color-white);
    font-weight: 400;
    font-size: 14px;
    font-family: var(--font-secondary);
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    word-wrap: break-word;
    white-space: normal;
    hyphens: auto;
}

.header-btn:hover {
    color: var(--color-white);
    opacity: 0.8;
}

.header-menu-mobile-inner .header-btn {
    font-size: 18px;
    min-width: 188px;
    aspect-ratio: 188/36;
    background-color: #F2EEE6;
    -webkit-mask-image: url('data:image/svg+xml,<svg width="145" height="31" viewBox="0 0 145 31" xmlns="http://www.w3.org/2000/svg"><path fill="%230D0D0D" d="M12.493 31v-0.065c0-5.31-2.039-7.685-6.247-7.685H0.434C0.195 23.25 0 23.056 0 22.818V8.182C0 7.944 0.195 7.75 0.434 7.75h5.812c4.208 0 6.225-2.375 6.247-7.685V0H132.507v0.065c0 5.31 2.017 7.685 6.247 7.685h5.812c0.239 0 0.434 0.194 0.434 0.432v14.636c0 0.238-0.195 0.432-0.434 0.432h-5.812c-4.23 0-6.247 2.375-6.247 7.685V31H12.493Z"/></svg>');
    mask-image: url('data:image/svg+xml,<svg width="145" height="31" viewBox="0 0 145 31" xmlns="http://www.w3.org/2000/svg"><path fill="%230D0D0D" d="M12.493 31v-0.065c0-5.31-2.039-7.685-6.247-7.685H0.434C0.195 23.25 0 23.056 0 22.818V8.182C0 7.944 0.195 7.75 0.434 7.75h5.812c4.208 0 6.225-2.375 6.247-7.685V0H132.507v0.065c0 5.31 2.017 7.685 6.247 7.685h5.812c0.239 0 0.434 0.194 0.434 0.432v14.636c0 0.238-0.195 0.432-0.434 0.432h-5.812c-4.23 0-6.247 2.375-6.247 7.685V31H12.493Z"/></svg>');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    color: var(--color-text-dark);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.header a.desktop {
    display: inline;
}

.header a.mobile {
    display: none;
}

.header-menu-mobile-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f2eee633;
    padding-top: 30px;
}

.header-menu-mobile-bottom span {
    font-size: 32px;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--color-white);
}

.header-menu-mobile-bottom a {
    font-size: 14px !important;
}

/* specifications */

/* header light */
.header.header-light {
    border-bottom-color: transparent;
}

.header.header-light .header-menu .menu-item a,
.header.header-light .header-link {
    color: #F2EEE6;
    border-bottom-color: #F2EEE6;
}

.header.header-light .header-logo img {
    filter: brightness(0) invert(1);
}

.header.header-light .header-menu-toggle.open span {
    background-color: #F2EEE6;
}

.header.header-light .header-right .header-link svg path {
    fill: #F2EEE6 !important;
}

.header.header-light .header-right .header-btn {
    background-color: #F2EEE6;
    color: #0D0D0D;
}

.header.header-light .header-right .header-btn:hover {
    background-color: #0D0D0D;
    color: #F2EEE6;
    opacity: 1;
}

/* hide logo on desktop */
@media (min-width: 991px) {
    .header.hide-logo-desktop .header-logo {
        display: none !important;
    }
}

/* Mobile styles for header button */
@media (max-width: 991px) {
    .header {
        padding: 18px 0;
        border-bottom: 1px solid rgba(13, 13, 13, 0.12);
    }

    .header-inner {
        height: 40px;
    }

    .header-menu {
        display: none;
    }

    .header-menu-toggle {
        display: block;
    }

    .header-menu-toggle.open {
        display: flex;
    }

    .header-btn {
        min-width: 80px;
        font-size: 10px;
        padding: 6px 19px;
    }
    
    .header a.desktop {
        display: none;
    }
    
    .header a.mobile {
        display: inline;
    }

    body.menu-open {
        overflow: hidden;
    }
}