/* ==================================== */
/* == 0. GLOBAL / UTILITIES / FONTS == */
/* ==================================== */

/* --- Font-Face Declarations (Roboto) --- */
/* The @font-face rules are kept as-is, but comments are simplified for brevity.
   The original file had many duplicate properties. A clean version would use one
   @font-face rule with multiple src declarations for different formats (not just woff2),
   but for tidying the provided code, the structure is maintained. */

/* roboto-100 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/roboto-v48-cyrillic_latin-100.woff2') format('woff2');
}
/* roboto-100italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/roboto-v48-cyrillic_latin-100italic.woff2') format('woff2');
}
/* roboto-200 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/roboto-v48-cyrillic_latin-200.woff2') format('woff2');
}
/* roboto-200italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/roboto-v48-cyrillic_latin-200italic.woff2') format('woff2');
}
/* roboto-300 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v48-cyrillic_latin-300.woff2') format('woff2');
}
/* roboto-300italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-v48-cyrillic_latin-300italic.woff2') format('woff2');
}
/* roboto-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v48-cyrillic_latin-regular.woff2') format('woff2');
}
/* roboto-italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-v48-cyrillic_latin-italic.woff2') format('woff2');
}
/* roboto-500 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v48-cyrillic_latin-500.woff2') format('woff2');
}
/* roboto-500italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto-v48-cyrillic_latin-500italic.woff2') format('woff2');
}
/* roboto-600 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/roboto-v48-cyrillic_latin-600.woff2') format('woff2');
}
/* roboto-600italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/roboto-v48-cyrillic_latin-600italic.woff2') format('woff2');
}
/* roboto-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v48-cyrillic_latin-700.woff2') format('woff2');
}
/* roboto-700italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-v48-cyrillic_latin-700italic.woff2') format('woff2');
}
/* roboto-800 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/roboto-v48-cyrillic_latin-800.woff2') format('woff2');
}
/* roboto-800italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/roboto-v48-cyrillic_latin-800italic.woff2') format('woff2');
}
/* roboto-900 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/roboto-v48-cyrillic_latin-900.woff2') format('woff2');
}
/* roboto-900italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/roboto-v48-cyrillic_latin-900italic.woff2') format('woff2');
}

/* --- Root Variables --- */
:root {
  --primary-color: #56babb;
  --primary-color-alt: #377d7e;
  --accent-color: #4CAF50;
  --secondary-color: #FFCCBC;
  --secondary-color-alt: #b97d6a;
  --font-color: #5b5b5b;
  --font-color-alt: rgb(51, 51, 51);
  --link-color: #4CAF50;
  --link-color-alt: #2c622e;
  --hover-color: #BDBDBD;
  --hover-color-alt: #747272;
  --font-size: 16px;
}

/* --- Base Typography & Elements --- */
body {
  font-size: var(--font-size);
  color: var(--font-color);
  background: #fff;
  margin: 0;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.5rem;
}

article {
  width: 100%;
}

h1, h2, h3, h4, h5{
	color: var(--primary-color-alt);
}

a, a:visited {
  text-decoration: none;
  color: var(--primary-color-alt);
}

a:hover{
	color: var(--primary-color);
}

a.button{
	color: #fff;
}

/* ==================================== */
/* == 1. LAYOUT / STRUCTURE == */
/* ==================================== */

.site-container {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: flex-start;
  width: 100%;
  flex-grow: 1;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9em;
  background-color: #ffffff;
  padding: 1em;
  margin-top: 90px;
}

