/* ====== Opšti linkovi ====== */
a,
a:visited,
a:active {
    color: #232323 !important; /* Tamno siva, kao float-xs-right */
    text-decoration: none;
}
a:hover,
a:focus {
    color: #cd1717 !important; /* Zelena na hover */
    text-decoration: none;
}

/* ====== Dugmad ====== */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:active:hover {
    background-color: #cd1717 !important;
    border-color: #cd1717 !important;
    color: #fff !important;
}

/* ====== Korpa u headeru (blockcart) ====== */
.blockcart.cart-preview,
.blockcart.cart-preview a,
.blockcart.cart-preview span,
.blockcart.cart-preview .material-icons,
.blockcart.cart-preview .cart-products-count {
    color: #232323 !important;
    fill: #232323 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: color 0.2s, fill 0.2s;
}
.blockcart.cart-preview:hover,
.blockcart.cart-preview:hover a,
.blockcart.cart-preview:hover span,
.blockcart.cart-preview:hover .material-icons,
.blockcart.cart-preview:hover .cart-products-count {
    color: #cd1717 !important;
    fill: #cd1717 !important;
}

/* ====== User info (header login/account) ====== */
.user-info,
.user-info a,
.user-info span,
.user-info i,
.user-info .material-icons,
.user-info svg {
    color: #232323 !important;
    fill: #232323 !important;
    transition: color 0.2s, fill 0.2s;
}
.user-info:hover,
.user-info:hover a,
.user-info:hover span,
.user-info:hover i,
.user-info:hover .material-icons,
.user-info:hover svg {
    color: #cd1717 !important;
    fill: #cd1717 !important;
}

/* Informacije Dropdown Styles */
.user-informacije {
    position: relative;
}

.informacije-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 680px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    margin-top: 5px;
}

.informacije-dropdown.active {
    display: block;
    opacity: 1;
    visibility: visible;
    border-radius: 20px;
}

.informacije-container {
    display: flex;
    gap: 40px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
}

.informacije-left {
    flex: 0 0 350px;
    border-right: 1px solid #e5e5e5;
    padding-right: 30px;
}

.informacije-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.icon-title i {
    color: #000000;
}

.icon-title h3 {
    margin-bottom: 0 !important;
    font-size: 18px;
    font-weight: 600;
}

.contact-info {
    font-size: 13px;
    color: #666;
}

.contact-info p {
    margin-bottom: 0;
}

.contact-info .phone,
.contact-info .email,
.working-hours .hours {
    font-size: 15px;
    color: #232323;
    font-weight: 500;
    display: block;
    margin: 5px 0;
}

.working-hours {
    margin: 12px 0;
}

.social-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #232323;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 6px;
}

.social-icons svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-icons a:hover {
    background: #cd1717;
}

.social-icons a:hover svg {
    fill: white;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 20px;
}

.info-links a {
    color: #232323;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 2px 0;
    line-height: 1.4;
}

.info-links a:hover {
    color: #cd1717;
}

.help-support h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #232323;
}


@media screen and (min-width: 768px) and (max-width: 991px) {
    .informacije-dropdown { 
        min-width: 540px;
    }
    
    .informacije-left { 
        flex: 0 0 320px;
    }
    
    .info-links {
        padding-left: 0;
    }
}


/* ====== float-xs-right (npr. dugmad za login/logout) ====== */
.float-xs-right a,
.float-xs-right span {
    color: #232323 !important;
}


/* ====== Footer shadow i background ====== */
#footer {
    box-shadow: 0 -2px 5px 0 rgba(0, 0, 0, .11);
}
.footer-container p {
    color: #000000;
}
div#contact-infos {
    color: black;
}


/* ====== Specifični footer elementi ====== */
/* Zelena za copyright, telefon i mail u footeru */
.footer-bottom .copyright,
.footer-bottom .shop-phone,
.footer-bottom .shop-email {
    color: #000000 !important;
}

/* Hover na SVE linkove u footeru zelena */
.footer a:hover,
.footer a:focus,
.footer-container li a:hover,
.footer-container li a:focus {
    color: #cd1717 !important;
}

/* Newsletter */

div#blockEmailSubscription_displayFooter input.btn.btn-primary {
  font-size: 13px;
}

.block_newsletter {
    clear: unset;
}

p#block-newsletter-label {
    font-size: 1rem !important;
    font-weight: 700 !important;
}

