* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 1200px;
    height: 80px;

    margin: 0 auto;
}

.header-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header-menu a {
    text-decoration: none;
    color: #222;
}

.header-buttons {
    display: flex;
    gap: 12px;
}

.header-buttons a {
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid #333;
    border-radius: 6px;
}

body {
    background: red !important;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex: 1;
    margin-left: 60px;
}

.header-menu {
    flex: 1;
}

.header-menu ul {
    display: flex;
    justify-content: center;
    gap: 40px;

    list-style: none;
}

.header-menu a {
    text-decoration: none;
    color: #222;
}

.header-logo {
    width: 180px;
}

.header-logo img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Родительский пункт меню */
.header-menu li {
    position: relative;
}

/* Подменю */
.header-menu ul ul {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;

    background: #fff;
    padding: 10px 0;

    list-style: none;
    border: 1px solid #ddd;
}

/* Показываем подменю при наведении */
.header-menu li:hover > ul {
    display: block;
}

/* Пункты подменю */
.header-menu ul ul li {
    width: 100%;
}

.header-menu ul ul a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}