/* ==========================================================================
   Zoriana Header — migrated from AppHeader.vue
   ========================================================================== */

.zoriana-header {
    background: #21212C;
    padding: 22px 0;
    color: #fff;
}

.zoriana-header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.zoriana-header__logo-wrapper {
    max-width: 150px;
    display: block;
}

.zoriana-header__logo-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Menu */
.zoriana-header__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zoriana-header__menu-link {
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    color: #fff;
    transition: .2s color ease-in-out;
}

.zoriana-header__menu-link:hover {
    color: var(--color--primary);
}

/* Cart icon */
.zoriana-header__icon {
    border: 1px solid var(--color--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0.5rem;
}

/* Hamburger */
.zoriana-header__hamburger {
    display: none;
}

.zoriana-bar input {
    display: none;
}

.zoriana-bar {
    display: block;
    position: relative;
    cursor: pointer;
    width: 25px;
    height: 20px;
}

.zoriana-bar span {
    position: absolute;
    width: 22.5px;
    height: 4px;
    background: #fff;
    border-radius: 50px;
    display: inline-block;
    transition: 0.3s ease;
    left: 0;
}

.zoriana-bar span.top { top: 0; }
.zoriana-bar span.middle { top: 8px; }
.zoriana-bar span.bottom { bottom: 0; }

.zoriana-bar input[type]:checked ~ span.top {
    transform: rotate(45deg);
    transform-origin: top left;
    width: 24px;
    left: 2.5px;
}

.zoriana-bar input[type]:checked ~ span.bottom {
    transform: rotate(-45deg);
    transform-origin: top left;
    width: 25px;
    bottom: -.5px;
}

.zoriana-bar input[type]:checked ~ span.middle {
    transform: translateX(-10px);
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .zoriana-header__wrapper {
        flex-direction: column;
    }
}

@media (max-width: 830px) {
    .zoriana-header__wrapper {
        position: relative;
        gap: 0;
    }

    .zoriana-header__hamburger {
        display: block;
        position: absolute;
        top: 3rem;
        right: 0;
    }

    .zoriana-header__logo-wrapper {
        align-self: flex-start;
        max-width: 100px;
    }

    .zoriana-header__menu {
        flex-direction: column;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: .3s all ease-in-out;
    }

    .zoriana-header__menu--visible {
        max-height: 500px;
        opacity: 1;
    }

    .zoriana-header__cart-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .zoriana-header__icon {
        width: 50px;
        height: 50px;
    }
}