.main-content {
  flex: 1;
  background: #fff;
  margin: 1em 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.main-content.page-lokacija iframe{
	width: 100%;
}

.main-content.page-dokumenti form{
	display: flex;
    gap: 0.4em;
    align-content: flex-end;
}

.main-content.page-dokumenti form > div{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-content.page-dokumenti form button[type="submit"]{
	/*height: 40px;*/
}

.main-content h1, h1 {
  color: var(--primary-color-alt);
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 0.5em;
  line-height: normal;
}

.product-empty {
  text-align: center;
  color: #888;
  font-size: 1.2em;
  margin: 2em 0;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}
/*
input[type="checkbox"]{
	
	width: 13px;
	height: 13px;
	position: relative;
	overflow:visible;
}


input[type="checkbox"]:before{
	content: "";
	width: 13px;
	height: 13px;
	position: absolute;
	width: 100%;
	height: 100%;
	background: #fff;
	border: 1px solid #000;
}

input[type="checkbox"]:checked:before{
	background: var(--primary-color-alt);
}

.sidebar-left ul li label:hover input[type="checkbox"]:checked:before{
	border: 1px solid #fff;
}
*/
  
  .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
		.flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange,
		.flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus,
		.flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus,
		.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover,
		.flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay,
		.flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay,
		.flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay,
		.flatpickr-day.endRange.nextMonthDay {
		    background: var(--primary-color)!important;
		    border-color: var(--primary-color-alt)!important;
	}


.cb-wrapper .tgl {
    display: none;
  }
  .cb-wrapper .tgl,
  .cb-wrapper .tgl:after,
  .cb-wrapper .tgl:before,
  .cb-wrapper .tgl *,
  .cb-wrapper .tgl *:after,
  .cb-wrapper .tgl *:before,
  .cb-wrapper .tgl + .tgl-btn {
    box-sizing: border-box;
  }
  .cb-wrapper .tgl::-moz-selection,
  .cb-wrapper .tgl:after::-moz-selection,
  .cb-wrapper .tgl:before::-moz-selection,
  .cb-wrapper .tgl *::-moz-selection,
  .cb-wrapper .tgl *:after::-moz-selection,
  .cb-wrapper .tgl *:before::-moz-selection,
  .cb-wrapper .tgl + .tgl-btn::-moz-selection,
  .cb-wrapper .tgl::selection,
  .cb-wrapper .tgl:after::selection,
  .cb-wrapper .tgl:before::selection,
  .cb-wrapper .tgl *::selection,
  .cb-wrapper .tgl *:after::selection,
  .cb-wrapper .tgl *:before::selection,
  .cb-wrapper .tgl + .tgl-btn::selection {
    background: none;
  }
  .cb-wrapper .tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .cb-wrapper .tgl + .tgl-btn:after,
  .cb-wrapper .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
  }
  .cb-wrapper .tgl + .tgl-btn:after {
    left: 0;
  }
  .cb-wrapper .tgl + .tgl-btn:before {
    display: none;
  }
  .cb-wrapper .tgl:checked + .tgl-btn:after {
    left: 50%;
  }

  .cb-wrapper .tgl-light + .tgl-btn {
    background: #f0f0f0;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
  }
  .cb-wrapper .tgl-light + .tgl-btn:after {
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
  }
  .cb-wrapper .tgl-light:checked + .tgl-btn {
    background: var(--primary-color-alt);
  }
  
  
/* ==================================== */
/* == 2. HEADER / NAVIGATION == */
/* ==================================== */

header {
  background: var(--primary-color);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 2em;
  gap: 0.5em;
}

header .login-form{
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 200px;
    height: 100%;
}

header .login-form input,
header .login-form button[type="submit"] {
    height: 30px;
    padding-right: 0.7em;
}

header .login-form button[type="submit"]{
	padding: 0 10px;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
}

.user-menu {
  display: grid;
  grid-template-columns: 80px 80px 80px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s;
}

.menu li a:hover {
  color: var(--secondary-color);
}

/* User Menu Buttons */
.user-menu .user-btn {
  background: #ae6729;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5em;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  cursor: pointer;
  display: block;
}

.user-menu .user-btn:hover {
  background: var(--primary-color-alt);
}

.user-menu .user-btn.logout {
  background: #f8d7da;
  color: #a94442;
}

.user-menu .user-btn.logout:hover {
  background: var(--primary-color-alt);
}

.main-content.page-main{
	margin-top: 0;
}

.brand-logos{
	flex-grow: 1; 
    /* The min-width is crucial here to prevent the slider from collapsing
       to 0 if the content of the menu is very long. */
    min-width: 0;
}

/* Ensure the overall slider has a defined height */
.brand-logos.slick-initialized {
    height: 50px; /* Use a defined height for the container */
    margin-bottom: 0;
}

.brand-logos.slick-initialized .slick-arrow{
	display: none;
}

/* Ensure the links (slider items) fill the height and are centered */
.brand-logos .slick-slide {
    display: flex !important; /* Forces each slide to use flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 50px; /* Match the parent height */
}

/* Style the image within the slide */
.brand-logos img {
    max-height: 45px;
    max-width: calc(100% - 20px);
    width: auto;
    height: auto;
    display: block;
    padding: 0 5px;
}

/* Optional: Improve hover experience */
.brand-logos a:hover img {
    opacity: 0.8;
}

.main-page-header {
    width: 100%;
    display: flex; /* Enable flex layout for children */
    align-items: center; /* Vertically center the menu and the slider */
    gap: 10px; 
    margin-bottom: 1em;
    
    /*display: grid;
    grid-template-columns: 200px auto;
    max-width: 100%;*/
}

.menus-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.brand-data{
	display: grid;
    justify-content: flex-start;
    grid-template-columns: auto 200px;
    gap: 10px;
    align-items: center;
}

.categories-menu-container,
.brands-menu-container {
    padding: 0.5em;
    cursor: pointer;
    width: 200px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 50px;
    background-color: #eef8f8;
    color: var(--primary-color-alt);
    font-weight: bold;
    flex-shrink: 0;
    transition: all 0.2s;
}

.categories-menu-container:hover,
.brands-menu-container:hover{
	color: #fff;
	background-color: var(--primary-color-alt);	
}

/* Base Styling */
.categories-menu,
.brands-menu{
	display: none;
}

.categories-menu-container > span > svg,
.brands-menu-container > span > svg {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
}

.categories-menu-container > span > svg path,
.brands-menu-container > span > svg path{
	stroke: var(--primary-color-alt);
}

.categories-menu-container:hover > span > svg path,
.brands-menu-container:hover > span > svg path{
	stroke: #fff;
}

.categories-menu-container:hover .categories-menu,
.brands-menu-container:hover .brands-menu{
	display: block;
}

.categories-menu ul,
.brands-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-menu > ul,
.brands-menu > ul{
	display: grid;
    grid-template-columns: 300px;
    position: absolute;
    z-index: 999;
    left: 0;
    top: 100%;
}

.brands-menu > ul{
	grid-template-columns: 150px 150px 150px 150px;
    left: -400px;
}

.categories-menu a,
.brands-menu a,
.brands-menu li span {
    display: block;
    padding: 0.5em;
    text-decoration: none;
    /* color: #333; */
    background-color: #f4f4f4;
    border-bottom: 1px solid var(--primary-color);
    border-top: none;
    transition: background-color 0.3s;
}

.categories-menu a:hover,
.brands-menu a:hover {
    color: #fff;
    background-color: var(--primary-color-alt);
}

/* Positioning and Hiding the Submenu */
.has-submenu {
  position: relative; /* Crucial: Sets the positioning context for the absolute submenu */
}

.submenu {
  /* HIDE THE SUBMENU BY DEFAULT */
  display: none;
  
  /* Positioning the submenu */
  position: absolute;
  top: 5px; /* Positions the submenu directly below the parent menu item */
  left: 100%;
  width: 300px;
  z-index: 10; /* Ensures the menu appears above other content */
}

/* Mouseover Functionality */
/* When the parent 'li' is hovered, SHOW the submenu 'ul' */
.has-submenu:hover > .submenu {
  display: block;
}

/* Clean up borders for the submenu */
.submenu a {
  background-color: #fff; /* White background for dropdown items */
  border-top: 1px solid #eee; 
}

.submenu a:hover {
  background-color: #e0f0ff; /* Light blue on hover */
}

/* ==================================== */
/* == 3. COMPONENTS / UTILITY BLOCKS == */
/* ==================================== */

/* --- Forms & Inputs --- */
input, select, button {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  max-width: 100%;
}

/*input[type="text"], input[type="password"], input[type="email"] {
  padding: 0.4em;
  border: none;
  border-radius: 3px;
  outline: none;
}*/

/*input[type="number"] {
  padding: 0.7em 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background: #f7f7f7;
}*/

.page-korpa #frmExcel,
.page-ponuda #frmLogo{
	position: absolute;
	left: -5000px;
}

.upload-item-status.error{
	color: red;
}

/* Grouping common form styles from page-nalog, page-posao, page-kontakt */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
textarea,
select{
  padding: 0.7em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background: #f7f7f7;
  resize: vertical;
}
select{
	cursor: pointer;
}
.page-nalog .contact-form textarea,
.page-posao .contact-form textarea,
.page-kontakt .contact-form textarea {
  min-height: 120px;
  max-height: 300px;
}

/* Error Labels */
label.error {
  color: red;
  font-weight: bold;
  display: none;
}

label.disabled {
  color: #898989;
}

label.error.visible {
  display: initial;
}

/* --- Buttons --- */
button, .button {
  transition: background 0.2s;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 2em;
  font-size: 1em;
  cursor: pointer;
  margin: 0 auto;
}

button:hover, .button:hover {
  background: var(--primary-color-alt);
}

.show-filters-btn,
.close-filters-btn{
	display: none;
}

/* Consolidated send button styles from page-nalog, page-posao, page-kontakt */
.page-nalog .btn-send-order,
.page-posao .btn-send-order,
.page-kontakt .btn-send-order {
  /*background: rgb(174, 103, 41);*/
  /*color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 2em;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0 auto;
  display: block;*/
}

.page-nalog .btn-send-order:hover,
.page-posao .btn-send-order:hover,
.page-kontakt .btn-send-order:hover {
  background: var(--primary-color-alt);;
}

/* --- Search Box --- */
.search-box {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 1em;
  height: fit-content;
}

.search-box input[type="text"],
input[name="username"],
input[name="password"]
 {
  border-radius: 6px;
  flex-grow: 1;
  border: none;
  font-size: 14px;
  padding-right: 30px;
  height: 30px;
}

