/*
Theme Name: Maasai Theme
Author: Nebojsa lukic
Description: A lightweight WordPress theme with Bootstrap and WooCommerce support.
Version: 1.0
Text Domain: minimalist-bootstrap-theme
*/

/* Reset default styles  */
body,
html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.375;
  font-family: "Poppins", sans-serif;
  color: #183030;
  font-size: 16px;
  letter-spacing: 0.02em;
}



main {
  background-color: #ffffff;
}

a {
  position: relative; 
  color: #183030;
  text-decoration: none;
}

a:hover {
  color: #757d75;
  text-decoration: underline;
}

h2 {
  font-weight: 700;
  
  color: #757d75;
  font-family: "Poppins", serif;
}

/* Search overlay */ 

/* Glavni overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(75, 61, 143, 0.95); /* lila pozadina */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    overflow: auto;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

/* Container centriran */
.search-overlay .container {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

/* Dugme za zatvaranje */
.search-overlay .close-btn {
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 6rem;
	background: none;
	border: none;
	color: #1a0303;
	cursor: pointer;
	transition: transform 0.2s ease, color 0.3s ease;
}

.search-overlay .close-btn:hover {
    transform: rotate(90deg);
    color: #e0d9ff;
}

/* Naslov */
.search-overlay h2 {
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 30px;
	margin-top: 60px;
}

/* Search container */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 5px 10px;
    transition: box-shadow 0.3s ease;
}

