/* Шапка */
.header {
    height: 65px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
    padding: 0 10px 0 10px;
}

.header .container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px;
    flex-wrap: nowrap;
    margin-top: 15px;
}

.container-header {
    max-width: 1500px;
    box-sizing: border-box;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    transition: height 0.3s ease;
}

/* Навигация */
.navbar {
    flex-shrink: 1;
    overflow: hidden;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: row !important;
    flex-wrap: nowrap;
}

.nav-list li {
    display: inline-block;
    white-space: nowrap;
}

.nav-link {
    padding: 6px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 14px;
}

.nav-link.active {
    background: #007bff;
    color: #fff;
}

.navbar-text {
    padding: 6px 12px;
    color: #333;
    white-space: nowrap;
    font-size: 14px;
}

.btn-link {
    background: none;
    border: none;
    cursor: pointer;
    color: #007bff;
    padding: 6px 12px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Языки */
.languages {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    white-space: nowrap;
    float: none;
    padding-top: 0;
    flex-wrap: nowrap;
}

.lang-link {
    padding: 4px 6px;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    font-size: 14px;
}

.lang-link.selected {
    background: #007bff;
    color: #fff;
}

/* Корзина в шапке */
.cart-main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: auto;
    min-width: 120px;
    height: 40px;
    padding: 0 15px;
    background-image: none;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.cart-main:hover {
    background-image: none;
    background-color: #e9ecef;
    color: #333;
}

.cart_btn {
    transition: all 0.5s ease-in;
    color: #333;
}

.cart-main:hover .cart_btn {
    color: #333;
}