.search-box .submit-search {
  position: absolute;
  border-radius: 0 3px 3px 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: #333;
  background-image: url(../images/search.svg);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* --- Status Messages --- */
.status-message {
  position: absolute;
  background-color: #fff;
  width: 100%;
  padding: 1rem;
  text-align: center;
  border-radius: 5px;
  display: none;
  z-index: 9990;
}

.status-message.inline {
    position: unset;
    margin-bottom: 2em;
}

.status-message.success {
    border: 1px solid var(--primary-color-alt);
    color: 1px solid var(--primary-color-alt);
    display: block;
}

.status-message.error {
  border: 1px solid red;
  color: red;
  display: block;
}

.status-message span.close {
  position: absolute;
  top: 2px;
  right: 5px;
  cursor: pointer;
}

.status-message.closing {
  transition: opacity 0.5s;
}

/* --- Overlays / Loaders --- */
div#overlay-loader {
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9998;
  display: flex;
}

div#overlay-loader > div {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

div#overlay-loader > div > span {
  display: inline-block;
  width: 100px;
  height: 100px;
  border: 10px solid #fff;
  border-top: 10px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  margin: 1em 0;
  font-size: 1em;
}

.breadcrumbs ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs .separator {
  margin: 0 0.5em;
  color: #aaa;
}

.breadcrumbs a {
  color: var(--primary-color-alt);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #333;
  text-decoration: underline;
}

.breadcrumbs .active {
  color: #333;
  font-weight: bold;
}

.artikal-nazad {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#printProduct{
	cursor: pointer;
}

#printProduct svg{
    width: 40px;
    height: 40px;
    fill: var(--primary-color-alt);
}

#printProduct:hover svg{
	fill: var(--primary-color);
}

/* --- Carousel --- */
.carousel {
  /*width: 1400px;*/
  height: 600px;
}

.carousel-slide {
  /*width: 1400px;*/
  height: 600px;
  background-size: cover;
  background-position: center;
}

/* --- Slick Slider Fixes --- */
.slick-track {
  margin-bottom: 10px;
}

.slick-slide {
  margin-right: 10px;
}

.carousel-slide.slick-slide{
	margin-right: 0;
}

a.catalog-link.slick-slide {
  display: flex!important;
}

.new-products-container > h2 {
  padding: 1em 0;
}

.brands-slider {
  width: 100%;
  height: 60px;
  margin-top: 1em;
}

a.brand-logo.brand-slide {
  display: flex;
  position: unset;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-grow: 0;
  padding: 0.5em;
}

/* --- Autocomplete --- */
.autocomplete-container {
  position: relative;
  display: inline-block;
}

.autocomplete-list {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  color: #000;
  font-size: 14px;
  width: 600px;
  max-width: 80vw;
  line-height: normal;
  font-weight: normal;
  display: none;
}

.autocomplete-list.active {
  display: block;
}

.autocomplete-list div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-list div:hover {
  background-color: #e9e9e9;
}

a.autocomplete-item {
    display: grid;
    grid-template-columns: 50px auto;
    align-items: center;
    gap: 10px;
    height: 50px;
}

a.autocomplete-item span{
	display: flex;
    align-items: center;
    justify-content: center;
}

a.autocomplete-item img {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
}

/* ==================================== */
/* == 4. SIDEBAR / FILTERS == */
/* ==================================== */

.sidebar-left, .sidebar-right {
  font-size: 1em;
  width: 280px;
  border-radius: 10px;
  padding: 1em;
  margin: 1em 0;
  height: 100%;
background: #eef8f8;
}

.sidebar-left h2, .sidebar-right h2 {
  margin: 0.5em 0;
}

.sidebar-left h3, .sidebar-right h3 {
  margin: 0;
  padding: 0.5em;
  font-size: 1.2em;
  letter-spacing: 1px;
}

.sidebar-box {
  border-bottom: 1px solid var(--primary-color);
}

.sidebar-box:last-child {
  border-bottom: none;
}

.sidebar-left ul, .sidebar-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 1em;
}

.collapsible-content ul {
  margin: 0;
}

.sidebar-left ul li a, .sidebar-left ul li label, .sidebar-right ul li a {
  color: var(--font-color);
  text-decoration: none;
  padding: 0.3em 0.6em;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
  display: flex;
  cursor: pointer;
  align-items: center;
}

.sidebar-left ul li label.checked{
	background: color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.sidebar-left ul li label > span {
  display: flex;
  flex-direction: column;
  line-height: normal;
  /*margin-bottom: 0.5em;*/
}

.sidebar-left ul li label > span > span {
  font-size: 80%;
  font-style: italic;
  line-height: normal;
}

.sidebar-left ul li a:hover, .sidebar-left ul li label:hover, .sidebar-right ul li a:hover {
    background: var(--primary-color-alt);
    color: #fff;
}

/* --- Filter Lists --- */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}

.categories-list li input[type="checkbox"] {
  margin-right: 5px;
}

.categories-list a {
  font-size: 1em;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.categories-list a:hover {  
  background: var(--primary-color-alt);
  color: #fff;
}

.brands-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1em;
  padding: 0;
  margin: 1em 0 0 0;
  list-style: none;
}

.brands-list a {
  padding: 0.2em 0.4em;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.brands-list a:hover {
  background: var(--primary-color-alt);
  color: #fff;
}

.brand-list {
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(.4, 0, .2, 1);
}

.brand-list.from-q {
  max-height: unset;
  display: initial;
}

.brand-details[open] .brand-list {
  display: block;
  max-height: 500px;
}

details ul {
  margin-top: 10px;
}

/* --- Color Filters --- */
ul.categories-list.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
  padding: 0 1em;
}

ul.categories-list.eko-list {
    display: grid;
    grid-template-columns: 50% 50%;
}

ul.categories-list.color-list label input {
  visibility: hidden;
  margin: 0;
}

ul.categories-list.color-list label {
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background-size: 110%;
  background-position: center;
  transition: unset;
}