.search-container:focus-within {
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Input polje */
.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

/* Dugme search */
.search-btn {
    background: linear-gradient(135deg, #7d5fff, #757d75);
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(135deg, #5e42c5, #2f256b);
    transform: translateY(-2px);
}



.rotating-text {
font-size: 14px;
}

.top-bar {
  background-color: #757d75; 
  padding: 0.5rem 4rem;
  color: white;
  font-weight: 600;
  overflow: hidden;
  max-height: 200px;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.dugme {
	background-color:#757d75;
	color: #fff;
}

.top-bar.hide {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.top-bar a {
  color: white;
  text-decoration: none;
  position: relative;
}
.top-bar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px; /* rastojanje ispod teksta */
  width: 0;
  height: 2px;
  background-color: white;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.top-bar a:hover::after {
  width: 100%;
  transform: translateX(-50%) scaleX(1);
}

.header {
  background-color: #757d75;
  padding: 1.8rem 4rem 0rem ;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999; /* ispod search overlay-a (1000) */
}
.header svg {
  width: 25px;
  height: 25px;
}

.max-inner {
  max-width: 1920px;
  margin: 0 auto;
  
}

.header a {
  color: #183030 !important;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav-mob {
  padding: 0 15PX;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8eeee;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow-y: auto;
  padding: 2rem 0;
}

.search-overlay.active {
  display: block;
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #4a3425;
  cursor: pointer;
}


.oglas {
  background-color: #335fac;
  padding: 20px;
  text-align: center;
  margin-bottom: 60px;
  overflow: hidden;
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 12s linear infinite;
  font-weight: 600;
  color: white;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%); /* ulazi s desne strane */
  }
  100% {
    transform: translateX(-100%); /* izlazi s leve strane */
  }
}


.menu-bar {
  background-color: white;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.menu-bar a {
  color: #4b1e05;
  font-weight: 600;
  padding: 1rem;
  text-decoration: none;
  display: inline-block;
}
.menu-bar a:hover {
  text-decoration: underline;
}
/* Max širina sadržaja */
.container-max {
  max-width: 1920px;
  margin: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
}

/* Single product */

.navbar-nav {
  --bs-nav-link-padding-y: 1rem;
}

.navbar {
	margin-top: 20px;
}

.banner-top {
  background-color: #ffffff;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.product-page {
  background-color: #fff;
      padding:
    30px 50px;
}

.product-title {
  font-size: clamp(18px, 1.5vw, 32px);
  font-weight: bold;
  margin-bottom: 30px;
}

.woocommerce-ordering select.orderby {
  background-color: #f4f0f7;
  color: #757d75;
  border: 0;
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='10' xmlns='https://www.w3.org/2000/svg'%3E%3Cpath fill='%234e2c1e' d='M0 3h10L5 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
	width: 100%;
}

.comment-respond { 
  margin-top: 50px;
  border: 1px solid #f2ebe7;
  padding: 20px 40px;
  margin-bottom: 40px;

}
.comment-respond label {
  display: block;
}
.comment-reply-title {
  font-weight: 500;
  font-family: "Poppins", serif;
  font-size: 1.25rem;
  color: #757d75;
  text-transform: uppercase;

}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
	
	background-color: #bbafaf;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
		background-color: #b76331;
}

.woocommerce .widget_price_filter .price_slider_amount {
	
	font-size: 11px;
	display: grid;
}

.naslov-banera {
	font-size: 2.8rem;
	margin-bottom: 2rem;
}

.hero-video-section {
    position: relative;
    min-height: 91vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Video u pozadini */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Tamni overlay preko videa */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* Sadržaj iznad videa */
.hero-video-section .container {
    position: relative;
    z-index: 3;
}

/* Naslov */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

/* Podnaslov */
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Dugme */
.hero-btn {
    background: #ffffff;
    color: #000;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #eaeaea;
    color: #000;
}

/* 📱 Mobilna optimizacija */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}


/* keen slider*/

            .container-slider {
                position: relative;
                padding: 0 5px;
            }

            .naslov-slajdera-proizvoda {
                text-align: left;
                font-size: 2.8rem;
                font-weight: 700;
                color: #335fac;
                --bs-gutter-x: 0px;
            }

            .custom-product-title {
                font-size: clamp(14px, 1.7vw, 20px);
                text-align: left;
                text-transform: uppercase;
                line-height: 20px;
                font-weight: 700;
            }

            .custom-product-brand {
                margin-top: 30px;
                font-size: clamp(12px, 1.7vw, 16px);
                text-align: left;
                line-height: 20px;
                margin-bottom: 10px;
            }

            .custom-product-brand a:link,
            .custom-product-brand a:visited {
                color: #636569 !important;
                text-transform: uppercase;

            }

            .custom-product-price {
                font-size: 16px;
                text-align: left;
                text-transform: uppercase;
                font-weight: 500;
                color: #e16b30;
            }

            .custom-product-image-container {
                position: relative;
                overflow: hidden;
            }

            .custom-product-image {
                width: 100%;
                height: auto;
                display: block;
            }

            .custom-add-button {
                position: absolute;
                bottom: -60px;
                width: 100%;
                padding: 5%;
                background-color: black;
                color: white;
                border: none;
                cursor: pointer;
                font-size: clamp(10px, 0.5vw, 14px);
                border-radius: 5px;
                opacity: 0;
                transition: all 0.3s ease-in-out;
                border: 3px solid black;
                font-weight: 700;
                border-radius: 30px;
            }

            .custom-add-button:hover {
                background-color: white;
                color: black;
            }

            .custom-product-image-container:hover .custom-add-button {
                bottom: 20px;
                opacity: 1;
            }

            .custom-slider-button {
                position: absolute;
                top: 30%;
                transform: translateY(-50%);
                background: none;
                color: #757d75;
                border: none;
                /* width: 50.5px; */
                /* height: 47.5px; */
                border-radius: 50%;
                cursor: pointer;
                z-index: 10;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 60px;
                font-weight: 200;
            }



            .custom-slider-button.custom-prev-<?php echo $unique_id; ?> {
                left: 45%;
                top: -30px !important;
            }

            .custom-slider-button.custom-next-<?php echo $unique_id; ?> {
                right: 45%;
                top: -30px !important;
            }



            .custom-slider-button:hover {
                color: red;
            }

            @media (max-width: 1024px) {
                .keen-slider__slide {
                    flex: 0 0 50%;
                    /* 2 items per row on tablet */
                }

                .custom-product-title {
                    margin-top: 15px;
                }
            }

            @media (max-width: 768px) {
                .keen-slider__slide {
                    flex: 0 0 100%;
                    /* 1 item per row on mobile */
                }

                .naslov-slajdera-proizvoda {
                    text-align: left;
                    padding: 20px 15px 20px;
                    font-size: 1.5rem;
                    font-weight: bold;
                    margin-top: 30px;

                }

                .custom-slider-button.custom-prev-<?php echo $unique_id; ?> {
                    left: 1%;
                }

                .custom-slider-button.custom-next-<?php echo $unique_id; ?> {
                    right: 1%;
                }

                .custom-product-title {
                    margin-top: 10px;
                    font-size: clamp(14px, 1.7vw, 20px);
                }

                .custom-add-button {
                    position: absolute;
                    bottom: 10px;
                    width: 100%;
                    padding: 5%;
                    background-color: black;
                    color: white;
                    border: none;
                    cursor: pointer;
                    font-size: clamp(12px, 2vw, 14px);
                    border-radius: 5px;
                    opacity: 1;
                    transition: all 0.3s ease-in-out;
                    border: 3px solid black;
                    font-weight: 500;
                    border-radius: 30px;
                    z-index: 1000;
                    background: rgb(0, 0, 0, 0.6);
                }
            }


            @media (max-width: 768px) {

                .container-slider {
                    margin: 0 auto;
                    max-width: 95%;
                    margin-top: 50px;
                }

                .mobile-grid-layout {
                    display: grid !important;
                    grid-template-columns: repeat(2, 1fr) !important;
                    grid-auto-rows: auto !important;
                    gap: 10px !important;
                    transform: none !important;
                    overflow: hidden !important;
                    height: auto !important;
                }

                .mobile-grid-layout .keen-slider__slide {
                    width: 100% !important;
                    min-height: auto !important;
                    position: relative !important;
                    left: 0 !important;
                    top: 0 !important;
                    transform: none !important;
                    margin-right: 0 !important;
                    flex: none !important;
                    opacity: 0;
                    display: none;
                }

                .mobile-grid-layout .keen-slider__slide.active-slide {
                    opacity: 1;
                    display: block;
                }

                /* Fix for keen-slider transforms that might interfere */
                .mobile-grid-layout * {
                    transform: none !important;
                }

                /* Adjust product container height for grid layout */
                .mobile-grid-layout fduct-image-container {
                    overflow: hidden;
                }

                .mobile-grid-layout .custom-product-image-container img {
                    height: 100%;
                    object-fit: cover;
                }

                /* Adjust text sizes for grid layout */
                .mobile-grid-layout .custom-product-title {
                    font-size: clamp(14px, 1.7vw, 20px);
                    margin-top: 5px;
                    line-height: 1.2;
                    height: 34px;
                    overflow: hidden;
                }

                .mobile-grid-layout .custom-product-brand {
                    margin-top: 10px;
                    margin-bottom: 5px;
                }

                .mobile-grid-layout .custom-product-price {
                    font-size: 16px;
                }
            }


.woocommerce-ordering {
  display: inline-block;
  border: 1px solid #757d75;
  background-color: #f4ede9;
}

.woocommerce-ordering select.orderby:focus {
  outline: none;
  border-color: #757d75;
  box-shadow: none;
}

section {
  padding: 50px 0;
}

.custom-slider-button.custom-next-slider_2 {
	right: 20px;
}

.custom-slider-button.custom-next-slider_1 {
	right: 20px;
}
.split-section {
	display: flex;
	min-height: 100vh;
}

.left-sekcija {
	background: #f8eeee;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 50px;
}

.right-sekcija {
	background: #EEDDDB;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 50px;
}

.right-section {
	align-items: center;
	justify-content: center;
	display: flex;
}

.contact-container {
	background: white;
	padding: 20px;
	width: 100%;
	max-width: 700px;
}

.info-box {
	border: 1px solid #757d75;
	margin-bottom: 40px;
}

.infobox-title {
	border-bottom: 1px solid #757d75;
	padding: 1.6rem 3rem;
}

.infobox-text {
	padding: 1.6rem 3rem;
}

#product-list {
	background-color: #fff;
	padding: 30px 30px;
}

.box-list {
	background-color: #fff;
	padding: 30px 30px;
}

.is-form-style input.is-search-input {

	height: 46px !important;
	
}

/* Stil za maasai sablon za tekstualne strane */
.tekst-strana {
    background-color: #ffffff;
    padding: 2.6rem 5.8rem 5.8rem;
    color: #3c2f2f;
}

.tekst-strana h1,
.tekst-strana h2 {
    color: #757d75;
    font-weight: bold;
}

.tekst-strana h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}

.tekst-strana h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tekst-strana p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.tekst-strana a {
    color: #757d75;
    text-decoration: underline;
}

.tekst-strana a:hover {
    color: #757d75;
    text-decoration: none;
}

.tekst-strana .breadcrumb {
    background: none;
    padding: 0;
    font-size: 0.9rem;
    color: #757d75;
}


.product-price {
  font-size: clamp(16px, 1.5vw, 22px);
  color: #000000;
  font-weight: bold;
  text-align: right;
}
.brand-dugme {
  padding: 0.7rem 2rem;
  background:#757d75;
  color: white !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 30px;
  border: 3px solid #757d75;
}

 
 /* Hover efekat za glavnu sliku */
.hovered-image-preview {
  display: none;
  position: absolute;
  top: -30%;
  right: -320px; /* malo više da se ne lepi uz glavnu sliku */
  width: 600px;
  height: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000;
  overflow: hidden;
  transform: translateY(-50%);
}


#hover-image-follow img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Thumbnailovi na desnoj strani za desktop */
.thumbnails {
  max-width: 100px;
}

/* Thumbnailovi za mobilne uređaje - ispod glavne slike */
@media (max-width: 768px) {
  .thumbnails {
      flex-direction: row !important;
      margin-top: 15px;
      justify-content: center;
      max-width: 100%;
  }

.tammy-video-slider-section {
        padding-top: 10px !important;
        
      }

  #product-list {
    
    padding: 30px 0px;
  }

  .thumbnails img {
      margin-bottom: 0 !important;
      margin-right: 10px;
  }

  .main-image {
      margin-bottom: 15px;
  }
}