/* Detalji o trgovini */

p.h4.text-uppercase.block-contact-title.hidden-sm-down {
    display: none;
}

div#contact-infos {
    margin-top: 20px;
}


.footer-container {
    padding-top: 0;
}

@media screen and (max-width: 768px) {
    .footer-container .logo.img-fluid {
      display: none !important;
    }
}

/* ====== Paginacija, navigacija i tabovi ====== */
.page-item.active .page-link,
.page-item.active .page-link:focus,
.page-item.active .page-link:hover {
    color: #fff !important;
    background-color: #cd1717 !important;
    border-color: #cd1717 !important;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link.active:focus,
.tabs .nav-tabs .nav-link.active:hover,
.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {
    color: #cd1717 !important;
    border-color: #cd1717 !important;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link.active:focus,
.nav-pills .nav-link.active:hover {
    color: #fff !important;
    background-color: #cd1717 !important;
}

/* ====== Dropdown meni ====== */
/*.dropdown-item:focus,*/
/*.dropdown-item:hover {*/
/*    color: #cd1717 !important;*/
/*}*/



/* ====== Ime proizvoda mala i velika sova ====== */
.page-product h1.h1,
.product-title,
.page-product .h1 {
    text-transform: none !important;
    letter-spacing: normal !important;
}

.page-product h1 {
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 1.8rem;
    font-weight: 400 !important;
}

.material-icons {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: normal;
  font-size: 24px;   /* ili koliko koristiš na sajtu */
  line-height: 1;
  display: inline-block;
  width: 24px;       /* opcionalno, ali znaš širinu ikone */
  height: 24px;      /* isto */
  vertical-align: middle; /* poravnanje */
}

.header-title, .header-menu {
  min-height: 40px; /* ili prava vrijednost prema dizajnu */
}


/* Obavezno – ograničava širinu/visinu prema HTML atributima */
.logo.img-fluid {
  max-width: 200px !important;
  height: auto !important;
  display: block;
  aspect-ratio: 200 / 50;
  /* Ukloni padding/margine ako treba: */
  margin: 0;
  padding: 0;
}

/* HEADER */

#header {
    border-bottom: 1px solid #e0e0e0;
    box-shadow: none;
}

header#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .11);
    width: 100%;
}

header#header .header-top-right {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
}

header#header .header-top-right .search-widgets {
    min-width: 50%;
    margin: 0 auto;
}

#header .header-top .menu {
    padding-top: 15px;
}

#search_widget form i {
    padding: 0.8rem;
}

@media screen and (max-width: 767px)  {
  #_desktop_informacije {
      display: none;
  }
  
  header#header .header-top-right .search-widgets {
      min-width: 100%;
  }
  
  header#header .header-top-right {
      gap: 0px;
  }
}

/* Header container mora imati rezervisan prostor */
#header_logo, .logo-container {
  min-width: 106px;
  min-height: 54px;
  /* Centriranje po vertikali */
  display: flex;
  align-items: center;
  /* Ukloni padding/margine ako treba: */
  margin: 0;
  padding: 0;
}

/* Iskljucen header srednji border */
#header .header-nav {
    border: none;
}

@media (max-width: 600px) {
    nav#category-menu {
        display: none;
    }
}

/* MENI DIZAJN */
/* === HORIZONTALNI PRVI NIVO (glavni meni, jedan red) === */
#_desktop_top_menu .top-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px !important;      /* Tvoj razmak */
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#_desktop_top_menu .top-menu > li {
  padding: 0 6px !important;
}

#_desktop_top_menu .top-menu > li > a {
  font-size: 14px !important;   /* Tvoj font */
  padding-left: 0 !important;
  padding-right: 0 !important;
  white-space: nowrap !important;
  display: block !important;
}

/* === VERTIKALNI PODMENI === */
#_desktop_top_menu .popover .top-menu ul[data-depth="1"],
#_desktop_top_menu .popover .top-menu ul[data-depth="2"],
#_desktop_top_menu .popover .top-menu ul[data-depth="3"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 220px !important;
  background: #fff !important;
}

.top-menu .sub-menu {
    padding: 20px 0;
    top: 90px;
}

