/* ================= SCOPE ================= */
.faist-header-scope {
  --header-h: 104px;
}

/* ========= DESKTOP POSTAVKE ========= */
@media (min-width: 769px) {
  .faist-header-scope .mobile-menu-toggle { display: none !important; }
  .faist-header-scope .header-search      { order: 1; }
  .faist-header-scope .main-navigation    { order: 2; flex-grow: 1; text-align: center; }
  .faist-header-scope .site-branding      { order: 3; }
}
@media (max-width: 768px) {
  .faist-mega-menu,
  .mega-menu-backdrop { display: none !important; }
}

/* ========= HEADER (FIXED) ========= */
.faist-header-scope #site-header {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 20px;
  margin: 0;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 10002;
  overflow: visible;
}
.faist-header-scope #site-header .container {
  padding: 15px 30px;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 610px;
  height: 54px;
  border-radius: 100px;
  background: rgba(255,255,255,.80);
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  backdrop-filter: blur(12.5px);
  position: relative;
  transform-origin: center center;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  will-change: transform;
  max-width: 610px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (hover: hover) {
  .faist-header-scope #site-header .container:hover,
  .faist-header-scope #site-header .container:focus-within {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0,0,0,.16);
    background: rgba(255,255,255,.92);
  }
}
.faist-header-scope.off-open #site-header .container {
  background: #FF0827 !important;
  transition: background-color .2s ease;
}
.faist-header-scope.mega-open #site-header .container {
  transform: translateZ(0) scale(1) !important;
  background: #FF0827 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}
@media (hover: hover) {
  .faist-header-scope.mega-open #site-header .container:hover {
    transform: translateZ(0) scale(1.02) !important;
    background: #FF0827 !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.16);
  }
  .faist-header-scope.mega-open #site-header .container:focus-within:not(:hover) {
    transform: translateZ(0) scale(1) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
  }
}
.faist-header-scope.mega-open .main-navigation .menu a        { color: #fff !important; }
.faist-header-scope.mega-open .main-navigation .menu a::after { background-color: #fff; }
.faist-header-scope.mega-open .search-icon                    { background-color: #fff !important; }
.faist-header-scope.mega-open .site-branding .logo--black     { display: none !important; }
.faist-header-scope.mega-open .site-branding .logo--white     { display: block !important; }

/* ========= SEARCH (desktop) ========= */
.faist-header-scope .header-search {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  z-index: 10004;
}
.faist-header-scope .search-icon {
  width: 16px; height: 16px;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 10006;
  border: 0; padding: 0; margin: 0;
  background-color: #4D4D4D;
  background-image: none !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='15' viewBox='0 0 13 15' fill='none'%3E%3Cpath d='M5.5 1.64062C8.12754 1.64062 10.2497 3.75626 10.25 6.35645C10.25 8.95685 8.12771 11.0732 5.5 11.0732C2.87229 11.0732 0.75 8.95685 0.75 6.35645C0.750261 3.75626 2.87246 1.64062 5.5 1.64062Z' stroke='black' stroke-width='1.5'/%3E%3Cline x1='10.0607' y1='12' x2='12' y2='13.9393' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='15' viewBox='0 0 13 15' fill='none'%3E%3Cpath d='M5.5 1.64062C8.12754 1.64062 10.2497 3.75626 10.25 6.35645C10.25 8.95685 8.12771 11.0732 5.5 11.0732C2.87229 11.0732 0.75 8.95685 0.75 6.35645C0.750261 3.75626 2.87246 1.64062 5.5 1.64062Z' stroke='black' stroke-width='1.5'/%3E%3Cline x1='10.0607' y1='12' x2='12' y2='13.9393' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: 13px 15px; mask-size: 13px 15px;
  transition: background-color .2s ease, transform .2s ease;
  -webkit-transform: translateZ(0); transform: translateZ(0);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.faist-header-scope #header-container.search-active .search-icon {
  background-color: #4D4D4D !important;
  background-image: none !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2 2L14 14M14 2L2 14' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2 2L14 14M14 2L2 14' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-size: 16px 16px; mask-size: 16px 16px;
  -webkit-transform: translateZ(0) rotate(90deg); transform: translateZ(0) rotate(90deg);
}
.faist-header-scope .search-form {
  display: flex;
  position: absolute;
  inset: -2px;
  width: auto;
  z-index: 10005;
  border-radius: 102px;
  padding: 0 30px 0 60px;
  background: rgba(255,255,255,.94) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12.5px);
  -webkit-backdrop-filter: blur(12.5px);
  border: none !important;
  outline: none !important;
  align-items: center;
  justify-content: center;
  height: auto;
  clip-path: inset(0 100% 0 0 round 102px);
  opacity: 0;
  pointer-events: none;
  transition: clip-path .42s cubic-bezier(.2,.7,.2,1), opacity .18s ease;
}
.faist-header-scope .search-form input.search-field {
  width: 100%; height: 38px; font-size: 18px;
  border-radius: 50px; background: transparent;
  border: none; outline: none;
  font-family: "D-DIN Pro", Sans-serif;
  color: #1A1A1A;
}
.faist-header-scope .search-form input.search-field::placeholder { color: rgba(26,26,26,.55); }
.faist-header-scope .search-form input.search-field::-webkit-search-cancel-button,
.faist-header-scope .search-form input.search-field::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.faist-header-scope .search-form input.search-field::-ms-clear,
.faist-header-scope .search-form input.search-field::-ms-reveal { display: none; width: 0; height: 0; }
.faist-header-scope #header-container.search-active .search-form {
  clip-path: inset(0 0 0 0 round 102px);
  opacity: 1;
  pointer-events: auto;
}
.faist-header-scope #header-container.search-active {
  background: rgba(255,255,255,.94) !important;
  box-shadow: none !important;
}
.faist-header-scope #header-container.search-active::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 100px;
  pointer-events: none;
  z-index: 10004;
  box-shadow: 0 18px 42px rgba(0,0,0,.16), 0 6px 18px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.05);
  -webkit-transform: translateZ(0); transform: translateZ(0);
}
@supports (-webkit-touch-callout: none) {
  .faist-header-scope #header-container.search-active::before {
    box-shadow: none;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.14)) drop-shadow(0 5px 10px rgba(0,0,0,.08));
  }
}