.kratki-opis {
  font-size: clamp(14px, 1.5vw, 16px);
}

#close-slide-cart {
	--close-button-size: 4.8rem;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg version='1.2' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 378 377'%3E%3Cstyle%3E.s0{fill:%234b2307}%3C/style%3E%3Cpath class='s0' d='M.5 349.1l153.6-153.6 27.7 27.7L28.2 376.8zm195.7-195.7L349.8-.2l27.7 27.8-153.6 153.5zM.5 27.6L28.2-.1l349.3 349.3-27.7 27.7z' id='Layer'/%3E%3C/svg%3E") no-repeat 50%;
	background-size: 33%;
	font-size: 0;
	height: var(--close-button-size);
  border: none;
	transition: none;
	width: var(--close-button-size);
	z-index: 35;
}

.korpa-naziv {
  font-size: clamp(28px, 1.7vw, 36px);
  font-weight: 500;
  font-family: Poppins;
  color: #757d75;
}

.top-100 {
  margin-top: 100px !important;
}

.top-50 {
  margin-top: 50px !important;
}

.brand-dugme:hover {
  background: #f2ebe7 !important;
  color: black !important;
  border: 3px solid black;
}

/* stilovi koji se primenjuju na standarni izgled listanja proizvoda samog Woocommerce */
/* Opšti stilovi proizvoda u WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  margin: 15px;
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-5px);
}

/* Stilizacija slike proizvoda */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-LoopProduct-link img,
.woocommerce-page
  ul.products
  li.product:hover
  .woocommerce-LoopProduct-link
  img {
  transform: scale(1.1);
}

