/*
 Theme Name:   Carneshop Child
 Template:     carneshop
*/



.woocommerce ul.products:not(.owl-carousel) {
  display: grid;
  gap: 20px;
}

/* kartica */
.woocommerce ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: flex;
}

/* koristi SAMO grid-* (ignoriraj columns-*) */
.woocommerce ul.products.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.woocommerce ul.products.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.woocommerce ul.products.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* MOBILE */
@media (max-width: 768px) {

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products.grid-2 {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* =========================
   PRODUCT CARD
========================= */


.custom-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid #eee;
  padding: 15px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 14px;     /* 👈 OVO DODAJ */
  overflow: hidden;        /* 👈 da sadržaj prati zaobljenje */
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-price {
  margin-top: auto;
}

/* hover efekt */
.custom-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}



/* =========================
   IMAGE
========================= */

.product-image {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* zoom */
.custom-product-card:hover .product-image img {
  transform: scale(1.05);
	
}



/* =========================
   TEXT
========================= */

.product-category {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 5px;
	text-align: center;
}

.product-title {
  font-size: 16px;
	text-align: center;
  color: #000000;
 margin: 5px 0;
  
}

.product-price {
  font-size: 16px;
  font-weight: 600;
}


/* ukloni theme flex/gluposti */
ul.products::before,
ul.products::after {
  display: none !important;
}






/* TOOLBAR */
.shop-toolbar {
	 position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px; /* KLJUČNO - kontrolirani razmak */
}

/* FILTER BUTTON */
.mobile-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border: 1px solid #000;
  background: #fff;
  font-size: 14px;
	border-radius: 8px;
}

/* GRID TOGGLE */
.grid-toggle {
  display: flex;
  gap: 8px;
  align-items: center;

}

/* BUTTON */
.grid-toggle span {
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 6px;
  background: #fff;
  padding: 6px 10px;
  
}

/* SVG */
.grid-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #555;
  stroke-width: 1.5;
}

/* HOVER */
.grid-toggle span:hover {
  border-color: #000;
}

.grid-toggle span:hover svg {
  stroke: #000;
}

/* ACTIVE */
.grid-toggle .active {
  border-color: #000;
  background: #f5f5f5;
}

.grid-toggle .active svg {
  stroke: #000;
}

/* SORT */
.woocommerce-ordering {
  margin: 0 !important;

}

.woocommerce-ordering select {
  height: 34px;
  line-height: 34px; /* ključ */
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  appearance: none; /* uklanja default stil */
  -webkit-appearance: none;
  -moz-appearance: none;
	 background-position: right 10px center; /* 🔥 KLJUČ */
  background-repeat: no-repeat;
}


/* FILTER PANEL */
.mobile-filter-panel {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
  transition: left 0.3s ease;
  border-right: 1px solid #eee;
  padding: 25px 20px;
}

.mobile-filter-panel.active {
  left: 0;
}

/* NASLOVI */
.mobile-filter-panel h2,
.mobile-filter-panel h3,


/* WIDGET */
.mobile-filter-panel .widget {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.mobile-filter-panel .widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.mobile-filter-panel .widget-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #e21d23;
  margin-top: 6px;
}

/* LISTE */
.mobile-filter-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-filter-panel ul li {
  margin-bottom: 10px;
}

.mobile-filter-panel ul li a {
  display: block;
  background: #f8f8f8;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.mobile-filter-panel ul li a:hover {
  background: #e21d23;
  color: #fff;
  padding-left: 16px;
}
.mobile-filter-panel ul li a::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0.5;
  transition: 0.2s;
}

.mobile-filter-panel ul li a:hover::after {
  opacity: 1;
  right: 10px;
}

.mobile-filter-panel ul li.current-cat a {
  background: #e21d23;
  color: #fff;
  font-weight: 600;
}

/* CHECKBOX */
.mobile-filter-panel input[type="checkbox"] {
  margin-right: 8px;
}

/* CIJENA */
.mobile-filter-panel .price_slider_wrapper,
.mobile-filter-panel .woocommerce-widget-layered-nav-list {
  margin-top: 10px;
}

