@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Geologica&display=swap');
body {
    margin: 0;
    padding: 0;
    font-family: 'Geologica', sans-serif;
    color: white;
}.header {
     position: relative;
     width: 100%;
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     flex-wrap: wrap;
 }

.logo1 {
    position: absolute;
    top: 50px;
    left: 120px;
    max-width: 220px;
    height: auto;
    z-index: 10;
}

/* Правая часть */
.header-right {
    position: absolute;
    top: 26px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}
.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 350px; /* Увеличенная ширина как у div */
    height: 40px;
    border-radius: 6px;
    background: #fcfcfc;
    padding-left: 35px;
    padding-right: 15px;
    box-sizing: border-box;
    border: none;
    margin: 0;
    font: inherit;
    position: relative;
}


.search-input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.search-button {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.search-button img {
    width: 16px;
    height: 16px;
}

.orders-icon,
.cart-icon {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.orders-icon:hover,
.cart-icon:hover {
    transform: scale(1.1);
}

.burger {
    margin-left: 20px;
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Меню */
.burger-menu {
    position: absolute;
    top: 70px;
    right: 30px;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;

}

.burger-menu.show {
    display: flex;
}

.burger-menu.show .burger-btn {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.burger-menu.show .burger-btn:nth-child(1) { animation-delay: 0.1s; }
.burger-menu.show .burger-btn:nth-child(2) { animation-delay: 0.2s; }
.burger-menu.show .burger-btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.burger-btn {
    background: rgb(135, 68, 164);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    text-align: center;
}
.burger-btn:hover {
    background: rgb(155, 88, 184);
}

@media screen and (max-width: 480px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        position: relative;
        gap: 0;
        width: 100%;

    }

    .logo1 {
        position: absolute;
        top: 10px;
        left: 10px;
        max-width: 90px;
        height: auto;
        z-index: 2;
    }

    .orders-icon,
    .cart-icon,
    .burger {
        position: absolute;
        top: -10px;
        z-index: 2;
    }

    .orders-icon {
        right: 60px;

    }

    .cart-icon {
        right: 25px;
    }

    .burger {
        right: -20px;
    }

    .search-container {
        margin-top: 60px;
        width: 300px;
        padding-left: 35px;
        padding-right: 15px;
        padding-top: 5px;
        padding-bottom: 5px;
        box-sizing: border-box;
        height: 40px;
        border-radius: 6px;
        background: #fcfcfc;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .search-input {
        width: 100%;
        border: none;
        background: transparent;
        font-size: 14px;
        outline: none;
    }

    .search-icon {
        position: absolute;
        left: 10px;
        width: 16px;
        height: 16px;
    }
}
.logo-link {
    display: inline-block;
    text-decoration: none;
}