ul.categories-list.color-list label.active,
ul.categories-list.color-list label:hover {
  filter: drop-shadow(0px 0px 3px #000);
}

/* --- Collapsible Content --- */
.collapsible-container {
  overflow: hidden;
}

.collapsible-container.sidebar-box.karakteristike-details{
	margin-bottom: 1em;
}

.collapsible-header {
  width: 100%;
  color: var(--primary-color-alt);
  cursor: pointer;
  padding: 0.5em;
  border: none;
  text-align: left;
  outline: none;
  font-weight: 700;
  transition: 0.4s;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.2em;
}

.collapsible-header svg {
  height: 20px;
  position: absolute;
  right: 10px;
  transition: transform 0.2s ease-in-out;
}

.collapsible-header svg path {
  fill:var(--primary-color-alt) !important;
}

.collapsible-header:hover {
  background: color-mix(in srgb, var(--primary-color) 20%, transparent);
  color: var(--primary-color-alt);
}

.collapsible-header[aria-expanded="true"] {
  /*color: var(--primary-color);*/
}

.collapsible-header[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.icon {
  width: 15px;
  height: 15px;
  margin-right: 10px;
  transition: transform 0.2s ease-out;
}

.icon::before {
  content: '+';
  display: block;
  font-size: 1.5em;
  line-height: 0;
  transform: translateY(-5px);
}

.collapsible-header[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

/* --- Filter Reset Button --- */
.sidebar-filter-form details {
  position: relative;
}

.reset-filter {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 999;
  width: 15px;
  height: 15px;
  background-image: url(../images/close.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

details .reset-filter {
  top: 20px;
  transform: unset;
}

.reset-filter.hidden {
  display: none;
}

/* ==================================== */
/* == 5. PRODUCT CATALOG / GRID == */
/* ==================================== */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  margin: 0.5em 0;
}

.catalog-grid.slick-initialized.slick-slider {
  width: 100%;
  display: block;
  max-width: 100vw;
}

.catalog-grid.slick-initialized.slick-slider .slick-arrow {
  display: none!important;
}

a.catalog-link {
  display: flex;
  flex-direction: column;
}

.catalog-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  position: relative;
  flex-grow: 1;
  justify-content: space-between;
}

.catalog-item:hover {
  box-shadow: 0 4px 16px rgba(174,103,41,0.15);
}

.catalog-thumb {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
  overflow: hidden;
  flex-grow: 1;
  flex-shrink: 1;
}

.catalog-thumb img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  display: block;
  margin: auto;
}

.catalog-info {
  width: 100%;
  text-align: center;
}

.catalog-info h2 {
  font-size: 1.1em;
  color: var(--font-color);
  margin: 0.5em 0;
  line-height: normal;
}

.catalog-info .subinfo {
  font-size: 0.8em;
  line-height: normal;
}

.catalog-brand, .catalog-category, .catalog-price, .catalog-stock {
  font-size: 0.95em;
  margin: 0.2em 0;
}

.catalog-price {
  font-weight: bold;
}

.catalog-vat {
  font-size: 0.85em;
  font-style: italic;
  font-weight: normal;
  color: #000;
}

.catalog-brand {
  max-width: 50px;
  max-height: 50px;
  position: absolute;
  top: 0;
}

.product-akcija {
  color: red;
  font-weight: 700;
}

.product-price-old {
  text-decoration: line-through;
}

.catalog-stock {
  color: #2a7d2a;
}

.catalog-pagination {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.catalog-pagination a.page-link.active {
  font-weight: 700;
}

.new-products-container, .recent-products-container {
  padding: 0 1em;
  width: auto;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9em;
}

.recent-products-container {
  display: none;
}

.new-products-container h2, .recent-products-container h2 {
  text-align: center;
}

.related-products-container {
    margin-top: 2em;
}

.related-products-container h2 {
    text-align: center;
    margin-bottom: 1em;
}

.catalog-grid.related-products {
    display: grid;
    gap: 0.5em;
    grid-template-columns: 25% 25% 25% 25%;
}



/* ==================================== */
/* == 6. PRODUCT DETAIL == */
/* ==================================== */

.product-detail {
  display: flex;
  gap: 2em;
  background: #fff;
  width: 100%;
}

.product-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
}

.main-image-wrapper {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: #f7f7f7;
  border-radius: 8px;*/
  margin-bottom: 1em;
  position: relative;
}

.product-image img {
  max-width: 320px;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f7f7;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  position: relative;
}

.product-info .product-sku{
	display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
}

.product-sku .ponuda{
	display: flex;
    align-items: center;
}

.product-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
}

.product-header .brand-logo {
  position: unset;
}

.product-header .brand-logo img {
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
}

.product-info .brand-logo {
  left: unset;
  right: 0;
  top: -50px;
}

.brand-logo {
  position: absolute;
  top: 5px;
  left: 5px;
}

.brand-logo img {
  max-width: 70px;
  max-height: 50px;
  width: auto;
  height: auto;
}

.catalog-item .sertifikat-logo,
.main-image-wrapper  .sertifikat-logo {
    position: absolute;
    top: 5px;
    right: 5px;
    /* width: 50px; */
}

.main-image-wrapper  .sertifikat-logo {
	left: 5px;	
}

.catalog-item .sertifikat-logo img,
.main-image-wrapper  .sertifikat-logo img {
    max-width: 70px;
    max-height: 50px;
    width: auto;
    height: auto;
}

.product-info h2 {
  font-size: 1.5em;
  color: rgb(174, 103, 41);
  margin: 0.5em 0;
}

.product-brand, .product-category, .product-subcategory, .product-color, .product-desc, .product-price, .product-stock {
  font-size: 1.1em;
  margin: 0.2em 0;
}

.product-omiljeno {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.product-omiljeno svg{
    width: 40px;
    height: 40px;	
}

.product-omiljeno svg path{
    stroke: #ccc;	
}

.product-omiljeno.checked svg path{
    stroke: var(--primary-color-alt);	
}

.product-desc {
  line-height: 150%;
  font-size: 1em;
  margin-top: 1em;
  padding: 1em;
}

.product-desc.sertifikat {
    margin: 0;
    padding: 0;
}

.product-brand img {
  max-width: 150px;
  max-height: 70px;
  width: auto;
  height: auto;
}

.product-price {
  color: #333;
  font-weight: bold;
}

.product-stock {
  color: #2a7d2a;
}

.product-stock.out-of-stock {
  color: #ff0000;
}

.product-carousel-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  width: 300px;
  height: 100px;
}

.carousel-slide{
	width: 100px;
	height: 100px;
}

.main-content.page-main .carousel.carousel-main{
	height: auto;
}

.main-content.page-main .carousel.carousel-main .carousel-slide{
	height: auto;
}

.main-content.page-main .carousel.carousel-main .carousel-slide img{
	width: 1400px;
	height: auto;
	max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.carousel-link{
    display: flex;
    height: 100px;
    width: 100px;
    align-items: center;
    justify-content: center;
}

.carousel-link img{
	max-width: 90px;
	max-height: 100px;
	width: auto;
	height: auto;
}

.slick-next:before, .slick-prev:before{
	color: var(--font-color);
}

.slick-lightbox .slick-next:before, .slick-lightbox .slick-prev:before{
	color: #fff;
}

.slick-prev{
	left: -10px!important;
}

.slick-next{
	right: -10px!important;
}

.slick-lightbox-slick .slick-prev{
	left: 5px!important;
}

.slick-lightbox-slick .slick-next{
	right: 5px!important;
}

/*
.product-carousel {
  display: flex;
  justify-content: flex-start;
  margin-top: 1em;
  gap: 0.5em;
  padding-left: 5px;
}

.product-carousel .carousel-thumb:first-child {
  margin-left: 0;
}

.carousel-arrow, .lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background-color: #fff;
  background-image: url(../images/arrow.png);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%);
}

.carousel-arrow.left, .lightbox-arrow.left {
  background-image: url(../images/arrow-left.png);
}

.lightbox-arrow {
  width: 38px;
  height: 38px;
}

.lightbox-arrow:hover {
  background: #fff;
  border: 1px solid #ccc;
  background-image: url(../images/arrow.png);
}

.lightbox-arrow.left:hover {
  background-image: url(../images/arrow-left.png);
}

.carousel-thumb {
  border: 2px solid #eee;
  transition: border-color 0.2s;
  background-image: url(../images/arrow.png);
}

.carousel-thumb:hover {
  border-color: var(--primary-color-alt);
}
*/
/* --- Product Features/Characteristics --- */
.naziv-karakteristike {
  margin-bottom: 5px;
  margin-left: 10px;
  font-size: 95%;
}

.naziv-opcije {
  font-size: 90%;
  margin-left: 25px;
  font-weight: 700;
  line-height: normal;
}

ul.categories-list.karakteristike-list {
  margin-top: 5px !important;
  margin-left: 20px;
  font-size: 80%;
  display: flex;
  flex-wrap: wrap;
}

ul.categories-list.karakteristike-list li {
  width: 50%;
}

ul.categories-list.karakteristike-list li label {
  padding: 0.3em 0;
  padding-left: 0.2em;
  margin-left: 10px;
  line-height: normal;
}

.product-colors {
  display: grid;
  grid-template-columns: 35px 35px 35px 35px 35px 35px;
  margin-top: 10px;
}

.product-colors a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
}

.product-colors a.active,
.product-colors a:hover {
  filter: drop-shadow(0px 0px 4px #000);
  border: 1px solid transparent;
}

.product-tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.product-tech-table th, .product-tech-table td {
  padding: 8px 12px;
  border: 1px solid #eee;
  text-align: left;
  width: 50%;
}

.product-tech-table th {
  background: #f7f7f7;
  font-weight: bold;
}

/* ==================================== */
/* == 7. SHOPPING CART / ORDER (Narucivanje) == */
/* ==================================== */

body.page-narucivanje li.cart-menu {
  display: none;
}

div.order-elements {
  display: flex;
  flex-direction: row;
  column-gap: 2em;
}

.page-ponuda div.order-elements{
  flex-direction: column;	
}

div.order-table,
div.order-success-table {
  width: 100%;
  padding: 1em 0;
}

div.order-table div.korpa-header,
div.order-success-table div.korpa-header {
  display: grid;
  grid-template-columns: 30px 100px auto 80px 100px 100px;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

div.order-table div.korpa-header div,
div.order-table div.order-footer div,
div.order-success-table div.korpa-header div,
div.order-success-table div.order-footer div {
  font-weight: bold;
}

div.order-table div.order-item,
div.order-success-table div.order-success-item {
  display: grid;
  grid-template-columns: 140px auto 80px 100px 100px;
  height: 100px;
  border-bottom: 1px solid #ddd;
  align-items: center;
}

div.order-table div.ponuda-header,
div.order-table div.ponuda-item{
	grid-template-columns: 140px auto;
}

div.order-table div.order-item > div > div,
div.order-table div.korpa-header > div,
div.order-table div.order-footer > div,
div.order-success-table div.order-success-item > div > div,
div.order-success-table div.korpa-header > div,
div.order-success-table div.order-success-footer > div {
  padding: 0.5em;
}

div.order-table div.order-item div.product-data-container,
div.order-success-table div.order-success-item div.product-data-container {
  display: grid;
  grid-template-columns: 30px 100px;
  align-items: center;
}

div.order-table .remove span {
  width: 15px;
  height: 15px;
  display: block;
  background-image: url(../images/close.png);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

div.order-table div.product-thumbnail a,
div.order-success-table div.product-thumbnail a {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

div.order-table div.product-thumbnail img,
div.order-success-table div.product-thumbnail img {
  max-width: 90px;
  max-height: 90px;
  width: auto;
  height: auto;
}

div.order-table div.product-quantity,
div.order-success-table div.product-quantity {
  text-align: center;
}

div.order-table div.product-price,
div.order-table div.product-discount,
div.order-table div.product-neto,
div.order-table div.product-vat,
div.order-table div.product-total,
div.order-success-table div.product-price,
div.order-success-table div.product-discount,
div.order-success-table div.product-neto,
div.order-success-table div.product-vat,
div.order-success-table div.product-total {
  text-align: right;
  font-weight: normal;
  font-size: 1em;
}

div.order-table div.product-quantity input[type="number"] {
  text-align: center;
  width: 60px;
}

.korpa-footer {
  display: flex;
  justify-content: space-between;
}

.korpa-isporuka-preuzimanje {
  border-top: 1px solid #ddd;
  padding: 1em;
  background-color: #e1e1e1;
  margin-bottom: 1em;
}

.korpa-isporuka-preuzimanje > div {
  display: flex;
  flex-direction: column;
}

.korpa-komentar {
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
}

.korpa-komentar textarea {
  height: 100px;
  padding: 0.5em;
  resize: none;
}

div.porudzbina-magacin-container {
  margin-bottom: 1em;
}

label.porudzbina-magacin {
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 1em;
  display: inline-block;
}

div.porudzbina-magacin-container,
div.porudzbina-magacin-container p.rutiranje {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

div.porudzbina-magacin-container.open,
div.porudzbina-magacin-container p.rutiranje.open {
  max-height: 500px;
}

label.porudzbina-uslovi {
  margin-bottom: 1em;
  display: inline-block;
}

/* ==================================== */
/* == 8. ORDER HISTORY (Porudzbine) == */
/* ==================================== */

/*.page-dokumenti .porudzbine-info {
  background: #f9f9f9;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 2em;
  overflow-x: auto;
  padding: 1em;
}*/

.page-dokumenti .porudzbine-info h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.2em;
  letter-spacing: 1px;
}

.page-dokumenti .porudzbine-info div.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.page-dokumenti .porudzbine-info div.orders-table div.table-header{
    color: var(--primary-color-alt);
}

.page-dokumenti .porudzbine-info div.orders-table div.table-header,
.page-dokumenti .porudzbine-info div.orders-table div.table-footer,
.page-dokumenti .porudzbine-info div.orders-table div.table-row {
    display: grid;
    grid-template-columns: 24% 25% auto 10%;
    border-bottom: 1px solid var(--primary-color-alt);
    background-color: #eef8f8;
}

.page-dokumenti .porudzbine-info.fakture div.orders-table div.table-header,
.page-dokumenti .porudzbine-info.fakture div.orders-table div.table-footer,
.page-dokumenti .porudzbine-info.fakture div.orders-table div.table-row {
    grid-template-columns: 24% 25% 25% auto 10%;
}

.page-dokumenti .porudzbine-info div.orders-table div.table-header > div.two-col,
.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div.two-col,
.page-dokumenti .porudzbine-info div.orders-table div.table-row > div.two-col{
	display: grid;
    grid-template-columns: 50% 50%;
}

.page-dokumenti .porudzbine-info div.orders-table div.table-header div.data-numeric,
.page-dokumenti .porudzbine-info div.orders-table div.table-footer div.data-numeric,
.page-dokumenti .porudzbine-info div.orders-table div.table-row div.data-numeric{
	justify-items: end;
}

.page-dokumenti .porudzbine-info div.orders-table div.table-header > div.two-col > div,
.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div.two-col > div,
.page-dokumenti .porudzbine-info div.orders-table div.table-row > div.two-col > div,
.page-dokumenti .porudzbine-info div.orders-table div.table-row > div.single-col,
.page-dokumenti .porudzbine-info div.orders-table div.table-header > div.single-col,
.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div.single-col {
  padding: 0.8em;
  text-align: left;
  /*border: 1px solid #ccc;*/
  display: flex;
    align-items: center;
    line-height: normal;
}

.page-dokumenti .porudzbine-info div.orders-table div.table-header > div,
.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div {
  /*background: #f2f2f2;*/
  font-weight: bold;
}

.page-dokumenti .porudzbine-info div.orders-table div.table-row > div {
  /*background: #fff;*/
}

.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-header, 
.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-footer, 
.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-row{
	grid-template-columns: 30% 15% 20% 19% auto;
}

.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-header div.two-col.sifra, 
.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-footer div.two-col.sifra, 
.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-row div.two-col.sifra{
	grid-template-columns: 30% 70%;
}

.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-header > div:last-child, 
.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-footer > div:last-child, 
.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-row > div:last-child{
	    justify-content: flex-end;
}

.page-dokumenti .porudzbine-info.uzorci div.orders-table div.table-header, 
.page-dokumenti .porudzbine-info.uzorci div.orders-table div.table-footer, 
.page-dokumenti .porudzbine-info.uzorci div.orders-table div.table-row{
	grid-template-columns: 20% auto 10%;
}

.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-row form{
	display: unset;
}

div.orders-table div.table-row {
    background-color: #fff !important;
    transition: all 0.2s;
}

div.orders-table div.table-row:hover {
    background-color: #eef8f8 !important;
}

.za-fakturisanje {
    display: flex;
    gap: 0.5em;
}

.za-fakturisanje svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color-alt);
}

button.button.btn-fakturisanje{
	background: transparent;
    color: var(--primary-color-alt);
    cursor: pointer;
    display: inline;
    padding: 0;
}


.page-dokumenti .btn-print {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 2em;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1em;
  display: inline-block;
}

.page-dokumenti .btn-print:hover {
  background: var(--primary-color);
}

.page-dokumenti .order-summary,
.page-dokumenti .contact-info {
  margin-top: 2em;
  padding: 1em;
  background: #f9f9f9;
  border-radius: 6px;
}

.page-dokumenti .order-summary h3,
.page-dokumenti .contact-info h3 {
  margin-top: 0;
  font-size: 1.3em;
  color: var(--primary-color);
}

.page-dokumenti .order-summary p,
.page-dokumenti .contact-info p {
  margin: 0.5em 0;
  line-height: 1.6;
}

.page-dokumenti .order-summary strong,
.page-dokumenti .contact-info strong {
  color: var(--secondary-color);
}

.page-dokumenti .btn-back {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 2em;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1em;
  display: inline-block;
}

.page-dokumenti .btn-back:hover {
  background: var(--secondary-color);
}

.order-details {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 1em;
  width: 100%;
  margin-bottom: 2em;
  overflow-x: auto;
}

.order-details p {
  margin: 0.3em 0;
}

.order-items {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 1em;
  font-size: 14px;
  min-width: 700px;
}

.order-items a {
  text-align: left;
  color: inherit;
}

.order-items th {
  background: #ae6729;
  color: #fff;
  padding: 0.5em;
}

.order-items td {
  padding: 0.5em;
  border-bottom: 1px solid #eee;
  text-align: center;
}

/* ==================================== */
/* == 9. CONTACT / CAREER FORMS == */
/* ==================================== */

/* Page-specific styles for nalog.php, posao.php, kontakt.php (grouped structural elements) */
.page-nalog .contact-form,
.page-posao .contact-form,
.page-kontakt .contact-form,
.page-lozinka .contact-form,
.page-updatepassword .contact-form,
.page-ponuda .ponuda-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.page-nalog .form-row,
.page-posao .form-row,
.page-kontakt .form-row,
.page-lozinka .form-row,
.page-updatepassword .form-row,
.page-ponuda .form-row {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.page-nalog .form-group,
.page-posao .form-group,
.page-kontakt .form-group,
.page-lozinka .form-group,
.page-updatepassword .form-group,
.page-ponuda .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  min-width: 180px;
}

.page-nalog .full-width,
.page-posao .full-width,
.page-kontakt .full-width,
.page-lozinka .full-width {
  flex: 2 1 100%;
}

/* Unique form styles */
.page-kontakt .radio-group label {
  margin-right: 1em;
  font-weight: normal;
}

.page-kontakt .form-row-komitent{
	display: none;
}

.page-kontakt .form-row-komitent-visible{
	display: flex;
	transition: all 0.3s;
}

.ponuda-form{
	margin-bottom: 1em;
}

.page-posao .captcha-group,
.page-kontakt .captcha-group {
  align-items: center;
  gap: 0.5em;
  flex-direction: row;
}

.page-posao .captcha-hint,
.page-kontakt .captcha-hint {
  font-size: 0.95em;
  color: #888;
  margin-left: 0.5em;
}

/* ==================================== */
/* == 10. FOOTER == */
/* ==================================== */

footer {
  text-align: center;
  padding: 1em;
  background: #333333;
  color: #fff;
  margin-top: 1em;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 2em;
  /*background: #eee;*/
  border-radius: 10px 10px 0 0;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-col {
  flex: 1;
  min-width: 180px;
  max-width: 320px;
  /*color: #333;*/
  font-size: 1em;
  line-height: 1.7;
}

.footer-col strong {
  color: var(--primary-color);
  font-size: 1.1em;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5em;
}

.footer-col a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 0.3em;
}

.footer-col a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ==================================== */
/* == 11. COOKIE CONSENT == */
/* ==================================== */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f0f0f0;
  border-top: 1px solid #ccc;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
}

.cookie-consent-banner .content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-consent-banner button {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ccc;
  margin-left: 10px;
  width: 100%;
}

.cookie-consent-banner button.accept-all {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

#cookie-preferences-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
}

.close-button {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* ==================================== */
/* == 12. LIGHTBOX / MODALS == */
/* ==================================== */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 2px 16px #000;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 10000;
  font-size: 1.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: #fff;
}


.container.two-rows {
    display: grid;
    grid-template-columns: calc(50% - 0.5em) calc(50% - 0.5em);
    gap: 1em;
}

.korpa-footer a.button,
.narucivanje-right .korpa-footer button,
.add-to-cart-form button{
	margin: 0;
}

.adds.four-column{
    display: flex;
    gap: 1em;
    height: auto;
    width: 1400px;
    max-width: 100vw;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    justify-content: space-between;
}

.adds.four-column > div{
	width: 24%;
	height: 340px;
	display: inline-block;	
    transition: transform 0.5s ease-in-out;
    border-radius: 1em;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}

.adds.four-column > div.professional-cutting .add-text {
    color: #fff;
    font-size: 2em;
    line-height: 1em;
    text-shadow: 0 0 3px #000;
    position: absolute;
    left: 0.5em;
    width: calc(100% - 1em);
    bottom: 0.5em;
}

.adds.four-column > div a.brand-logo img{
	max-width: 100px;
    max-height: 70px;
    width: auto;
    height: auto;	
}

.adds.four-column > div:hover {
    transform: scale(1.1);
}
.adds.four-column > div > a:first-child {
    display: block;
    width: 100%;
    height: 100%;
}

.adds.four-column .eco-friendly{
	background-image: url('../images/eco-friendly.jpg');
}

.adds.four-column .professional-cutting{
	background-image: url('../images/professional-cutting.jpg');
}

.adds.four-column .edding{
	background-image: url('../images/edding.gif');
}

.adds.four-column .dahle-product-finder{
	background-image: url('../images/dahle-product-finder-right.jpg');	
}

.adds.four-column .eco-friendly,
.adds.four-column .professional-cutting,
.adds.four-column .edding,
.adds.four-column .dahle-product-finder{
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.client-logo a.button{
	margin: 0;
}

.client-logo img {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.client-logo span.remove-logo {
    top: 0;
    right: 0;
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url(../images/close-red.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.login-container form.login-form {
    display: flex;
    flex-direction: column;
    width: 200px;
    gap: 1em;
}

.login-container form.login-form > div{
	display: flex!important;
	flex-direction: column!important;
    gap: 1em!important;
}

.login-container form.login-form button{
	margin: 0;
}






#searchResults thead {
    background-color: var(--primary-color-alt);
    color: #fff;
}

#searchResults th, #searchResults td{
	padding: 0 0.5em;
}

#searchResults td{
	padding: 0.5em;
}

.ibetable tr:nth-child(even) {
    background: #eef8f8;
}

.ibetable tr:hover{
    background-color: var(--primary-color-alt);
    color: #fff;	
}

.ibetable tr:hover a{
	color: #fff!important;
}

#searchResults .imgpretraga{
	width: 50px;
    height: 50px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

#frmPretraga input, #frmPretraga select {
    padding: 5px!important;
}

#frmPretraga td {
    padding: 0;
    vertical-align: bottom;
}



/* ==================================== */
/* == 13. MEDIA QUERIES (RESPONSIVENESS) == */
/* ==================================== */

.mobile-visible {
  display: none;
}

/* --- 1400px Max Width --- */
@media (max-width: 1400px) {
  .site-container {
    max-width: 100vw;
  }

  .main-content {
    /*padding-right: 1em;*/
  }

  .sidebar-left {
    padding-left: 1em;
  }

  .new-products-container {
    width: 100%;
  }
  
  .adds.four-column > div {
    width: 24vw;
    height: 24vw;
  }
  
  .adds.four-column > div.professional-cutting .add-text{
  	font-size: 1.5em;
  }
}

/* --- 1230px Max Width --- */
@media (max-width: 1230px) {
  main {
    margin-top: 130px;
  }
  
  .header{
  	height: 130px!important;
  }
}

/* --- 1200px Max Width (Tablet Landscape/Smaller Desktop) --- */
@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-columns {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1.5em;
  }

  .footer-col {
    flex: 1 1 45%;
    max-width: 48%;
    min-width: 180px;
    margin-bottom: 1em;
  }

  .new-products-container, .recent-products-container {
    padding: 0!important;
  }

  div.order-elements {
    display: flex;
    flex-direction: column;
    column-gap: 2em;
  }
}