/* FILTER TITLE */
.mobile-filter-panel::before {
  
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
}

/* CLOSE BTN */
.filter-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10000;
}

/* Ukloni strelice */
.product-categories .flaticon-right {
  display: none !important;
}

/* MOBILE */
@media (max-width: 768px) {

  .mobile-filter-btn {
    display: inline-block;
  }

  .shop-sidebar,
  .sidebar-side {
    display: none !important;
  }

  .content-side {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .woocommerce-pagination {
    margin-top: 40px;
  }

  .woocommerce ul.products {
    padding-bottom: 20px;
  }
}

/* DESKTOP */
@media (min-width: 769px) {
  .mobile-filter-btn,
  .mobile-filter-panel {
    display: none !important;
  }
}



@media (max-width: 768px) {

  .grid-toggle .grid-4 {
    display: none;
  }
}

.feature-card .inner-box {
  position: relative;
  padding: 25px;
  border-radius: 14px;
  transition: all 0.3s ease;

  /* 👇 svjetlija kartica */
  background: rgba(255,255,255,0.03);

  /* 👇 naglašeniji obrub */
  border: 1px solid rgba(255,255,255,0.25);
}

/* 👇 skoro nevidljiv overlay */
.feature-card .inner-box::before {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  opacity: 0.15;
  border-radius: 14px;
  transition: 0.3s;
}

/* hover */
.feature-card:hover .inner-box {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);

  /* 👇 obrub jači na hover */
  border-color: #ffffff;
}

/* malo jači overlay na hover */
.feature-card:hover .inner-box::before {
  opacity: 0.25;
}

/* 👇 strelica uvijek bijela */
.feature-arrow {
  color: #ffffff;
  opacity: 1;
}

.feature-section .inner-container {
  display: flex;
  gap: 25px;
}

.single-item {
  flex: 1;
}

.inner-box-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

@media (max-width: 768px) {
  .feature-section .inner-container {
    flex-direction: column;
    gap: 20px;
  }

  .single-item {
    width: 100%;
  }
}

