/* BTK Theme — header, footer, GDPR, search, matching live bela-tehnika.rs (BeTheme shop) */
:root {
  --btk-navy: #272f76;
  --btk-navy-deep: #1b225e;
  --btk-navy-footer: #102136;
  --btk-red: #e3252c;
  --btk-gold: #a8977b;
  --btk-gold-2: #7f715c;
  --btk-text: #3f4245;
  --btk-heading: #111518;
  --btk-muted: #6d7580;
  --btk-grey: #f6f6f6;
  --btk-offcanvas: rgba(18, 21, 25, 0.98);
  --btk-topbar-h: 42px;
  --btk-mainbar-h: 88px;
  --btk-menubar-h: 46px;
  --btk-header-h: 176px;
  --btk-font: Montserrat, sans-serif;
  --btk-container: 1290px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-padding-top: calc(var(--btk-header-h) + 8px); }
body.btk-theme {
  margin: 0;
  font-family: var(--btk-font);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--btk-text);
  background: #fff;
  overflow-x: hidden;
  padding-top: var(--btk-header-h);
  transition: padding-top 0.42s ease;
}
body.btk-theme .container {
  width: 100%;
  max-width: var(--btk-container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
body.btk-theme h1, body.btk-theme h2, body.btk-theme h3, body.btk-theme h4 {
  font-family: var(--btk-font);
  font-weight: 400;
  color: var(--btk-heading);
  line-height: 1.5;
}
body.btk-theme h1 { font-size: 40px; }
body.btk-theme h2 { font-size: 35px; }
body.btk-theme h3 { font-size: 30px; }
body.btk-theme h4 { font-size: 25px; }
body.btk-theme h5 { font-size: 20px; font-weight: 700; }
body.btk-theme a { color: var(--btk-gold); }
body.btk-theme a:hover { color: var(--btk-gold-2); }
img { max-width: 100%; height: auto; }

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.btk-wrapper { min-height: 100vh; display: flex; flex-direction: column; width: 100%; }
.btk-theme-main { flex: 1; padding: 48px 0 64px; }

.btk-header-wrap {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  z-index: 1040; background: #fff;
  box-shadow: 0 10px 20px rgba(43, 61, 80, 0.06);
  transition: box-shadow 0.35s ease;
}
.btk-topbar { background: #101015; color: #fff; }
.btk-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--btk-topbar-h); gap: 16px;
}
.btk-topbar__note { margin: 0; font-size: 13px; color: #ddd; }
body.btk-is-scrolled .btk-topbar { background: #0c0c10; }

/* Desktop: on scroll keep only the menu — soft collapse of top + main bar. */
@media (min-width: 1000px) {
  .btk-topbar,
  .btk-mainbar {
    overflow: hidden;
    opacity: 1;
    transition:
      max-height 0.42s ease,
      opacity 0.32s ease,
      transform 0.42s ease;
  }
  .btk-topbar {
    max-height: 64px;
    transform: translateY(0);
  }
  .btk-mainbar {
    max-height: 110px;
    transform: translateY(0);
  }
  body.btk-is-scrolled {
    --btk-header-h: var(--btk-menubar-h);
  }
  body.btk-is-scrolled .btk-topbar,
  body.btk-is-scrolled .btk-mainbar {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }
  body.btk-is-scrolled .btk-topbar__inner,
  body.btk-is-scrolled .btk-mainbar__inner {
    min-height: 0;
  }
  body.btk-is-scrolled .btk-header-wrap {
    box-shadow: 0 6px 16px rgba(43, 61, 80, 0.1);
  }
  body.btk-is-scrolled .btk-menubar {
    border-top: 0;
  }
}
@media (min-width: 1000px) and (prefers-reduced-motion: reduce) {
  body.btk-theme,
  .btk-topbar,
  .btk-mainbar,
  .btk-header-wrap {
    transition: none;
  }
}
.btk-topbar .btk-social { display: flex; align-items: center; gap: 10px; }
.btk-topbar .btk-social a { color: #fff !important; display: inline-flex; }
.btk-topbar .btk-social a:hover { color: var(--btk-gold) !important; }
.btk-topbar__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btk-topbar__phone,
.btk-topbar__email {
  color: #fff !important; text-decoration: none !important;
  font-size: 13px; line-height: 1.3;
  display: inline-flex; align-items: center; gap: 6px;
}
.btk-topbar__phone:hover,
.btk-topbar__email:hover { color: var(--btk-gold) !important; }

.btk-mainbar { background: #fff; }
.btk-mainbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--btk-mainbar-h); gap: 20px;
}
.btk-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.btk-logo img { display: block; height: 70px; width: auto; max-width: 200px; }
.btk-searchform {
  flex: 1; display: flex; align-items: center; max-width: 560px;
  border: 1px solid #e3e3e3; border-radius: 4px; background: #fff;
  overflow: hidden;
}
.btk-searchform__input {
  flex: 1; border: 0; background: transparent; padding: 12px 16px;
  font-family: var(--btk-font); font-size: 15px; color: var(--btk-heading);
}
.btk-searchform__input:focus { outline: none; }
.btk-searchform__submit {
  width: 48px; height: 44px; border: 0; background: transparent;
  color: var(--btk-heading); cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center;
}
.btk-mainbar__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btk-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--btk-heading) !important; text-decoration: none !important;
}
.btk-cart__count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--btk-navy);
  color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.btk-menubar { background: #fff; border-top: 1px solid #f0f0f0; }
.btk-menubar .container { display: flex; }

.btk-nav--desktop { margin-left: 0; width: 100%; }
.btk-nav__list {
  display: flex; list-style: none; margin: 0; padding: 0;
  gap: 4px; align-items: center; flex-wrap: nowrap;
}
.btk-nav__item { position: relative; }
.btk-nav--desktop .btk-nav__link {
  display: block; padding: 8px 8px;
  color: var(--btk-text) !important; text-decoration: none !important;
  font-size: 15px; line-height: 1.3; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.01em;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.btk-nav--desktop .btk-nav__link:hover,
.btk-nav--desktop .btk-nav__item.is-current > .btk-nav__link {
  color: var(--btk-heading) !important;
  border-bottom-color: var(--btk-gold);
}
.btk-nav--desktop .btk-nav__item.webshop > .btk-nav__link,
.btk-nav--desktop .webshop > a {
  font-weight: 700 !important; color: var(--btk-navy-deep) !important;
}
.btk-nav--desktop .btk-nav__item.ponudameseca > .btk-nav__link {
  font-weight: 600 !important; color: var(--btk-red) !important;
}
.btk-nav--desktop .btk-nav__item.ponudameseca > .btk-nav__link:hover { color: #b71b21 !important; }
.btk-nav--desktop .btk-nav__toggle-sub { display: none; }
.btk-nav--desktop .btk-nav__item--parent > .btk-nav__link::after {
  content: ""; display: inline-block; margin-left: 6px;
  border: 4px solid transparent; border-top-color: currentColor;
  transform: translateY(2px);
}
.btk-nav--desktop .btk-nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  list-style: none; margin: 0; padding: 8px 0; background: #fff;
  box-shadow: 0 10px 20px rgba(41, 51, 61, 0.1); border-radius: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 5;
}
.btk-nav--desktop .btk-nav__item--parent:hover > .btk-nav__sub,
.btk-nav--desktop .btk-nav__item--parent:focus-within > .btk-nav__sub {
  opacity: 1; visibility: visible; transform: none;
}
.btk-nav--desktop .btk-nav__sub .btk-nav__link {
  text-transform: none; font-size: 15px; font-weight: 500;
  border: 0; padding: 9px 16px; color: var(--btk-text) !important;
}
.btk-nav--desktop .btk-nav__sub .btk-nav__link:hover { color: var(--btk-navy) !important; }

.btk-nav-toggle {
  display: none; width: 44px; height: 44px; border: 0;
  background: transparent; padding: 10px; cursor: pointer;
}
.btk-nav-toggle span {
  display: block; height: 2px; background: var(--btk-heading);
  margin: 6px 0; border-radius: 1px;
}

.btk-offcanvas { position: fixed; inset: 0; z-index: 1100; }
.btk-offcanvas[hidden] { display: none !important; }
.btk-offcanvas__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
}
.btk-offcanvas__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: 500px; max-width: 90vw;
  background: var(--btk-offcanvas); color: #fff;
  box-shadow: 0 0 70px rgba(0,0,0,.35);
  overflow-y: auto; padding: 28px 24px 40px;
  display: flex; flex-direction: column;
}
.btk-offcanvas__close {
  align-self: flex-end; width: 44px; height: 44px;
  border: 0; background: transparent; color: #fff;
  font-size: 36px; line-height: 1; cursor: pointer;
}
.btk-nav--mobile .btk-nav__list {
  flex-direction: column; align-items: stretch; gap: 0;
}
.btk-nav--mobile .btk-nav__item { position: relative; }
.btk-nav--mobile .btk-nav__link {
  display: block; padding: 12px 8px 12px 0;
  color: #fff !important; text-decoration: none !important;
  font-size: 20px; font-weight: 500; line-height: 1.3;
}
.btk-nav--mobile .btk-nav__item.webshop > .btk-nav__link,
.btk-nav--mobile .webshop > a,
.btk-offcanvas .webshop > a {
  font-weight: 700 !important;
  color: #fff !important;
}
.btk-nav--mobile .btk-nav__item.ponudameseca > .btk-nav__link {
  color: #ff6b70 !important;
  font-weight: 600;
}
.btk-nav--mobile .btk-nav__toggle-sub {
  position: absolute; top: 4px; right: 0; width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
}
.btk-nav--mobile .btk-nav__toggle-sub::after {
  content: ""; display: block; margin: 0 auto;
  border: 5px solid transparent; border-top-color: #fff;
  transform: translateY(3px);
}
.btk-nav--mobile .btk-nav__item--parent.is-open > .btk-nav__toggle-sub::after {
  transform: rotate(180deg) translateY(5px);
}
.btk-nav--mobile .btk-nav__sub {
  display: none; list-style: none; margin: 0; padding: 0 0 8px 12px;
}
.btk-nav--mobile .btk-nav__item--parent.is-open > .btk-nav__sub { display: block; }
.btk-nav--mobile .btk-nav__sub .btk-nav__link { font-size: 16px; padding: 8px 0; color: rgba(255,255,255,.85) !important; }
.btk-offcanvas__meta {
  margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 8px;
}
.btk-offcanvas__meta a { color: #fff !important; text-decoration: none; font-size: 15px; }
.btk-offcanvas__meta .btk-social { display: flex; gap: 14px; margin-top: 12px; }
.btk-offcanvas__meta .btk-social a { color: #fff !important; }

.btk-search {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--btk-offcanvas);
  display: flex; align-items: center; justify-content: center;
}
.btk-search[hidden] { display: none !important; }
.btk-search__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border: 0; background: transparent;
  color: #fff; font-size: 36px; cursor: pointer;
}
.btk-search__form { width: min(640px, 88vw); display: flex; gap: 10px; }
.btk-search__input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 28px; padding: 12px 0; font-family: var(--btk-font);
}
.btk-search__input:focus { outline: none; border-bottom-color: #fff; }
.btk-search__submit {
  background: var(--btk-gold); color: #fff; border: 0; border-radius: 20px;
  padding: 10px 22px; font-weight: 600; cursor: pointer; font-family: var(--btk-font);
}

.btk-footer { background: var(--btk-navy-footer); color: #eaeaec; margin-top: auto; }
.btk-footer__widgets { background: #000; padding: 70px 0; }
.btk-footer__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px 48px; align-items: start;
}
.btk-footer__grid--shop { grid-template-columns: 1fr 1fr 1fr 1fr; }
.btk-footer__links { list-style: none; margin: 0; padding: 0; }
.btk-footer__links a, .btk-footer__col p, .btk-footer__col p a {
  color: #fff; text-decoration: none; font-size: 15px; line-height: 1.65;
}
.btk-footer__links li { margin: 0 0 6px; }
.btk-footer__links a:hover, .btk-footer__col p a:hover { color: #ddd; }
.btk-footer__logo { display: block; width: 174px; max-width: 100%; height: auto; margin-bottom: 22px; }
.btk-footer__col--about p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #fff; }
.btk-footer__title {
  color: #fff !important; font-size: 16px; font-weight: 600;
  text-transform: uppercase; margin: 0 0 16px;
}
.btk-footer__contact { list-style: none; margin: 0; padding: 0; }
.btk-footer__contact li { margin: 0 0 8px; }
.btk-footer__contact a {
  color: #fff !important; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.btk-footer__contact a:hover { color: #ddd !important; }
.btk-footer__contact a.white-text { color: #fff !important; }
.btk-footer__contact svg { flex-shrink: 0; }
.btk-footer__copy { background: #0c0c0c; padding: 25px 0; }
.btk-footer__copy-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.btk-footer__text { margin: 0; color: #9d9d9d; font-size: 15px; }
.btk-footer__text a { color: #9d9d9d; text-decoration: none; }
.btk-footer__text a:hover { color: #fff; }
.btk-footer__social { display: flex; gap: 16px; }
.btk-footer__social a { color: #9d9d9d !important; display: inline-flex; }
.btk-footer__social a:hover { color: var(--btk-gold) !important; }

.btk-back-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 1030;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--btk-navy); color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none !important; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.btk-back-top.is-visible { opacity: 1; pointer-events: auto; }

#mfn-gdpr, .btk-gdpr {
  display: none; align-items: center; position: fixed; z-index: 10000;
  box-sizing: border-box; flex-direction: column;
  padding: 28px 28px 24px; bottom: 28px; left: 28px; width: 280px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(16, 37, 88, 0.18);
}
#mfn-gdpr.show, .btk-gdpr.show { display: flex; }
.btk-gdpr__image { line-height: 0; margin-bottom: 14px; }
.btk-gdpr__icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.btk-gdpr__content { margin-bottom: 10px; text-align: center; color: #58595b; font-size: 13px; line-height: 1.5; }
.btk-gdpr__readmore { margin-bottom: 14px; color: var(--btk-navy); font-size: 13px; font-weight: 600; }
.btk-gdpr__button {
  background: var(--btk-navy); color: #fff; border: 0; border-radius: 50px;
  padding: 11px 32px; font-size: 14px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; cursor: pointer; width: 100%;
}
.btk-gdpr__button:hover { background: var(--btk-navy-deep); color: #fff; }

.btk-theme-entry__title { font-size: 36px; line-height: 1.2; margin: 0 0 24px; }
.btk-prose { font-size: 16px; line-height: 1.75; }
.btk-prose h2, .btk-prose h3 { margin: 1.6em 0 .6em; }
.btk-prose p { margin: 0 0 1em; }
.btk-theme-404 { text-align: center; padding: 80px 0; }
.btk-theme-404 h1 { font-size: 72px; }
.btk-theme-card { margin: 0 0 28px; }
html.btk-nav-lock, html.btk-search-lock, body.btk-nav-open { overflow: hidden; }

@media (max-width: 1199.98px) {
  .btk-nav--desktop .btk-nav__link { font-size: 14px; padding: 8px 6px; }
}
@media (max-width: 999.98px) {
  :root { --btk-header-h: 128px; --btk-mainbar-h: 70px; --btk-menubar-h: 0px; }
  .btk-topbar { display: none; }
  .btk-menubar, .btk-nav--desktop { display: none; }
  .btk-nav-toggle { display: block; }
  .btk-logo img { height: 52px; }
  .btk-mainbar__inner { flex-wrap: wrap; min-height: auto; padding: 8px 0; }
  .btk-searchform { order: 3; flex: 1 1 100%; max-width: none; }
  .btk-footer__grid, .btk-footer__grid--shop { grid-template-columns: 1fr; }
  .btk-footer__copy-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 689.98px) {
  .btk-offcanvas__panel { width: 90vw; }
  body.btk-theme h2 { font-size: 28px; }
  body.btk-theme h1 { font-size: 28px; }
  #mfn-gdpr, .btk-gdpr { left: 12px; right: 12px; bottom: 84px; width: auto; }
  .btk-back-top { bottom: 76px; }
}

/* Google reCAPTCHA badge — hidden; privacy policy must mention reCAPTCHA (WPForms). */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