/* OVO JE VAŽNO: Nemoj ovdje postavljati font-size ili gap! */
#_desktop_top_menu .popover .top-menu ul[data-depth="1"] > li,
#_desktop_top_menu .popover .top-menu ul[data-depth="2"] > li,
#_desktop_top_menu .popover .top-menu ul[data-depth="3"] > li {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#_desktop_top_menu .popover .top-menu ul[data-depth="1"] > li > a,
#_desktop_top_menu .popover .top-menu ul[data-depth="2"] > li > a,
#_desktop_top_menu .popover .top-menu ul[data-depth="3"] > li > a {
  display: block !important;
  width: 100% !important;
  padding: 4px 10px !important;
  white-space: normal !important;
  color: #232323 !important;
  background: transparent !important;
  border: none !important;
  line-height: 1.25 !important;
  font-size: 14px !important;   /* Samo podmeni, NE glavni meni */
}

/* Hover efekat za podmeni */
#_desktop_top_menu .popover .top-menu ul[data-depth="1"] > li > a:hover,
#_desktop_top_menu .popover .top-menu ul[data-depth="2"] > li > a:hover,
#_desktop_top_menu .popover .top-menu ul[data-depth="3"] > li > a:hover {
  background: #f6f6f6 !important;
  color: #cd1717 !important;
}

/* === HEADER & OKO MENIJA – bez praznog prostora === */
.header-top,
.header-top .container,
.header-top .row,
.header-top .row.align-items-center,
.header-top .col-12,
#category-menu,
.category-menu,
#_desktop_top_menu {
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Još jednom, za svaki slučaj: */
#_desktop_top_menu {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}



/* BACKGORUN BOJA BODIJA */
#wrapper {
    background: #fff;
}

/* Floating bar */
.support-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
}

.main-button {
  background: #000000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.main-button img {
  width: 30px;
  height: 30px;
}

.support-menu {
  position: fixed;
  bottom: 90px;
  right: 30px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 999999;
  margin-bottom: 0;
  display: block;
}

.support-menu.show {
  visibility: visible;
  opacity: 1;
}

.support-card {
  background: white;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  font-family: sans-serif;
  overflow: hidden;
}

.support-card-header {
  background: #000000;
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-card-header .close {
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.support-options {
  padding: 10px 0;
}

.support-option {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: #222;
  transition: background 0.2s;
}

.support-option:hover {
  background: #f4f4f4;
}

.support-option img,
.support-option svg {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}
a#link-popup, 
a#whatsapp-link, 
a#viber-link {
    color: black !important;
}
@media screen and (max-width: 768px) {
    .support-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: end;
        justify-content: center;
        margin: 0;
    }

    .support-card {
        width: 100%;
        max-height: 90vh;
        margin: 0;
        border-radius: 0;
    }

    .support-card-header {
        padding: 15px 20px;
        font-size: 18px;
    }

    .support-options {
        padding: 0;
    }

    .support-option {
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .support-option:last-child {
        border-bottom: none;
    }

    .support-option img {
        width: 28px;
        height: 28px;
        margin-right: 15px;
    }

    .support-card-header .close {
        font-size: 24px;
        padding: 10px;
    }
}
/* Floating bar end */

/* Container width */
@media (min-width: 1200px) {
    .container {
        width: 90%;
    }
}


/* Kolicina buttons product page */
.product-add-to-cart .product-quantity { 
    flex-wrap: wrap;
}

.product-line-grid-right .bootstrap-touchspin {
    display: flex;
}

.product-quantity .input-group-btn-vertical .btn, .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up, .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    min-height: 0;
}

.product-quantity .input-group-btn-vertical .btn i, .bootstrap-touchspin .input-group-btn-vertical i {
    top: 2px;
    left: -1px;
}

/* Carousel start */

.featured-products {
  margin-bottom: 50px;
  position: relative;
  min-height: 370px;
  overflow: hidden;
}

.featured-products img {
  aspect-ratio: 1;
  height: auto;
  width: 100%;
}

.featured-products .slick-slide {
  opacity: 1;
  visibility: visible;
}

.featured-products .slick-dots {
  bottom: -30px;
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.featured-products .slick-prev,
.featured-products .slick-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 500;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  border: none;
  padding: 0;
}

.featured-products .slick-prev {
  left: 25px;
}

.featured-products .slick-next {
  right: 25px;
}