.feature-section .auto-container {
  max-width: 100%;
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.custom-about-v2 {
  background: #f9f9f9;
  padding: 80px 0;
}

.custom-about-v2 .about-features-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.custom-about-v2 .about-card {
  display: blok;
  align-items: center;
  gap: 12px;

  align-items: flex-start;
  gap: 10px;

  padding: 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d62828;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.about-card {
  display: block;
  position: relative; /* 👈 KLJUČNO */
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e63946;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-about-v2 .about-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;

  background: rgba(214,40,40,0.12);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #d62828;
  font-size: 20px; /* 👈 VEĆE */
}

.custom-about-v2 .about-card-icon i,
.custom-about-v2 .about-card-icon svg {
  font-size: 28px;
  width: 28px;
  height: 28px;
}

.custom-about-v2 .about-card-text {
  font-weight: 600;
  color: #222;
  font-size: 15px;
}
.about-cta a {
  display: inline-block;
  margin-top: 25px;

  color: #d62828;
  font-weight: 600;

  position: relative;
}

.about-cta a::after {
  content: " →";
  transition: 0.3s;
}

.about-cta a:hover {
  color: #000;
}

.image-box img {
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}


/* wrapper */
.image-box {
  display: flex;
  flex-direction: column;
  gap: 20px; /* razmak između slika */
}

/* obje slike isti stil */
.image-box .image-1 img,
.image-box .image-2 img {
  width: 100%;
  border-radius: 12px;

  border: 6px solid #fff; /* 👈 bijeli okvir */

  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}



@media (max-width: 768px) {
	
	@media (max-width: 768px) {

  .custom-about-v2 .about-features-cards {
    grid-template-columns: 1fr; /* 👈 JEDNA kolona */
  }
		  .custom-about-v2 .about-card-text {
    font-size: 14px;
  }

  .custom-about-v2 .about-card {
	    padding: 16px;
    width: 100%;
  }

}

  /* reset positioning */
  .image-box {
    position: relative;
  }

/* glavna slika */
.image-box .image-1 img {
  width: 100%;
  border-radius: 12px;
  border: 6px solid #fff;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* druga slika (badge stil) */
.image-box .image-2 {
  position: absolute;
  bottom: -20px;
  right: 0; /* 🔥 KLJUČNO */
  transform: translateX(20px); /* vizualni efekt bez lomljenja layouta */
}
	
	
.image-box .image-2 img {
  width: 100%;
  border-radius: 10px;
  border: 5px solid #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

  .image-box .image-1 img,
  .image-box .image-2 img {
    width: 100%;
  }

  /* malo spacing */
  .image-box {
    margin-top: 20px;
  }

}

@media (max-width: 768px) {

  .image-box .image-2 {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 15px;
  }

}

@media (max-width: 768px) {
  .image-box img {
    border-radius: 10px;
  }
}


@media (max-width: 768px) {

  .main-slider-carousel .content-box h1 {
    margin-top: -65px;
  }

}
@media (max-width: 768px) {

  .custom-about-v2 .sec-title h2 {
    text-align: center;
    margin-bottom: 15px;
  }

  .custom-about-v2 .text p {
    text-align: left;
  }

}

@media (max-width: 768px) {

  .custom-about-v2 .about-cta {
    text-align: center;
    margin-top: 20px;
  }

}

/* po defaultu sakriveno */
.mobile-image {
  display: none;
}

/* mobitel */
@media (max-width: 768px) {

  .mobile-image {
    display: block;
    margin: 15px 0 20px;
  }

  .mobile-image img {
    width: 100%;
    border: 6px solid #fff;   /* 👈 bijeli obrub */
  border-radius: 12px;      /* 👈 isti radius kao desktop */
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* 👈 isti shadow */
  }

  /* sakrij desni column (duplikat slike) */
  .custom-about-v2 .image-column {
    display: none;
  }
}

.products.owl-carousel .custom-product-card {
  margin: 0;
}


.shop-section {
  background: #ffffff;
}



/* 🔥 equal height za slider kartice */
.products.owl-carousel li.product {
  display: flex;

}

/* kartica */
.products.owl-carousel .custom-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
	background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
	box-sizing: border-box;
  transition: all 0.3s ease;
}

.products.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

/* 🔥 FIX ZA LEFT CUT */
.products.owl-carousel .owl-stage-outer {
  padding-left: 10px;
  padding-right: 10px;
  overflow: hidden; /* 🔥 dodaj */
}

/* centriraj item */
.products.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
  padding: 0 8px;
  box-sizing: border-box;
}


/* hover efekt */
.products.owl-carousel .custom-product-card:hover {
  transform: none;
  box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}

/* content */
.products.owl-carousel .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* cijena dolje */
.products.owl-carousel .product-price {
  margin-top: auto;
}

.products.owl-carousel .product-title {
  min-height: 42px;
}

.social-links li a i,
.social-links li a svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* jezik - veličina */
.language .txt {
  font-size: 18px;
}

.language .arrow {
  font-size: 14px;
  margin-left: 5px;
}

.language .icon {
  font-size: 16px;
  margin-right: 5px;
}

.footer-widget.logo-widget .text p {
  font-size: 20px !important;
}

.footer-widget.logo-widget .footer-logo {
  color: #fff;
  font-size: 18px
}

.about-card {
  display: block;
  grid-template-columns: 1fr 1fr; /* 👈 KLJUČNO */
  gap: 15px;
  align-items: start;
}

.about-card-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  white-space: pre-line;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.about-card.active .about-card-content {
  max-height: 300px;
  opacity: 1;
  margin-top: 12px;
}

.custom-about-v2 .about-card::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #e63946;
}

.about-card.active::after {
  content: "−";
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

@media (max-width:768px){

  .about-card {
    grid-template-columns: 1fr; /* već imaš vjerovatno */
    text-align: left;
	padding: 18px;
	position: relative;
  }

.about-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-card-content {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
	white-space: pre-line;
  }

.about-card-text {
  font-weight: 600;
  font-size: 16px;
}

}

.woocommerce ul.products li.product .product-category {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 5px;
}

/* 🔥 ukloni crveni background */
.search-panel {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* pozicija dropdowna */
.search-box-outer .dropdown-menu.search-panel {
  top: 30px !important;
  right: 0;
  left: auto !important;
}

/* container */
.search-panel .form-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ❌ UKLONI LUPU */
.search-panel button,
.search-panel button i {
  display: none !important;
}

/* input */
.search-panel input[type="search"] {
  width: 220px;
  height: 46px;
  padding: 0 15px; /* 🔥 nema više mjesta za lupu */
  border-radius: 25px;
  border: none;
  outline: none;
  background: #fff;
  font-size: 14px;

  transition: width 0.3s ease;
}

/* animacija */
.search-panel input[type="search"]:focus {
  width: 300px;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {

  .search-box-outer .dropdown-menu.search-panel {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    top: 30px !important;
  }

  .search-panel input[type="search"] {
    width: 85vw;
  }

  .search-panel input[type="search"]:focus {
    width: 85vw;
  }

}

.custom-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 14px;
  color: #666;
}

/* responsive */
@media (max-width: 992px) {
  .custom-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .custom-blog-grid {
    grid-template-columns: 1fr;
  }
}

.sisovic-btn {
  display: inline-block;
  background: #e21d23;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: 2px solid transparent; /* 👈 KLJUČ */
}

.sisovic-btn:hover {
  background: #fff;
  color: #e21d23;
  border: 2px solid #e21d23; /* 👈 da ne izgubi oblik */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* =========================
   SIDEBAR KATEGORIJE (DESKTOP)
========================= */

.woocommerce .widget_product_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ITEM */
.woocommerce .widget_product_categories ul li {
  margin-bottom: 10px;
}

/* LINK (kartica stil) */
.woocommerce .widget_product_categories ul li a {
  display: block;
  background: #f5f5f5;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

/* HOVER */
.woocommerce .widget_product_categories ul li a:hover {
  background: #e21d23;
  color: #fff;
  padding-left: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.woocommerce .widget_product_categories ul li a:hover::after {
  opacity: 1;
  right: 10px;
}

/* AKTIVNA */
.woocommerce .widget_product_categories ul li.current-cat a {
  background: #e21d23;
  color: #fff;
  font-weight: 600;
}

/* NASLOV */
.woocommerce .widget_product_categories .widget-title {
  font-size: 20px;
  font-weight: 500;
  color: #1d3557;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
  position: relative;
}

.woocommerce .widget_product_categories .widget-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #e21d23;
  margin-top: 8px;
  font-size: 22px;      /* 👈 malo manje */
  font-weight: 600;     /* 👈 KLJUČNO (ne 700!) */
  text-transform: uppercase;
  color: #1d3557;
  letter-spacing: 0.4px;
}



.mobile-menu .navigation li a {
  transition: all 0.2s ease;
}

/* klik (mobile) */
.mobile-menu .navigation li a:active {
  background: rgba(255,255,255,0.1);
  transform: scale(0.97);
}

.mobile-menu .navigation li a:hover {
  background: rgba(255,255,255,0.08);
  padding-left: 8px;
}

.mobile-menu .navigation li.current-menu-item > a,
.mobile-menu .navigation li.current_page_item > a {
  background: #e21d23;
  color: #fff;
}

.mobile-menu .navigation li a {
  position: relative;
}

.mobile-menu .navigation li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #e21d23;
  transition: 0.25s;
}

.mobile-menu .navigation li a:hover::before,
.mobile-menu .navigation li a:active::before {
  width: 4px;
}

.mobile-menu .navigation li a {
  overflow: hidden;
}

.mobile-menu .navigation li a:active {
  background: rgba(255,255,255,0.15);
}

.single-product .tabs-box {
  display: none !important;
}

.single-product .product-details {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border: 1px solid #eaeaea;
  border-top: 4px solid #e21d23; /* 👈 GLAVNI AKCENT */
  padding: 24px;
  border-radius: 12px;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* tekst */
.single-product .product-details p {
  font-size: 15px;
  color: #333; /* tamnije */
  margin-bottom: 12px;
}

/* naslovi tipa "Sastojci:" */
.single-product .product-details strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 6px;
}

/* malo razmaka između sekcija */
.single-product .product-details p + p {
  margin-top: 10px;
}

.dflip-book,
._df_thumb,
._df_thumb img {
  width: 260px !important;
  max-width: 100%;
}

._df_thumb img {
  height: auto !important;
}


/* RELATED = ISTI GRID KAO SHOP */
.related-product .row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ukloni bootstrap kolone */
.related-product .col-lg-3,
.related-product .col-md-6,
.related-product .col-sm-12 {
  width: 100% !important;
  max-width: 100% !important;
  flex: unset !important;
}

/* ukloni theme column */
.related-product .product-block {
  width: 100% !important;
  float: none !important;
}

.related-product {
  display: none !important;
}

.related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related.products ul.products li.product {
  width: 100% !important;
  float: none !important;
}

.related.products > h2 { 
	text-align: center; 
	text-transform: uppercase; 
	margin-bottom: 25px; 
	font-size: 28px; 
	font-weight: 700; 
	color: #000 !important;
}

/* MOBILE - RELATED PRODUCTS */
@media (max-width: 768px) {
  .related.products ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

.banner-section .owl-stage {
  width: 100% !important;
  transform: none !important;
}

.banner-section .owl-stage-outer {
  overflow: hidden !important;
}

.banner-section {
  overflow: hidden !important;
}

.sec-title h2 a {
  color: inherit;
  text-decoration: none;
}

.sec-title h2 a:hover {
  opacity: 0.8;
}

/* IZGLED BLOG ČLANKA */
.single-clean .content-side {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
} 
.clean-single {
  padding: 40px 0;
}

.clean-single .auto-container {
  max-width: 1000px;
}

.clean-single .blog-details-content {
  background: none;
  box-shadow: none;
  padding: 0;
}
.blog-details-content {
  width: 100%;
}

.blog-details-content p {
  font-size: 18px;
  line-height: 1.8;
}

.blog-details-content h2 {
  margin-top: 40px;
}

/* ===== CLEAN BLOG ===== */

.single-clean {
  padding: 40px 0;
}

.single-clean .auto-container {
  max-width: 850px;
  margin: 0 auto;
}

/* DESKTOP - vrati layout članka + sidebar */

@media (min-width: 992px) {
  .single-clean .auto-container {
    max-width: 1200px;
  }

  .single-clean .row.clearfix {
    display: flex;
    align-items: flex-start;
  }

  .single-clean .content-side {
    flex: 0 0 75% !important;
    max-width: 75% !important;
  }

  .single-clean .sidebar-side {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    display: block !important;
  }

  .single-clean .blog-details-content {
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
  }
}

/* MOBILE */
@media (max-width: 991px) {
  .single-clean .content-side {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .single-clean .sidebar-side {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .single-clean .auto-container {
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  .single-clean .blog-details-content {
    padding: 0 15px;
  }
}

/* MOBILE - članak preko cijele širine, bez sidebara */
@media (max-width: 991px) {
  .single-clean .content-side {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .single-clean .sidebar-side {
    display: none !important;
  }
}

/* MOBILE - raširi wrapper da članak ne bude uzak */
@media (max-width: 768px) {
  .single-clean .auto-container {
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }

  .single-clean .blog-details-content {
    padding: 0 15px;
  }
}


/* NASLOV */
.blog-details-content h1 {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

/* DATUM */
.blog-details-content ul.post-info-2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px 0;
  padding: 0;
  list-style: none;
}

.blog-details-content ul.post-info-2 li {
  margin: 0;
  font-size: 14px;
  color: #000;
}

/* TEKST */
.blog-details-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #333;
}

/* PODNASLOVI */
.blog-details-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 10px;
}

/* SLIKE */
.blog-details-content img {
  border-radius: 12px;
  margin: 25px 0;
}




/* lagani hover za slike */
.blog-details-content img:hover {
  transform: scale(1.02);
  transition: 0.3s;
}

/* bolji razmak između sekcija */
.blog-details-content > * {
  margin-bottom: 20px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 20px 15px 0 15px; /* 👈 unutarnji razmak */
  border-top: 1px solid #eee;
}

.post-navigation a {
  text-decoration: none;
  color: #e21d23;
  font-weight: 600;
}

@media (min-width: 992px) {

  .post-navigation {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 400px; /* 👈 možeš promijeniti: 700–900px */
    max-width: 90%;
    padding: 20px 0 0 0 !important;
  }

}

.related-posts {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

/* NASLOV */
.related-posts h3 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 26px;
  color: #111;
}

/* GRID */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* KARTICA */
.related-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  backdrop-filter: blur(4px);
  position: relative;
}

/* LINK */
.related-item a {
  display: block;
  text-decoration: none;
  color: #000; /* 🔥 CRNA */
}

/* NASLOV ČLANKA */
.related-item h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  padding: 18px;
  color: #000; /* 🔥 CRNA */
}

/* HOVER */
.related-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* BLAGI GRADIENT HOVER */
.related-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.03));
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}

.related-item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   WRAPPER
========================================= */
#cmplz-manage-consent {
  z-index: 9999;
  position: fixed;

  pointer-events: auto;

  transition: opacity 0.25s ease;

  display: none; /* 👈 osiguraj da postoji */
}

#cmplz-manage-consent .cmplz-btn {
  bottom: 15px !important;
  right: 30px !important;
  position: fixed !important;
}

