*{
  margin: 0;
  padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&display=swap');
@font-face {
    font-family: 'Titillium Web';
    src: url('fonts/TitilliumWeb-Regular.woff2') format('woff2'),
         url('fonts/TitilliumWeb-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Titillium Web', sans-serif;
}

h1, h2, h3, h4, h5, h6, p, a, li {
    font-family: 'Titillium Web', sans-serif;
}

/* MENI ZA MOBILNI*/
.navbar-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.hamburger-menu {
  cursor: pointer;
  font-size: 30px;
}
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background-color: white;
  overflow-x: hidden;
  transition: 0.5s;
  z-index: 9999;
}
.menu-overlay-content {
  position: relative;
  width: 75%;
  height: 100%;
  padding: 20px;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background-color: orange;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}





/* GLAVNI MENI*/
.glavnimenidiv {
  padding: 30px;
}

.glavnimeni li a {
text-transform: uppercase;
letter-spacing: 2px;
font-size: 20px;

}


.glavnimeni li a:hover{
  text-decoration-line: underline;
  text-decoration-color: rgb(44, 46, 44);
  color: rgb(63, 62, 62);

  }



.table th, .table td {
    font-size: 15px;
    padding: 3;
    margin: 0;
}





.imagelogoprint {

  max-width: 300px;
  height: auto;
  
}



.zoom:hover {

  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5); 
}




/* Stilovi za podmeni */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
}
.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

/* Promena boje stavki pri prelasku mišem */
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Uklanjanje bljeskanja plave boje pri odabiru stavki menija */
.dropdown-item:focus {
  outline: none;
  box-shadow: none;
}

/* Stilovi logo sliku gore levo */
.imagelogo {
  max-width: 400px;
  height: auto;
}

/** DEO ZA SEARCH BOJA TEKSTA KOJI JE PRONADJEN */
.highlight {
  background-color: goldenrod;
}

/** zlatno dugme  TRENUTNO OVO NE KORISTIM*/
.btn-gold {
  background-color: gold;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-gold:hover {
  background-color: goldenrod;
}





/** DEO da kvadratic bude zlatan */
.form-check {
  position: relative;
  display: flex;
  align-items: center;
}

.form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
}

.form-check-input + .form-check-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 2px solid #FFD700; /* Narandžasti okvir */
  border-radius: 4px;
  background-color: transparent; /* Providna pozadina */
  vertical-align: middle;
  transition: background-color 0.2s, border-color 0.2s;
}

.form-check-input:checked + .form-check-label::before {
  background-color: #FFD700; /* Narandžasta pozadina kada je čekirano */
  border-color: #FFD700; /* Narandžasti okvir kada je čekirano */
}

.form-check-input:checked + .form-check-label::after {
  content: none; /* Uklanja beli kvadratić */
}





/* za prekid stranice kod stampe*/
.page-break {
  page-break-before: always;
}






/* Da levi deo FILTERI stoji na vrhu*/
.sticky-filter {
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  top: 0; /* Pinned to the top of the viewport */
  z-index: 1; /* Ensures it stays on top of other content */
  background-color: white; /* Optional: background color to stand out */
}



/* da okvir u pretrazi bude zlatan*/
.warning-input {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}










/* stilovi za sliku*/
.imgproizvoda {
    max-width: 100%;
    height: 150px;
    margin: 10px;
    padding: 10px;
  }

/* Osnovni stil slike */
.imgproizvoda {
    position: relative;
    display: inline-block;
}

/* Postavljanje kursora na ikonu lupe */
.image-preview {
    width: 400px;
    cursor: zoom-in; /* Umesto ruke, sada će se prikazati lupa */
}




/* Modalni prozor */
.modal1 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

}

/* Modalni sadržaj - centriran, zauzima pola ekrana */
.modal-content1 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45vw; /* Polovina širine ekrana */
    height: 60vh; /* Polovina visine ekrana */
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Uvećana slika u modalu */
.popup-image {
    max-width: 50%;
    max-height: 50%;
    transform: scale(2); /* Duplo uvećanje slike */
}

/* Stil za X dugme */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: black;
    background: white;
    border-radius: 50%;
    padding: 5px 10px;
z-index: 1100;
}
