header .content .logo,
header .content .right a,
header .content .right div {
    margin-bottom: 10px;
}

header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

header .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 9px 0;
}

.admin-bar header {
    top: 32px;
}

@media screen and (min-width: 590px) {
    header .logo a img {
        width: 99px;
        height: 60px;
        z-index: 11;
        position: relative;
    }
}

header .right {
    display: flex;
    justify-content: flex-end;
}

header .right ul {
    margin-right: 10px;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    margin-top: 23px;
}

header .right ul li {
    margin-right: 40px;
}

header .right .pop_link {
    width: 200px;
    height: 35px;
    text-align: center;
    border-radius: 107px;
    background-color: #0094ff;
    text-decoration: none;
    line-height: 35px;
    color: #ffffff;
    font-family: Circe;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.07px;
    margin-top: 14px;
    transition: 0.3s all ease-in-out;
}

header .right .pop_link:hover {
    background-color: #0065c2;
}

header .right .pop_link:active {
    background-color: #0080dc;
}

header .right .phone {
    height: 35px;
    width: 170px;
    text-align: center;
    border-radius: 107px;
    border: 1px solid #304965;
    text-decoration: none;
    color: #304965;
    font-family: Circe;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.07px;
    text-transform: uppercase;
    line-height: 35px;
    margin-left: 40px;
    margin-top: 14px;
}

header .right .buttons {
    justify-content: flex-start;
    display: flex;
}

.home .header {
    background: transparent;
}

.header {
    font-family: Raleway, Circe, sans-serif;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: #1c1c1c;
    transition: 0.3s all ease-in-out;
}

.header__logo-img.mobile {
    display: none;
}

.header.active {
    background-color: #1c1c1c;
    border-bottom: 1px solid #1f1f1f;
    transition: 0.3s all ease-in-out;
}

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

.header a svg {
    position: relative;
    margin-left: 7px;
    top: 0px;
}

.header__nav a svg {
    top: -3px;
}

.header__nav a:hover {
    color: #0168f9;
}

.header__nav-item {
    margin-right: 40px;
    font-weight: 500;
    font-size: 18px;
    height: 100%;
    display: flex;
    align-items: center;
}

.header__nav-item.submenu {
    position: relative;
}

.header__nav-item.hidden {
    display: none;
}

.header__nav-item.submenu:hover .header__nav-link-submemu,
.header__nav-item.submenu:focus-within .header__nav-link-submemu {
    opacity: 1;
    visibility: visible;
}

.header__nav-link-submemu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 400px;
    left: 0;
    top: 100%;
    font-size: 16px;
    background-color: #1c1c1c;
    padding: 15px 20px;
    list-style: none;
    border: 1px solid #1f1f1f;
    border-radius: 0 0 8px 8px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

.header__nav-link-submemu--columns {
    display: flex;
    gap: 0px;
    width: auto;
    min-width: 480px;
}

.header__nav-submenu-column {
    flex: 1;
}

.header__nav-submenu-column:first-child {
    flex: 0 0 65%;
}

.header__nav-submenu-column:last-child {
    flex: 0 0 35%;
}

.header__nav-submenu-column h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8f8f8f;
}

.header__nav-submenu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav-link-submemu li {
    padding: 8px 0px;
}

.header__nav-link-submemu #zakaz-link::before {
    left: 0;
    content: "";
    background-image: url(/wp-content/themes/delaweb/delaweb/img/menu_icon_zakaz-link.png);
    margin-right: 10px;
    z-index: 11;
    width: 22px;
    height: 22px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.header__nav-link-submemu #zakaz-link {
    position: relative;
    padding-left: 32px;
    display: inline-flex;
    align-items: center;
}

.header .content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 84px;
    background: transparent;
}

.header__nav-list {
    list-style: none;
    display: flex;
    height: 84px;
}

.header__contact-btn {
    display: flex;
    padding: 10px 24px;
    font-size: 18px;
    line-height: 22px;
    border-radius: 4px;
    background-color: #0168f9;
    transition: background-color 0.3s ease;
}

.header__contact-btn span {
    margin-right: 10px;
}

.header__contact-btn:hover {
    background-color: #00458e;
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 20px;
        /* width: auto; */
    }

    .header .content-container {
        height: 56px;
        padding: 0 20px;
        width: auto;
    }

    .header__logo-img.mobile {
        display: block;
    }

    .header__logo-img {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #0168f9;
        border-radius: 8px;
    }

    .mobile-menu-toggle button {
        background-color: transparent;
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    .mobile-menu-toggle svg {
        color: #fff;
    }

    .menu-icon {
        width: 24px;
        height: 24px;
        position: relative;
    }

    .menu-icon path {
        transition: transform 0.3s ease;
        transform-origin: center;
    }

    .menu-close {
        opacity: 0;
        transform: rotate(90deg);
    }

    .menu-open {
        opacity: 1;
        transform: rotate(0deg);
    }

    .header__nav-list {
        display: none;
        flex-direction: column;
        background-color: #1c1c1c;
        width: 100%;
        padding: 30px 30px 15px 30px;
        position: absolute;
        top: 56px;
        left: 0;
        height: auto;
    }

    .header__contact-btn.mobile-none {
        display: none;
    }

    .header__nav-item.hidden {
        display: block;
        margin-right: 0;
    }

    .header__nav-item.hidden svg {
        top: 0;
    }

    .header__nav-list.active {
        display: flex;
    }

    .header__nav-item {
        margin-bottom: 32px;
    }

    .header__contact-btn {
        margin-top: 30px;
        justify-content: center;
    }

    .header__nav .header__contact-btn:hover {
        color: #fff;
    }

    .header__nav-item.submenu {
        display: block;
    }

    .header__nav-link-submemu {
        height: 0;
        opacity: 0;
        padding: 0;
        visibility: hidden;
        position: static;
        width: 100%;
        list-style: none;
        border: none;
        /* Убираем бордер */
        border-radius: 0;
        /* Убираем закругленные углы */
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .header__nav-link-submemu--columns {
        flex-direction: column;
        gap: 0;
        min-width: 100%;
    }

    .header__nav-link-submemu--columns.active {
        padding-top: 20px;
    }

    .header__nav-submenu-column {
        width: 100%;
    }

    .header__nav-submenu-column h4 {
        margin: 20px 0 12px;
    }

    .header__nav-submenu-column:first-child h4 {
        margin-top: 0;
    }

    .header__nav-link-submemu #zakaz-link::before {
        left: 0;
    }

    .header__nav-link-submemu li {
        padding: 12px 25px;
    }

    .header__nav-link-submemu li:first-child {
        padding: 32px 25px 12px 25px;
    }

    .header__nav-item.submenu:hover .header__nav-link-submemu {
        opacity: 0;
        visibility: hidden;
    }

    .submenu.active .header__nav-link-submemu {
        display: block;
    }
}

.content-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

@media (min-width: 1441px) {
    .content-container {
        max-width: 1400px;
    }
}


@media (max-width: 1280px) {
    .content-container {
        padding: 0 20px;
    }

    .header .content-container {
        padding: 0 20px;
    }
}