.featured-products .slick-prev:before,
.featured-products .slick-next:before {
  font-family: 'slick';
  color: #2e9d48;
  opacity: 1;
  font-size: 30px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.featured-products .slick-prev:before {
  content: '\2190';
}

.featured-products .slick-next:before {
  content: '\2192';
}

.featured-products .slick-list {
  margin: 0 20px;
}

@media (max-width: 767px) {
  .featured-products {
    margin-bottom: 60px;
    min-height: 450px;
  }

  .featured-products img {
    height: auto !important;
    width: 100% !important;
    max-height: 250px !important;
    object-fit: contain !important;
  }
  
  .featured-products .product-miniature .thumbnail-container {
    width: 80%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
  }

  .featured-products .product-thumbnail {
    height: 250px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .featured-products .slick-slide {
    visibility: visible;
    opacity: 1;
    height: auto !important;
  }
    
  .featured-products .slick-prev,
  .featured-products .slick-next {
    width: 35px;
    height: 35px;
    opacity: 1 !important;
    visibility: visible !important;
  }
    
  .featured-products .slick-prev {
    left: 10px;
  }
    
  .featured-products .slick-next {
    right: 10px;
  }
}

/* End of Carousel */

/* Kategorija naziv */
.block-category {
    min-height: 0;
}

#subcategories ul li .subcategory-image {
    display: none;
}

#search_filters {
    height: 100vh !important;
    overflow-y: scroll;
}

section.featured-products.clearfix {
    overflow: hidden;
}

/* KRAJ Kategorija naziv */

/* Snizenje boje */
.product-flags li.product-flag.discount, .product-flags li.product-flag.discount-amount, .product-flags li.product-flag.discount-percentage, .has-discount .discount {
    background-color: #000000;
}

.has-discount .page-content.page-cms ul, .has-discount p, .has-discount.product-price, .page-content.page-cms .has-discount ul {
    color: #000000;
}

/* KRAJ Snizenje boje */




/* Optimizacija za Accessibility - start */
input[type="text"][name="s"],
.ui-autocomplete-input {
  color: #000000 !important;
  background: #ffffff !important;
  border: 2px solid #232323 !important;
  border-radius: 4px;
  padding: 10px 15px;
}


input[type="text"][name="s"]::placeholder,
.ui-autocomplete-input::placeholder {
  color: #4a4a4a !important;
  opacity: 1 !important;
}


input[type="text"][name="s"]::-webkit-input-placeholder,
.ui-autocomplete-input::-webkit-input-placeholder {
  color: #4a4a4a !important;
  opacity: 1 !important;
}

input[type="text"][name="s"]::-moz-placeholder,
.ui-autocomplete-input::-moz-placeholder {
  color: #4a4a4a !important;
  opacity: 1 !important;
}

input[type="text"][name="s"]:-ms-input-placeholder,
.ui-autocomplete-input:-ms-input-placeholder {
  color: #4a4a4a !important;
  opacity: 1 !important;
}

input[type="text"][name="s"]:focus,
.ui-autocomplete-input:focus {
  border-color: #000000 !important;
  outline: 2px solid #000000;
  outline-offset: 1px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.regular-price {
  color: #595959 !important; 
  text-decoration: line-through;
  font-size: 0.875rem;
}

.product-flag.discount {
  color: #ffffff !important;
  font-weight: 600;
}

.product-flag {
  background: #232323;
  color: #ffffff;
  padding: 0.3125rem 0.4375rem;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-top: 0.625rem;
}

.product-price {
  color: #232323 !important;
  font-weight: 600;
}

.discount-percentage {
  background: #cd1717;
  color: #ffffff;
  padding: 0.3125rem 0.4375rem;
  font-weight: 600;
}

.product-description {
  color: #232323;
} 


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#blockEmailSubscription_displayFooter p {
    color: #000;
}

.display-1.text-uppercase {
  color: #000;
}


.carousel-indicators .active {
  background-color: #000000;
}

.carousel-indicators li {
    border-color: #000000;
}

.caption-description p {
  color: #000 !important;
}


/* Optimizacija za Accessibility - end */

/* Slider - Start */

.slick-dots li button:before {
  display: none;
}

@media (max-width: 600px) {
    .carousel .carousel-item img {
        height:400px;
    }
}
.carousel .carousel-item img {
    width: 100vw;
}
.carousel .carousel-inner {
    height: auto;
}
.carousel .carousel-item {
    height: unset;
}

/* Slider - End */


/* Proizvod opis - Start */

.product-description-short {
    text-align: center;
    font-size: 14px;
    padding: 10px 0px;
}

.product-miniature .product-title a {
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
}

/* Proizvod opis - End */

