:root {
    --accent: #1fc602;
    --background: #fff;
}

/* ===== ШАПКА ===== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Лого */
.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Основной блок меню */
.header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(128, 128, 128, 0.9);
    padding: 10px 30px;
    border-radius: 30px;
    margin-left: 40px;
}

/* Навигация */
.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Правая часть */
.right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    color: white;
    font-weight: 600;
}

/* Кнопки */
.btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #148a01;
}

.btn-white {
    background: white;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--accent);
    color: #fff;
}

/* Поиск в шапке */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    border: 2px solid var(--accent);
}

.search-icon:hover {
    transform: scale(1.1);
    background: var(--accent);
}

.search-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.search-icon:hover svg {
    stroke: white;
}

.search-box {
    position: absolute;
    right: 45px;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

.search-active .search-box {
    width: 250px;
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 1024px) {

    .right-side--mobile {
        display: flex;
    }

    .right-side {
        display: none
    }
}