/* --- 1100px Max Width (Tablet Portrait) --- */
@media (max-width: 1100px) {
  .close-filters-btn {
    display: block;
  }

  .show-filters-btn {
    display: block;
    position: relative;
    width: 100%;
    padding: 0.7em 0;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    margin-bottom: 1em;
    z-index: 1002;
  }

  main {
    flex-direction: column;
    gap: 1em;
  }

  .sidebar-left, .sidebar-right {
    display: none;
    max-width: 100%;
    min-width: 0;
  }

  .sidebar-left {
    padding-left: 0;
    position: fixed;
    top: 0;
    left: -100vw;
    height: 100vh;
    width: 80vw;
    max-width: 320px;
    background: #eef8f8;
    box-shadow: 2px 0 16px rgba(0,0,0,0.15);
    z-index: 1003;
    transition: left 0.3s cubic-bezier(.4,0,.2,1);
    display: block;
    overflow-y: auto;
    margin: 0px;
    border-radius: 0;
    padding: 1em;
  }

  .sidebar-left.active {
    left: 0;
    display: block;
    z-index: 9999;
    font-size: 1.1em;
    line-height: 2em;
    padding: 0.5em;
  }

  .sidebar-left div.sidebar-box.brand-details {
    display: initial;
    border-bottom: none;
  }

  .sidebar-left div.sidebar-box.brand-details span.title {
    color: var(--primary-color-alt);
  }

  .sidebar-left div.sidebar-box.brand-details ul {
    display: grid;
    grid-template-columns: 48% 48%;
  }

  .filters-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    z-index: 9999;
  }

  .filters-overlay.active {
    display: block;
  }

  .main-content {
    width: 100%;
    /*padding: 1em;*/
    margin-top: 0;
  }

  button#closeFiltersBtn {
        top: 15px;
        right: 15px;
        z-index: 999999;
        padding: 0;
  }
  
	.close-filters-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    width: 25px;
    height: 25px;
    background-image: url(../images/close.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .close-filters-btn:hover {
    color: rgb(174, 103, 41);
  }
}