/* ============ PRODUCT PAGE ============= */
.row.product-container.js-product-container ul.product-flags.js-product-flags {
    display: none;
}

.product-discount {
    display: inline;
}

span.current-price-value {
    font-weight: bold;
    color: #cd1717;
    font-size: 32px;
}

/*span.delivery-information {*/
/*    display: none;*/
/*}*/

.product-reference {
    display: none;
}

.tax-shipping-delivery-label {
    display: inline;
    margin-right: 10px;
}

@media (max-width: 768px) {
  span.discount.discount-percentage {
    margin-left: 0;
    margin-top: 10px;
}
}

/* ============ KRAJ PRODUCT PAGE ============= */

/* ======= H1 i H2 na home ======= */
h2.h2.products-section-title.text-uppercase {
    display: none;
}

h1.home-title.products-section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2.home-subtitle.products-section-title {
    font-size: 1.375rem;
    font-weight: 400;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    letter-spacing: 0.5px;
}



@media (max-width: 768px) {
    h1.home-title.products-section-title{
        font-size: 2rem;
    }    
    
  h1.home-title.products-section-title.text-uppercase {
    font-size: 1.6rem; /* oko 26px */
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 1.4;
    text-transform: none;
    margin-bottom: 0.75rem;
    margin-top: 0.25rem;
  }

  h2.home-subtitle.products-section-title.text-uppercase {
    font-size: 1rem; /* 16px */
    font-weight: 400;
    padding-top: 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  span.discount.discount-percentage {
    margin-left: 0;
    margin-top: 10px;
}
}

/* ======= KRAJ H1 i H2 na home ======= */


/* ======= Product miniature ========= */
span.price {
    font-size: 18px;
    color: #cd1717;
}

li.product-flag.new {
    background: #cd1717;
}

/* ======= KRAJ Product miniature ========= */

/* ======= Footer payment ========= */
div.footer-payment {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    div.footer-payment {
        flex-direction: column;
        gap: 24px;
    }
}

div.footer-payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

div.footer-payment-method img {
    max-width: 100px;
    width: 100% !important;
    height: 35px;
    object-fit: contain;
}

div.copyright-text {
    display: flex;
    align-items: center;
}

div.footer-social-media {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

div.footer-social-media a svg path:first-of-type {
    transition: fill 0.3s ease-in-out;
}

div.footer-social-media a:hover svg path:first-of-type {
    fill: #cd1717;
    transition: fill 0.3s ease-in-out;
}

/* ======= KRAJ Footer payment ========= */


/* ======= Back to top button ========= */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 36px;
    right: 20px;
    display: none;
    height: 60px;
    z-index: 999;
    transition: fill 0.3s ease-in-out;
}

#back-to-top:hover svg path {
    fill: #cd1717;
    transition: fill 0.3s ease-in-out;   
}

section#wrapper {
    overflow-x: hidden;
}

/* ======= KRAJ Back to top button ========= */


/* =========== VELIKI SLIDER =========== */
@media (max-width: 768px) {
.icon-prev.hidden-xs, .icon-next {
  display: none !important;
}
}

i.material-icons:hover
 {
     color: #cd1717 !important;
 }

/* =========== KRAJ VELIKI SLIDER =========== */

.delivery-information {
  display: block;
  margin-bottom: 20px;
}

/* =========== Proizvod korpa - start =========== */

