.header {
    position: fixed;
    top: 0;
    z-index: 1001;
    background: white;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.header-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.header-product-column {
    min-width: 0;
}

.header-product-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-product-column li {
    font-size: clamp(14px, 1.1vw, 16px);
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
    transition: background-color 0.2s;
}

.product-column li:hover {
    background-color: #f8f8f8;
}

.header-product-column li:last-child {
    border-bottom: none;
}

.product-column a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 12px 8px;
    margin: -12px -8px;
    transition: color 0.2s, font-weight 0.2s;
}

.product-column a:hover {
    color: #8f0409;
    font-weight: bold;
}

#header-product-list {
    display: none;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1000px;
    min-width: 300px;
    height: auto;
    max-height: 70vh;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    box-sizing: border-box;
}

#header-list-btn:hover + #header-product-list {
    display: block;
}

#header-product-list:hover {
    display: block;
}

#header-korzina-list {
    display: none;
    position: absolute;
    top: 40px;
    right: 15%;
    width: 30vw;
    height: 40vh;
    right: -10%;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    z-index: 1000;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-width: 300px;
    max-height: 400px;
    box-sizing: content-box;
}

#header-korzina-btn:hover + #header-korzina-list,
#header-korzina-list:hover {
    display: block;
}

.header-cart-counter {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background-color: #8f0409;
    padding: 2px 5px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: -10px;
}

#header-korzina-list > h2 {
    margin-top: -5px;
    font-size: 20px;
}

#header-product-list li, #header-korzina-list li {
    font-size: inherit;
}

#header-korzina-list {
    width: 20vw;
    height: 40vh;
}

#header-cart-list li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

#header-cart-list li:last-child {
    border-bottom: none;
}

.header-icon {
    position: absolute;
    left: 49.4%;
    transform: translateX(-50%);
    top: -5px;
    margin: 0 auto;
    background-image: url('https://ordinari.ru/assets/img/1bef8c62-d2ff-46e2-afde-9d520c003890-9880832.png');
    background-size: 60px 60px;
    width: 60px;
    height: 60px;
    display: inline-block;
    vertical-align: middle;
}

.header-nav {
    margin-top: 20px;
    padding: 5px;
    position: relative;
    top: -10px;
    z-index: 1003;
    line-height: 1.333;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    font-family: Open Sans,sans-serif,system-ui;
    font-size: 15px;
    font-weight: 400;
}

@media (max-width: 960px) {
    .header-button {
        display: none;
    }
}

.header-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: white;
    z-index: 1000;
}

.header-sb-container_no-position {
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
    display: block;
    min-height: 75px;
    width: 100%;
    margin: 0 auto;
    max-width: 824px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}