/* Only the desktop information strip and white header; mobile keeps its layout. */
@media (min-width: 992px) {
    .header__head .header-head__top {height:44px;padding:0;background:#191919;}
    .header__head .header-info {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;height:100%;gap:16px;}
    .header__head .header-info::before,.header__head .header-info::after {display:none;}
    .header__head .phone {padding:0;text-align:left;white-space:nowrap;}
    .header__head .header-phone__link {display:flex;align-items:center;gap:12px;color:#fff;}
    .header__head .phone p {margin:0;}
    .header__head .phone p:not(.phone__number) {display:none;}
    .header__head .phone__number {font:400 16px/22px PR,sans-serif;color:#fff;}
    .header__head .header-info__icon {width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
    .header__head .twitter_block {min-width:0;margin:0;}
    .header__head .twitter_block p {display:flex;justify-content:center;margin:0;line-height:22px;}
    .header__head .twitter_block p a {position:relative;max-width:100%;padding:0 22px 0 19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;color:#fff!important;font:400 15px/22px PR,sans-serif;}
    .header__head .twitter_block p a:empty,.header__head .twitter_block_icon {display:none;}
    .header__head .twitter_block p a::before {content:"";position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:50%;background:#ff3030;}
    .header__head .twitter_block p a::after {content:"";position:absolute;right:3px;top:7px;width:8px;height:8px;border-top:1px solid;border-right:1px solid;transform:rotate(45deg);}
    .header__head .certificate {position:relative;inset:auto;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#f5c542;white-space:nowrap;}
    .header__head .certificate a {font:400 14px/22px PR,sans-serif;color:#f5c542!important;background:none;border:0;border-radius:0;}
    .header__head .certificate a::after {content:"";position:absolute;inset:0;}
    .header__head .header-head__bottom {padding:0;background:#fff;}
    .header__head .header-head__bottom > .container {padding-top:18px;padding-bottom:14px;background:none;}
    .header__head .ttt-brand {position:relative;top:3px;}
    .header__head .header-head__bottom > .container > .row:first-child {display:flex;align-items:center;}
    .header__head .header-head__bottom > .container > .row:first-child > .col-md-3 {width:32%;}
    .header__head .header-head__bottom > .container > .row:first-child > .col-md-6 {width:36%;}
    .header__head .search_visible {display:block;position:relative;inset:auto;width:100%;height:44px;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:none;background:none;}
    .header__head .search_visible__field {padding:0 32px 0 36px;border-bottom:1px solid #bdbdbd;}
    .header__head .search_visible__input {height:43px;border:0;border-radius:0;font:400 16px/22px PR,sans-serif;}
    .header__head .search_visible__input::placeholder {color:#999;opacity:1;}
    .header__head .search_visible__input:focus-visible {outline:none;}
    .header__head .search_visible__field:focus-within {border-bottom-color:#191919;}
    .header__head .search_visible__icon {font-size:20px;}
    .header__head .search__btn,.header__head .search_visible__close[hidden] {display:none;}
    .header__head .search_visible__close {display:flex;align-items:center;justify-content:center;right:0;top:0;transform:none;margin:0;padding:0;width:32px;height:43px;border:0;background:transparent;color:#777;font-size:14px;cursor:pointer;}
    .header__head .search_visible__close:focus-visible {outline:2px solid #777;outline-offset:1px;}
    .header__head .search_visible__field .search-suggestions {left:0;right:auto;width:min(680px,80vw);}
    .header__head .h-b-right__content {display:flex;align-items:center;justify-content:flex-end;gap:20px;margin:0;padding:0;}
    .header__head .h-b-right__content > * {margin:0;top:0;}
    .header__head .h-b-right__content .acc__icon,.header__head .h-b-right__content .wishlist__icon,.header__head .h-b-right__content .basket__icon,.header__head .h-b-right__content .logout__icon {display:inline-flex;align-items:center;justify-content:center;width:40px;height:44px;margin:0;font-size:20px;color:#191919;}
    .header__head .header__basket {white-space:nowrap;}
}
@media (min-width:992px) and (max-width:1199px) {
    .header__head .header-info {grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) minmax(0,1fr);gap:10px;}
    .header__head .phone__number,.header__head .twitter_block p a {font-size:13px;}
    .header__head .certificate a {font-size:12px;}
    .header__head .h-b-right__content {gap:8px;}
}

@media (min-width:992px) {
    .header__head + .nav__wrap .nav > .nav__item.mx-auto {position:absolute;left:50%;top:0;transform:translateX(-50%);margin:0;}
}

@media (min-width:992px) {
    .header__head + .nav__wrap .nav > .nav__item.mx-auto > .nav__link {padding-left:0;padding-right:0;}
}

/* Mobile: only the white controls remain visible after the announcement scrolls away. */
@media (max-width:991px) {
    .header__head_mob {top:calc(0px - var(--mobile-strip-offset, 0px));}
    .header__head_mob > .container {padding-left:8px;padding-right:8px;}
    .header__head_mob > .container > .row {display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:4px;margin:0;align-items:center;}
    .header__head_mob > .container > .row::before,.header__head_mob > .container > .row::after {display:none;}
    .header__head_mob > .container > .row > * {width:auto;padding:0;min-width:0;}
    .header__head_mob .h-b-right__content {display:flex;align-items:center;justify-content:flex-end;gap:4px;margin:0;padding:0;}
    .header__head_mob .header__wishlist,.header__head_mob .header__basket {margin:0!important;top:0;}
    .header__head_mob .wishlist__icon,.header__head_mob .basket__icon {display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;font-size:20px;}
    .header__head_mob .menu__btn {display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;margin:0;padding:0;}
    .header__head_mob .menu__btn span {margin:0 auto;}
    .header__head_mob .menu__btn_active {gap:0;}
    .header__head_mob .menu__btn_active span:first-child {top:1px;}
    .header__head_mob .menu__btn_active span:last-child {top:-1px;}
    .header__head_mob .mob_search form {position:relative;}
    .header__head_mob .mob_search .mob_search__input {height:52px;padding-right:44px;border:0!important;border-radius:0;outline:none!important;box-shadow:none!important;}
    .header__head_mob .mob_search form:focus-within {box-shadow:inset 0 -1px #777;}
    .header__head_mob .mob_search .mob_search__icon {left:0;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:52px;margin:0;}
    .header__head_mob .mob_search .mob_search__clear {position:absolute;right:0;top:0;display:flex;align-items:center;justify-content:center;width:44px;height:52px;padding:0;background:none;border:0;color:#777;font-size:14px;}
    .header__head_mob .mob_search__clear[hidden] {display:none;}
    .header__head_mob .mob_search__clear:focus-visible {outline:1px solid #777;}
}

@media (max-width:991px) {
    .ttt-search-results {margin-top:var(--mobile-header-height, 118px);}
}

@media (max-width:991px) {
    .brend__panel.fixed {top:var(--mobile-header-bottom, 78px);}
    .filter_toggle.fixed {top:calc(var(--mobile-header-bottom, 78px) + var(--mobile-filter-panel-height, 52px))!important;z-index:149;max-height:calc(100dvh - var(--mobile-header-bottom, 78px) - var(--mobile-filter-panel-height, 52px));}
}

/* Mobile catalog favorites remain outside the product link. */
@media (max-width:991px) {
    .brend__items .item > .favorites {top:10px;right:10px;bottom:auto;left:auto;margin:0;width:44px;height:44px;z-index:2;visibility:visible;opacity:1;}
    .brend__items .item > .favorites .favorites__icon {display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.95);}
    .brend__items .item > .favorites .favorites__icon i {font-size:22px;line-height:1;margin:0;transform:none;}
    .brend__items .item > .favorites .icon-icon-wishlist {color:#333;}
    .brend__items .item > .favorites .favorites__text {display:none;}
}

@media (max-width:991px) {
    .header__head_mob.ttt-menu-motion {transition:top 280ms ease-in-out;}
}
@media (max-width:991px) and (prefers-reduced-motion:reduce) {
    .header__head_mob.ttt-menu-motion {transition:none;}
}

@media (max-width:991px) {
    .header__head_mob .toggle_menu .phone__number,
    .header__head_mob .toggle_menu .phone__number a,
    .header__head_mob .toggle_menu .phone a[href^="tel:"],
    .header__head_mob .toggle_menu .phone a[x-apple-data-detectors] {color:#222!important;-webkit-text-fill-color:#222!important;text-decoration:none!important;border-bottom:0!important;}
}

@media (max-width:991px) {
    .header__head_mob .toggle_menu .phone__number::before {content:"";display:inline-block;width:24px;height:24px;margin-right:10px;vertical-align:-3px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23222%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203%204%204C1%207%206%2015%209%2018s8%205%2010%202l1-3-5-3-2%202c-3-1-5-3-6-6l2-2Z%22%2F%3E%3Cpath%20d%3D%22M14%203a8%208%200%200%201%207%207M14%207a4%204%200%200%201%203%203%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
}

@media (max-width:991px) {
    main.mobile__auth {padding-top:var(--mobile-header-height, 118px);}
    main.mobile__auth > br {display:none;}
    .mobile__auth .auth__login,.mobile__auth .auth__register,.mobile__auth .forgot-pass__content_mob {padding:24px 0 28px;}
    .mobile__auth .auth__form {margin-top:24px;}
    .mobile__auth .auth-btn__wrap {padding-bottom:0;}
}

/* Reclaim the space formerly reserved for the bottom favorite control. */
@media (max-width:991px) {
    .brend__items .item:not(.no-item) {height:auto;min-height:495px;padding-bottom:20px;}
}
@media (min-width:481px) and (max-width:768px) {
    .brend__items .item:not(.no-item) {min-height:0;}
}