.form-container .product-add-to-cart  {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.form-container .product-add-to-cart .control-label, .form-container .product-add-to-cart .product-quantity {
    flex-grow: 1;
    width: 100%;
}

.form-container .product-add-to-cart .add, 
.form-container .product-add-to-cart .contact-container, 
.product-additional-info .add.oneclickorderProductAdd_add, 
.product-additional-info .installment-request-div,
.form-container .product-add-to-cart .ps-modal-button-container {
    width: 250px;
    flex-basis: calc(50% - 8px);
    height: 44px;
}

.product-additional-info .installment-request-div {
    flex-grow: 1;
    width: 100%;
    height: 46px;
    min-width: 181px;
}

button.btn.btn-primary.installment-request-btn.rate-product {
    height: 46px !important;
}
.product-additional-info .installment-request-div .installment-request-btn.rate-product {
    min-width: 181px !important;
    height: 100%;
    font-size: 14px;
}

.product-additional-info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-additional-info.js-product-additional-info .product-additional-info.js-product-additional-info {
    width: 250px;
    flex-basis: calc(50% - 8px);
}

.product-additional-info .add.oneclickorderProductAdd_add { 
    order: 1;
}

.product-additional-info { 
    order: 2;
}

.product-additional-info .social-sharing { 
    order: 3;
}

.form-container {
    padding-bottom: 10px;
}

.product-additional-info .social-sharing {
    flex-grow: 1;
    width: 100%;
}

.support-option:hover {
    background-color: #f5f5f5;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .form-container .product-add-to-cart .add, 
    .form-container .product-add-to-cart .contact-container, 
    .product-additional-info .add.oneclickorderProductAdd_add, 
    .product-additional-info .installment-request-div,
    .form-container .product-add-to-cart .ps-modal-button-container {
        width: 100%;
        flex-basis: 100%;
    }
    
    .product-additional-info.js-product-additional-info .product-additional-info.js-product-additional-info {
        width: 100%;
        flex-basis: 100%;
    }
}

@media screen and (max-width: 400px) {
    .form-container .product-add-to-cart .add, 
    .form-container .product-add-to-cart .contact-container, 
    .product-additional-info .add.oneclickorderProductAdd_add, 
    .product-additional-info .installment-request-div,
    .form-container .product-add-to-cart .ps-modal-button-container {
        width: 100%;
        flex-basis: 100%;
    }
    
    .product-additional-info.js-product-additional-info .product-additional-info.js-product-additional-info {
        width: 100%;
        flex-basis: 100%;
    }
}

.checkout .btn.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
}

/* =========== RAZDVAJA 4 DUGMETA  =========== */
.form-container span#product-availability.js-product-availability,
.form-container p.product-minimal-quantity.js-product-minimal-quantity,
.form-container .alert.alert-danger.ajax-error {
    display: none;
}

/* =========== Proizvod korpa - end =========== */


/* =========== Product buttons =========== */

button.btn.btn-primary.add-to-cart, button.btn.btn-primary.add-to-cart.oneclickorderProductAdd, button.btn.btn-secondary.ps-modal-button.modal-contact-btn {
    min-width: 181px;
    width: 100%;
    height: 44px;
    font-size: 14px;
}

button.btn.btn-primary.add-to-cart .material-icons.shopping-cart {
    margin-right: 0px;
}


ul#ui-id-1 {
    z-index: 9999;
}

/* =========== Kraj Product buttons =========== */

/* === HOMESLIDER CLS FIX + ABOVE-THE-FOLD - početak === */
.homeslider-container {
  width: 100%;
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 12 / 5;
  min-height: 800px;
}
@media (max-width: 600px) {
  .homeslider-container {
    aspect-ratio: 412 / 400;
    min-height: 400px;
  }
}

.homeslider {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 800px;
}
@media (max-width: 600px) {
  .homeslider {
    min-height: 400px;
  }
}

.homeslider li {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.homeslider img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  object-fit: cover;
}

/* Caption ako koristiš */
.homeslider .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 1em;
  z-index: 2;
}
/* === HOMESLIDER CLS FIX + ABOVE-THE-FOLD - kraj === */

/* Slick Carousel Styles */
.products-carousel {
    position: relative;
    padding: 0 30px;
}

.products-carousel .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 0;
    padding: 0;
}

.products-carousel .slick-prev {
    left: -10px;
}

.products-carousel .slick-next {
    right: -10px;
}

.products-carousel .slick-prev:before {
    content: "←";
    font-size: 20px;
}

.products-carousel .slick-next:before {
    content: "→";
    font-size: 20px;
}

.products-carousel .slick-dots {
    bottom: -30px;
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.products-carousel .slick-dots li {
    margin: 0 5px;
}

.products-carousel .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    font-size: 0;
    padding: 0;
}

.products-carousel .slick-dots li.slick-active button {
    background: #000000;
}

/* Ensure product cards don't get squished */
.products-carousel .product-miniature {
    margin: 0 10px;
}


#header .header-nav .user-informacije {
    margin-top: .9375rem;
    white-space: nowrap;
    color: #232323 !important;
    fill: #232323 !important;
    transition: color 0.2s, fill 0.2s;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#header .header-nav .user-info {
    margin-left: 1.5rem;
}

/* Features Slider Styles */
.features-slider-wrapper {
  background: #000000;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 991px) {
  .features-slider-wrapper {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
  }
}

.features-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 10px 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 5px 10px;
}

