/* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-tuning-20261111/ubuntu-cyrillic-ext-v1.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-tuning-20261111/ubuntu-cyrillic-v1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-tuning-20261111/ubuntu-greek-ext-v1.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-tuning-20261111/ubuntu-greek-v1.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-tuning-20261111/ubuntu-latin-ext-v1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-tuning-20261111/ubuntu-latin-v1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Tokens — извлечени от съществуващия GreMa 3D дизайн. */
.grema-tuning {
  --tune-blue: #345bb6;
  --tune-blue-hover: #294a96;
  --tune-navy: #181f4c;
  --tune-ice: #d7eff1;
  --tune-ink: #161616;
  --tune-border: #d0d0d1;
  --tune-radius: 8px;
  --tune-shadow: 0 5px 18px rgb(24 31 76 / 10%);
  --tune-fast: 180ms ease;
  --tune-header-height: 270px;
  min-width: 0;
}

/* Първият екран остава видим без глобално window.load изчакване. */
.grema-tuning #preloader {
  display: none;
}
.grema-tuning #page {
  opacity: 1;
  transition: none;
}
.grema-tuning [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}
/* Native slider slot — същите размери, controls и media, без load-time jump. */
.grema-tuning .tune-hero {
  width: 100%;
  aspect-ratio: 1920 / 600;
}
.grema-tuning .tune-hero > #banners_allinone_rotator {
  display: block !important;
}
.grema-tuning .tune-hero > #banners_allinone_rotator > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Фиксиран desktop header със запазена композиция и измерено отместване. */
.grema-tuning--desktop #page {
  padding-top: var(--tune-header-height);
}
.grema-tuning .tune-header {
  position: fixed;
  z-index: 500;
  inset: 0 0 auto;
  width: 100%;
  background: #fff;
  box-shadow: var(--tune-shadow);
}
.grema-tuning .tune-header .bgr1 > table {
  margin-inline: auto;
}
.grema-tuning .tune-logo {
  width: min(35vw, 500px);
  max-width: 100%;
  height: auto;
  margin-inline: clamp(12px, 2vw, 30px);
}
.grema-tuning .tune-header #mbmcpebul_wrapper {
  max-width: 100%;
}
.grema-tuning .tune-header #mbmcpebul_table {
  max-width: 100%;
  margin-inline: auto;
}
.grema-tuning .tune-header #mbmcpebul_table > li > .buttonbg > a {
  min-height: 44px;
}
/* Keyboard fallback за legacy popup, който иначе остава на top:-99999px. */
.grema-tuning .tune-header #mbmcpebul_table li {
  position: relative;
}
.grema-tuning .tune-header #mbmcpebul_table li:focus-within > ul {
  top: 100% !important;
  left: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.grema-tuning .tune-header #mbmcpebul_table ul li:focus-within > ul {
  top: 0 !important;
  left: 100% !important;
}
/* Plain native списък: scroll при недостиг на височина, без ново меню. */
.grema-tuning .tune-header #mbmcpebul_table > li > ul:not(:has(> li > ul li a)) {
  max-height: calc(100dvh - var(--tune-header-height) - 16px);
  overflow-y: auto !important;
}
.grema-tuning .tune-header .form1 {
  width: clamp(130px, 15vw, 250px);
}
.grema-tuning .tune-header.is-scrolled {
  box-shadow: 0 7px 22px rgb(24 31 76 / 16%);
}

/* Mobile header — съществуващата fixed зона и native mmenu се запазват. */
.grema-tuning--mobile {
  --tune-header-height: 88px;
}
.grema-tuning .top_design {
  z-index: 500;
  box-shadow: var(--tune-shadow);
}
.grema-tuning--mobile .top_design {
  height: auto;
}
.grema-tuning--mobile .header {
  display: flow-root;
  position: relative;
  height: 44px;
  min-height: 44px;
}
.grema-tuning--mobile .header > a[href="#menu"] {
  position: absolute;
  top: 0;
  bottom: auto;
}
.grema-tuning--mobile .header > img {
  display: block;
  height: 40px;
  margin: 2px auto;
}
.grema-tuning .tune-header-spacer {
  height: var(--tune-header-height);
}
.grema-tuning .header > a {
  width: 44px;
  min-height: 44px;
}
/* Без mmenu bootstrap: native дървото остава достъпно чрез същия #menu link. */
.grema-tuning--mobile #menu:target:not(.mm-menu) {
  display: block !important;
  position: relative;
  margin-top: var(--tune-header-height);
  padding: 16px;
  background: #fff;
  scroll-margin-top: var(--tune-header-height);
}
.grema-tuning--mobile #menu:not(.mm-menu) a {
  display: block;
  min-height: 44px;
  padding-block: 12px;
}
.grema-tuning .top_design .gray_15 {
  line-height: 1.4;
}

