/* aplusdom.ru - update-safe overrides (do NOT edit template directly) */

/* === Hide social networks everywhere === */
.social,
.social__items,
.footer__social,
.staff-list__item-socials,
.phones__dropdown-item.social-item,
.social__more { display: none !important; }

/* === City chooser -> fixed Moscow, no switching (desktop) === */
.regions__chooser { pointer-events: none !important; cursor: default !important; }
.regions .more-arrow,
.regions .menu-arrow,
.regions__chooser .menu-arrow-wrapper,
.regions__chooser .svg-inline-down { display: none !important; }
.regions__name { font-size: 0 !important; line-height: normal !important; }
.regions__name::after { content: "\00041C\00043E\000441\00043A\000432\000430"; font-size: 13px; }

/* === City chooser (mobile) === */
.mobilemenu__menu-item--city,
.mobilemenu__menu--regions,
.bottom-icons-panel__content-link--region { display: none !important; }

/* Item1: hide Aspro developer credit in footer */
[data-ajax-load-block="FOOTER_TOGGLE_DEVELOPER"], #developer, a.developer, .footer .developer { display: none !important; }

/* Item8: hide demo blocks on homepage only (whole block incl. title) */
.front_page .index-block:has(.front-selection-projects),
.front_page .index-block:has(.brands-list),
.front_page .index-block:has(.tariffs-list-template),
.front_page .index-block:has(.staff-list),
.front_page .index-block:has(.banners-fon-list) { display: none !important; }

/* Item6: hide homepage tile linking to disabled vacancy page */
.front_page .banners-with-text-mixed-list__item:has(a[href="/company/vacancy/"]) { display: none !important; }

/* Item7: compact header slogan so more menu items fit before the more(...) */
.slogan__text { font-size: 11px !important; line-height: 1.25 !important; }
.header-menu .slogan, .slogan { max-width: 172px; }

/* Email cleanup: one email per place, with the envelope icon */
.footer__phone { display: none !important; }
.contact-property--phones { display: none !important; }

/* Header/phones: show an envelope icon instead of the phone icon next to the email */
.phones__inner .icon-block__icon i.svg { display: none !important; }
.phones__inner .icon-block__icon::after {
  content: ""; display: inline-block; width: 14px; height: 14px; vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204H4c-1.1%200-2%20.9-2%202v12c0%201.1%20.9%202%202%202h16c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%204l-8%205-8-5V6l8%205%208-5v2z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M20%204H4c-1.1%200-2%20.9-2%202v12c0%201.1%20.9%202%202%202h16c1.1%200%202-.9%202-2V6c0-1.1-.9-2-2-2zm0%204l-8%205-8-5V6l8%205%208-5v2z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Mobile phone dropdown: hide the empty "Телефоны" section (no phone on site) */
.mobilephones__menu-item--title { display: none !important; }
.mobilephones__menu-item:has(a.phone) { display: none !important; }

/* Header/mobile phone dropdown: hide "Заказать звонок" (no phone — email is shown instead) */
.phones__dropdown [data-name="callback"] { display: none !important; }

/* Mobile phone dropdown: hide the empty "Телефоны" section (no phone on site) */
.mobilephones__menu-item--title { display: none !important; }
.mobilephones__menu-item:has(a.phone) { display: none !important; }

/* Header/mobile phone dropdown: hide "Заказать звонок" (no phone — email is shown instead) */
.phones__dropdown [data-name="callback"] { display: none !important; }

/* === PAYMENT ICONS: hide footer pays block and contacts office card pays === */
.footer__pays,
[data-ajax-load-block="FOOTER_TOGGLE_PAY_SYSTEMS"],
.contacts-list__item-pay { display: none !important; }


/* Hide credit calculator link in mobile bottom panel */
.bottom-icons-panel__content-link[href="/credit/"],
.bottom-icons-panel__content-link[href*="/credit/"] { display: none !important; }


/* Mobile bottom panel: hide items not present in header menus (Новости, Блог) */
.bottom-icons-panel__content-link[href="/news/"],
.bottom-icons-panel__content-link[href*="/news/"],
.bottom-icons-panel__content-link[href="/articles/"],
.bottom-icons-panel__content-link[href*="/articles/"] { display: none !important; }

