/* TEST mobile storefront. Desktop is deliberately outside this media query. */
.swapi-mobile-categories,.swapi-mobile-catalog-heading,.swapi-mobile-catalog-controls,.swapi-mobile-all-category{display:none}
.home-categories-card .swapi-mobile-all-category{display:none!important}
.swapi-mobile-categories[hidden],.swapi-mobile-categories [hidden]{display:none!important}
.swapi-city-mobile-clear{display:none}
@layer swapi-flat-surfaces{
 @media(max-width:991px){
  html body .swapi-mobile-screen-header>[data-swapi-categories-close],
  html body .swapi-mobile-catalog-heading>[data-swapi-catalog-back]{
   outline:none!important;border:0!important;background:transparent!important;box-shadow:none!important;
  }
  html body .swapi-mobile-screen-header>[data-swapi-categories-close]:focus-visible,
  html body .swapi-mobile-catalog-heading>[data-swapi-catalog-back]:focus-visible{color:#087fff!important;outline:none!important}
  html body .swapi-mobile-categories .swapi-mobile-category-tile.is-child{isolation:isolate}
  html body .swapi-mobile-categories .swapi-mobile-category-tile.is-child>img{
   background:transparent!important;border:0!important;box-shadow:none!important;mix-blend-mode:multiply;
  }
 }
}
@media(max-width:991px){
 html body:has(>.swapi-site-header){--swapi-bottom-menu-height:56px;padding-bottom:calc(var(--swapi-bottom-menu-height) + env(safe-area-inset-bottom))!important;background:#fff}
 html body header.swapi-site-header.header-wow.header-wow-mobile{position:relative!important;top:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:#fff!important}
 html body .swapi-header-frame.header-wow-sticky-container{width:100%!important;max-width:none!important;padding:0 10px!important;margin:0!important}
 html body .swapi-header-topline,html body .swapi-location-actions{display:contents!important}
 html body .swapi-header-nav,html body .swapi-header-topline .swapi-city,html body .swapi-country,html body .swapi-city-reset,html body .swapi-header-actions{display:none!important}
 html body .swapi-header-main{display:flex!important;flex-direction:column!important;gap:0!important;align-items:stretch!important;padding:0!important;margin:0!important;min-height:0!important}
 html body .swapi-logo{display:flex!important;align-self:center!important;align-items:center!important;justify-content:center!important;min-height:46px!important;width:auto!important;padding:0!important;margin:0!important}
 html body .swapi-logo img{display:block!important;width:124px!important;height:auto!important;max-height:none!important}
 html body .swapi-logo>span{display:none!important}
 html body .swapi-search{width:100%!important;margin:0!important;min-width:0!important}
 /* Only discovery screens have a mobile header search. Desktop remains unchanged. */
 html body:not(:is([data-page-name="index"],[data-page-name="catalog"],[data-page-name="map"],[data-page-name="shop"],[data-page-name="shops"])) .swapi-site-header .swapi-search{display:none!important}
 html body .swapi-search-form{position:relative!important;display:flex!important;width:100%!important;height:44px!important;gap:0!important;margin:0!important}
 html body .swapi-search-field{display:flex!important;flex:1!important;min-width:0!important;height:44px!important;border:1px solid #d4d5d9!important;border-radius:16px!important;background:#fff!important;padding:0!important}
 html body .swapi-search-field input{width:100%!important;height:42px!important;min-width:0!important;padding:0 46px 0 16px!important;font-size:14px!important;color:#333!important;background:transparent!important;border:0!important;outline:0;line-height:normal!important}
 html body .swapi-search-glass,html body .swapi-site-header .swapi-photo-search.header-search-camera{display:none!important}
 html body .swapi-search-submit{position:absolute!important;right:8px!important;top:8px!important;display:block!important;width:28px!important;min-width:28px!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:#252334!important;border-radius:50%!important;font-size:0!important}
 html body .swapi-search-submit::after{content:"";display:block;position:absolute;inset:4px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") center/contain no-repeat}
 html body .swapi-search:focus-within .swapi-search-field{border-color:#087fff!important}
 @layer swapi-flat-surfaces{
  /* The field border is the one and only search focus indicator. */
  html body:has(>.swapi-site-header) .swapi-site-header .swapi-search-field input{padding-left:12px!important;outline:none!important}
  html body.swapi-pointer-navigation:has(>.swapi-site-header) :where(a,button,[tabindex]):focus{outline:none!important}
  html body:has(>.swapi-site-header) .swapi-mobile-categories :focus-visible,
  html body:has(>.swapi-site-header) .swapi-mobile-catalog-heading :focus-visible{outline-offset:-4px!important;border-radius:12px}
 }
 /* Override the desktop 77px submit-button reserve at the same component scope. */
 html body .swapi-site-header .swapi-search .main-search-results{left:0!important;right:0!important;top:calc(100% + 4px)!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;z-index:1300!important}

 /* Home: banner, category rail, two-column feed, without a desktop toolbar. */
 html body[data-page-name="index"] .home-page-shell{padding-top:0!important;margin-top:0!important}
 html body[data-page-name="index"]>.container{width:100%!important;max-width:none!important;padding:0 10px!important;margin:0!important}
 html body[data-page-name="index"] .home-layout{display:flex!important;flex-direction:column!important;gap:0!important;margin:12px 0 0!important;padding:0!important}
 html body[data-page-name="index"] .home-content{display:contents!important}
 html body[data-page-name="index"] .home-content>.place-banner{order:1!important;margin:0 0 12px!important;padding:0!important;width:100%!important}
 html body[data-page-name="index"] .home-content>.place-banner a,html body[data-page-name="index"] .home-content>.place-banner picture,html body[data-page-name="index"] .home-content>.place-banner img{display:block!important;width:100%!important;height:auto!important;border-radius:16px!important}
 html body[data-page-name="index"] .home-sidebar{order:2!important;display:block!important;width:100%!important;margin:0 0 12px!important;padding:0!important}
 html body[data-page-name="index"] .home-categories-card{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 html body[data-page-name="index"] .home-categories-card>h2{display:none!important}
 html body[data-page-name="index"] .home-categories-card>ul{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;margin:0!important;padding:0!important;overflow-x:auto!important;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
 html body[data-page-name="index"] .home-categories-card>ul::-webkit-scrollbar{display:none}
 html body[data-page-name="index"] .home-categories-card>ul>li{position:relative!important;display:block!important;flex:0 0 112px!important;width:112px!important;height:78px!important;margin:0!important;padding:0!important;border:0!important;border-radius:14px!important;background:#edf5fa!important;overflow:hidden;scroll-snap-align:start}
 html body[data-page-name="index"] .home-categories-card>ul>li:first-child{background:#e3f6fc!important}
 html body[data-page-name="index"] .home-categories-card>ul>li>a,html body[data-page-name="index"] .home-categories-card>ul>li>button{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;padding:8px!important;margin:0!important;border:0!important;border-radius:inherit!important;background:transparent!important;text-align:left!important;color:#191919!important;text-decoration:none!important}
 html body[data-page-name="index"] .home-categories-card .home-category-name{position:absolute!important;top:8px!important;left:8px!important;right:8px!important;z-index:1!important;display:block!important;width:auto!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:12px!important;line-height:14px!important}
 html body[data-page-name="index"] .home-categories-card .home-category-icon{position:absolute!important;right:0!important;bottom:0!important;display:block!important;width:72px!important;height:64px!important;min-width:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important}
 html body[data-page-name="index"] .home-categories-card .home-category-icon picture,html body[data-page-name="index"] .home-categories-card .home-category-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important}
 html body[data-page-name="index"] .swapi-mobile-all-category>button>img{position:absolute;right:0;bottom:0;width:78px;height:66px;object-fit:contain}
 html body[data-page-name="index"] .home-categories-card>ul>li>a>i,html body[data-page-name="index"] .home-category-flyout{display:none!important}
 html body[data-page-name="index"] .home-feed-toolbar{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
 html body[data-page-name="index"] .home-feed-toolbar .home-feed-actions{display:none!important}
 html body[data-page-name="index"] .load-content-index-container{order:3!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
 html body[data-page-name="index"] .home-rightbar{display:none!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .index-ads-feed{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:0!important;padding:0!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .index-ads-feed{opacity:1!important;animation:none!important;transition:none!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-row{width:100%!important;min-width:0!important;margin:0!important;border-radius:10px!important;overflow:hidden!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-ad-row.ad-reveal-ready{opacity:1!important;transform:none!important;animation:none!important;will-change:auto!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-photo{height:100cqw!important;border-radius:10px 10px 0 0!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-photo img{object-fit:cover!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-info{padding:8px!important;min-width:0!important;min-height:0!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-title{font-size:13px!important;line-height:17px!important;min-height:34px!important;max-height:34px!important;-webkit-line-clamp:2!important;color:#303030!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-price{font-size:15px!important;line-height:20px!important;margin-top:3px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-badge-category{display:none!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-badges{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;margin-top:6px!important;min-width:0!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid :is(.home-ad-badge-date,.home-ad-badge-metro){max-width:100%!important;min-width:0!important;height:18px!important;min-height:18px!important;font-size:10px!important;line-height:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-meta{margin-top:6px!important;padding-top:0!important;border:0!important;font-size:11px!important;line-height:15px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-meta>span:first-child{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-height:15px!important;max-height:15px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-row .home-ad-meta>span:first-child>.swapi-card-location{display:inline-block!important;flex:none!important;margin-right:3px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-row .home-ad-badges{margin-bottom:0!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-row .home-ad-badges :is(.home-ad-badge-date,.home-ad-badge-metro){height:18px!important;min-height:18px!important;font-size:10px!important;padding:1px 4px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-row .home-ad-badge-metro{border-color:transparent!important;background:color-mix(in srgb,currentColor 10%,white)!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-view-grid .home-ad-meta .swapi-card-location{width:11px!important;height:11px!important;vertical-align:-1px}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-ad-row .home-ad-favorite{width:28px!important;height:28px!important;top:6px!important;right:6px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-ad-row .home-ad-favorite-svg{width:17px!important;height:17px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-ad-photo .home-ad-views{height:18px!important;min-width:0!important;left:6px!important;bottom:6px!important;padding:1px 3px!important;gap:2px!important;font-size:10px!important;line-height:14px!important}
 html body:is([data-page-name="index"],[data-page-name="catalog"]) .home-ad-views .swapi-icon{width:13px!important;height:13px!important;flex-basis:13px!important}

 /* Category screen starts immediately at the back/title row. */
 html body[data-page-name="catalog"] .swapi-logo{display:none!important}
 html body .swapi-mobile-catalog-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 38px;font-size:17px;line-height:22px;text-align:center;color:#171717}
 .swapi-mobile-catalog-heading>a,.swapi-mobile-screen-header>button{position:absolute;left:0;top:2px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:#222}
 .swapi-mobile-catalog-heading .swapi-icon,.swapi-mobile-screen-header .swapi-icon{width:22px;height:22px;transform:rotate(90deg)}
 html body[data-page-name="catalog"]>.container{width:100%!important;max-width:none!important;padding:0 10px!important;margin:0!important}
 html body[data-page-name="catalog"] .catalog-page-breadcrumb-global,html body[data-page-name="catalog"] .catalog-title-row-global,html body[data-page-name="catalog"] .catalog-right-column{display:none!important}
 html body[data-page-name="catalog"] .catalog-modern-layout{display:block!important;margin:0!important;padding:0!important}
 html body[data-page-name="catalog"] .catalog-main-column{width:100%!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important}
 html body[data-page-name="catalog"]>.container>.row,html body[data-page-name="catalog"]>.container>.row>.min-height-600{margin:0!important;padding:0!important;min-height:0!important}
 html body .swapi-mobile-catalog-controls{display:block;padding:12px 10px 4px;background:#fff}
 .swapi-mobile-catalog-primary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
 .swapi-mobile-deal-types{display:flex;gap:6px;min-width:0}
 .swapi-mobile-deal-types>a,.swapi-mobile-deal-types>button{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 16px;border:1px solid transparent;border-radius:18px;background:#f4f4f5;color:#222;font-size:12px;line-height:18px;white-space:nowrap}
 .swapi-mobile-deal-types>a.is-active{border-color:#83b9ff;background:#eef6ff}
 .swapi-mobile-city{display:inline-flex;align-items:center;gap:3px;min-width:0;max-width:50%;padding:4px 0;border:0;background:transparent;color:#555;font-size:11px;line-height:17px;white-space:nowrap}
 .swapi-mobile-city>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
 .swapi-mobile-city-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px;max-width:50%;min-width:0}
 .swapi-mobile-city-actions>.swapi-mobile-city{max-width:100%;min-width:0}
 .swapi-mobile-city-reset{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#777;text-decoration:none!important}
 .swapi-mobile-city-reset>.swapi-icon{width:14px;height:14px}
 .swapi-mobile-city-reset:focus-visible{outline:1px solid #087fff;outline-offset:-2px}
 .swapi-city-picker>.swapi-city-mobile-clear{display:block;margin:0 0 6px;padding:7px;color:#087fff;font-size:12px;line-height:18px;text-decoration:none}
 .swapi-mobile-city>.swapi-icon{flex:0 0 12px;width:12px;height:12px;color:#ff6852}
 .swapi-mobile-filter-chips{display:flex;gap:6px;overflow:auto;scrollbar-width:none;overscroll-behavior-x:contain}
 .swapi-mobile-filter-chips>*{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:5px 12px;border:0;border-radius:18px;background:#f4f4f5;color:#222;font-size:12px;line-height:18px;white-space:nowrap;text-decoration:none}
 .swapi-mobile-filter-chips .swapi-mobile-all-filters{background:#dff5fb;color:#27414a}
 .swapi-mobile-filter-chips .swapi-icon{width:14px;height:14px}
 html body[data-page-name="catalog"] .catalog-main-column .catalog-sort.home-feed-toolbar{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:42px!important;margin:0 0 4px!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important}
 html body[data-page-name="catalog"] .catalog-sort .home-feed-tabs{width:auto!important;flex:0 1 auto!important;margin:0!important;font-size:12px!important;line-height:18px!important;color:#999!important;white-space:nowrap}
 html body[data-page-name="catalog"] .catalog-sort .home-feed-tab{padding:0!important;background:none!important;border:0!important;color:#999!important;font-size:12px!important}
 html body[data-page-name="catalog"] .catalog-toolbar-title{display:none!important}
 html body[data-page-name="catalog"] .mobile-catalog-count{display:inline!important;font-size:12px!important;color:#999!important}
 html body[data-page-name="catalog"] .catalog-sort .home-feed-actions{width:auto!important;margin:0!important;padding:0!important;gap:0!important}
 html body[data-page-name="catalog"] .catalog-sort .home-toolbar-button{display:none!important}
 html body[data-page-name="catalog"] .catalog-main-column .catalog-sort .home-toolbar-button:is(.catalog-grid,.catalog-list){display:none!important}
 html body[data-page-name="catalog"] .catalog-sort .account-ads-sort-button{padding:0!important;min-height:30px!important;font-size:12px!important;color:#333!important;background:transparent!important;border:0!important}
 html body[data-page-name="catalog"] .catalog-results{margin:0!important;padding:0!important}
 html body[data-page-name="catalog"] .mobile-catalog-filter-summary{margin:0!important;padding:0!important}
 html body[data-page-name="catalog"] .catalog-seo-bottom{margin-top:24px!important}

 /* Full-height categories: no mockup top gap, independently scrollable content. */
 html body.swapi-mobile-categories-open{overflow:hidden!important}
 html body .swapi-mobile-categories:not([hidden]){position:fixed;inset:0 0 calc(var(--swapi-bottom-menu-height) + env(safe-area-inset-bottom));z-index:1210;display:flex;flex-direction:column;width:100%;height:auto;margin:0;padding:0;background:#fff;color:#151515;overflow:hidden}
 .swapi-mobile-screen-header{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 48px;min-height:48px;padding:0 48px}
 .swapi-mobile-screen-header h2{margin:0;font-size:17px;line-height:22px;text-align:center}
 .swapi-mobile-categories-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 10px 10px}
 .swapi-mobile-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .swapi-mobile-category-tile{position:relative;display:block;min-width:0;height:90px;padding:10px;border:0;border-radius:15px;background:#edf5fa;overflow:hidden;color:#111;text-decoration:none!important}
 .swapi-mobile-category-tile>span{position:relative;z-index:1;display:block;max-width:100%;font-size:14px;line-height:17px;overflow-wrap:break-word}
 .swapi-mobile-category-tile>img{position:absolute;right:0;bottom:0;width:89px;height:81px;object-fit:contain}
 .swapi-mobile-shop-tile{background:#ff6751;color:#fff!important}
 .swapi-mobile-shop-tile>svg{position:absolute;right:3px;bottom:-9px;width:69px;height:69px}
 .swapi-mobile-subcategory-list{display:flex;flex-direction:column;gap:8px}
 .swapi-mobile-subcategory-list .swapi-mobile-category-tile{display:flex;align-items:center;min-height:60px;height:auto;padding:12px 52px 12px 12px;background:#f4f7fa}
 .swapi-mobile-subcategory-list .swapi-mobile-category-tile>img{right:8px;bottom:8px;width:40px;height:40px}
 .swapi-mobile-subcategory-list .no-image::after{content:"›";position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:24px;color:#9ba4af}
 html body .mobile-fixed-menu_catalog_filters-menu{top:0!important;margin-top:0!important;padding-top:0!important}

 /* Bottom menu is flush to the viewport, not a floating pill with a lower gap. */
 html body .floating-menu{left:0!important;right:0!important;bottom:0!important;width:100%!important;height:calc(var(--swapi-bottom-menu-height) + env(safe-area-inset-bottom))!important;padding:0!important;background:#fff!important;transition:none!important;z-index:1220}
 /* Equal-width touch targets prevent the legacy flex/space-between edge crowding. */
 html body .floating-menu-box{display:grid!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:calc(var(--swapi-bottom-menu-height) + env(safe-area-inset-bottom))!important;margin:0!important;padding:0 max(6px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px,env(safe-area-inset-left))!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;border:0!important;border-top:1px solid #f0f0f0!important;border-radius:0!important;background:#fff!important;backdrop-filter:none!important}
 html body .floating-menu-box>a,html body .floating-menu-box>a.floating-menu-ad-create{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;height:calc(var(--swapi-bottom-menu-height) - 1px)!important;margin:0!important;padding:6px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b3b3b3!important}
 html body .floating-menu-box>a.floating-menu-active{color:#087fff!important}
 html body[data-page-name="catalog"] .floating-menu-box>a:first-child{color:#087fff!important}
 html body .floating-menu-box>a>div,html body .floating-menu-ad-create>div{gap:3px!important}
 html body .floating-menu-icon,html body .floating-menu-ad-create .floating-menu-icon{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;border:0!important;border-radius:0!important;background:transparent!important}
 html body .floating-menu-icon svg{display:none!important}
 html body .floating-menu-icon-title,html body .floating-menu-ad-create .floating-menu-icon-title{margin:0!important;color:inherit!important;font-size:9px!important;line-height:12px!important}
 /* Hide, do not dim/slide the bar behind a chat or its guest sign-in screen. */
 html body:is(.floating-chat-modal-open,.floating-auth-modal-open) .floating-menu{display:none!important}
 /* Compact filled silhouettes from the mobile reference; vector masks stay crisp. */
 html body .floating-menu-icon::before{content:""!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important;background:currentColor!important;border-radius:0!important;mask-position:center;mask-size:contain;mask-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.35 1.75a1 1 0 0 1 1.3 0l10 8.5a1 1 0 0 1-.65 1.76h-1V21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8.99H2a1 1 0 0 1-.65-1.76Z'/%3E%3C/svg%3E")}
 html body .floating-menu-box>a:nth-child(2) .floating-menu-icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22c-.3 0-.6-.1-.85-.3C8.6 19.75 1 14.3 1 8.5 1 .9 9.1-.2 12 5c2.9-5.2 11-4.1 11 3.5 0 5.8-7.6 11.25-10.15 13.2-.25.2-.55.3-.85.3Z'/%3E%3C/svg%3E")}
 html body .floating-menu-box>a:nth-child(3) .floating-menu-icon::before{inset:2px!important;width:20px!important;height:20px!important;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 24a12 12 0 1 0 0-24 12 12 0 0 0 0 24Zm-1-18h2v5h5v2h-5v5h-2v-5H6v-2h5Z'/%3E%3C/svg%3E")}
 html body .floating-menu-box>a:nth-child(4) .floating-menu-icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C5.93 2 1 6.03 1 11c0 2.42 1.17 4.61 3.07 6.23-.25 1.4-.89 2.78-1.87 3.98-.25.3-.03.77.36.75 2.42-.13 4.52-.95 6.16-2.36 1.04.26 2.14.4 3.28.4 6.07 0 11-4.03 11-9S18.07 2 12 2Z'/%3E%3C/svg%3E")}
 html body .floating-menu-box>a:nth-child(5) .floating-menu-icon::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='6' r='4.5'/%3E%3Cpath d='M8.5 12h7a5 5 0 0 1 5 5v3.5a1.5 1.5 0 0 1-1.5 1.5H5a1.5 1.5 0 0 1-1.5-1.5V17a5 5 0 0 1 5-5Z'/%3E%3C/svg%3E")}
 html body .floating-menu-icon::after{content:none!important}
 html body .floating-menu-box>a:nth-child(3) .floating-menu-icon::after{content:""!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;box-sizing:border-box!important;border:2px solid #eeeeef!important;border-radius:50%!important;background:transparent!important;transform:none!important}
 html body.swapi-mobile-categories-open .floating-menu{opacity:1!important;filter:none!important;pointer-events:auto!important}
 html body .swapi-mobile-categories :focus-visible{outline:2px solid #087fff;outline-offset:-2px}
 @layer swapi-content-grid{
  html body .swapi-header-frame.header-wow-sticky-container{width:100%!important;margin:0!important}
  html body[data-page-name="index"]:has(>.swapi-site-header)>.home-page-shell>.home-page-container,
  html body[data-page-name="catalog"]:has(>.swapi-site-header)>.container{width:100%!important;max-width:none!important;margin:0!important;padding-left:10px!important;padding-right:10px!important}
 }
 html body .swapi-city-picker:not([hidden]){position:fixed!important;left:10px!important;right:10px!important;top:100px!important;width:auto!important;max-height:calc(100dvh - 180px)!important;overflow:auto!important;z-index:1300!important}
 @layer swapi-text-weights{
  /* The old create-ad modifier must not make just the middle caption bold. */
  :root:not(:has(body#page-top)) body .floating-menu-box>a .floating-menu-icon-title,
  :root:not(:has(body#page-top)) body .floating-menu-box>a.floating-menu-ad-create .floating-menu-icon-title{font-weight:400!important}
  :root:not(:has(body#page-top)) body .swapi-mobile-catalog-heading,:root:not(:has(body#page-top)) body .swapi-mobile-screen-header h2{font-weight:500!important}
  :root:not(:has(body#page-top)) body .swapi-mobile-category-tile,:root:not(:has(body#page-top)) body .home-categories-card .home-category-name,:root:not(:has(body#page-top)) body .floating-menu-icon-title{font-weight:400!important}
 }
}

/* Mobile map uses the viewport, not the inset content-page shell. The new header
   already contains its search field, so the legacy search reserve is redundant. */
@media(max-width:991px){
 html body[data-page-name="map"]:has(>.swapi-site-header){height:100dvh;min-height:0;padding-bottom:0!important;overflow:hidden!important}
 html body[data-page-name="map"]>.swapi-site-header.header-wow-mobile::after{content:none!important}
 html body[data-page-name="map"] .map-mobile-quick-filters{top:0!important;height:54px!important;padding:10px 12px!important}
 @layer swapi-content-grid{
  html body[data-page-name="map"]:has(>.swapi-site-header)>.map-search-container{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important}
 }
}
@media(max-width:359px){
 .swapi-mobile-category-tile{height:82px;padding:8px}
 .swapi-mobile-category-tile>span{font-size:12px;line-height:15px}
 .swapi-mobile-category-tile>img{width:78px;height:72px}
 html body .floating-menu-icon-title{font-size:9px!important}
}

/* Shared mobile category cards: composed artwork from the supplied reference.
   Keep the desktop sidebar and its icons entirely outside this breakpoint. */
@media(max-width:991px){
 html body[data-page-name="index"] .home-categories-card .home-category-icon{width:86px!important;height:78px!important;right:0!important;bottom:0!important}
 html body[data-page-name="index"] .home-categories-card .home-category-icon :is(picture,img){width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important}
 html body[data-page-name="index"] .swapi-mobile-all-category>button>img{width:86px!important;height:78px!important;right:0!important;bottom:0!important}
 html body .swapi-mobile-category-grid,
 html body .swapi-mobile-subcategory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
 html body .swapi-mobile-categories .swapi-mobile-category-tile{position:relative;display:block;height:auto;min-height:clamp(68px,22vw,96px);padding:10px;border:0;border-radius:14px;background:#edf5fa;overflow:hidden;text-align:left;color:#111;text-decoration:none}
 html body .swapi-mobile-categories .swapi-mobile-category-tile>span{position:relative;z-index:1;display:block;max-width:100%;font-size:14px;line-height:17px;white-space:normal;overflow-wrap:break-word}
 html body .swapi-mobile-categories .swapi-mobile-category-tile.is-root>img{position:absolute;right:0;bottom:0;width:auto;height:100%;max-width:none;object-fit:contain;pointer-events:none}
 html body .swapi-mobile-categories .swapi-mobile-category-tile.is-root[href$="/hobbi-i-razvlecheniya"]>span{max-width:80px}
 html body .swapi-mobile-categories .swapi-mobile-category-tile.is-child.has-image{padding-right:10px;padding-bottom:50px}
 html body .swapi-mobile-categories .swapi-mobile-category-tile.is-child>img{position:absolute;right:4px;bottom:0;width:58px;height:50px;object-fit:contain;pointer-events:none}
 html body .swapi-mobile-categories .swapi-mobile-category-tile.no-image{padding:10px 10px 24px}
 html body .swapi-mobile-subcategory-list .no-image::after{right:12px;top:auto;bottom:4px;transform:none;font-size:20px;line-height:20px;color:#9ba4af}
 html body .swapi-mobile-categories .swapi-mobile-shop-tile{background:#ff6751;color:#fff!important}
 html body .swapi-mobile-categories .swapi-mobile-shop-tile>svg{position:absolute;right:-2px;bottom:-5px;width:76px;height:76px;pointer-events:none}
}