/* Stilizacija naziva proizvoda */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 22px;
  text-align: left;
  text-transform: uppercase;
  line-height: 20px;
  font-weight: 600;
}

/* Stilizacija cene proizvoda */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  font-size: 18px;
  text-align: left;
  text-transform: uppercase;
  font-weight: 500;
  color: #757d75;
}

/* Stilizacija dugmeta za dodavanje u korpu */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce-page ul.products li.product .add_to_cart_button {
  position: absolute;
  bottom: -60px;
  width: calc(100% - 10px);
  padding: 5%;
  background-color: black;
  color: white !important;
  border: none;
  cursor: pointer;
  font-size: clamp(10px, 2vw, 14px) !important;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  border: 3px solid black;
  font-weight: 700;
  border-radius: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce ul.products li.product:hover .add_to_cart_button,
.woocommerce-page ul.products li.product:hover .add_to_cart_button {
  bottom: 160px;
  opacity: 1;
}

.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce-page ul.products li.product .add_to_cart_button:hover {
  background-color: white;
  color: black !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	font-size: clamp(13px, 1.7vw, 18px) !important;
}

#cart-count-desktop {
	position: absolute !important;
	left: 35px !important;
}

/* Brend proizvoda */
.woocommerce ul.products li.product .custom-product-brand,
.woocommerce-page ul.products li.product .custom-product-brand {
  font-size: 14px;
  margin-top: 15px;
  text-align: left;
  line-height: 20px;
}

.woocommerce ul.products li.product .custom-product-brand a,
.woocommerce-page ul.products li.product .custom-product-brand a {
  color: #636569 !important;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
}

.woocommerce ul.products li.product .onsale {
  top: 10px;
  right: auto;
  left: auto;
  margin: -0.5em -0.5em 0 0;
}

.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  padding: 1px 20px;
  font-size: 1em;
  /* font-weight: 700; */
  position: absolute;
  text-align: center;
  line-height: normal;
  top: -0.5em;
  left: -0.5em;
  margin: 0;
  border-radius: 0%;
  background-color: #dc3545;
  color: #ffffff;
  font-size: 1em;
  z-index: 9;
  text-transform: uppercase;
  left: 10px;
  font-weight: 400;
  border-top-right-radius: 10px;
}

.woocommerce ul.products li.product .custom-product-brand a:hover,
.woocommerce-page ul.products li.product .custom-product-brand a:hover {
  color: #ff6600;
}

/* Slider dugmadi */
.woocommerce-page .woocommerce ul.products .custom-slider-button {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: none;
  color: #020202;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 200;
}

.tammy-video-slider-section {
        padding-top: 30px ;
       
      }

.woocommerce-page .woocommerce ul.products .custom-slider-button:hover {
  color: red;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .woocommerce ul.products.columns-4 li.product,
  .woocommerce-page ul.products.columns-4 li.product {
      width: 20% !important;
      clear: none !important;
      
  }

  .woocommerce ul.products.columns-4 li.product:nth-child(4n+1),
  .woocommerce-page ul.products.columns-4 li.product:nth-child(4n+1) {
      clear: both !important;
  }

  

}


.product-description,
.product-details {
  padding: 1.5rem 2rem;
  font-size: clamp(14px, 0.7vw, 16px);
  line-height: 1.6;
  border-radius: 0 50px 0 0;
  border: 1px solid #757d752e !important;
}

.cart .quantity-wrapper input {
  width: 80px;
  height: 50px;
  font-size: 1.5rem;
  text-align: center;
  border: 2px solid #000;
}

.cart button.single_add_to_cart_button {
  background-color: #000;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  text-transform: uppercase;
}

.cart button.single_add_to_cart_button:hover {
  background-color: #d0021b;
}

.product-meta p {
  font-size: clamp(12px, 1.5vw, 14px);
  color: #403c3c;
}

.related-products h2 {
  font-size: clamp(1.5rem, 1.7vw, 1.8rem);
  font-weight: 700;
  color: #183030;
  margin-bottom: 40px;
  margin-left: 20px;
}

.product-gallery img {
  background: #fff;
  max-width: 100%;
}

.theme-default .nivoSlider {
  box-shadow: none !important;
}



