/* ============================================
   VIBER CHAT – postojeći zlatno/crni izgled
   ============================================ */

.viber-bubble,
.viber-bubble:hover,
.viber-bubble:focus,
.viber-bubble:focus-visible,
.viber-bubble:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
}

.viber-bubble {
  position: fixed;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  z-index: 99999;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.viber-bubble:hover { transform: translateY(-3px); }
.viber-bubble:active { transform: translateY(-1px) scale(.98); }

.viber-bubble img {
  display: block;
  width: 55px;
  height: 55px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 15px rgba(212,175,55,.5));
  transition: transform .35s ease, filter .35s ease;
}

.viber-bubble:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 25px rgba(212,175,55,.8));
}

.viber-bubble-label {
  display: block;
  padding: 8px 14px;
  border: 1px solid rgba(212,175,55,.5);
  border-radius: 0;
  background: rgba(20,20,20,.88);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  color: #D4AF37 !important;
  font-family: 'Cinzel',serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .2em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  white-space: nowrap;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.viber-bubble:hover .viber-bubble-label {
  color: #E5C158 !important;
  border-color: #E5C158 !important;
  background: rgba(20,20,20,.96) !important;
  box-shadow: 0 6px 30px rgba(212,175,55,.25) !important;
}

/* Instalacion / fallback prozor */
.viber-install-notice,
.viber-install-notice * { box-sizing: border-box; }

.viber-install-notice {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.viber-install-panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 38px 30px 30px;
  border: 1px solid rgba(212,175,55,.58);
  border-radius: 0;
  background: linear-gradient(145deg,#202020 0%,#111 100%);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  color: #f5f1e8;
  text-align: center;
}

.viber-install-close,
.viber-install-retry,
.viber-install-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.viber-install-close {
  position: absolute;
  top: 9px;
  right: 13px;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #D4AF37 !important;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.viber-install-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  padding: 5px;
  border: 1px solid rgba(212,175,55,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.2);
}

.viber-install-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.viber-install-panel h2 {
  margin: 0 0 13px !important;
  color: #D4AF37 !important;
  font-family: 'Cinzel',serif !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.viber-install-panel p {
  margin: 0 0 23px !important;
  color: rgba(255,255,255,.84) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

.viber-install-button,
.viber-install-button:visited {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 48px;
  padding: 13px 16px !important;
  border: 1px solid #D4AF37 !important;
  border-radius: 0 !important;
  background: #D4AF37 !important;
  box-shadow: none !important;
  color: #171717 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: background .25s ease,color .25s ease,border-color .25s ease;
}

.viber-install-button:hover,
.viber-install-button:focus,
.viber-install-button:active {
  border-color: #D4AF37 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #D4AF37 !important;
}

.viber-install-retry {
  display: block;
  width: 100% !important;
  min-height: 44px;
  margin: 13px 0 0 !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(212,175,55,.45) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #D4AF37 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  cursor: pointer;
  transition: border-color .25s ease,background .25s ease,color .25s ease;
}

.viber-install-retry:hover,
.viber-install-retry:focus,
.viber-install-retry:active {
  border-color: #D4AF37 !important;
  background: rgba(212,175,55,.08) !important;
  box-shadow: none !important;
  color: #E5C158 !important;
}

.viber-install-close:focus-visible,
.viber-install-retry:focus-visible,
.viber-install-button:focus-visible {
  outline: 2px solid #D4AF37 !important;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .viber-bubble { bottom: max(16px, env(safe-area-inset-bottom)); gap: 6px; }
  .viber-bubble img { width: 44px; height: 44px; }
  .viber-bubble-label { padding: 7px 9px; font-size: 9px !important; letter-spacing: .12em !important; }
  .viber-install-notice { padding: 16px; }
  .viber-install-panel { max-width: 100%; padding: 34px 22px 24px; }
  .viber-install-panel h2 { font-size: 17px !important; }
  .viber-install-panel p { font-size: 13px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .viber-bubble, .viber-bubble img, .viber-bubble-label,
  .viber-install-button, .viber-install-retry { transition: none !important; }
}


/* ============================================
   VIBER CHAT – DODATNE HOVER KOREKCIJE
   ============================================ */

/* 1. Glavna Viber ikonica – uklanjanje žutog boxa */
.viber-bubble,
.viber-bubble:hover,
.viber-bubble:focus,
.viber-bubble:focus-visible,
.viber-bubble:active {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Ikonica levo, tekst desno */
.viber-bubble {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.viber-bubble img {
  order: 0 !important;
  flex: 0 0 55px !important;
}

.viber-bubble-label {
  order: 1 !important;
}

/* Bez žutog kvadrata na hoveru ikonice */
.viber-bubble img:hover,
.viber-bubble:hover img {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* 2. Close X – šira hover zona */
.viber-install-close {
  width: 46px !important;
  height: 46px !important;
  top: 5px !important;
  right: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.viber-install-close:hover,
.viber-install-close:focus,
.viber-install-close:active {
  width: 46px !important;
  height: 46px !important;
  background: rgba(212,175,55,.10) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #E5C158 !important;
}

@media (max-width: 600px) {
  .viber-bubble img {
    flex-basis: 44px !important;
  }

  .viber-bubble {
    gap: 6px !important;
  }

  .viber-install-close {
    width: 46px !important;
    height: 46px !important;
  }
}



/* SAMO GLAVNO VIBER CHAT DUGME – bez žutog hover efekta */

html body button.viber-bubble:hover,
html body button.viber-bubble:focus,
html body button.viber-bubble:focus-visible,
html body button.viber-bubble:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
    border-color: transparent !important;
    outline: none !important;
}

/* Bez žute pozadine na ikonicama i pseudo-elementima */
html body button.viber-bubble:hover img,
html body button.viber-bubble:hover::before,
html body button.viber-bubble:hover::after {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}