/* Търсене, keyboard focus и фини състояния без промяна на действията. */
.grema-tuning :focus-visible {
  outline: 3px solid var(--tune-blue);
  outline-offset: 4px;
}
.grema-tuning .menu-bgr :focus-visible,
.grema-tuning .down-bgr :focus-visible,
.grema-tuning .footer_design :focus-visible {
  outline-color: #a5d8ef;
}
.grema-tuning .form1 {
  min-height: 44px;
  color: var(--tune-ink);
  background: #fff;
  transition: box-shadow var(--tune-fast);
}
.grema-tuning .form1::placeholder {
  color: #65656b;
  opacity: 1;
}
.grema-tuning .form2 {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.grema-tuning .form2 input[type="image"] {
  box-sizing: content-box;
  padding: 9px;
  margin: -4px;
  min-width: 26px;
  min-height: 26px;
}
.grema-tuning .tune-icon-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.grema-tuning .grow {
  transition: transform var(--tune-fast), opacity var(--tune-fast);
}
.grema-tuning .gray-border {
  border-width: 1px;
  border-color: var(--tune-border);
  border-radius: var(--tune-radius);
  box-shadow: 0 2px 9px rgb(24 31 76 / 6%);
  transition: box-shadow var(--tune-fast);
}
.grema-tuning .gray-border:focus-within,
.grema-tuning .gray-border:hover {
  box-shadow: var(--tune-shadow);
}
.grema-tuning .tune-content {
  scroll-margin-top: calc(var(--tune-header-height) + 16px);
}
.grema-tuning .tune-content [id] {
  scroll-margin-top: calc(var(--tune-header-height) + 16px);
}
/* Семантични заглавия и абзаци със запазени съществуващи размери. */
.grema-tuning .tune-home-heading {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}
.grema-tuning .tune-home-paragraph {
  margin-block: 10px;
  font-weight: 500;
  line-height: 1.1;
}
.grema-tuning .tune-skip {
  position: fixed;
  z-index: 2100;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--tune-blue);
  border-radius: var(--tune-radius);
  transform: translateY(-160%);
}
.grema-tuning .tune-skip:focus {
  transform: none;
}

