/* Top meta bar, main header and navigation. */

.header-meta {
    background: linear-gradient(180deg, #243240 0%, #213042 100%);
    color: rgba(255, 250, 244, 0.9);
    font-size: 14px;
}

.header-meta__row,
.header-main,
.header-nav {
    display: flex;
    align-items: center;
}

.header-meta__row {
    justify-content: space-between;
    gap: 18px;
    min-height: 44px;
}

.header-meta__copy,
.header-meta__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.header-meta__info a,
.header-meta__info span {
    color: rgba(255, 250, 244, 0.9);
}

.header-meta__info a:hover,
.header-meta__info a:focus-visible {
    color: var(--accent-strong);
}

.header-meta__info .contact-icon-link {
    --contact-icon-size: 28px;
    --contact-icon-gap: 10px;
    min-height: 28px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 248, 238, 0.16);
    background: rgba(255, 248, 238, 0.08);
    color: #fffaf3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-meta__delivery {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    color: #fffaf3;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.header-meta__delivery strong {
    color: var(--accent-strong);
    font-weight: 700;
}

.header-meta__delivery-mobile {
    display: none;
}

.site-header-shell {
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: none;
}

.site-header {
    position: relative;
    z-index: 1;
}

.header-main {
    justify-content: space-between;
    box-sizing: border-box;
    width: min(calc(100% - 18px), 2020px);
    gap: clamp(24px, 1.8vw, 38px);
    margin: 0 auto;
    padding: 18px 24px 16px;
    background: #fff;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 380px;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.brand-copy__title {
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: clamp(28px, 2.3vw, 48px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text);
}

.header-contact-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

.phone-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.phone-stack__link {
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
}

.phone-stack__link.contact-icon-link {
    --contact-icon-size: 38px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header__menu-toggle {
    display: none;
}

.header-nav-shell {
    background: linear-gradient(180deg, var(--accent-strong) 0%, var(--accent) 48%, var(--accent-2) 100%);
    border-top: 1px solid rgba(255, 239, 226, 0.18);
    border-bottom: 1px solid rgba(229, 98, 17, 0.22);
    box-shadow: 0 10px 22px rgba(245, 122, 31, 0.24);
}

.header-nav {
    gap: 20px;
    min-height: 84px;
}

.catalog-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-strong) 0%, var(--accent) 48%, var(--accent-2) 100%);
    color: #fffaf3;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(245, 122, 31, 0.24);
}

.catalog-badge:hover,
.catalog-badge:focus-visible {
    color: #fffaf3;
}

.main-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.main-nav__item {
    position: relative;
    flex: 0 0 auto;
}

.main-nav__item > a {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 10px 14px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.94);
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav__item > a:hover,
.main-nav__item > a:focus-visible {
    background: rgba(255, 248, 238, 0.16);
    color: #fffaf3;
}

.nav-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    display: grid;
    min-width: 310px;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(245, 122, 31, 0.34);
    background: linear-gradient(180deg, rgba(255, 249, 241, 0.98) 0%, rgba(243, 230, 207, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(30, 34, 43, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.main-nav__item:hover .nav-dropdown,
.main-nav__item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 13px 16px;
    border-radius: 16px;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    background: linear-gradient(180deg, rgba(255, 138, 43, 0.96) 0%, rgba(245, 122, 31, 0.96) 48%, rgba(229, 98, 17, 0.96) 100%);
    color: #fffaf3;
    transform: translateX(2px);
}
