/* Allows zoom and scroll */
/*html, body {
  touch-action: manipulation; 
}*/

.opis-artikala{
    line-height: 1,6;
    color: #333;
}

.opis-artikala h2{
    font-size: 24px; 
    color: #000; 
    text-align: left; 
    margin-bottom: 0px; 

}

.opis-artikala h3{
    font-size: 20px; 
    color: #333;
    margin-bottom: 0px; 
}

.opis-artikala img{
    width: 350px;
}



/*dark mode*/

body[data-theme="dark"] .opis-artikala, body[data-theme="dark"].opis-artikala h3, body[data-theme="dark"].opis-artikala h2 {
    color: #fff;
}

.opis-artikala p{
    text-align: left; 
    margin-bottom: 0px; 

}

.opis-artikala ul{
    margin-bottom: 0px; 
    padding-left: 20px; 
    text-align: left; 
    line-height: 0.8;
    list-style-type: disc !important; 
    list-style-position: outside !important;
}

.opis-artikala li{
    line-height: 1.5;
    display: list-item !important;
}

@media only screen and (max-width: 768px) {
    .opis-artikala ul{
    line-height: 0.8;
}
    .opis-artikala li{
    line-height: 1;
}

    .shipping-price{
        font-size: 1.1rem;
    }
}


/* Dugme na hero banerima */
.swiper-slide.banner .banner-content a.btn {
    background: rgb(0,186,233) !important;
    background: linear-gradient(90deg, rgba(0,186,233,1) 0%, rgba(2,113,205,1) 100%) !important;
    border: none !important;
    outline: 0.5px solid;
    outline-offset: -5px;
}

/* Slučaj kada je dugme span */
.swiper-slide.banner .banner-content span.btn {
    background: rgb(0,186,233) !important;
    background: linear-gradient(90deg, rgba(0,186,233,1) 0%, rgba(2,113,205,1) 100%) !important;
    border: none !important;
    outline: 0.5px solid;
    outline-offset: -5px;
}

/* Dugme na statičnim banerima */
.banner .banner-content a.btn {
    background: rgb(0,186,233) !important;
    background: linear-gradient(90deg, rgba(0,186,233,1) 0%, rgba(2,113,205,1) 100%) !important;
    border: none !important;
    outline: 0.5px solid;
    outline-offset: -5px;
}

/* Slučaj kada je dugme span */
.banner .banner-content span.btn {
    background: rgb(0,186,233) !important;
    background: linear-gradient(90deg, rgba(0,186,233,1) 0%, rgba(2,113,205,1) 100%) !important;
    border: none !important;
    outline: 0.5px solid;
    outline-offset: -5px;
}

/* Sekcija motornih testera na naslovnoj */
.chainsaw-background {
    background: url(https://strapi-production.eklix.rs/uploads/chainsaw_products_background_199e43f919.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

.chainsaw-background h2, .chainsaw-background .product-price .new-price, .chainsaw-background .btn-dark.btn-link, .chainsaw-background .btn-cart.btn-link {
    color: #ff7d00;
}

.chainsaw-background h4.product-name {
    color: white;
}

/* Store notice */
div#store-notice {
    display: block;
    position: fixed;
    bottom: 74px;
    left: 4px;
    right: 4px;
    padding: 20px;
    background: red;
    z-index: 99999;
    text-align: center;
}

div#store-notice a {
    color: white;
}

/* scroll banner visina */
div.slider-banner .banner figure img, div.slider-banner .banner figure, div.slider-banner .swiper-backface-hidden .swiper-slide {
    height: auto !important;
    max-height: 100% !important;
}

/*Boja banera za kategorije*/
div.shop-default-banner{
    background-color: #f87c04 !important;
}

/* Dugme na wide banner-u */
.promotions-banner .banner .banner-content {
    position: absolute;
    left: 4rem;
    right: 4rem;
    top: 2rem;
    bottom: 2rem;}

.promotions-banner .banner .banner-content a.btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Prikaz snizene cene */
.product-pa-wrapper .product-price .old-price {
    font-size: 12px;
}