.feature-item img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.feature-item span {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

/* Mobile Features */
.mobile-features {
  display: none;
  width: 100vw;
  overflow: hidden;
}

.mobile-features-track {
  width: 100%;
  overflow: hidden;
}

.mobile-features-slides {
  display: flex;
  transition: transform 0.3s ease-out;
}

.mobile-feature {
  flex: 0 0 100vw;
  width: 100vw;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  box-sizing: border-box;
}

.mobile-feature img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.mobile-feature span {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .desktop-features {
    display: none;
  }
  
  .mobile-features {
    display: block;
  }
}

.carousel,
.carousel .carousel-inner {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Korpa - razdvojeni button */
.checkout.cart-detailed-actions .text-sm-center .btn.btn-primary.installment-request-btn,
.checkout.cart-detailed-actions .text-sm-center .ps-modal-button-container,
.checkout.cart-detailed-actions .text-sm-center .ps-modal-button-container .btn.btn-secondary.ps-modal-button.modal-contact-btn,
.checkout.cart-detailed-actions.js-cart-detailed-actions.card-block button.btn.btn-primary.ps-jedanklik-request-btn {
    margin-top: 16px;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Quickview Modal */

.quickview.modal .modal-footer {
    display: none;
}

.quickview.modal .product-additional-info .add.oneclickorderProductAdd_add { 
    order: 1;
}

.quickview.modal .product-additional-info { 
    order: 2;
    min-width: 181px;
    flex-basis: calc(50% - 4px);
}

.quickview.modal .product-additional-info .product-additional-info { 
    margin-top: 0;
}

@media screen and (min-width: 576px) and (max-width: 991px) {
  .quickview.modal .form-container .product-add-to-cart .add, 
  .quickview.modal .form-container .product-add-to-cart .contact-container, 
  .quickview.modal .product-additional-info .add.oneclickorderProductAdd_add, 
  .quickview.modal .product-additional-info.js-product-additional-info .product-additional-info.js-product-additional-info,
  .quickview.modal .form-container .product-add-to-cart .ps-modal-button-container {
    width: 100%;
    flex-basis: 100%;
  }

  .quickview.modal .product-additional-info .btn.btn-primary.installment-request-btn {
    width: 100%;
    flex-basis: 100%;
  }
}

@media screen and (max-width: 435px) {
  .quickview.modal .form-container .product-add-to-cart .add, 
  .quickview.modal .form-container .product-add-to-cart .contact-container, 
  .quickview.modal .product-additional-info .add.oneclickorderProductAdd_add, 
  .quickview.modal .product-additional-info.js-product-additional-info .product-additional-info.js-product-additional-info,
  .quickview.modal .form-container .product-add-to-cart .ps-modal-button-container {
    width: 100%;
    flex-basis: 100%;
  }

  .quickview.modal .product-additional-info .btn.btn-primary.installment-request-btn {
    width: 100%;
    flex-basis: 100%;
  }
}

.quickview.modal .product-additional-info .social-sharing { 
    order: 3;
}

.quickview .social-sharing {
    margin-left: 0;
}

/* Footer (viber, whatsapp) style */
.footer-viber-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.footer-viber-wa a img {
    width: 24px !important;
    height: 24px !important;
}

/* =========== Ostalo =========== */

[data-testid="widgetButtonFrame"] {
  display: none !important;
}

div#_desktop_informacije i.material-icons {
  font-size: 21px;
}

button.btn.btn-secondary.ps-modal-button.modal-contact-btn:hover {
    background-color: #cd1717 !important;
    border-color: #cd1717;
}

button.btn.btn-secondary.ps-modal-button.modal-contact-btn {
    background-color: #000000 !important;
}

span.step-number {
    background-color: #000000 !important;
}

.done {
    color: #000000;
}

.custom-radio input[type=radio]:checked+span {
    background-color: #cd1717;
}

button.btn.btn-primary.ps-jedanklik-request-btn {
    width: 100%;
}

div#checkout-login-form, #checkout-personal-information-step .nav.nav-inline.my-2 li:last-child, .nav-separator  {
    display: none;
}

#blockcart-modal .product-name {
    color: #000000;
}

.contact-label:hover {
    color: #cd1717 !important;
}

.ps-jedanklik-popup .ps-popup-content .btn-success, .ps-installmentrequest-popup .ps-popup-content .btn-success {
    background-color:  #000000;;
}