#cmplz-manage-consent.show-consent {
  display: block;
}

/* hover → fokus */
#cmplz-manage-consent:hover {
  opacity: 1;
}


/* =========================================
   BUTTON
========================================= */
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent {
  width: 50px !important;
  height: 50px !important;

  min-width: 50px;
  min-height: 50px;

  aspect-ratio: 1 / 1;
  border-radius: 50%;

  padding: 0;
  border: none;

  background: #e21d23 !important;

  display: flex !important; /* 👈 ključ */
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;

  font-size: 0;

  transition: box-shadow 0.2s ease, transform 0.2s ease;
  visibility: visible !important; /* 👈 ključ */
}


/* =========================================
   IKONA (tanja globe)
========================================= */
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;

  background-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuMyIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIi8+PHBhdGggZD0iTTEyIDJjMyAzIDMgMTcgMCAyMCIvPjxwYXRoIGQ9Ik0xMiAyYy0zIDMtMyAxNyAwIDIwIi8+PHBhdGggZD0iTTIgMTJoMjAiLz48L3N2Zz4=");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* =========================================
   HOVER (blagi lift)
========================================= */
#cmplz-manage-consent .cmplz-btn.cmplz-manage-consent:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

button.scroll-top.open {
  bottom: 15px !important;
}

.header-top .language .lang-btn {
  cursor: pointer;
}

.header-top .language .lang-btn .txt {
  color: #fff;
  font-weight: 600;
}

.main-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.main-slider .auto-container {
    max-width: 1200px;
    margin: 0 auto;
}

.owl-nav {
    display: none !important;
}

/* HERO ZA SVE STRANICE OSIM HOME */
body:not(.home) .page-title {
  position: relative;
  background: url('/wp-content/uploads/header-bg.png') center/cover no-repeat;
  padding: 140px 0;
  min-height: 300px;
  display: flex;
  align-items: center;

}

/* overlay */
body:not(.home) .page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* možeš 0.4–0.7 */
  z-index: 1;

}

/* sadržaj iznad */
body:not(.home) .page-title .auto-container {
  position: relative;
  z-index: 2;
}

/* naslov */
body:not(.home) .page-title h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  body:not(.home) .page-title {
    padding: 70px 20px;
    min-height: 200px;
  }
}

/* DESKTOP HEADER BACKGROUND */
@media (min-width: 769px) {
  body:not(.home) .page-title {
    background: url('/wp-content/uploads/header-dbg.png') center/cover no-repeat;
    min-height: 330px;
    padding: 140px 0;
    display: flex;
    align-items: center;
  }