/* --- 900px Max Width (Small Tablet/Large Phone Landscape) --- */
@media (max-width: 900px) {
	.product-info .product-sku{
		width: 100%;
	}
	
  .brands-list {
    grid-template-columns: 1fr;
  }

  .mobile-hidden {
    display: none!important;
  }
  

  .mobile-visible {
    display: initial;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-page-header {
  	    flex-direction: column;
  }
	
	.categories-menu-container,
	/*.brand-logos,*/
	.brands-menu-container
	 {
	    width: 200px!important;
	}
	
	.brand-logos
	 {
	    width: 100%!important;
	}

	.categories-menu > ul{
		grid-template-columns: 100%;
		width: 300px;
	}
	
	.brands-menu > ul{
		width: 100%;
    	left: -250px;
        grid-template-columns: 150px 150px 150px;
	}

  .menu {
    display: none !important;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 8px #0001;
    z-index: 1000;
    padding: 1em 0;
  }

  .menu.menu-open {
    display: flex !important;
  }

  .quick-cart {
    display: none!important;
  }

  div.order-table div.order-item,
  div.order-success-table div.order-success-item {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto;
    height: auto;
  }

  div.order-table div.order-item div.product-name-container,
  div.order-success-table div.order-success-item div.product-name-container {
    font-size: 1.3em;
  }

  div.order-table div.order-item div.product-data-container,
  div.order-success-table div.order-success-item div.product-data-container {
    display: grid;
    grid-template-columns: 30px 100px auto;
    align-items: center;
  }

  div.order-table div.order-item div.product-price-data-container,
  div.order-success-table div.order-success-item div.product-price-data-container {
    display: grid;
    grid-template-columns: 60px 80px auto;
    align-items: center;
  }

  .product-header h1 {
    font-size: 1.5em;
  }

  .product-detail {
    flex-direction: column;
   /* align-items: center;*/
  }

  .status-message {
    position: fixed;
    width: calc(100% - 2em);
    margin-left: -1em;
  }

  .order-details {
    padding: 0.5em;
    max-width: 100%;
  }

  .order-items {
    font-size: 13px;
    min-width: 600px;
  }

  .order-items th, .order-items td {
    padding: 0.3em;
  }
}

/* --- 850px Max Width --- */
@media (max-width: 850px) {
  .product-header h1 {
    font-size: 1.5em;
  }

  .product-detail {
    flex-direction: column;
    /*align-items: center;*/
  }

  .status-message {
    position: fixed;
    width: calc(100% - 2em);
    margin-left: -1em;
  }
  
  .container.two-rows{
  	display: block;
  }
  
  .main {
        margin-top: 130px;
    }
    
    .page-dokumenti .porudzbine-info div.orders-table div.table-header,
    .page-dokumenti .porudzbine-info div.orders-table div.table-footer,
	.page-dokumenti .porudzbine-info div.orders-table div.table-row {
	    display: grid;
	    grid-template-columns: 24% 25% auto 15%;
	}
    
    .page-dokumenti .porudzbine-info.fakture div.orders-table div.table-header,
    .page-dokumenti .porudzbine-info.fakture div.orders-table div.table-footer,
	.page-dokumenti .porudzbine-info.fakture div.orders-table div.table-row {
	    display: grid;
	    grid-template-columns: 24% 25% 25% auto 15%;
	}
	
	.page-dokumenti .porudzbine-info div.orders-table div.table-header > div.two-col,
	.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div.two-col,
	.page-dokumenti .porudzbine-info div.orders-table div.table-row > div.two-col{
		display: grid;
	    grid-template-rows: 30px 30px;
	    grid-template-columns: 100%;
	}
	
	.page-dokumenti .porudzbine-info div.orders-table div.table-header > div.two-col > div:first-child,
	.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div.two-col > div:first-child,
	.page-dokumenti .porudzbine-info div.orders-table div.table-row > div.two-col > div:first-child{
		border-bottom: none;
	}
	
	.page-dokumenti .porudzbine-info div.orders-table div.table-header > div.two-col > div:last-child,
	.page-dokumenti .porudzbine-info div.orders-table div.table-footer > div.two-col > div:last-child,
	.page-dokumenti .porudzbine-info div.orders-table div.table-row > div.two-col > div:last-child{
		border-top: none;
	}
	
	.adds.four-column{
		display: grid;
		grid-template-columns: 48% 48%;
	}
	
	.adds.four-column > div {
        width: 47vw;
        height: 47vw;
    }
}

/* --- 700px Max Width (Most Phones) --- */
@media (max-width: 700px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-nalog .contact-form,
  .page-posao .contact-form,
  .page-kontakt .contact-form {
    padding: 1em;
  }

  .page-nalog .form-row,
  .page-posao .form-row,
  .page-kontakt .form-row {
    flex-direction: column;
    gap: 0.7em;
  }

  .page-nalog .form-group,
  .page-posao .form-group,
  .page-kontakt .form-group {
    min-width: 100%;
  }

  .order-details {
    padding: 0.3em;
    max-width: 100%;
  }

  .order-items {
    font-size: 12px;
    min-width: 400px;
  }

  .order-items th, .order-items td {
    padding: 0.2em;
  }
	
	.main-content.page-dokumenti form{
		display: grid;
	    gap: 0.4em;
	    grid-template-columns: 50% 50%;
	}
	
	.page-dokumenti .porudzbine-info.rezervacije div.orders-table div.table-row form{
		display: unset;
	}
	
	.main-content.page-dokumenti form > div{
	    display: flex;
	    flex-direction: column;
	    align-content: flex-start;
	    flex-wrap: wrap;
	    justify-content: flex-end;
	}
	
	.main-content.page-dokumenti form button[type="submit"]{
		height: 40px;
	}
	
	.brands-menu > ul{
	    grid-template-columns: 150px 150px 150px;
    	left: -250px;
	}
	
	.client-logo{
		flex-direction: column;
	}
}

/* --- 600px Max Width (Small Phones) --- */
@media (max-width: 600px) {
  .navbar {
    padding: 0.5em;
  }

  .logo {
    font-size: 1.2em;
    margin-bottom: 0.5em;
  }

  .hamburger {
    position: absolute;
    top: 1rem;
    right: 2rem;
  }

  .nav-logo {
    width: 100%;
    align-items: flex-start!important;
  }

  .menu {
    font-size: 1em;
  }

  .footer-columns {
    flex-direction: column;
    gap: 1em;
    padding: 1em 0.2em 0.2em 0.2em;
    justify-content: center;
  }

  .footer-col {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 1em;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  
  .page-dokumenti .porudzbine-info div.orders-table div.table-header,
  .page-dokumenti .porudzbine-info div.orders-table div.table-footer,
	.page-dokumenti .porudzbine-info div.orders-table div.table-row {
	    font-size: 70%;
	}
	
	div#sefConfirmDialog{
		font-size: 80%;
	}
	
	div#sefConfirmDialog div.button{
		padding: 0.5em 1em;
	}
}