.ps-jedanklik-popup .ps-popup-content .btn-success:hover, .ps-installmentrequest-popup .ps-popup-content .btn-success:hover {
    background-color:  #cd1717;
}

.ps-jedanklik-popup .ps-popup-content .ps-jk-summary, .ps-installmentrequest-popup .ps-popup-content .ps-rate-summary {
    border: 1px solid #cd1717;
    color: #000000;
    background-color: #ffe2e2;
}

.product-description:focus,
.product-description *:focus,
a:focus {
    outline: none;
}

@media screen and (max-width: 767px) {
    button.btn.btn-primary.ps-jedanklik-request-btn,
    button.btn.btn-primary.add-to-cart,
    button.btn.btn-secondary.ps-modal-button.modal-contact-btn,
    button.btn.btn-primary.installment-request-btn.rate-product {
        font-size: 13px !important;
        height: 48px;
    }
}

/*===== CHECKOUT =======*/

body#checkout section.checkout-step .address-item.selected {
    border: #cd1717 3px solid;
}


body#checkout #header .header-nav {
    display: none;
}

#checkout #search_widget, #mobile_top_menu_wrapper .top-menu .collapse-icons .remove, #mobile_top_menu_wrapper .top-menu .collapse-icons[aria-expanded=true] .add, .tab-content>.tab-pane {
    display: block;
}

/*===== KRAJ CHECKOUT =======*/



/*===== Ekstra opcije monteri =======*/

.product-actions .control-label {
    display: inline;
}

.attribute-custom-price {
    display: none !important;
}

#custom-attribute-3 .product-discount {
    display: none;
}

.list-attribute-custom .radio {
    border: 1px solid #ccc; /* Svijetliji border za sve radio kontejnere */
    margin-bottom: 15px; /* Razmak između opcija */
    transition: all 0.2s ease-in-out; /* Glatka tranzicija za hover i odabir */
    padding: 10px; /* Unutarnji razmak unutar .radio diva */
}

.list-attribute-custom .radio:hover {
    background-color: #f8f9fa; /* Vrlo blaga pozadina na hover */
}

/* Stilizacija labele unutar .radio diva */
.list-attribute-custom .radio label.control-label {
    align-items: center; /* Centriraj vertikalno */
    cursor: pointer; /* Pokazivač ruke za klikabilnost */
    width: 100%; /* Da label zauzima cijelu širinu diva */
    padding: 0; /* Ukloni padding s labele jer je već na .radio divu */
}

/* Stil za odabrani .radio kontejner */
.list-attribute-custom .radio:has(input[type="radio"]:checked) {
    background-color: #ffe2e2; /* Svijetlozuta pozadina za odabranu opciju */
    border-color: #cd1717; /* Zuti border za odabranu opciju */
    box-shadow: 0 4px 10px rgba(255, 224, 100, 0.4); /* Izraženija sjena */
}

/* Podebljavanje imena montera kada je opcija odabrana */
.list-attribute-custom .radio:has(input[type="radio"]:checked) label.control-label img + span {
    font-weight: bold;
}

/* Stilizacija cijene unutar odabrane opcije */
.list-attribute-custom .radio:has(input[type="radio"]:checked) .product-price span {
    color: #000000; /* Tamnoplava cijena */
    font-weight: bold;
}

/* Stilizacija opisa unutar odabrane opcije */
.list-attribute-custom .radio:has(input[type="radio"]:checked) .desc .content {
    font-weight: normal;
}

/* Stilizacija custom radio inputa kad je checked */
.list-attribute-custom .radio input[type="radio"]:checked + .ets_input_group .ets_input_radio {
    border-color: #28a745; /* Zeleni krug za označenu opciju */
    background-color: #28a745;
}

.list-attribute-custom .radio input[type="radio"]:checked + .ets_input_group .ets_input_radio svg {
    fill: #fff; /* Bijela kvačica */
}

/* Stilizacija naslova "Odaberi montera" */
.block-product-attribute-custom h4 {
    color: #343a40;
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 5px;
    display: inline-block;
}

/* Stilizacija "Cijena montera" */
.attribute-custom-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
    margin-top: 20px;
    padding: 10px;
    background-color: #e2f0e6;
    text-align: center;
}

.attribute-custom-price .price {
    color: #d62c2c;
    font-size: 1.3em;
}

/*===== Kraj ekstra opcije monteri =======*/