.accordion-button {
  color: #183030 !important;
}

/* za checkout stranu */

/* Glavni kontejner */
form.checkout.woocommerce-checkout {
  padding: 2rem 1rem;
  background-color: #f8f9fa; /* svetlosiva pozadina */
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* Naslovi sekcija */
form.checkout.woocommerce-checkout h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #212529;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.5rem;
}

/* Forme (billing i shipping) */
form.checkout.woocommerce-checkout .form-row {
  margin-bottom: 1rem;
}

form.checkout.woocommerce-checkout .form-row label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

form.checkout.woocommerce-checkout input.input-text,
form.checkout.woocommerce-checkout select,
form.checkout.woocommerce-checkout textarea {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  border: 1px solid #ced4da;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

form.checkout.woocommerce-checkout input.input-text:focus,
form.checkout.woocommerce-checkout select:focus,
form.checkout.woocommerce-checkout textarea:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Dugme za poručivanje */
form.checkout.woocommerce-checkout #payment #place_order {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  background-color: #0d6efd;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

form.checkout.woocommerce-checkout #payment #place_order:hover {
  background-color: #0b5ed7;
}

/* Tabela sa pregledom narudžbine */
form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border: 1px solid #dee2e6;
}

form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-table th,
form.checkout.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  vertical-align: middle;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

/* Plaćanje */
form.checkout.woocommerce-checkout #payment {
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

form.checkout.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding-left: 0;
}

form.checkout.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 0.5rem;
}

form.checkout.woocommerce-checkout #payment .payment_box {
  background: #f1f1f1;
  padding: 1rem;
  border-radius: 0.375rem;
  margin-top: 0.5rem;
}


.header-bar {
  position: relative;
  z-index: 100;
  background-color: #ffffff;
}

.search-logo-bar {
  padding: 10px 0px;
  min-height: 56px;
}

.header-logo {
  max-height: 40px ;
  width: auto;
  display: block; /* uklanja razmake ispod slike */
  filter: invert(1) brightness(2);
}

.header-logo img {
    filter: invert(1) brightness(2);
}


.header-logo-search .search-container {
  display: flex;
  flex-grow: 1;
  position: relative;
  max-width: 100%;
}

.header-logo-search form {
  display: flex;
  width: 100%;
  border: 2px solid #757d75;
  border-radius: 4px;
  overflow: hidden;
}

.header-logo-search .search-dropdown {
  flex-shrink: 0;
}

.header-logo-search .search-dropdown select {
  border: none;
  padding: 10px;
  background-color: #f3f3f3;
  font-size: 14px;
  color: #111;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.header-logo-search input[type="text"] {
  flex-grow: 1;
  border: none;
  padding: 8px;
  font-size: 12px;
  outline: none;
}

#simptomiDropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  min-width: 200px;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.woocommerce .woocommerce-result-count {
		font-size: 12px;
}

.single-page-tite {
  text-align: left;
  padding: 40px 0px 60px;
  font-size: clamp(32px, 3vw, 56px);
  font-weight: bold;
  text-transform: uppercase;
}

.filter-title {
  font-size: clamp(12px, 1.7vw, 16px);
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 20px;
  text-transform: uppercase;
  font-family: "Poppins";
}

.filter-category-title {
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 400;
}

/* shine efekat za tekst */
/* Osnovni stil teksta (menjaj boje/veličine po želji) */
.shine-text{
  position: relative;
  font-weight: 800;
  font-size: clamp(24px, 6vw, 72px);
  color: #eee;                 /* boja teksta u “mraku” */
  letter-spacing: 0.02em;
  line-height: 1.1;
  overflow: hidden;            /* bitno za efekat */
}

/* Sam efekat kao “farovi” preko teksta */
.shine-text::after{
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      115deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 35%,
      rgba(255,255,255,0.10) 45%,
      rgba(255,255,255,0.55) 50%,
      rgba(255,255,255,0.10) 55%,
      rgba(255,255,255,0) 65%,
      rgba(255,255,255,0) 100%
    );
  transform: translateX(-120%) skewX(-12deg);
  animation: shine-sweep 4.2s ease-in-out infinite;
  pointer-events: none;       /* da ne hvata klikove */
  mix-blend-mode: screen;     /* lepši “odsaj” na tamnoj pozadini */
}

/* Animacija prelaza s leva na desno */
@keyframes shine-sweep{
  0%   { transform: translateX(-120%) skewX(-12deg); }
  55%  { transform: translateX(0%)    skewX(-12deg); }
  100% { transform: translateX(120%)  skewX(-12deg); }
}

/* Manji podnaslov primer */
.shine-text.small{ font-size: clamp(16px, 3.2vw, 28px); }

/* Poštovanje korisnika sa smanjenom animacijom */
@media (prefers-reduced-motion: reduce){
  .shine-text::after{ animation: none; }
}



.tekst-banera {
  margin-bottom: 30px;
  font-size: clamp(13px, 1.7vw, 16px);
  line-height: 1.7;
}

