/* ==========================================================================
   Header — topbar, main bar (logo · search · actions), navigation,
   mega menus, off-canvas drawers, mobile tab bar
   ========================================================================== */

/* ---------- Top bar ---------- */
.topbar { background: var(--night-gradient); color: rgba(255, 255, 255, .72); font-size: var(--fs-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 40px; }
.topbar__ticker { position: relative; flex: 1; min-width: 0; height: 40px; overflow: hidden; }
.topbar__msg {
    position: absolute; inset: 0; display: flex; align-items: center; gap: .55rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    opacity: 0; transform: translateY(100%); transition: opacity .45s, transform .45s var(--ease);
}
.topbar__msg.is-active { opacity: 1; transform: none; }
.topbar__msg.is-leaving { opacity: 0; transform: translateY(-100%); }
.topbar__msg .icon { width: 16px; height: 16px; color: var(--amber); }
.topbar__msg strong { color: #fff; }
.topbar__msg a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.topbar__links { display: flex; align-items: center; gap: 1.4rem; flex-shrink: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 15px; height: 15px; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .18); }
.topbar__phone { color: #fff; font-weight: 700; }

/* ---------- Sticky header shell ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(1.6) blur(14px);
    transition: transform .35s var(--ease), box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(11, 21, 48, .35); }
.site-header.is-hidden { transform: translateY(-100%); }

/* ---------- Main bar ---------- */
.header-main__inner {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
    gap: clamp(1rem, 2.5vw, 3rem); min-height: 84px;
}
.header-main__burger { display: none; }

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo__img { width: auto; height: 30px; transition: opacity .2s; }
.logo:hover .logo__img { opacity: .85; }
.site-footer .logo__img { height: 36px; }
.drawer .logo__img { height: 26px; }

/* Search */
.header-search {
    position: relative; display: flex; align-items: center;
    max-width: 920px; width: 100%; justify-self: center;
    height: 52px; padding: 5px;
    background: var(--surface); border: 1.5px solid transparent; border-radius: 999px;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.header-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: var(--ring); }
.header-search__cat { position: relative; display: flex; align-items: center; height: 100%; flex-shrink: 0; }
.header-search__cat::after { content: ""; width: 1px; height: 22px; background: var(--line); }
.header-search__cat select {
    appearance: none; height: 100%; border: 0; background: transparent; cursor: pointer;
    padding: 0 2.1rem 0 1.1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
    max-width: 190px; border-radius: 999px;
}
.header-search__cat select:focus { outline: none; }
.header-search__cat .icon { position: absolute; right: .9rem; width: 15px; height: 15px; pointer-events: none; color: var(--muted); }
.header-search__input {
    flex: 1; min-width: 0; height: 100%; border: 0; background: transparent;
    padding: 0 1rem; font-size: var(--fs-sm); color: var(--ink);
}
.header-search__input:focus { outline: none; }
.header-search__input::placeholder { color: var(--subtle); }
.header-search__input::-webkit-search-cancel-button { cursor: pointer; }
.header-search__btn {
    display: inline-flex; align-items: center; gap: .45rem; height: 100%;
    padding: 0 1.3rem; border-radius: 999px;
    background: var(--brand); color: #fff; font-weight: 700; font-size: var(--fs-sm);
    transition: background-color .2s;
}
.header-search__btn:hover { background: var(--brand-600); }
.header-search__btn .icon { width: 18px; height: 18px; }

/* Live search results */
.search-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 70;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: .5rem; max-height: min(70vh, 560px); overflow: auto;
}
.search-suggest__label { padding: .6rem .75rem .3rem; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.search-suggest__cats { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .75rem .5rem; }
.search-suggest__item { display: flex; align-items: center; gap: .85rem; padding: .55rem .75rem; border-radius: var(--radius); }
.search-suggest__item:hover, .search-suggest__item.is-focused { background: var(--surface); }
.search-suggest__item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.search-suggest__item span { flex: 1; min-width: 0; }
.search-suggest__item strong { display: block; font-size: var(--fs-sm); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest__item small { color: var(--subtle); font-size: var(--fs-xs); }
.search-suggest__price { font-weight: 800; color: var(--ink); font-size: var(--fs-sm); text-align: right; }
.search-suggest__price del { display: block; font-weight: 500; color: var(--subtle); font-size: 11px; }
.search-suggest__all { display: flex; justify-content: center; gap: .4rem; margin-top: .35rem; padding: .75rem; border-top: 1px solid var(--line-2); font-weight: 700; font-size: var(--fs-sm); color: var(--brand); }
.search-suggest__empty { padding: 1.25rem; text-align: center; color: var(--muted); font-size: var(--fs-sm); }

/* Actions */
.header-actions { display: flex; align-items: center; gap: .35rem; }
.header-action {
    position: relative; display: inline-flex; align-items: center; gap: .65rem;
    min-height: 48px; padding: .3rem .7rem; border-radius: var(--radius);
    color: var(--ink); transition: background-color .2s;
}
.header-action:hover { background: var(--surface); }
.header-action > .icon, .header-action__icon > .icon { width: 25px; height: 25px; }
.header-action__icon { position: relative; display: inline-grid; }
.header-action__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-action__text small { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.header-action__text strong { font-size: var(--fs-sm); font-weight: 700; }
.header-action--cart { margin-left: .35rem; gap: .95rem; background: var(--ink); color: #fff; padding-inline: .9rem 1.1rem; }
.header-action--cart:hover { background: #1b2747; }
.header-action--cart .header-action__text small { color: rgba(255, 255, 255, .65); }
.badge-count {
    position: absolute; top: -6px; right: -8px;
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
    border: 2px solid #fff;
}
.header-action--cart .badge-count { border-color: var(--ink); }
.badge-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Navigation bar ---------- */
.header-nav { position: relative; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.header-nav__inner { display: flex; align-items: stretch; gap: .5rem; height: 56px; }

.nav-group { display: flex; align-items: stretch; }
.nav-item { display: flex; align-items: stretch; }
.nav-link {
    position: relative; display: inline-flex; align-items: center; gap: .3rem;
    padding: 0 1rem; font-size: .925rem; font-weight: 600; color: var(--ink-2);
    transition: color .2s;
}
.nav-link::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -1px; height: 3px;
    border-radius: 3px 3px 0 0; background: var(--brand);
    transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-link:hover, .nav-link.is-active, [data-dropdown].is-open > .nav-link { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after, [data-dropdown].is-open > .nav-link::after { transform: scaleX(1); }
.nav-link .icon { width: 15px; height: 15px; color: var(--subtle); transition: transform .25s; }
[data-dropdown].is-open > .nav-link .icon { transform: rotate(180deg); }
.nav-badge {
    padding: .1rem .4rem; border-radius: 6px; background: var(--accent); color: #fff;
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.nav-divider { align-self: center; width: 1px; height: 24px; background: var(--line); margin-inline: .5rem; }

/* Category browser */
.cat-menu { position: relative; display: flex; align-items: center; margin-right: .75rem; }
.cat-menu__toggle {
    display: inline-flex; align-items: center; gap: .6rem;
    height: 42px; padding: 0 1.1rem; border-radius: var(--radius);
    background: var(--brand); color: #fff; font-weight: 700; font-size: var(--fs-sm);
    transition: background-color .2s;
}
.cat-menu__toggle:hover, .cat-menu.is-open .cat-menu__toggle { background: var(--brand-600); }
.cat-menu__toggle .icon { width: 18px; height: 18px; }
.cat-menu__chevron { margin-left: .4rem; transition: transform .25s; }
.cat-menu.is-open .cat-menu__chevron { transform: rotate(180deg); }
.cat-menu__panel {
    position: absolute; left: 0; top: calc(100% + 7px); width: 300px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: .5rem;
}
.cat-menu__item { position: static; }
.cat-menu__link {
    display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: var(--radius);
    font-weight: 600; font-size: var(--fs-sm); color: var(--ink-2);
}
.cat-menu__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--brand); }
.cat-menu__icon .icon { width: 18px; height: 18px; }
.cat-menu__name { flex: 1; }
.cat-menu__count { font-size: 11px; color: var(--subtle); font-weight: 600; }
.cat-menu__arrow { width: 15px; height: 15px; color: var(--subtle); }
.cat-menu__item:hover > .cat-menu__link, .cat-menu__item:focus-within > .cat-menu__link { background: var(--brand-50); color: var(--brand-700); }
.cat-menu__item:hover .cat-menu__icon { background: #fff; }
.cat-menu__flyout {
    position: absolute; left: calc(100% - 4px); top: -1px; bottom: -1px; width: 540px;
    display: grid; grid-template-columns: 1fr 220px; gap: 1.25rem;
    padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.cat-menu__item:hover > .cat-menu__flyout, .cat-menu__item:focus-within > .cat-menu__flyout { opacity: 1; visibility: visible; }
.cat-menu__flyout-title { font-size: var(--fs-lg); font-weight: 800; color: var(--ink); }
.cat-menu__flyout-intro { font-size: var(--fs-sm); color: var(--muted); margin: .25rem 0 1rem; }
.cat-menu__flyout ul { display: grid; gap: .1rem; margin-bottom: 1.25rem; }
.cat-menu__flyout ul a { display: block; padding: .35rem 0; font-size: var(--fs-sm); color: var(--ink-2); font-weight: 500; }
.cat-menu__flyout ul a:hover { color: var(--brand); }
.cat-menu__flyout-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.cat-menu__all {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    margin-top: .35rem; padding: .75rem; border-top: 1px solid var(--line-2);
    font-weight: 700; font-size: var(--fs-sm); color: var(--brand);
}
.cat-menu__all .icon { width: 18px; height: 18px; }

/* Dropdown visibility (hover on pointer devices, .is-open via JS for click/keyboard) */
[data-dropdown-panel] {
    opacity: 0; visibility: hidden; translate: 0 8px;
    transition: opacity .2s, visibility .2s, translate .25s var(--ease);
    transition-delay: .08s;
}
[data-dropdown].is-open > [data-dropdown-panel] { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
    [data-dropdown]:hover > [data-dropdown-panel] { opacity: 1; visibility: visible; translate: 0 0; transition-delay: .05s; }
}

/* Shop mega menu (full width) */
.mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 65;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(11, 21, 48, .35);
}
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; padding-block: 2rem 2.25rem; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.75rem 1.5rem; }
.mega__heading { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); font-size: var(--fs-sm); margin-bottom: .6rem; }
.mega__heading:hover { color: var(--brand); }
.mega__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-50); color: var(--brand); }
.mega__icon .icon { width: 17px; height: 17px; }
.mega__col ul { display: grid; gap: .1rem; padding-left: calc(32px + .6rem); }
.mega__col ul a { display: block; padding: .25rem 0; font-size: var(--fs-sm); color: var(--muted); }
.mega__col ul a:hover { color: var(--brand); }
.mega__aside { display: grid; gap: 1rem; align-content: start; }
.mega__promo { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--night); }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__promo:hover img { transform: scale(1.05); }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11, 21, 48, .85)); }
.mega__promo-body { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; display: grid; gap: .45rem; justify-items: start; color: #fff; }
.mega__promo-body strong { font-size: var(--fs-lg); line-height: 1.25; }
.mega__promo-body .link-arrow { color: #fff; }
.mega__deal { display: flex; align-items: center; gap: .9rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s; }
.mega__deal:hover { border-color: var(--brand); }
.mega__deal img { width: 72px; height: 72px; border-radius: var(--radius); object-fit: cover; }
.mega__deal small { display: block; color: var(--accent); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.mega__deal strong { display: block; font-size: var(--fs-sm); color: var(--ink); line-height: 1.35; margin-block: .15rem; }

/* Company dropdown */
.has-dropdown { position: relative; }
.nav-dropdown {
    position: absolute; left: 50%; top: 100%; margin-left: -260px; width: 620px; z-index: 65;
    display: grid; grid-template-columns: 1fr 220px; gap: .75rem; padding: .75rem;
    background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
}
.nav-dropdown__link { display: flex; gap: .85rem; padding: .75rem; border-radius: var(--radius); transition: background-color .2s; }
.nav-dropdown__link:hover { background: var(--surface); }
.nav-dropdown__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.nav-dropdown__icon .icon { width: 20px; height: 20px; }
.nav-dropdown__link strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.nav-dropdown__link small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.45; margin-top: .1rem; }
.nav-dropdown__promo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); min-height: 260px; }
.nav-dropdown__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.nav-dropdown__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 48, .1), rgba(11, 21, 48, .92)); }
.nav-dropdown__promo-body { position: absolute; inset: auto 1rem 1rem; z-index: 1; display: grid; gap: .4rem; color: #fff; }
.nav-dropdown__promo-body small { color: #9fb0ff; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.nav-dropdown__promo-body strong { line-height: 1.3; }
.nav-dropdown__promo-body .link-arrow { color: #fff; }

/* Right side of the nav */
.header-nav__aside { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line);
    font-weight: 700; font-size: var(--fs-sm); color: var(--ink);
    transition: border-color .2s, background-color .2s;
}
.nav-cta:hover { border-color: var(--ink); background: var(--surface); }
.nav-cta .icon { width: 17px; height: 17px; color: var(--brand); }
.nav-support { display: flex; align-items: center; gap: .65rem; }
.nav-support__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--brand-50); color: var(--brand); }
.nav-support__icon .icon { width: 20px; height: 20px; }
.nav-support span { line-height: 1.2; }
.nav-support small { display: block; font-size: 11px; color: var(--muted); }
.nav-support strong { font-size: var(--fs-sm); color: var(--ink); }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(11, 21, 48, .5); backdrop-filter: blur(3px); animation: fade-in .25s; }
@keyframes fade-in { from { opacity: 0; } }
.drawer {
    position: fixed; top: 0; bottom: 0; z-index: 90;
    width: min(420px, 92vw); display: flex; flex-direction: column;
    background: #fff; box-shadow: var(--shadow-lg);
    transition: transform .4s var(--ease), visibility .4s;
    visibility: hidden;
}
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer__title { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: var(--fs-lg); color: var(--ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; }
.drawer__account { display: flex; align-items: center; gap: .85rem; margin: 1rem 1.25rem 0; padding: .9rem 1rem; border-radius: var(--radius-lg); background: var(--surface); }
.drawer__account > span:nth-child(2) { flex: 1; }
.drawer__account strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.drawer__account small { color: var(--muted); font-size: var(--fs-xs); }
.drawer__account > .icon { width: 18px; color: var(--subtle); }
.drawer__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--brand); color: #fff; }
.drawer .tabs { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.drawer__label { margin: 1.25rem 0 .35rem; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.drawer-nav a { display: flex; align-items: center; gap: .85rem; padding: .7rem .5rem; border-radius: var(--radius); font-weight: 600; color: var(--ink); }
.drawer-nav a:hover { background: var(--surface); }
.drawer-nav .icon { width: 20px; height: 20px; color: var(--brand); }
.drawer-cats { display: grid; gap: .25rem; margin-top: 1rem; }
.drawer-cats a { display: flex; align-items: center; gap: .85rem; padding: .6rem .5rem; border-radius: var(--radius); font-weight: 600; color: var(--ink); }
.drawer-cats a:hover { background: var(--surface); }
.drawer-cats a > span:nth-child(2) { flex: 1; }
.drawer-cats small { color: var(--subtle); }
.drawer-cats__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.drawer-cats__icon .icon { width: 19px; height: 19px; }
.drawer__foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .75rem; }
.drawer__contact { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.drawer__contact .icon { width: 18px; color: var(--brand); }

.tabs__list { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface); }
.tabs__tab { padding: .55rem; border-radius: 999px; font-weight: 700; font-size: var(--fs-sm); color: var(--muted); transition: background-color .2s, color .2s; }
.tabs__tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
    .nav-support { display: none; }
}
@media (max-width: 1199px) {
    .header-action__text { display: none; }
    .header-action--cart { padding-inline: .8rem; }
    .nav-link { padding-inline: .75rem; }
    .cat-menu__toggle span { display: none; }
    .cat-menu__chevron { display: none; }
}
@media (max-width: 1023px) {
    .topbar__links a:not(.topbar__phone) { display: none; }
    .topbar__sep { display: none; }
    .header-nav { display: none; }
    .header-main__inner {
        grid-template-columns: auto auto 1fr;
        grid-template-areas: "burger logo actions" "search search search";
        gap: .5rem .75rem; min-height: 0; padding-block: .75rem;
    }
    .header-main__burger { display: inline-grid; grid-area: burger; }
    .logo { grid-area: logo; }
    .header-actions { grid-area: actions; justify-self: end; }
    .header-search { grid-area: search; max-width: none; height: 48px; }
    .header-search__btn span { display: none; }
    .header-search__btn { padding: 0 1rem; }
    .header-action--compare { display: none; }
    .site-header.is-stuck .header-search { height: 44px; }

    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
        display: grid; grid-template-columns: repeat(5, 1fr);
        padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px);
        border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(11, 21, 48, .3);
    }
    .tabbar__item { display: grid; justify-items: center; gap: .15rem; padding: .35rem 0; font-size: 11px; font-weight: 600; color: var(--muted); }
    .tabbar__item .icon { width: 22px; height: 22px; }
    .tabbar__item.is-active { color: var(--brand); }
    .tabbar__icon { position: relative; display: inline-grid; }
    .tabbar .badge-count { top: -5px; right: -10px; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
@media (max-width: 639px) {
    .logo__img { height: 24px; }
    .header-action--wishlist, .header-action--account { display: none; }
    .header-search__cat { display: none; }
    .header-search__input { padding-left: 1.1rem; }
    .topbar__phone { display: none !important; }
}