@media (max-width: 450px) {
	.categories-menu-container, .brands-menu-container {
        width: 50% !important;
    }
    
    .categories-menu > ul {
        width: 200%;
    }	
    
    .brands-menu > ul {
        left: -100%;
        grid-template-columns: 100% 100%;
    }
}


@media print {
    
    /* 1. Reset the basics for ink saving and readability */
    body {
        margin: 0;           /* Remove margins/padding from the page */
        padding: 0;
        background-color: #fff !important; /* Force white background */
        color: #000 !important;           /* Force black text */
        font-size: 12pt;                  /* Use a readable font size for printing */
    }
    
    main{
    	margin: 0;
    }

    /* 2. Hide unnecessary elements */
    .header,
    .navigation,
    .sidebar,
    .footer,
    .hide-on-print,
    button,
    form,
    /* Hide scroll bars that might appear as artifacts */
    body::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
    }

    /* 3. Adjust content layout (if needed) */
    .content {
        float: none !important; /* Remove any floats that disrupt linear flow */
        width: 100% !important; /* Ensure main content uses full width */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 4. Format links to show their URL (Crucial for references!) */
    a:link:after,
    a:visited:after {
        /*content: " (" attr(href) ") ";*/
        font-size: 90%;
        color: #555;
        /* Don't show the URL if it links to an anchor on the same page */
        border-bottom: none;
    }
    
    /* Optional: Force full URLs for specific links */
    .print-url:after {
        /*content: " (" attr(href) ") ";*/
    }
    
    /* 5. Handle images */
    img {
        max-width: 100% !important; /* Ensure images don't exceed paper width */
        page-break-inside: avoid;   /* Prevent an image from being split across two pages */
    }

    /* 6. Page Breaks (Advanced) */
    .article {
        page-break-after: auto; /* Allow the article to break where needed */
    }
    h2, h3 {
        page-break-after: avoid;  /* Avoid breaking immediately after a heading */
        page-break-before: avoid; /* Avoid starting a page with a small heading */
    }
    
    /* 7. Remove box shadows and backgrounds */
    *, *:before, *:after {
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    header,
    aside,
    .show-filters-btn,
    .breadcrumbs,
    .artikal-nazad,
    .product-sku .ponuda,
    .product-colors,
    .product-akcija,
    .product-price-old,
    .product-price,
    .product-net,
    .product-discount,  
    .product-stock,
    .product-omiljeno,
    .add-to-cart-form,
    .related-products-container,
    .adds.four-column,
    .new-products-container,
    .recent-products-container,
    footer{
    	display: none;
    }
    
    
}





