.dru-header {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.3;
}

.dru-header__inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 28px;
}

.dru-header__logo {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.dru-header__logo img {
    width: 126px;
    height: 126px;
    object-fit: contain;
}

.dru-mobile-actions {
    display: none;
}

.dru-mobile-points {
    display: none;
}

.dru-mobile-menu__head,
.dru-mobile-menu-backdrop {
    display: none;
}

.dru-header__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.dru-header__top {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--divider);
}

.dru-nav--top {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 45px;
}

.dru-nav__link {
    font-size: 15px;
    line-height: 19.5px;
    font-weight: 400;
    color: var(--text-primary);
    white-space: nowrap;
    transition: color .15s ease;
}
.dru-nav__link:hover { color: var(--accent); }

.dru-points {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dru-points__widget {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
}

.dru-points__balance {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dru-points__icon { opacity: .9; width: 20px; height: 20px; object-fit: contain; }
.dru-points__value {
    font-size: 15px;
    line-height: 18px;
    color: var(--text-primary);
    white-space: nowrap;
}
.dru-points__number {
    color: var(--accent);
    font-weight: 700;
}
.dru-points__suffix {
    color: var(--text-primary);
}
.dru-points__login-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.dru-points__login-link:hover {
    color: var(--accent, #6bb022);
}

.dru-points__vline {
    width: 1px;
    height: 34px;
    background: var(--border-dark);
}

.dru-points__expire {
    display: flex;
    align-items: center;
    gap: 7px;
}
.dru-points__label {
    font-size: 15px;
    color: #ffffff;
}
.dru-timer {
    display: flex;
    align-items: center;
    gap: 3px;
}
.dru-timer__unit {
    background: var(--accent);
    color: #090909;
    font-weight: 700;
    font-size: 13px;
    line-height: 15.6px;
    padding: 4px 7px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
}

@media (max-width: 1500px) {
    .dru-header__logo img { width: 110px; height: 110px; }
}
.dru-timer__sep {
    color: var(--accent);
    font-size: 15px;
}

.dru-city {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 15px;
}
.dru-city:hover { color: var(--accent); }
.dru-city img { width: 20px; height: 20px; object-fit: contain; }

.dru-header__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.dru-header__bottom > form.dru-search {
    flex: 1;
    max-width: 568px;
}

.dru-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 18px;
    border-radius: 15px;
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 19.5px;
    background: transparent;
    transition: border-color .15s ease, background .15s ease;
}
.dru-btn:hover { border-color: var(--accent); }
.dru-btn img { flex: none; width: 36px; height: 36px; object-fit: contain; }

.dru-btn--catalog {
    background: var(--bg-dark);
    border-color: var(--accent);
    color: var(--accent);
}
.dru-btn--catalog:hover { background: #111; }

.dru-btn--loyalty { white-space: normal; }

.dru-search {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    border-radius: 15px;
    border: 1px solid var(--border-dark);
    background: transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.dru-search__icon { opacity: .7; flex: none; width: 26px; height: 26px; object-fit: contain; }
.dru-search__input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 15px;
}
.dru-search__input::placeholder { color: var(--text-muted); }

.dru-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107, 176, 34, .2);
}
.dru-search:focus-within .dru-search__icon { opacity: 1; }

.dru-btn--cart { position: relative; }
.dru-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 90px;
    background: var(--accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}

.dru-login__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.dru-login__main { color: var(--text-primary); font-size: 15px; }
.dru-login__sub  { color: var(--text-muted);  font-size: 13px; }

@media (max-width: 1240px) {
    .dru-header__inner { gap: 18px; }
    .dru-header__logo img { width: 90px; height: 90px; }
    .dru-nav--top { gap: 22px; }
    .dru-search { max-width: 360px; }
}

@media (max-width: 1024px) {
    .dru-header__logo img { width: 72px; height: 72px; }
    .dru-header__inner { height: auto; padding: 14px 0; align-items: stretch; }
    .dru-header__body { gap: 16px; }
    .dru-nav--top { gap: 18px; overflow-x: auto; }
    .dru-search { max-width: 260px; }
}

@media (max-width: 820px) {
    .dru-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--divider);
    }
    .dru-header__inner {
        position: relative;
        display: grid;
        grid-template-columns: 64px 1fr;
        align-items: center;
        gap: 12px;
        height: 76px;
        padding: 8px 16px;
    }
    .dru-header__logo {
        justify-content: flex-start;
        height: 60px;
    }
    .dru-header__logo img {
        width: 60px;
        height: 60px;
    }
    .dru-mobile-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }
    .dru-mobile-cart,
    .dru-mobile-menu-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid var(--border-dark);
        border-radius: 14px;
        background: #090909;
    }
    .dru-mobile-cart img { width: 28px; height: 28px; object-fit: contain; }
    .dru-mobile-cart .dru-badge {
        top: -5px;
        right: -5px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 12px;
        line-height: 20px;
    }
    .dru-mobile-menu-toggle {
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .dru-mobile-menu-toggle > img {
        display: block;
        width: 24px;
        height: 24px;
    }
    .dru-mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--accent);
        transition: transform .2s ease, opacity .2s ease;
    }
    .dru-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .dru-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .dru-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .dru-header__body {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 16px;
        border-top: 1px solid var(--divider);
        border-bottom: 1px solid var(--divider);
        background: #090909;
        box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
    }
    .dru-header__body.is-open {
        display: flex;
    }
    .dru-header__top {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-bottom: 16px;
    }
    .dru-nav--top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 12px;
        overflow: visible;
    }
    .dru-nav__link {
        display: flex;
        align-items: center;
        min-height: 44px;
        white-space: normal;
    }
    .dru-points {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .dru-points__widget {
        min-height: 48px;
        height: auto;
        padding: 8px 12px;
        justify-content: space-between;
    }
    .dru-points__balance,
    .dru-points__expire { min-width: 0; }
    .dru-points__value { white-space: normal; }
    .dru-points__vline { height: 36px; }
    .dru-city { min-height: 44px; }
    .dru-header__bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .dru-header__bottom .dru-btn {
        width: 100%;
        min-width: 0;
        height: 54px;
        padding: 0 12px;
        gap: 9px;
        border-radius: 14px;
    }
    .dru-header__bottom .dru-btn img { width: 30px; height: 30px; }
    .dru-btn--cart { display: none !important; }
    .dru-btn--login { grid-column: 2; }
    .dru-search,
    .dru-header__bottom > form.dru-search {
        grid-column: 1 / -1;
        grid-row: 2;
        order: initial;
        width: 100%;
        max-width: none;
        height: 52px;
        padding: 0 16px;
    }
    body.dru-mobile-menu-open { overflow: hidden; }
}