/* Search mega panel */
@media (min-width: 769px) {
  .faist-search-mega {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none; opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, height .45s cubic-bezier(.2,.7,.2,1);
    padding: 140px 0 100px 0;
    box-sizing: border-box;
    min-height: 0; height: 0; max-height: 100vh;
    overflow-y: auto;
  }
  .faist-search-mega.active              { display: block; visibility: visible; pointer-events: auto; }
  .faist-search-mega.active.is-visible   { opacity: 1; transform: translateY(0); }
  .faist-search-mega .search-mega-container { max-width: 1550px; margin: 0 auto; padding: 0 35px; box-sizing: border-box; width: 100%; }
  .faist-search-mega .search-mega-header { font-family: "D-DIN Pro",sans-serif; font-size: 16px; font-weight: 500; color: #000; text-transform: uppercase; margin-bottom: 36px; }
  .faist-search-mega .search-mega-header::before { content: "//"; margin-right: 6px; color: #FF0827; }
  .faist-search-mega .search-mega-query  { font-family: "D-DIN Pro",sans-serif; font-size: 40px; font-weight: 400; line-height: 1; color: #1A1A1A; margin: 0 0 42px 0; }
  .faist-search-mega .search-mega-status { font-family: "D-DIN Pro",sans-serif; font-size: 24px; font-weight: 400; line-height: 1.25; color: #4D4D4D; margin: 0; }
  .faist-search-mega .search-results-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 28px; }
  .faist-search-mega .search-result-card { display: block; padding: 22px 24px; border-radius: 20px; color: #1A1A1A; text-decoration: none; background: #fff; transition: background-color .25s ease; }
  .faist-search-mega .search-result-card:hover { background: #F7F7F7; }
  .faist-search-mega .search-result-title { display: block; font-family: "D-DIN Pro",sans-serif; font-size: 24px; font-weight: 500; line-height: 1.12; color: #000; margin-bottom: 10px; }
  .faist-search-mega .search-result-type  { display: block; font-family: "D-DIN Pro",sans-serif; font-size: 16px; font-weight: 400; line-height: 1; color: #FF0827; text-transform: uppercase; }
}
@media (max-width: 768px) {
  .faist-header-scope .faist-search-mega { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; height: 0 !important; overflow: hidden !important; }
}

/* ========= NAVIGACIJA (desktop) ========= */
.faist-header-scope .main-navigation .menu { list-style: none; display: flex; justify-content: center; gap: 20px; margin: 0; padding: 0; }
.faist-header-scope .main-navigation       { margin-top: 4px; }
.faist-header-scope .main-navigation .menu li { display: flex; position: relative; }
.faist-header-scope .main-navigation .menu a {
  color: var(--Colour-black-70,#4D4D4D);
  font-family: "D-DIN Pro",Sans-serif; font-size: 16px; font-weight: 400; line-height: normal;
  text-decoration: none; position: relative; display: inline-block; overflow: hidden;
}
.faist-header-scope .main-navigation .menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background-color: #FF0827; transition: width .4s ease;
}
.faist-header-scope .main-navigation .menu li:hover a::after { width: 100%; }
.faist-header-scope .main-navigation .menu li:hover a         { color: black; }
.faist-header-scope .main-navigation .menu .sub-menu          { display: none; }

/* ========= MEGA MENU (desktop) ========= */
@media (min-width: 769px) {
  .mega-menu-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    display: none;
  }
  .mega-menu-backdrop.active { display: block; opacity: 1; visibility: visible; pointer-events: auto; }

  .faist-mega-menu {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none; opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, height .45s cubic-bezier(.2,.7,.2,1);
    padding: 140px 0 100px 0;
    box-sizing: border-box;
    min-height: 0; height: 0; max-height: 100vh;
    overflow-y: auto;
  }
  .faist-mega-menu.active           { display: block; visibility: visible; pointer-events: auto; }
  .faist-mega-menu.active.is-visible { opacity: 1; transform: translateY(0); }

  .faist-mega-menu .mega-menu-container { max-width: 1550px; margin: 0 auto; padding: 0; width: 100%; box-sizing: border-box; }
  .faist-mega-menu-inner { display: flex; flex-wrap: nowrap; width: 100%; padding-left: 35px; padding-right: 15px; box-sizing: border-box; }
  .faist-mega-menu-inner > .mega-menu-col-left   { flex: 0 0 40%; max-width: 40%; }
  .faist-mega-menu-inner > .mega-menu-col-middle { flex: 0 0 20%; max-width: 20%; position: relative; min-height: 300px; padding-top: 40px; }
  .faist-mega-menu-inner > .mega-menu-col-right  { flex: 0 0 40%; max-width: 40%; position: relative; padding-top: 40px; }

  .mega-menu-header { font-family: "D-DIN Pro",sans-serif; font-size: 16px; font-weight: 500; color: #000; text-transform: uppercase; margin-bottom: 20px; }
  .mega-menu-header::before { content: "//"; margin-right: 6px; color: #FF0827; }

  .mega-menu-categories { list-style: none; margin: 0; padding: 0; }
  .mega-menu-categories li { margin-bottom: 20px; }
  .mega-menu-categories li a { font-family: "D-DIN Pro",sans-serif; font-size: 40px; font-weight: 400; color: #1A1A1A; text-decoration: none; transition: color .2s ease; display: flex; align-items: center; line-height: normal; }
  .mega-menu-categories li a:hover,
  .mega-menu-categories li.active a { color: #FF0827; }
  .mega-menu-categories li a .mega-arrow { width: 0; flex-shrink: 0; opacity: 0; overflow: hidden; transition: width .3s ease, opacity .3s ease; }
  .mega-menu-categories li.active a .mega-arrow { width: 32.554px; height: auto; opacity: 1; }

  .mega-menu-subcategories { list-style: none; margin: 0; padding: 0 0 0 0; padding-top: 32px; }
  .mega-menu-subcategories li { margin-bottom: 40px; }
  .mega-menu-subcategories li a { font-family: "D-DIN Pro",sans-serif; font-size: 24px; font-weight: 400; color: #1A1A1A; text-decoration: none; transition: color .2s ease; display: flex; align-items: center; line-height: normal; }
  .mega-menu-subcategories li a:hover,
  .mega-menu-subcategories li.active a { color: #FF0827; }
  .mega-menu-subcategories li a .mega-arrow { width: 0; height: 15px; flex-shrink: 0; opacity: 0; overflow: hidden; transition: width .3s ease, opacity .3s ease; }
  .mega-menu-subcategories li.active a .mega-arrow { width: 24px; opacity: 1; }

  .mega-menu-featured { background: #fff; padding-top: 32px; position: relative; min-height: 500px; height: auto; }
  .mega-menu-featured-card { display: block; text-decoration: none; color: inherit; padding: 20px; border-radius: 20px; transition: background-color .3s ease; }
  .mega-menu-featured-card:hover { background-color: #F7F7F7; }
  .mega-menu-featured-image { width: 100%; height: 355px; object-fit: cover; margin-bottom: 10px; }
  .mega-menu-featured-content { display: flex; justify-content: space-between; align-items: flex-end; }
  .mega-menu-featured-text { flex: 1; padding-right: 20px; max-width: 85%; }
  .mega-menu-featured-title { font-family: "D-DIN Pro",sans-serif; font-size: 24px; font-weight: 500; color: #000; margin: 0 0 10px 0; line-height: normal; }
  .mega-menu-featured-desc  { font-family: "D-DIN Pro",sans-serif; font-size: 18px; font-weight: 400; color: #000; margin: 0; line-height: normal; }
  .mega-menu-featured-arrow { width: 62.75px; height: 67px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .mega-menu-featured-arrow svg { width: 62.75px; height: 67px; }
  .mega-menu-featured-arrow svg path { fill: #1A1A1A; transition: fill .3s ease; }
  .mega-menu-featured-card:hover .mega-menu-featured-arrow svg path { fill: #FF0827; }

  .mega-menu-subcategory-group { display: none; }
  .mega-menu-subcategory-group.active { display: block; }
  .mega-menu-featured-group { display: none; position: relative; opacity: 0; visibility: hidden; pointer-events: none; }
  .mega-menu-featured-group.active { display: block; opacity: 1; visibility: visible; pointer-events: auto; }
}

/* ========= LANGUAGE SWITCHER (desktop) ========= */
.faist-header-scope .header-lang-switcher {
  position: fixed;
  right: 38px; top: 25px;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 54px;
  font-family: "D-DIN Pro", Sans-serif;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.faist-header-scope.mega-open .header-lang-switcher { opacity: 1; visibility: visible; pointer-events: auto; }
.faist-header-scope .header-lang-switcher .lang-dropdown { position: relative; font-family: "D-DIN Pro", Sans-serif; }

.faist-header-scope .header-lang-switcher .lang-dropdown-toggle {
  min-width: 340px; height: 54px;
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 0 30px;
  border: none !important; outline: none !important;
  border-radius: 100px;
  background: rgba(255,255,255,.80);
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(12.5px); -webkit-backdrop-filter: blur(12.5px);
  color: #4D4D4D;
  font-family: "D-DIN Pro", Sans-serif;
  font-size: 16px !important; font-weight: 400 !important; line-height: normal !important;
  cursor: pointer;
  transform-origin: center center; transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  box-sizing: border-box;
}
.faist-header-scope .header-lang-switcher .lang-dropdown-toggle:focus,
.faist-header-scope .header-lang-switcher .lang-dropdown-toggle:focus-visible {
  border: none !important; outline: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
}
@media (hover: hover) {
  .faist-header-scope .header-lang-switcher .lang-dropdown-toggle:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0,0,0,.16) !important;
    background: rgba(255,255,255,.92); color: #000;
  }
}
.faist-header-scope .header-lang-switcher .lang-dropdown.open .lang-dropdown-toggle {
  background: #FF0827 !important; color: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
}
@media (hover: hover) {
  .faist-header-scope .header-lang-switcher .lang-dropdown.open .lang-dropdown-toggle:hover {
    background: #FF0827 !important; color: #fff !important;
    box-shadow: 0 6px 24px rgba(0,0,0,.16) !important;
  }
}
.faist-header-scope .header-lang-switcher .lang-dropdown-selected {
  display: inline-flex; align-items: center;
  gap: 8px; min-width: 0; flex: 1 1 auto;
}
.faist-header-scope .header-lang-switcher .lang-dropdown-globe {
  width: 16px; height: 16px;
  flex-shrink: 0; color: currentColor;
  display: block; position: static; align-self: center;
}
.faist-header-scope .header-lang-switcher .lang-dropdown-label {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  display: inline-flex; align-items: center;
  line-height: 1; padding: 0; margin: 0; transform: none;
  font-family: "D-DIN Pro", Sans-serif !important;
  font-size: 16px !important; font-weight: 400 !important;
}
.faist-header-scope .header-lang-switcher .lang-dropdown-caret {
  width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}
.faist-header-scope .header-lang-switcher .lang-dropdown.open .lang-dropdown-caret {
  transform: rotate(-135deg) translateY(1px);
}
.faist-header-scope .header-lang-switcher .lang-dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0; left: auto;
  width: 100%; min-width: 340px;
  margin: 0; padding: 8px; list-style: none;
  background: rgba(255,255,255,.80);
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(12.5px); -webkit-backdrop-filter: blur(12.5px);
  border: none !important; outline: none !important;
  border-radius: 27px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 10020;
}
.faist-header-scope .header-lang-switcher .lang-dropdown.open .lang-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.faist-header-scope .header-lang-switcher .lang-dropdown-menu li { margin: 0; }
.faist-header-scope .header-lang-switcher .lang-dropdown-menu a,
.faist-header-scope .header-lang-switcher .lang-dropdown-menu .is-current {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  width: 100%; min-height: 44px; padding: 10px 16px;
  box-sizing: border-box; border-radius: 100px;
  background: transparent !important; color: #4D4D4D !important;
  text-decoration: none;
  font-family: "D-DIN Pro",Sans-serif; font-size: 16px; font-weight: 400 !important; line-height: normal;
  transition: color .2s ease;
}
.faist-header-scope .header-lang-switcher .lang-dropdown-menu a::after,
.faist-header-scope .header-lang-switcher .lang-dropdown-menu .is-current::after {
  content: ""; position: absolute; left: 16px; bottom: 8px;
  height: 2px; width: 0; background-color: #FF0827; transition: width .4s ease;
}
.faist-header-scope .header-lang-switcher .lang-dropdown-menu a:hover,
.faist-header-scope .header-lang-switcher .lang-dropdown-menu .is-current:hover { color: #000 !important; background: transparent !important; }
.faist-header-scope .header-lang-switcher .lang-dropdown-menu a:hover::after,
.faist-header-scope .header-lang-switcher .lang-dropdown-menu .is-current:hover::after { width: calc(100% - 32px); }

/* Short/full label */
.faist-header-scope .header-lang-switcher .lang-label-short { display: none; }
.faist-header-scope .header-lang-switcher .lang-label-full  { display: inline; }

@media (min-width: 769px) and (max-width: 1199px) {
  .faist-header-scope .header-lang-switcher .lang-label-full  { display: none !important; }
  .faist-header-scope .header-lang-switcher .lang-label-short { display: inline !important; }
  .faist-header-scope .header-lang-switcher .lang-dropdown-toggle { min-width: auto !important; padding: 0 20px !important; }
  .faist-header-scope .header-lang-switcher .lang-dropdown-menu { min-width: 260px !important; right: 0; left: auto; }
}

/* Desktop lang align with mega container */
@media (min-width: 769px) {
  .faist-header-scope .header-lang-switcher { right: max(38px, calc((100vw - 1550px) / 2)); }
}
@media (min-width: 769px) and (max-width: 1366px) {
  .faist-header-scope .header-lang-switcher { right: max(38px, calc((100vw - 1140px) / 2)); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .faist-header-scope .header-lang-switcher { right: max(22px, calc((100vw - 980px) / 2)); }
}
@media (max-width: 768px) {
  .faist-header-scope .header-lang-switcher { display: none !important; }
}

/* ========= MOBILE LANG SWITCHER (off-canvas) ========= */
.faist-header-scope .off-canvas-lang-switcher {
  display: flex; align-items: flex-start;
  padding: 10px 28px 40px 28px;
  color: #1A1A1A;
  font-family: "D-DIN Pro", Sans-serif !important;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown { width: 100%; position: relative; font-family: "D-DIN Pro", Sans-serif !important; }
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-toggle {
  width: 100%; min-width: 0; height: 54px;
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 0 24px;
  border: none !important; outline: none !important; border-radius: 100px;
  background: rgba(255,255,255,.80) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(12.5px); -webkit-backdrop-filter: blur(12.5px);
  color: #4D4D4D !important;
  font-family: "D-DIN Pro", Sans-serif !important;
  font-size: 16px !important; font-weight: 400 !important; line-height: normal !important;
  cursor: pointer;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown.open .lang-dropdown-toggle {
  background: #FF0827 !important; color: #fff !important;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-selected {
  min-width: 0; flex: 1 1 auto;
  display: inline-flex; align-items: center; gap: 10px; line-height: 1;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-globe {
  width: 15px !important; height: 15px !important;
  flex-shrink: 0; color: currentColor !important;
  display: block; position: static;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-label {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left;
  display: inline-flex; align-items: center;
  line-height: 1 !important; padding-top: 0 !important;
  font-family: "D-DIN Pro", Sans-serif !important;
  font-size: 16px !important; font-weight: 400 !important;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-caret {
  width: 9px; height: 9px; flex-shrink: 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown.open .lang-dropdown-caret {
  transform: rotate(-135deg) translateY(-1px);
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu {
  position: static; width: 100%; min-width: 0;
  margin: 10px 0 0 0; padding: 8px; list-style: none;
  background: rgba(255,255,255,.80) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(12.5px); -webkit-backdrop-filter: blur(12.5px);
  border: none !important; outline: none !important; border-radius: 27px;
  display: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  box-sizing: border-box;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown.open .lang-dropdown-menu { display: block; }
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu li { margin: 0; }
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu a,
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu .is-current {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  width: 100%; min-height: 44px; padding: 10px 16px;
  box-sizing: border-box; border-radius: 100px;
  background: transparent !important; color: #4D4D4D !important;
  text-decoration: none;
  font-family: "D-DIN Pro", Sans-serif !important;
  font-size: 16px !important; font-weight: 400 !important; line-height: normal !important;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu a::after,
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu .is-current::after {
  content: ""; position: absolute; left: 16px; bottom: 8px;
  height: 2px; width: 0; background-color: #FF0827; transition: width .4s ease;
}
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu a:hover,
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu .is-current:hover { color: #000 !important; background: transparent !important; }
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu a:hover::after,
.faist-header-scope .off-canvas-lang-switcher .lang-dropdown-menu .is-current:hover::after { width: calc(100% - 32px); }

/* ========= LOGO ========= */
.faist-header-scope .site-branding .logo-link { display: flex; align-items: center; justify-content: center; }
.faist-header-scope .site-branding .logo-link svg { width: 100px; }
.faist-header-scope .site-branding .logo--black { display: block; }
.faist-header-scope .site-branding .logo--white { display: none; }
@media (max-width: 768px) {
  .faist-header-scope.off-open .site-branding .logo--black { display: none; }
  .faist-header-scope.off-open .site-branding .logo--white { display: block; }
}

/* ========= MOBILE ========= */
@media (max-width: 768px) {
  .faist-header-scope #site-header .container { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 20px; min-width: 100%; }
  .faist-header-scope .main-navigation { display: none; }
  .faist-header-scope .header-search,
  .faist-header-scope .search-form { display: none; }
}
@media (max-width: 480px) {
  .faist-header-scope .search-icon { width: 25px; height: 25px; }
}

/* ========= OFF-CANVAS (mobile) ========= */
.faist-header-scope .off-canvas {
  position: fixed; inset: 0; left: -100%;
  width: 100%; height: 100dvh; min-height: 100svh;
  background: #fff;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top));
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
  transition: left .3s ease;
  z-index: 10000;
  overflow-y: auto; overflow-x: hidden;
  touch-action: pan-y;
}
.faist-header-scope .off-canvas.open { left: 0; }
.faist-header-scope .off-canvas-nav .menu { list-style: none; margin: 0; padding: 0; }
.faist-header-scope .off-canvas-nav .menu > li { padding-bottom: 15px; }
.faist-header-scope .off-canvas-nav .menu > li > a {
  display: inline-flex; align-items: center;
  font-size: 40px; line-height: 40px;
  color: #1A1A1A; text-decoration: none; font-weight: 400;
  padding-left: 28px;
}
.faist-header-scope .off-canvas-nav .menu > li.menu-item-has-children { position: relative; }
.faist-header-scope .off-canvas-nav .menu > li .submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 10px;
  border: none; background: transparent; cursor: pointer;
}
.faist-header-scope .off-canvas-nav .menu > li .submenu-toggle::before {
  content: ""; width: 14px; height: 26px; display: block; background-color: #1A1A1A;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="26" viewBox="0 0 14 26" fill="none"><path d="M1 24.5L12 13L0.999999 1.5" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="26" viewBox="0 0 14 26" fill="none"><path d="M1 24.5L12 13L0.999999 1.5" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center / contain;
  transition: transform .25s ease;
}
.faist-header-scope .off-canvas-nav .menu > li.open > .submenu-toggle::before { transform: rotate(90deg); }
.faist-header-scope .off-canvas-nav .menu > li.open > a { color: #FF3C54; }
.faist-header-scope .off-canvas-nav ul.sub-menu { list-style: none; margin: 0; padding: 0 0 0 14px; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faist-header-scope .off-canvas-nav li.open > ul.sub-menu { max-height: 800px; }
.faist-header-scope .off-canvas-nav ul.sub-menu > li { padding: 6px 0; }
.faist-header-scope .off-canvas-nav ul.sub-menu > li > a { display: inline-flex; align-items: center; font-size: 24px; color: #1a1a1a; text-decoration: none; line-height: 100%; padding-left: 28px; }

.faist-header-scope .off-canvas-contact { padding: 0 28px 30px 28px; color: #1a1a1a; font-family: "D-DIN Pro",sans-serif; }
.faist-header-scope .off-canvas-contact .accent { display: inline-block; width: 28px; height: 2px; background: #FF0827; margin-bottom: 30px; }
.faist-header-scope .off-canvas-contact p { font-size: 20px; line-height: 28px; }

/* ========= HAMBURGER ========= */
.faist-header-scope .mobile-menu-toggle {
  display: flex; align-items: center;
  font-family: "D-DIN Pro",sans-serif; font-size: 15px; font-weight: 500;
  cursor: pointer; line-height: normal; gap: 6px; color: #000;
}
.faist-header-scope .mobile-menu-toggle span { margin-bottom: 1px; }
.faist-header-scope #nav-icon3 {
  width: 28px; height: 16px; position: relative;
  transform: rotate(0deg); transition: .18s ease-in-out;
  cursor: pointer; display: inline-block; color: currentColor;
}
.faist-header-scope #nav-icon3 span {
  display: block; position: absolute; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px; left: 0; opacity: 1;
  transform: rotate(0deg); transition: .18s ease-in-out;
}
#nav-icon3 span:nth-child(1) { top: 0px; }
#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) { top: 7px; }
#nav-icon3 span:nth-child(4) { top: 14px; }
#nav-icon3.open span:nth-child(1) { top: 18px; width: 0%; left: 50%; }
#nav-icon3.open span:nth-child(2) { transform: rotate(45deg); }
#nav-icon3.open span:nth-child(3) { transform: rotate(-45deg); }
#nav-icon3.open span:nth-child(4) { top: 18px; width: 0%; left: 50%; }
.faist-header-scope.off-open #mobile-menu-toggle { color: #fff; }
.faist-header-scope.off-open #nav-icon3 span     { background: #fff; }

/* ===== Smooth submenu (mobile) ===== */
.faist-header-scope .off-canvas-nav .menu > li > ul.sub-menu {
  background: #F2F2F2;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.20), inset 0 -4px 10px rgba(0,0,0,0.20);
  max-height: 0; padding: 0 8px; margin-top: 0;
  opacity: 0; transform: scaleY(.96); transform-origin: top;
  overflow: hidden;
  transition:
    max-height .40s cubic-bezier(.2,.7,.2,1),
    padding-top .25s ease, padding-bottom .25s ease,
    margin-top .25s ease, opacity .25s ease,
    transform .40s cubic-bezier(.2,.7,.2,1);
}
.faist-header-scope .off-canvas-nav .menu > li.open > ul.sub-menu {
  max-height: 800px; padding: 30px 0; margin-top: 30px; opacity: 1; transform: scaleY(1);
}
.faist-header-scope .off-canvas-nav .menu > li > ul.sub-menu > li {
  opacity: 0; transform: translateY(-4px);
  transition: opacity .22s ease, transform .30s cubic-bezier(.2,.7,.2,1);
}
.faist-header-scope .off-canvas-nav .menu > li.open > ul.sub-menu > li { opacity: 1; transform: translateY(0); }
.faist-header-scope .off-canvas-nav .menu > li.open > ul.sub-menu > li:nth-child(1) { transition-delay: .02s; }
.faist-header-scope .off-canvas-nav .menu > li.open > ul.sub-menu > li:nth-child(2) { transition-delay: .04s; }
.faist-header-scope .off-canvas-nav .menu > li.open > ul.sub-menu > li:nth-child(3) { transition-delay: .06s; }
.faist-header-scope .off-canvas-nav .menu > li.open > ul.sub-menu > li:nth-child(4) { transition-delay: .08s; }

@media (prefers-reduced-motion: reduce) {
  .faist-header-scope .off-canvas-nav .menu > li > ul.sub-menu,
  .faist-header-scope .off-canvas-nav .menu > li > ul.sub-menu > li { transition: none !important; }
}

/* ===== Scroll-lock ===== */
html.off-locked, body.off-locked { height: 100%; overflow: hidden !important; }
body.off-locked { position: fixed; width: 100%; }
html.off-open-root, body.off-open-root { background: #fff !important; }
html.off-scrollfix { scroll-behavior: auto !important; }
html.mega-locked, body.mega-locked { overflow: hidden !important; }
body.mega-locked { touch-action: none; }

/* ===== Tabs underline (global) ===== */
.faist-tp-wrap .faist-tp-tabs a { position: relative; overflow: hidden; }
.faist-tp-wrap .faist-tp-tabs a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background-color: #fff; transition: width .4s ease; }
.faist-tp-wrap .faist-tp-tabs a:hover::after,
.faist-tp-wrap .faist-tp-tabs a:focus-visible::after,
.faist-tp-wrap .faist-tp-tabs a.active::after { width: 100%; }

/* ============================================================
   FIX: Lang switcher pill – vertikalno poravnanje svih elemenata
   Dodaj na sam kraj fajla
   ============================================================ */

/* Pill (button) – flex umjesto inline-flex rjesava visinu na svim browserima */
.faist-header-scope .header-lang-switcher .lang-dropdown-toggle {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

/* Selected wrapper */
.faist-header-scope .header-lang-switcher .lang-dropdown-selected {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  min-width: 0;
  flex: 1 1 auto;
}

/* Globe SVG – inline-flex + self-centering */
.faist-header-scope .header-lang-switcher .lang-dropdown-globe {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  position: static !important;
  top: auto !important;
}

/* Label span */
.faist-header-scope .header-lang-switcher .lang-dropdown-label {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

/* Caret */
.faist-header-scope .header-lang-switcher .lang-dropdown-caret {
  display: block !important;
  flex-shrink: 0 !important;
  align-self: center !important;
  margin-top: 0 !important;
  transform: rotate(45deg) !important;
}
.faist-header-scope .header-lang-switcher .lang-dropdown.open .lang-dropdown-caret {
  transform: rotate(-135deg) !important;
}

/* Tablet breakpoint: samo kratka labela */
@media (min-width: 769px) and (max-width: 1199px) {
  .faist-header-scope .header-lang-switcher .lang-label-full  { display: none !important; }
  .faist-header-scope .header-lang-switcher .lang-label-short { display: inline !important; }
  .faist-header-scope .header-lang-switcher .lang-dropdown-toggle {
    min-width: auto !important;
    padding: 0 20px !important;
  }
  .faist-header-scope .header-lang-switcher .lang-dropdown-menu {
    min-width: 200px !important;
    right: 0;
    left: auto;
  }
}