.tekst-strana {
	padding: 1rem 2rem;
	font-size: clamp(14px, 1.7vw, 14px);
  line-height: 18px;
}

.search-button {
  background-color: #757d75;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #111;

  font-family: Arial, sans-serif; /* Osigurava pravilan prikaz ikonica */
}

.milica-red {
  color: black;
  font-weight: bold;
}


h1.naslov-strane {
  font-family: "Poppins", serif;

  font-size: clamp(18px, 1.7vw, 44px);
  font-weight: 700;
}

.footer-box {
  padding: 7rem 5.5vw;
  font-size: 13px;
  line-height: 2.2;
}


.search-button:hover {
  background-color: #757d75;
  border-left-color: #757d75;
}

.search-button:active {
  background-color: #757d75;
  border-left-color: #757d75;
}
.search-icon {
  width: 24px;
  height: 24px;
  color: #111;
  margin-left: 5px;
}

/* CSS for Account Dropdown */
.account-dropdown {
  display: none;
  top: 100%;
  right: 0;
  z-index: 2000;
  min-width: 250px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.account-dropdown.active {
  display: block;
}



/* CSS for breadcrumb */
.woocommerce-breadcrumb {
  letter-spacing: .1em;
  font-size: 12px !important;
  font-weight: 400;
  color: #757d75 !important;
}
.woocommerce-breadcrumb a {
  
  text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
  
}


.reklamni-baner {

  background-color: #f2ebe7;
}

/* Brendovi */
/* Centriranje forme */
.brand-filter-form {
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-column-gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0px auto;
}

.brand-filter-form .filter-label {
  grid-column: 1 / 2;
  text-align: left;
  white-space: nowrap;
  margin-right: 8px;
  font-weight: bold;
}

.brand-filter-form .form-select,
.brand-filter-form .btn {
  width: 100%;
}

.header-bar {
  position: static;
  transition: none;
  z-index: auto;
  background-color: #ffffff;
  border-bottom: 1px solid #757d75;
}


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

.naslov-banera {
	font-size: 2.3rem;
}

 .tammy-video-slider-title {
    font-size: 2.3rem !important;
    letter-spacing: 1px;
  }

  .header-bar {
    box-shadow: none;
    background-color: #ffffff;
  }
	
	.search-logo-bar {

	background: white;
}

.tammy-video-slide {
	
	height: 390px !important;
}

.top-100 {
  margin-top: 0px !important;
}

.woocommerce-ordering select.orderby {
  padding: 10px;    
 }

 .woocommerce .woocommerce-ordering {
   margin: 0 0 3em;
 }

 .single-page-tite {
   padding: 10px 0px 30px;
   
 }

 .moj-nalog-strana {
  padding: 40px 20px;
 }

 .tekst-strana p {
	font-size: clamp(14px, 1.7vw, 14px);
	line-height: 20px;
}

.woocommerce .woocommerce-customer-details address {
	
	padding: 16px 12px;
	
}
 .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	font-weight: 300;
}

  .header-bar {
    
    background-color: white;
  }

  .brand-filter-form {
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    max-width: 90%;
    padding: 20px 20px !important;
  }

  .brand-filter-form .filter-label {
    text-align: center;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .brand-filter-form .form-select,
  .brand-filter-form .btn {
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: clamp(14px, 1.7vw, 20px);
  }
}

.sadrzaj {
  background-color: #ffffff;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px;
  text-align: left;
  text-transform: uppercase;
  line-height: 20px;
  font-weight: 600;
}

.custom-add-button-single {
  width: calc(100% - 40px);
  padding: 10px 15px;
  background-color: #ebd35b !important;
  color: #060606;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  padding: 6px 1.5rem;
  cursor: pointer;
}

.is-form-style input.is-search-submit, .is-search-icon {
  border: 0px !important;
}

.page-content {
	padding-top: 30px;
}

.page-content-wrapper {
	padding-top: 30px;
}

.is-form-style button.is-search-submit {
	width: 46px;
	height: 46px;
}

.about-us-section h2 {
  font-size: clamp(18px, 1.5vw, 24px);
}

.about-us-section h3 {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
}

.why-us-section h2 {
  font-size: clamp(18px, 1.5vw, 24px);
}

.why-us-section h3 {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
}

.custom-buy-button-single {
  width: calc(100% - 40px);
  padding: 10px 15px;
  background-color: #f6c568 !important;
  color: #060606;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  padding: 6px 1.5rem;
  cursor: pointer;
}

/* CSS for Account Dropdown */
.account-dropdown-mob {
  display: none;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 250px;
  border: 1px solid #ddd;
  border-radius: 5px;
  z-index: 1000;
}
.account-dropdown-mob.active {
  display: block !important;
}