.product-price .new-price:not(:last-child) {
    margin-right: 0.5rem;
}


/* Black friday background image */
main:has(.black-friday-2024) {
    background-image: url(https://strapi-production.eklix.rs/uploads/black_friday_2024_bg_037d4dee51.webp);
    background-position: center-right;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Black friday registration header*/

.main:has(.black-friday-2024) .page-header  {
    background-color: #0c97d9;
    border-bottom: solid;
    border-top: solid;
    border-color: #fff;
    border-bottom-width: 2px;
    border-top-width: 2px;
    min-height: 4rem;
}

.black-friday-2024{
    object-fit: contain;
}

/* Black friday margin top*/
.main:has(.black-friday-2024) .mt-8  {
    margin-top: 0rem !important;
    padding: 0px !important;
}

/* Black friday registration header*/

.main:has(.black-friday-2024) .pb-8{
    padding-bottom: 1rem !important;
    color: #fff;
    font-size: 22px;
}

/* Black friday registration uskoro*/

.container.black-friday-2024{
    padding:0px !important;
}

/*black friday landing page*/

.black-friday-landing-page{
    background-image: url(https://strapi-production.eklix.rs/uploads/black_friday_2024_bg_037d4dee51.webp);
    background-position: center-right;
    background-repeat: no-repeat;
    background-size: cover;  
    padding-bottom: 2rem;
}

.black-friday-page-categories{
        display: flex;

}

.black-friday-category {
    align-self: center;
    width: 32%;
    overflow: hidden;
    margin: 2px;
}

@media only screen and (max-width: 768px) {
    .black-friday-category img{
    width: 140px;
    height: 140px;
}}
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .black-friday-category img{
    width: 280px;
    height: 280px;
}}
@media only screen and (min-width: 992px) {
    .black-friday-category img{
    width: 380px;
    height: 380px;
}}

/*black friday animations for category images*/
.black-friday-category img{
    content: contain;
	-webkit-transform: rotate(0) scale(1);
	transform: rotate(0) scale(1);
    -webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.black-friday-category:hover img {
    -webkit-transform: rotate(15deg) scale(1);
	transform: rotate(15deg) scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.black-friday-2024-artikli .product-name a {
    color:#fff;
}
.black-friday-2024-artikli .product-price .new-price{
    color:#fff;
}

/*black friday navbar*/
.black-friday-2024-navbar ul{
    list-style-type: none;
    overflow: hidden;
    margin: auto;
    display: flex;
    align-items: center;
}

.black-friday-2024-navbar li{
    border: solid 1px #000;
    width: 100%;
    background-color: #2596be;
}

.black-friday-2024-navbar a{
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 17px;
    margin: auto;
    padding: 3px 4px;
}

@media only screen and (max-width: 768px) {
    .black-friday-2024-navbar a{
    font-size: 8px;
    padding: 4px 3px;
    line-height: 10px;
    height: 30px;
}}
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .black-friday-2024-navbar a{
     font-size: 14px;
    padding: 4px 3px;
    line-height: 14px;
    height: 40px;
}}

.black-friday-2024-navbar a:hover{
    background-color:#FFD76F;
    color: #000
}

.black-friday-2024-navbar li{
    float: left;
}

.black-friday-little-banners{
    border-bottom: #0c97d9 solid 5px;
}

/*Black friday homepage*/
/*
.black-friday-background {
    background: url(https://strapi-production.eklix.rs/uploads/Background_Crni_Petak_2024_092adbacc1.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

.black-friday-background h2, .black-friday-background .product-price .new-price, .black-friday-background .btn-dark.btn-link, .black-friday-background .btn-cart.btn-link {
    color: #ff7d00;
}

.black-friday-background h4.product-name {
    color: white;
}
*/
/*black friday badge*/

.black-friday-background h2{
    padding-bottom: 25px;
}
.black-friday-background .swiper-wrapper{
    padding-top: 25px;
}

.preporuka h2{
    padding-bottom: 25px;
}
.preporuka .swiper-wrapper{
    padding-top: 25px;
}
/*
.product-wrap.black-friday {
    border-top: solid 3px orange;
    border-top-style: double;
    border-bottom: solid 3px cyan;
    border-bottom-style: double;
    border-left: solid 3px cyan;
    border-left-style: double;
    border-right: solid 3px orange;
    border-right-style: double;
    animation: blink 3s;
    animation-iteration-count: infinite;
    padding-bottom: 14px;
}

.product-wrap.black-friday::before {
    content: '';
    background-image: url('https://strapi-production.eklix.rs/uploads/Crni_Petak_2024_Logo_kraci_d349a5e080.webp');
    background-size: contain;
  display: block;
  width: 90px;
  height: 90px;
  position: absolute;
  top: -8%;
  left: -8%;
  z-index: 1;

}

@media only screen and (max-width: 768px) {.product-wrap.black-friday::before {
  width: 80px;
  height: 80px;
  top: -6%;
  left: -6%;
}}
*/
/*Border Animations*/
/*
@keyframes blink { 50% {     border-top: solid 3px cyan;
    border-top-style: double;
    border-bottom: solid 3px orange;
    border-bottom-style: double;
    border-left: solid 3px orange;
    border-left-style: double;
    border-right: solid 3px cyan;
    border-right-style: double;
     }  }
*/
/*Padding za swippere zbog bedzeva*/

.swiper-container-horizontal{
    padding-top: 35px;
}

/*stranica za posao*/
.posao{
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}


/*Web kredit footer decembarska akcija*/

.web-kredit-footer{
  display: flex;
  justify-content: center;  
  /*justify-content: flex-end;*/
  padding:0rem !important;
  margin-bottom:0rem;
  margin-top: -30px;
}

@media only screen and (max-width: 768px) {.web-kredit-footer{
  margin-right:-10%;
  margin-left:-10%;
}}

/*price ribbon*/
.product-price-sale-ribbon {
    right: 5px;
}

@media only screen and (max-width: 768px) {.product-price-sale-ribbon{
  right:-2px;
  font-size: 9px;
}}

/*Pop-up*/
.site-popup-banner{
  background-color: transparent;
  width:500px;
  height: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-popup{
    background-color: transparent;
    box-shadow: none;
}

.newsletter-popup .breadcrumb-nav{
    display: none;
}

.mfp-close{
  right:10rem;
  top:0rem;
}
/*
.mfp-close-btn-in .mfp-close{
  background-color: red;
  padding: 15px;
  border-radius: 30px;
}*/

@media only screen and (max-width: 768px) {.mfp-close{
  right:0.6rem;
  top:0.6rem;
}

.site-popup-banner{
  height: 300px;
  width: 300px;
}

}

/*snow*/

.snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
    position: fixed;
    top: -10%;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}


.snowflake:nth-of-type(0) {
    left: 1%;
    animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(1) {
    left: 10%;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(2) {
    left: 20%;
    animation-delay: 6s, .5s;
}

.snowflake:nth-of-type(3) {
    left: 30%;
    animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(4) {
    left: 40%;
    animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(5) {
    left: 50%;
    animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(6) {
    left: 60%;
    animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(7) {
    left: 70%;
    animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(8) {
    left: 80%;
    animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(9) {
    left: 90%;
    animation-delay: 3s, 1.5s;
}


@keyframes snowflakes-fall {
    0% {
        top: -10%;
    }
    100% {
        top: 100%;
    }
}

@keyframes snowflakes-shake {
    0% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -o-transform: translateX(0px);
        -ms-transform: translateX(0px);
    }
    50% {
        transform: translateX(80px);
        -webkit-transform: translateX(80px);
        -moz-transform: translateX(80px);
        -o-transform: translateX(80px);
        -ms-transform: translateX(80px);
    }
    100% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -o-transform: translateX(0px);
        -ms-transform: translateX(0px);
    }
}

/*liste*/

.liste{
    list-style-type: square;
    list-style-position: inside;
}

/*Katalog*/

main:has(.catalog-custom) {
    /*background-image: url(https://strapi.eklix.rs/uploads/Hero_2120x1032px_decembarska_snizenja_a50629c030.webp);
    background-position: center-right;
    background-repeat: no-repeat;
    background-size: cover;*/
}

.catalog-header{
    display: flex;
    justify-content: space-between;
    max-width: 70%;
    margin: 0 auto;
    position: relative;
    margin-bottom: -50px;
}

@media only screen and (max-width: 768px) {
    .catalog-header {
    max-width: 100%;
    margin-bottom: -30px;
}}

.catalog-custom {
  /*position: relative;*/
  padding: 1px;
  max-width: 70%;
  margin: 0 auto;
  background-color: #d5effb;
  border-radius: 5rem;
  margin-top: 15px;
}

@media only screen and (max-width: 768px) {
    .catalog-custom {
     padding: 1px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #d5effb;
     border-radius: 1rem;
       margin-top: 15px;
}}

.header-deca{
      max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -140px;
}

.catalog-outside {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  /*display: grid
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));  
  padding: 1rem;*/
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;

}

@media only screen and (max-width: 768px) {
    .catalog-outside {
  gap: 0px;
  margin: 0px;
 
}
.header-deca{

  margin-bottom: -110px;
}
}

.catalog-inside-big{
     top: -10px;
     left: -10px;
     display: flex;
}

.catalog-inside {
    max-width: 500px;
}

@media only screen and (max-width: 768px) {
    .catalog-inside {
    gap:4px;
}}

.catalog-inside-4 {
    max-width: 600px;
}

.product-custom {
  background: transparent;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 5rem;
  /*
    border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  */
  margin-top:6px;
  margin-bottom:6px;
}

@media only screen and (max-width: 768px) {
    .product-custom {
    padding: 0px;
}}

.product-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5rem;
}

.product-custom img {
  display: block;
  border-radius: 5px; 
  margin: 0 auto;
}

.catalog-footer img{
    width: 100%;
}

/*block sa tri slike*/
.catalog-inside-3 {
  display: flex;
  max-width: 600px;
}
.left-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.right-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 767px) {
    .container:has(.catalog-custom)  {
padding: 2px !important;
}
}

@media (max-width: 767px) {
.container:has(.catalog-header)  {
padding: 2px !important;
}
}

/*mobilni baner za wide banere*/
@media (max-width: 767px) {
    .banner-gift {
        padding: 5px 5px;
    }
}

/*Tesla akcija 2025*/

.tesla-1{
    background-image: url("https://strapi-production.eklix.rs/uploads/Tesla1_13f6680b9b.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 40%;
    padding: 30px;
    margin-top: 10px;
}

@media only screen and (max-width: 768px) {
    .tesla-1 {
    padding: 2px;
        margin-top: 10px;
}}

.tesla-12{
    display: inline-block;
    width: 100%;
}

.tesla-12 div{
    float: left;
    text-align:center;
}

.tesla-12 img{
    padding: 25px;
    height:auto;
    max-width:100%
}

@media only screen and (max-width: 768px) {
    .tesla-12 img{
    padding: 10px;
}}

@media only screen and (max-width: 768px) {
    .tesla-pic1 {
width: 75%;

}}

@media only screen and (max-width: 768px) {
    .tesla-pic2 {
width: 20%;

}}

.tesla-13{
    padding: 25px;
    color: rgb(255, 255, 255);
    font-size: 21px;
    font-weight: 400;
    width: 45%;
}

@media only screen and (max-width: 768px) {
    .tesla-13 {
    padding: 15px;
    font-size: 10px;
    width: 100%;
}}

.tesla-2{
    background-image: url("https://strapi-production.eklix.rs/uploads/Tesla2_e9263e71e7.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px;
    margin-top: 10px;
}

@media only screen and (max-width: 768px) {
    .tesla-2 {
        background-size: auto;
        padding: 2px;
            margin-top: 10px;
}}

.tesla-2 p{
    width: 45%;
    padding: 10px;
    color: rgb(255, 255, 255);
    font-size: 21px;
    font-weight: 400;
}

@media only screen and (max-width: 768px) {
    .tesla-2 p{
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
}}

.tesla-2 h3{
    width: 45%;
    padding: 10px;
    color: rgb(255, 255, 255);
}

@media only screen and (max-width: 768px) {
    .tesla-2 h3{
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
}}

.tesla-3{
    background-image: url("https://strapi-production.eklix.rs/uploads/Tesla_klima_347256abbe.jpg");
    background-position: right;
    background-color: #881c4c;
    background-repeat: no-repeat;
    padding: 30px;
    margin-top: -25px;
    margin-top: 10px;
}

@media only screen and (max-width: 768px) {
    .tesla-3 {
        padding: 2px;
        background-image: none;
        background-color: #881c4c;
            margin-top: 10px;
}}

.tesla-3 p{
    width: 35%;
    padding: 10px;
    color: rgb(255, 255, 255);
    font-size: 21px;
    font-weight: 400;
}

@media only screen and (max-width: 768px) {
    .tesla-3 p{
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
}}


.tesla-3 h3{
    width: 35%;
    padding: 10px;
        color: rgb(255, 255, 255);
}

@media only screen and (max-width: 768px) {
    .tesla-3 h3{
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
}}

.tesla-4{
    background-color: #292e32;
    padding:25px;
    margin-top: 10px;
}

@media only screen and (max-width: 768px) {
    .tesla-4 {
        padding: 2px;
}}

.tesla-4 p{
    padding: 10px;
    color: rgb(255, 255, 255);
    font-size: 21px;
    font-weight: 400;
}

@media only screen and (max-width: 768px) {
    .tesla-4 p{
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
}}


.tesla-4 h3{
    padding: 10px;
        color: rgb(255, 255, 255);
}

@media only screen and (max-width: 768px) {
    .tesla-4 h3{
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
}}

/*hero baneri animacije
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-opis{
            animation: slideIn 1s ease-out;
        }
        .hero-opis-1{
            animation: slideIn 1s ease-out;
        }
        .hero-opis-2{
            animation: slideIn 1s ease-out;
        }
        .hero-opis-3 {
            animation: slideIn 1s ease-out;
        }
        .hero-opis-4{
            animation: slideIn 1s ease-out;
        }
        .hero-opis-5 {
            animation: slideIn 1s ease-out;
        }
        .hero-opis-6 {
            animation: slideIn 1s ease-out;
        }

        
        .intro-slide1 .banner-content{
            max-width: 50rem;
        }
  @media only screen and (max-width: 768px) {
        .intro-slide1 .banner-content{
            max-width: 25rem;
        }}
*/
.slider-banner .banner-content{
    padding-left: 10px;
    padding-right: 10px;
}

/*detaljan opis*/
.detaljan-opis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 30px;
}

/* Text box style */
.detaljan-opis-text {
  height: 450px;
    width: 50%;
    padding:30px;
    display: flex;
        flex-direction: column;
    justify-content: center;
}

.detaljan-opis-text h2 {
    font-size: 35px;
    margin-bottom: 10px;
}

.detaljan-opis-text p {
    font-size: 20px;
    margin-bottom: 15px;
}

.detaljan-opis-text button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    color: white;
    border-radius: 5px;
}

/* Image Slider Styles */
.slider-opis {
    height: 450px;
    width: 50%;
    overflow: hidden;
}

.slide-opis-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide-opis {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide-opis img {
    width: 100%;
    height: auto;
}

/* Auto slide effect (optional) */
@keyframes slideAnimation {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

.slide-opis-container {
    animation: slideAnimation 9s infinite;
}

@media screen and (max-width: 768px) {
    /* For small tablets and larger phones, stack divs vertically */
    .detaljan-opis-text {
        padding: 5px;
        gap: 10px;
        align-items: center;
        display: block;
    }

    detaljan-opis-text, .slider-opis {
        width: 100%;  /* Full width for smaller screens */
        height: 200px;
    }

    .detaljan-opis-text h2 {
        font-size: 20px;
    }

    .detaljan-opis-text p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    /* For mobile screens */
    .detaljan-opis-text h2 {
        font-size: 18px;
    }

    .detaljan-opis-text p {
        font-size: 12px;
    }

}


