/* iCell Header Pro — зарежда се само когато „Пътека под хедъра“ е включена.
   Пътеката е в реда под хедъра, затова лентата на темата не се показва. Заглавието на страницата (h1) остава
   там, където е в самата страница — не се мести със скрипт и нищо не се размества след зареждането. */
nav.breadcrumb { display: none !important; }

#main h1.h1, #main .page-header > h1, #main > h1, #content-wrapper .page-header > h1, #contact .contact-form h1 {
  margin: 0 0 14px !important; padding: 0 !important; border: 0 !important;
  font-size: 24px !important; font-weight: 700 !important; line-height: 1.25 !important;
  color: #172233 !important; text-transform: none !important; text-align: left !important;
}
/* в категория заглавието е под снимката и над описанието; в категории и в информационните страници е центрирано */
body#category #main .block-category > h1 { margin: 10px 0 12px !important; font-size: 22px !important; text-align: center !important; }
body#cms #main h1, body#contact .contact-form h1, body#cms #content-wrapper .page-header > h1 { margin: 0 0 16px !important; font-size: 22px !important; text-align: center !important; }
@media (max-width: 991.98px) {
  #main h1.h1, #main .page-header > h1, #main > h1, #content-wrapper .page-header > h1 { font-size: 20px !important; }
  body#category #main .block-category > h1 { margin: 6px 0 10px !important; font-size: 17px !important; line-height: 1.3 !important; }
  body#cms #main h1, body#contact .contact-form h1, body#cms #content-wrapper .page-header > h1 { margin: 0 0 12px !important; font-size: 17px !important; line-height: 1.3 !important; }
}

/* лентата на темата я няма, затова отстоянието над съдържанието се намалява — „Търсене по модел“ и филтрите са по-близо до пътеката */
body:not(#index) #wrapper { padding-top: 24px !important; }
@media (max-width: 991.98px) {
  body:not(#index) #wrapper { padding-top: 14px !important; }
}


/* заглавието е в лентата с пътеката: това в съдържанието остава за търсачките и екранните четци, но не се вижда втори път.
   На телефон при избор „… + заглавие в съдържанието“ то остава видимо. */
body:has(#ihp-crumbs .ihp-title) #main .block-category > h1,
body#cms:has(#ihp-crumbs .ihp-title) #main .page-header h1,
body#cms:has(#ihp-crumbs .ihp-title) #main > h1,
body#cms:has(#ihp-crumbs .ihp-title) #content-wrapper .page-header > h1 {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}
@media (max-width: 991.98px) {
  body:has(#ihp-crumbs.ihp-crumbs--m2) #main .block-category > h1,
  body#cms:has(#ihp-crumbs.ihp-crumbs--m2) #main .page-header h1,
  body#cms:has(#ihp-crumbs.ihp-crumbs--m2) #main > h1,
  body#cms:has(#ihp-crumbs.ihp-crumbs--m2) #content-wrapper .page-header > h1 {
    position: static !important; width: auto !important; height: auto !important; margin: 6px 0 10px !important; overflow: visible !important; clip: auto !important; clip-path: none !important; white-space: normal !important;
  }
}
body#cms:has(#ihp-crumbs .ihp-title) #main .page-header:not(:has(> :not(h1))) { margin: 0 !important; padding: 0 !important; border: 0 !important; min-height: 0 !important; }