.nav-link {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.mega-menu {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mega-menu.show-mega-menu {
  display: block;
}

.categories-menu {
  background: #f8f9fa;
  min-height: 400px;
}

.categories-menu .nav-link {
  color: #333;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.categories-menu .nav-link:hover,
.categories-menu .nav-link.active {
  background-color: #ecdaee;
  color: black;
}

.subcategories {
  display: none;
  padding: 1rem;
}

.subcategories.active {
  display: block;
}

.subcategories h6 {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.subcategories ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.subcategories ul li a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.2rem 0;
}

.subcategories ul li a:hover {
  color: #0d6efd;
}

.show-mega-menu {
  display: block;
}

@media (max-width: 991px) {
  .mega-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    background: #fff;
  }

  .show-mega-menu {
    transform: translateX(0);
  }

  .categories-menu {
    min-height: auto;
  }

  .mobile-menu-header {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .categories-menu .nav-link {
    border-bottom: 1px solid #dee2e6;
  }

  .subcategories {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 3;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
  }

  .subcategories.active {
    transform: translateX(0);
  }

  .mobile-subcategory-header {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 2;
  }
}

.mobile {
  display: none;
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  width: 100%;
  font-weight: bold;
  font-style: italic;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--bs-form-select-bg-img),
    var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  display: inline-block;
  
  font-size: 16px;
  caret-color: #000;
  color: #000;
  line-height: 48px;
  padding: 0 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  border-radius: 0;
  transition: all 0.3s;
  background-size: 36px 36px;
}

.divider {
  border-bottom: 1px solid #f1edeb;
}

.veliko-dugme {
  margin-bottom: 50px;
}
.brand-filter-form {
  flex: 1;
  padding: 0px 0px !important;
  border-bottom: 1px solid #f1edeb;
  border-radius: 0px !important;
}



.lep-h2 {
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 3rem);
  padding-bottom: 30px;
}

.lep-h2-manji {
  font-family: "Poppins", serif;
  font-weight: 200;
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
}

.info-text {
  font-size: 13px;
  color: grey;
}

.info-ikonica {
  font-size: 52px;
}

.single-detalji {
  padding-left: 100px;
}

.accordion {
  margin-top: 30px;
}

.accordion-button {
  font-size: 1.5rem;
  font-weight: bold;
}

.accordion-button:not(.collapsed) {
  color: black;
  background-color: white;
  box-shadow: none;
}

.accordion-item:first-of-type {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.accordion-item {
  border: none;
  border-top: 1px solid #757d75 !important;
}

.logo-banaka img {
 border: 1px solid #e0d8cd;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Stilovi za mobilne uređaje */
@media (max-width: 768px) {

  .logo-banaka img {
    height: 20px !important;
    width: auto;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }

.woocommerce-checkout-review-order {

font-size: 14px !important;

}

  .banner-top {
    margin-top: 0px;
  }

  .veliko-dugme {
    padding: 10px 50px;
    margin-bottom: 40px;
  }
  .single-detalji {
    padding-left: 0.8rem;
  }

  .accordion-button {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .footer-box {
    padding: 2rem 2.5vw;
    border-top: 1px solid #e0d8cd;
  }

  .custom-slider-button {
    top: 30px !important;
  }

  .form-select {
    font-size: 16px;
    caret-color: black;
    color: black;
    line-height: 32px;
    min-height: 50px;
    padding: 0 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 0;
    transition: all 0.3s;
    background-size: 26px 26px;
  }

  .product-page {
    
    background-color: #fff;
    padding: 20px 8px;
    
  }

  .accordion-body {
    padding: 5px;
    font-size: clamp(14px, 1.5vw, 16px);
  }

  .lep-h2 {
    font-size: 2.2rem;
  }

  .socialne-mreze {
    display: flex;
    justify-content: center;
  }

  .brand-dugme {
    border-radius: 30px !important;
  }

  .brand-filter-form {
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    max-width: 70% !important;
    padding: 10px 10px !important;
    margin-top: 15px;
  }

  .header-logo-mob {
    height: 35px !important;
    width: auto;
    display: block; /* uklanja razmake ispod slike */
    margin-left: 10px;
  }
  .search-bar-mob {
    padding: 10px 0px 10px 0px;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 100;
  }
  .info-bar-under-search {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 0px;
    font-size: 13px;
    position: relative;
    z-index: 100;
  }

  .navbar-toggler {
    border: none;
    padding-left: 0px;
  }

  .product-title {    
    margin-bottom: 20px;
  }

  .product-description,
  .product-details {
    border: 2px solid #ddd;
    padding: 1.5rem 1.2rem;
    line-height: 1.6;
  }
}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  max-height: 768px;
}

/* Stilovi za tablet uređaje */
@media (min-width: 769px) and (max-width: 1024px) {
}

/* Stilovi za desktop uređaje */
@media (min-width: 1025px) {
  .nav-div {
    display: flex;
    justify-content: center;
  }

  .nav-ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
  }
}


/* pomeranje slike u DIVu da izgleda kao uvecana*/
.custom-product-image-container {
  
  overflow: hidden;
  position: relative;
}

.custom-product-image-container img {
  /* transform: scale(1.4); */
  transform-origin: top right;
}

/* stil za listanje proizvoda na shop strani*/

    .container-slider {
        position: relative;
        padding: 0 0px;
    }

    .naslov-slajdera-proizvoda {
        text-align: left;
        font-size: 2.8rem;
        font-weight: 700;
        color: #1b201b;
        --bs-gutter-x: 0px;
    }

    .custom-product-title {
        font-size: clamp(14px, 1.7vw, 20px);
        text-align: left;
        text-transform: uppercase;
        line-height: 20px;
        font-weight: 700;
    }

    .custom-product-brand {
        margin-top: 30px;
        font-size: clamp(16px, 1.7vw, 20px);
        text-align: left;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .custom-product-brand a:link,
    .custom-product-brand a:visited {
        color: #636569 !important;
        text-transform: uppercase;

    }

    .custom-product-price {
        font-size: 16px;
        text-align: left;
        text-transform: uppercase;
        font-weight: 500;
        color: #7a7e86;
    }

    .custom-product-image-container {
        position: relative;
        overflow: hidden;
    }

    .custom-product-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .custom-add-button {
        position: absolute;
        bottom: -60px;
        width: 100%;
        padding: 5%;
        background-color: black;
        color: white;
        border: none;
        cursor: pointer;
        font-size: clamp(10px, 0.5vw, 14px);
        border-radius: 5px;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        border: 3px solid black;
        font-weight: 700;
        border-radius: 30px;
    }

    .custom-add-button:hover {
        background-color: white;
        color: black;
    }

    .custom-product-image-container:hover .custom-add-button {
        bottom: 20px;
        opacity: 1;
    }

    .custom-slider-button {
        position: absolute;
        top: 30%;
        transform: translateY(-50%);
        background: none;
        color: #020202;
        border: none;
        /* width: 50.5px; */
        /* height: 47.5px; */
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 50px;
        font-weight: 200;
    }



    .custom-slider-button.custom-prev-<?php echo $unique_id; ?> {
        left: 13%;
    }

    .custom-slider-button.custom-next-<?php echo $unique_id; ?> {
        right: 10%;
    }

    .custom-slider-button:hover {
        color: red;
    }

    @media (max-width: 1024px) {
        .keen-slider__slide {
            flex: 0 0 50%;
            /* 2 items per row on tablet */
        }

        .custom-product-title {
            margin-top: 15px;
        }
    }

    @media (max-width: 768px) {
        .keen-slider__slide {
            flex: 0 0 100%;
            /* 1 item per row on mobile */
        }

        .naslov-slajdera-proizvoda {
	text-align: left;
	padding: 0px 15px 0px;
	font-size: 1.7rem;
	font-weight: bold;
	margin-bottom: 47px !important;
}

        .custom-slider-button.custom-prev-<?php echo $unique_id; ?> {
            left: 1%;
        }

        .custom-slider-button.custom-next-<?php echo $unique_id; ?> {
            right: 1%;
        }

        .custom-product-title {
            margin-top: 10px;
            font-size: calc(0.92rem + 0.1vw);
        }

        .custom-add-button {
            position: absolute;
            bottom: 10px;
            width: 100%;
            padding: 5%;
            background-color: black;
            color: white;
            border: none;
            cursor: pointer;
            font-size: clamp(12px, 2vw, 14px);
            border-radius: 5px;
            opacity: 1;
            transition: all 0.3s ease-in-out;
            border: 3px solid black;
            font-weight: 500;
            border-radius: 30px;
            z-index: 1000;
            background: rgb(0, 0, 0, 0.6);
			display: none;
        }
    }


    @media (max-width: 768px) {

        .container-slider {
            margin: 0 auto;
            max-width: 95%;
        }

        .mobile-grid-layout {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            grid-auto-rows: auto !important;
            gap: 15px !important;
            transform: none !important;
            overflow: hidden !important;
            height: auto !important;
        }

        .mobile-grid-layout .keen-slider__slide {
            width: 100% !important;
            min-height: auto !important;
            position: relative !important;
            left: 0 !important;
            top: 0 !important;
            transform: none !important;
            margin-right: 0 !important;
            flex: none !important;
            opacity: 0;
            display: none;
        }

        .mobile-grid-layout .keen-slider__slide.active-slide {
            opacity: 1;
            display: block;
        }

        /* Fix for keen-slider transforms that might interfere */
        .mobile-grid-layout * {
            transform: none !important;
        }

        /* Adjust product container height for grid layout */
        .mobile-grid-layout .custom-product-image-container {
            overflow: hidden;
        }

        .mobile-grid-layout .custom-product-image-container img {
            height: 100%;
            object-fit: cover;
        }

        /* Adjust text sizes for grid layout */
        .mobile-grid-layout .custom-product-title {
            font-size: 14px;
            margin-top: 5px;
            line-height: 1.2;
            height: 34px;
            overflow: hidden;
        }

        .mobile-grid-layout .custom-product-brand {
            margin-top: 10px;
            margin-bottom: 5px;
        }

        .mobile-grid-layout .custom-product-price {
            font-size: 16px;
        }
    }