@media (max-width: 420px) {
    .dru-nav--top { grid-template-columns: 1fr; }
    .dru-header__bottom { grid-template-columns: 1fr; }
    .dru-btn--login { grid-column: 1; }
    .dru-search,
    .dru-header__bottom > form.dru-search {
        grid-column: 1;
        grid-row: auto;
    }
    .dru-points__widget { align-items: flex-start; flex-direction: column; }
    .dru-points__vline { display: none; }
}

/* Мобильная шапка по Figma 2153:9886 */
@media (max-width: 600px) {
    .dru-header {
        height: 80px;
        border: 0;
        border-radius: 0 0 20px 20px;
    }
    .dru-header__inner {
        grid-template-columns: 62px minmax(0, 1fr) 48px;
        gap: 0;
        height: 80px;
        padding: 9px 20px;
    }
    .dru-header__logo,
    .dru-header__logo img {
        width: 62px;
        height: 62px;
    }
    .dru-mobile-points {
        justify-self: center;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: 174px;
        height: 64px;
        border: 2px solid #373737;
        border-radius: 10px;
        overflow: hidden;
        font-family: var(--font);
        color: #f4f6ef;
    }
    .dru-mobile-points__balance {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 30px;
        padding: 4px 6px 3px;
        font-size: 15px;
        line-height: 18px;
        white-space: nowrap;
    }
    .dru-mobile-points__balance img { width: 20px; height: 20px; }
    .dru-mobile-points__balance strong { color: #6bb022; }
    .dru-mobile-points__balance a {
        max-width: 135px;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
    }
    .dru-mobile-points__expire {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 30px;
        padding: 3px 6px 4px;
        border-top: 2px solid #373737;
        color: #fff;
        font-size: 12px;
        line-height: 15px;
    }
    .dru-mobile-points__timer {
        display: flex;
        align-items: center;
        gap: 2px;
    }
    .dru-mobile-points__timer b {
        min-width: 27px;
        padding: 3px 4px;
        border-radius: 4px;
        background: #6bb022;
        color: #fff;
        font-size: 11px;
        line-height: 14px;
        text-align: center;
    }
    .dru-mobile-points__timer i {
        color: #6bb022;
        font-size: 13px;
        font-style: normal;
    }
    .dru-mobile-actions { width: 48px; }
    .dru-mobile-cart { display: none; }
    .dru-mobile-menu-toggle {
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 8px;
        background: #6bb022;
    }
    .dru-mobile-menu-toggle span {
        width: 15px;
        height: 2px;
        background: #263b12;
    }
    .dru-header__body {
        top: 80px;
        max-height: calc(100dvh - 80px);
    }
}

@media (max-width: 370px) {
    .dru-header__inner { grid-template-columns: 56px minmax(0, 1fr) 44px; padding-inline: 12px; }
    .dru-header__logo,
    .dru-header__logo img { width: 56px; height: 56px; }
    .dru-mobile-points { width: 166px; }
    .dru-mobile-menu-toggle,
    .dru-mobile-actions { width: 44px; }
}

/* Удобная мобильная панель меню */
@media (max-width: 820px) {
    .dru-header { z-index: 1300; }

    .dru-header__body {
        display: flex;
        position: fixed;
        z-index: 2;
        top: 8px;
        right: 8px;
        bottom: auto;
        left: auto;
        width: min(calc(100vw - 16px), 380px);
        height: auto;
        max-height: calc(100dvh - 16px);
        padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 24px;
        box-sizing: border-box;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #090909;
        box-shadow: -20px 0 60px rgba(0, 0, 0, .55);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        justify-content: flex-start;
        gap: 18px;
        transition: transform .28s ease, visibility 0s linear .28s;
    }
    .dru-header__body.is-open {
        display: flex;
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform .28s ease;
    }

    .dru-mobile-menu__head {
        order: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
    }
    .dru-mobile-menu__head strong {
        color: #f4f6ef;
        font-family: var(--font);
        font-size: 24px;
        line-height: 31px;
    }
    .dru-mobile-menu__close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid #373737;
        border-radius: 12px;
        background: #181818;
        cursor: pointer;
    }
    .dru-mobile-menu__close img { width: 20px; height: 20px; }

    .dru-header__bottom {
        order: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .dru-search,
    .dru-header__bottom > form.dru-search {
        order: -1;
        grid-column: 1 / -1;
        grid-row: auto;
        width: 100%;
        max-width: none;
        height: 52px;
        padding: 0 16px;
        border-radius: 14px;
        background: #181818;
    }
    .dru-header__bottom .dru-btn {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 64px;
        padding: 0 12px;
        gap: 9px;
        border: 1px solid #373737;
        border-radius: 14px;
        background: #111;
        box-sizing: border-box;
    }
    .dru-header__bottom .dru-btn:hover,
    .dru-header__bottom .dru-btn:focus-visible {
        border-color: #6bb022;
        background: rgba(107, 176, 34, .1);
    }
    .dru-header__bottom .dru-btn img { width: 28px; height: 28px; }
    .dru-header__bottom .dru-btn span {
        min-width: 0;
        line-height: 1.15;
    }
    .dru-btn--cart { display: flex !important; }
    .dru-header__bottom .dru-btn--cart .dru-badge {
        top: 6px;
        right: auto;
        left: 34px;
    }
    .dru-btn--login { grid-column: auto; }
    .dru-login__main { font-size: 14px; }
    .dru-login__sub { font-size: 11px; }

    .dru-header__top {
        order: 2;
        display: block;
        padding: 0;
        border: 0;
    }
    .dru-nav--top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        overflow: visible;
        border-top: 1px solid #242424;
    }
    .dru-nav__link {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0 4px;
        border-bottom: 1px solid #242424;
        color: #f4f6ef;
        font-size: 16px;
        line-height: 21px;
        white-space: normal;
    }
    .dru-nav__link::after {
        content: '';
        width: 8px;
        height: 8px;
        margin-left: auto;
        border-top: 1.5px solid #6bb022;
        border-right: 1.5px solid #6bb022;
        transform: rotate(45deg);
    }
    .dru-points,
    .dru-city { display: none; }

    .dru-mobile-menu-backdrop {
        display: block;
        position: fixed;
        z-index: 1;
        inset: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        background: rgba(0, 0, 0, .72);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .24s ease, visibility 0s linear .24s;
    }
    .dru-mobile-menu-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity .24s ease;
    }
}

@media (max-width: 370px) {
    .dru-header__body {
        right: 8px;
        width: calc(100vw - 16px);
        padding-inline: 14px;
    }
    .dru-header__bottom { gap: 8px; }
    .dru-header__bottom .dru-btn { padding-inline: 9px; }
}
