/* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/share/grema-en-20261116/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-en-20261116/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-en-20261116/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-en-20261116/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-en-20261116/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-en-20261116/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;
  }
}

/* Compact English desktop header; native menu and measured offset remain owners. */
.grema-tuning--desktop .tune-header .tune-brand-cell{width:34%!important}
.grema-tuning--desktop .tune-header .tune-logo{width:clamp(210px,27vw,500px)!important;max-width:calc(100% - 24px);height:auto!important;margin:clamp(12px,1.1vw,20px) 12px!important}
.grema-tuning--desktop .tune-header .tune-tools-cell{width:66%;vertical-align:middle}
.grema-tuning--desktop .tune-header .tune-tools-cell .gray_16{font-size:clamp(12px,1.05vw,16px);white-space:nowrap}
.grema-tuning--desktop .tune-header .form1{width:clamp(120px,15vw,250px)}
.grema-tuning--desktop .menu-bgr #mbmcpebul_wrapper{width:100%!important;max-width:100%}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;width:100%!important;max-width:100%;padding:0 clamp(6px,1vw,20px)!important;box-sizing:border-box}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li{float:none!important;flex:0 1 auto;min-width:0;margin:0!important}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>.buttonbg{width:auto!important;height:auto!important;min-width:0;margin:0!important}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>.buttonbg>a{display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:clamp(12px,1.02vw,18px)!important;line-height:1.2!important;padding:10px clamp(5px,.65vw,14px)!important;min-height:44px;box-sizing:border-box}
@media(max-width:1100px){.grema-tuning--desktop .menu-bgr #mbmcpebul_table{padding-inline:4px!important}.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>.buttonbg>a{padding-inline:4px!important}}
@media(max-width:1023px){.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li{padding-inline:0!important;flex:0 0 auto}.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>.buttonbg{padding-inline:0!important;border-inline-width:0!important}.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>.buttonbg>a{font-size:clamp(10px,1.15vw,12px)!important;padding-inline:2px!important}}

.grema-tuning{font-size:18px}.grema-tuning--desktop .tune-logo{object-fit:contain}.grema-tuning--desktop .tune-brand-cell{width:34%!important}.grema-tuning [id]{scroll-margin-top:calc(var(--tune-header-height) + 16px)}

.grema-tuning .en-product-quantity{margin-right:24px;min-width:132px}
.grema-tuning .en-product-quantity .number-spinner{display:flex;align-items:center;gap:0;width:132px}
.grema-tuning .en-product-quantity input{float:none;width:44px;height:44px;padding:0;border:1px solid #d0d0d1;border-radius:6px;text-align:center}
.grema-tuning .en-qty-control{display:flex;flex:0 0 44px;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:#eee!important;color:#515b70!important;border:4px solid #fff!important;border-radius:9px;padding:0!important;font-size:12px}
.grema-tuning .en-buy-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:100px;padding:10px 24px;background:#345bb6;color:#fff!important;border-radius:7px}
.grema-tuning .en-gallery-frame{position:relative;width:100%;max-width:500px;margin:auto;padding-top:0}
.grema-tuning .en-gallery-frame #main_image{display:block;width:100%}
.grema-tuning .en-gallery-frame #main_image>img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.grema-tuning .en-gallery-wishlist,.grema-tuning .en-gallery-zoom{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#fff!important;color:#181f4c;border:1px solid #dce3ee;box-shadow:0 3px 12px #181f4c1a;padding:0}
.grema-tuning .en-gallery-wishlist{top:12px;right:12px}.grema-tuning .en-gallery-zoom{bottom:12px;right:12px}
.grema-tuning .en-gallery-wishlist img{margin:0}


/* Reserve actual English logo + flag + menu geometry before font/JS startup. */
.grema-tuning--desktop{--tune-header-height:calc(32px + clamp(210px,27vw,500px)*118/542 + clamp(12px,1.1vw,20px)*2 + 49px)}
.grema-tuning .tune-hero{width:100%;aspect-ratio:1920/600;overflow:hidden}
.grema-tuning .tune-hero #banners_allinone_rotator{display:block!important}
.grema-tuning .tune-hero #banners_allinone_rotator>ul>li{display:none}
.grema-tuning .tune-hero #banners_allinone_rotator>ul>li:first-child{display:block}
.grema-tuning .tune-hero #banners_allinone_rotator>ul>li>img{display:block;width:100%;height:auto;aspect-ratio:1920/600;object-fit:cover}
.grema-tuning--mobile .tune-hero{aspect-ratio:710/222}
.grema-tuning--mobile .tune-hero #banners_allinone_rotator>ul>li>img{aspect-ratio:710/222}

.grema-tuning .en-home-copy{font-size:18px;line-height:1.45;margin:10px 0}

/* Вътрешни страници: същата композиция с bounded responsive/focus поправки. */
.grema-tuning--mobile.tune-family-info .top_design {
  height: auto;
  background: #fff;
}
.grema-tuning--mobile.tune-family-info {
  --tune-header-height: 88px;
}
.grema-tuning.tune-family-info .tune-rich .container {
  width: 100%;
  max-width: 100%;
}
.grema-tuning.tune-family-info .tune-rich .row {
  margin-inline: 0;
}
.grema-tuning.tune-family-info .tune-rich img {
  max-width: 100%;
  height: auto;
}
.grema-tuning.tune-family-info .tune-rich iframe {
  max-width: 100%;
}
.grema-tuning.tune-family-info .tune-rich iframe[width="550"][height="308"] {
  aspect-ratio: 550 / 308;
  height: auto;
}
.grema-tuning.tune-family-info .tune-gallery-item {
  max-width: 100%;
}
.grema-tuning.tune-family-info .tune-gallery-item .page-img {
  max-width: calc(100% - 10px);
}
.grema-tuning .prod-img--400-square {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.grema-tuning .tune-product-media {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
}
.grema-tuning .tune-purchase-action {
  min-width: 100px;
}
.grema-tuning .tune-quick-order {
  min-width: 180px;
}
/* Native action/form buttons — един и същ действителен brand blue. */
.grema-tuning :is(.tune-content, .jconfirm) .btn:not(.btn-link) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: var(--tune-blue);
  border-color: var(--tune-blue);
  border-radius: var(--tune-radius);
  transition: box-shadow var(--tune-fast), opacity var(--tune-fast);
}
.grema-tuning :is(.tune-content, .jconfirm) .btn:not(.btn-link) > span,
.grema-tuning :is(.tune-content, .jconfirm) .btn:not(.btn-link) a {
  color: inherit;
}
.grema-tuning :is(.tune-content, .jconfirm) .btn:not(.btn-link):hover {
  background: var(--tune-blue-hover);
  border-color: var(--tune-blue-hover);
}
.grema-tuning :is(.tune-content, .jconfirm) .btn:not(.btn-link):active {
  box-shadow: inset 0 0 0 2px var(--tune-navy);
}
.grema-tuning :is(.tune-content, .jconfirm) .btn:not(.btn-link):disabled,
.grema-tuning :is(.tune-content, .jconfirm) .btn.disabled {
  color: var(--tune-navy);
  background: var(--tune-border);
  border-color: var(--tune-border);
  opacity: 0.7;
}
.grema-tuning .tune-content .form-control {
  min-height: 44px;
  border-radius: var(--tune-radius);
}
.grema-tuning .tune-content .paginator a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
/* Phone: native text/forms могат да се пренасят, без fixed-width page overflow. */
@media (max-width: 767px) {
  .grema-tuning.tune-family-info .tune-rich {
    overflow-wrap: anywhere;
  }
}
/* Самостоятелен документ за печат — запазен ред, fluid screen geometry. */
.grema-tuning.tune-print .tune-print-masthead > tbody > tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.grema-tuning.tune-print .tune-print-masthead td {
  display: block;
  width: auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.grema-tuning.tune-print .tune-print-masthead td:first-child {
  flex: 1 1 200px;
  max-width: 300px;
}
.grema-tuning.tune-print .tune-print-masthead img {
  max-width: 100%;
  height: auto;
}
.grema-tuning.tune-print .tune-print-product {
  display: flex;
  width: 100%;
}
.grema-tuning.tune-print .tune-print-body-table {
  table-layout: fixed;
  width: 90%;
  max-width: 100%;
}
.grema-tuning.tune-print .tune-product-thumbs {
  width: 100%;
  max-width: 390px;
}
.grema-tuning.tune-print .gray_16 {
  overflow-wrap: anywhere;
}
.grema-tuning.tune-print .tune-print-product > td {
  display: block;
  float: none;
  min-width: 0;
  width: 60%;
}
.grema-tuning.tune-print .tune-print-product > td:first-child {
  width: 40%;
}
.grema-tuning.tune-print .prod-img {
  max-width: 100%;
  height: auto;
  object-position: center;
}
.grema-tuning.tune-print .prod-img--500-square {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  object-fit: contain;
}
.grema-tuning.tune-print .prod-img--145-square {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.grema-tuning.tune-print .tune-print-brand-image {
  max-width: 120px;
}
.grema-tuning.tune-print .tune-print-small-image {
  max-width: 100px;
}
@media (max-width: 767px) {
  .grema-tuning.tune-print .tune-print-product {
    flex-direction: column;
  }
  .grema-tuning.tune-print .tune-print-product > td,
  .grema-tuning.tune-print .tune-print-product > td:first-child {
    width: 100%;
  }
}
/* Dialog actions — actual brand palette над native plugin specificity. */
.grema-tuning.tune-family-info .jconfirm .jconfirm-box .jconfirm-buttons button {
  min-height: 44px;
  color: #fff;
  background-color: var(--tune-blue);
  border-color: var(--tune-blue);
  border-radius: var(--tune-radius);
}
.grema-tuning.tune-family-info .jconfirm .jconfirm-box .jconfirm-buttons button:hover {
  background-color: var(--tune-blue-hover);
  border-color: var(--tune-blue-hover);
}
.grema-tuning.tune-family-info .jconfirm .jconfirm-box .jconfirm-buttons button:active {
  box-shadow: inset 0 0 0 2px var(--tune-navy);
}
.grema-tuning.tune-family-info .jconfirm .jconfirm-box .jconfirm-buttons button:disabled {
  color: var(--tune-navy);
  background-color: var(--tune-border);
  border-color: var(--tune-border);
}
@media (prefers-reduced-motion: reduce) {
  .grema-tuning :is(.tune-content, .jconfirm) .btn {
    transition-duration: 0.01ms;
  }
}
@media (max-width: 360px) {
  .grema-tuning.tune-family-info #quick_order {
    width: calc(100vw - 60px) !important;
    max-width: 100%;
    padding: 12px !important;
  }
  .grema-tuning.tune-family-info #quick_order table {
    max-width: 100%;
  }
  .grema-tuning.tune-family-info #quick_order .form-control {
    max-width: 100%;
    width: 100% !important;
  }
  .grema-tuning.tune-family-info #quick_order #security_code2 {
    width: 145px !important;
    max-width: 100%;
  }
}

/* A narrow desktop window still receives the native desktop template. */
@media(max-width:767px){
.grema-tuning--desktop .tune-header .bgr1>table{width:100%!important;table-layout:fixed}
.grema-tuning--desktop .tune-header .bgr1>table>tbody>tr:nth-child(2)>td:first-child{width:32%!important;vertical-align:middle}
.grema-tuning--desktop .tune-header .tune-logo{width:clamp(96px,29vw,180px)!important;max-width:calc(100% - 8px)!important;margin:12px 4px!important}
.grema-tuning--desktop .tune-header .bgr1>table>tbody>tr:nth-child(2)>td:nth-child(2)>table>tbody>tr{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:6px 4px}
.grema-tuning--desktop .tune-header .bgr1>table>tbody>tr:nth-child(2)>td:nth-child(2)>table>tbody>tr>td{display:block;width:100%!important;text-align:center}
.grema-tuning--desktop .tune-header .form1{width:clamp(110px,43vw,260px)!important;max-width:100%;font-size:14px}
.grema-tuning--desktop .tune-header .gray_16>table{margin:auto}
.grema-tuning--desktop .tune-header .gray_16>table td:first-child{white-space:nowrap;font-size:0}
.grema-tuning--desktop .tune-header .gray_16>table td:first-child>a{font-size:12px;display:inline-flex;align-items:center;min-height:36px;margin-inline:3px}
.grema-tuning--desktop .tune-header .gray_16>table td:first-child img{margin-inline:0!important}
.grema-tuning--desktop .tune-header .gray_16>table td:last-child.gray_15{display:none}
.grema-tuning--desktop .menu-bgr #mbmcpebul_wrapper{overflow-x:auto;scrollbar-width:thin}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table{width:max-content!important;min-width:100%;max-width:none!important;justify-content:flex-start}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>.buttonbg>a{font-size:12px!important;padding-inline:8px!important}
.grema-tuning--desktop .menu-bgr #mbmcpebul_table>li>ul{position:fixed!important;top:var(--tune-header-height)!important;left:8px!important;right:auto!important;width:min(360px,calc(100vw - 16px))!important;max-height:calc(100dvh - var(--tune-header-height) - 16px);overflow-y:auto;box-sizing:border-box}
}

@media(max-width:767px){.grema-tuning--desktop .tune-header .bgr1>table>tbody>tr>td:first-child{width:32%!important}}

@media(max-width:767px){.grema-tuning--desktop .tune-header .bgr1>table>tbody>tr>td:first-child{width:32%!important}}

@media(max-width:767px){
.grema-tuning--desktop .down-bgr>table{display:block;width:100%!important;max-width:100%;padding:20px 16px;box-sizing:border-box}
.grema-tuning--desktop .down-bgr>table>tbody{display:block}
.grema-tuning--desktop .down-bgr>table>tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
.grema-tuning--desktop .down-bgr>table>tbody>tr>td{display:block;width:auto!important;min-width:0;overflow-wrap:anywhere}
.grema-tuning--desktop .down-bgr>table>tbody>tr>td:first-child{grid-column:1/-1}
.grema-tuning--desktop .down-bgr>table>tbody>tr>td:first-child img{max-width:220px}
.grema-tuning--desktop .down-bgr img{max-width:100%}
}