/* Cookie notice — scoped override на късно инжектирания provider CSS. */
.grema-tuning #termsfeed-com---nb {
  z-index: 1500;
  inset: auto 16px 16px auto;
  width: min(460px, calc(100vw - 32px));
  max-width: none;
  color: var(--tune-ink);
  background: #fff;
  border: 1px solid var(--tune-border);
  border-radius: 18px;
  box-shadow: 0 10px 36px rgb(24 31 76 / 18%);
}
.grema-tuning #termsfeed-com---nb .cc-nb-main-container {
  padding: 18px;
}
.grema-tuning #termsfeed-com---nb .cc-nb-title {
  margin: 0 0 8px;
  color: var(--tune-navy);
  font-size: 18px;
  line-height: 1.3;
}
.grema-tuning #termsfeed-com---nb .cc-nb-text {
  margin: 0 0 12px;
  color: var(--tune-ink);
  font-size: 16px;
  line-height: 1.4;
}
.grema-tuning #termsfeed-com---nb .cc-nb-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.grema-tuning #termsfeed-com---nb button,
.grema-tuning #termsfeed-com---preferences-center button {
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--tune-blue);
  border-radius: var(--tune-radius);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  transition: box-shadow var(--tune-fast), opacity var(--tune-fast);
}
.grema-tuning #termsfeed-com---nb .cc-nb-okagree,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-foot-save {
  color: #fff !important;
  background: var(--tune-blue) !important;
}
.grema-tuning #termsfeed-com---nb .cc-nb-reject {
  color: var(--tune-blue) !important;
  background: #fff !important;
}
.grema-tuning #termsfeed-com---nb .cc-nb-changep {
  grid-column: 1 / -1;
  color: var(--tune-navy);
  background: var(--tune-ice);
  border-color: transparent;
}
.grema-tuning #termsfeed-com---nb button:hover,
.grema-tuning #termsfeed-com---preferences-center button:hover {
  box-shadow: 0 0 0 2px rgb(52 91 182 / 18%);
}
.grema-tuning #termsfeed-com---nb .cc-nb-okagree:hover,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-foot-save:hover {
  background: var(--tune-blue-hover) !important;
}
.grema-tuning #termsfeed-com---nb button:active,
.grema-tuning #termsfeed-com---preferences-center button:active {
  box-shadow: inset 0 0 0 2px var(--tune-blue);
}
.grema-tuning #termsfeed-com---nb button:disabled,
.grema-tuning #termsfeed-com---preferences-center button:disabled {
  color: var(--tune-navy) !important;
  background: var(--tune-border) !important;
  opacity: 0.7;
  cursor: not-allowed;
}
.grema-tuning #termsfeed-com---preferences-center {
  z-index: 2000;
}
.grema-tuning #termsfeed-com---preferences-center .termsfeed-com---pc-dialog {
  width: min(720px, calc(100vw - 24px));
  max-height: 82dvh;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  color: var(--tune-ink);
}
.grema-tuning #termsfeed-com---preferences-center .cc-pc-head,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-foot {
  position: sticky;
  z-index: 2;
  background: #fff;
  color: var(--tune-navy);
}
.grema-tuning #termsfeed-com---preferences-center .cc-pc-head {
  top: 0;
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-foot {
  bottom: 0;
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-tabs,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content {
  background: #fff;
  color: var(--tune-ink);
}
/* Provider текстовите consumers имат собствени palette правила. */
.grema-tuning #termsfeed-com---preferences-center .cc-pc-head-title-text,
.grema-tuning #termsfeed-com---preferences-center .cc-pc-head-title-headline,
.grema-tuning #termsfeed-com---preferences-center .cc-pc-head-close {
  color: var(--tune-navy);
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content-entry {
  background: #fff;
  color: var(--tune-ink);
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content-entry-title,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content-entry-text,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content-entry-text p {
  color: var(--tune-ink);
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content-entry-text a,
.grema-tuning #termsfeed-com---preferences-center .cc-cp-foot-byline a {
  color: var(--tune-blue);
}
.grema-tuning #termsfeed-com---preferences-center .cc-pc-head-close {
  min-width: 44px;
  background: #fff;
}
.grema-tuning #termsfeed-com---preferences-center .cc-custom-checkbox:checked + label::before {
  background: var(--tune-blue);
  border-color: var(--tune-blue);
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-tabs-item-link {
  min-height: 44px;
  color: var(--tune-navy);
}
.grema-tuning #termsfeed-com---preferences-center .cc-cp-body-tabs-item-link[aria-selected="true"] {
  background: var(--tune-ice);
  color: var(--tune-navy);
}
.grema-tuning .cookie_banner a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tune-border);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--tune-shadow);
}
.grema-tuning .cookie_banner[hidden] {
  display: none !important;
}
.grema-tuning .tune-consent-link {
  display: inline-block;
  min-height: 44px;
  padding-block: 12px;
  color: inherit;
}

/* Междинни desktop и тесни phone ширини — същите ред и компоненти. */
@media (min-width: 768px) and (max-width: 1199px) {
  .grema-tuning .tune-logo {
    width: 30vw;
    margin-inline: 12px;
  }
  .grema-tuning .tune-header #mbmcpebul_table > li > .buttonbg > a {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  /* Двата native плаващи контрола остават видими над компактния notice. */
  .grema-tuning.is-consent-notice-visible .cookie_banner,
  .grema-tuning.is-consent-notice-visible .call_us {
    bottom: calc(var(--tune-notice-height) + 28px);
  }
  .grema-tuning.is-consent-notice-visible .call_us img {
    width: 44px;
    height: 44px;
  }
  .grema-tuning.is-consent-notice-visible .call_us .wiggle {
    animation: none;
  }
  .grema-tuning #termsfeed-com---nb {
    inset: auto 12px 12px;
    width: calc(100vw - 24px);
  }
  .grema-tuning #termsfeed-com---nb .cc-nb-main-container {
    padding: 14px;
  }
  .grema-tuning #termsfeed-com---preferences-center .cc-cp-body {
    display: block;
  }
  .grema-tuning #termsfeed-com---preferences-center .cc-cp-body-tabs,
  .grema-tuning #termsfeed-com---preferences-center .cc-cp-body-content {
    width: 100%;
  }
}

/* Animations — съдържанието и native контролите остават достъпни. */
@media (prefers-reduced-motion: reduce) {
  .grema-tuning .grow,
  .grema-tuning [data-aos],
  .grema-tuning .gray-border,
  .grema-tuning .wiggle,
  .grema-tuning .tune-skip {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
