.bg-mobil-trak {
  background-color: #277DFF;
}

.glavninapis {
	padding-top: 5px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; /*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*	font-family: Verdana, Tahoma, Geneva, sans-serif; */
	color: #39F;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
	border-bottom: #CCC 2px solid;
	padding-bottom: 5px;
}

.glavninapisbrezcrte {
	padding-top: 5px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; /*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
/*	font-family: Verdana, Tahoma, Geneva, sans-serif; */
	color: #39F;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
	padding-bottom: 5px;
}

.text-secondary {
  color: #333333  !important; /* temnejši od privzetega #0d6efd */
}

.barvapisave {
  color:#000 !important; /* temnejši od privzetega #0d6efd */
}
.barvapisave a{
  color: #212529 !important; /* temnejši od privzetega #0d6efd */
}

.urejanje-prenova {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; /*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-size: 18px;          /* 1rem = cca 16px */
	font-weight: 400;
    line-height: 1.5;         /* boljša berljivost */
    color: #333333 !important;           /* mehkejša črna , za temnejšo daj 292929*/
    text-align: justify;
    margin: 0 auto;           /* centriraj vsebino */
    padding: 0 5px;          /* malo odmakni od robov */
}

@media (max-width: 600px) {
    .urejanje-prenova {
        font-size: 18px;    /* 0.9rem = cca 14px na manjših zaslonih */
        padding: 0 5px;      /* manjša notranja robova na mobilnih */
	    text-align: left;
    }
}

.mojh2meni h2 {
  font-size: 16px !important;
  font-weight: bold !important;
  color:#333 !important;
}

.moja-html-oblika h1 {
	padding-top: 5px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;	/*Verdana, Tahoma, Geneva, sans-serif;*/
	color: #39F;
	font-size: 24px;
	font-weight: bold;
	text-align: left;
	border-bottom: #CCC 2px solid;
	padding-bottom: 5px;
}

.moja-html-oblika h2 {
  font-size: 24px;
  font-weight: bold;
  color: #036;
  margin-top: 24px;
}

.moja-html-oblika h3 {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  margin-top: 24px;
}

.moja-html-oblika a {
  color: #0d6efd !important; /*#03c je temno modra;*/
  text-decoration: none !important;
  transition: color 0.2s, font-decoration 0.2s, text-shadow 0.2s;
}

.moja-html-oblika a:hover {
  color: #084298 !important; /*#c00; je rdeča*/
  text-shadow: 0 0 0.9px currentColor !important;
  text-decoration: none !important;
  transition: color 0.2s, font-decoration 0.2s, text-shadow 0.2s;
}


.moja-html-oblika ul, .moja-html-oblika ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.moja-html-oblika li {
  margin-bottom: 5px;
}

.okvirCategory {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #FFF;
  overflow: hidden;
  transition: border 0.3s;
}

.okvirCategory:hover {
  border: 2px solid #d9d5d2;
}

.moj-temnejsi-form .form-control,
.moj-temnejsi-form .form-select,
.moj-temnejsi-form .form-check-input {
  border-color: #bbb !important; /* temnejša siva, lahko daš tudi #666 ali #333 */
}

.my-bold-hover:hover {
    font-weight: bold;
}
/*
.my-bold-hover:hover {
    font-weight: bold;
}

.my-bold-hover {
  display: inline-block;
  font-weight: normal;
  transition: text-shadow 0.2s ease-in-out;
}
.my-bold-hover:hover {
  text-shadow:
    0.03em 0 black,
    -0.03em 0 black,
    0 0.03em black,
    0 -0.03em black;
}
*/

.my-ojacan-hover:hover {
  text-shadow: 0 0 0.9px currentColor !important;
  text-decoration: none !important;
  transition: font-decoration 0.3s, text-shadow 0.3s;
}

.moj-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.moj-breadcrumb li {
  display: inline;
}

.urejanje-bread {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	color:#335271 ; /*#4a4a4a;*/
	text-align: left;
}
.urejanje-bread:hover {
	color: #000; /*#084298; #0000FF;*/
  text-shadow: 0 0 0.5px currentColor !important;
  text-decoration: none !important;
  transition: font-decoration 0.2s, text-shadow 0.2s;
}

.myBgButtonSearch {
  background-color: #F4F4F4;
}

.energy-label-wrapper {
  display: inline-block;
  font-family: Arial, sans-serif;
}

.energy-arrow {
  position: relative;
  display: inline-block;
  padding: 4px 12px 4px 10px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
  margin: 2px 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  min-width: 50px;
}

/* Barve po vrstnem redu: 1=zelena, 7=rdeča */
.rank-1 { background-color: #00a859; } /* najboljši razred */
.rank-2 { background-color: #57b952; }
.rank-3 { background-color: #bfd73e; }
.rank-4 { background-color: #fff212; }
.rank-5 { background-color: #fdb92e; }
.rank-6 { background-color: #f37435; }
.rank-7 { background-color: #ed3237; } /* najslabši razred */

/* Responsivno: naj se nikoli ne prelomi */
.energy-arrow span {
  display: inline-block;
  padding: 0 4px;
}

        .text-justify {
            text-align: justify;
        }

        .accordion-body {
            background-color: #f8f8f8;
        }

        .custom-header-wrapper {
            width: 100%;
            background-color: transparent;
            position: relative;
        }

        .dropdown-menu-mega {
            min-width: 600px;
            display: none;
            position: absolute;
            top: 48px;
            left: 0;
            z-index: 1000;
            background: white;
            border: 1px solid #dee2e6;
        }

        .show-mega {
            display: flex !important;
        }

        #mainCategoryList .dropdown-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 0.75rem 1rem;
            min-width: 220px;
            transition: background-color 0.3s ease;
        }

        .dropdown-item:hover {
            font-weight: 600;
        }

        .navbar-nav .nav-item .nav-link:hover {
            font-weight: 600 !important;
        }

        #mainCategoryList .dropdown-item i {
            margin-left: auto;
            flex-shrink: 0;
        }

        #mainCategoryList .dropdown-item.active {
            background-color: #f8f9fa;
        }

        #subcategoryList {
            border-left: 1px solid #dee2e6;
            padding-left: 1rem;
        }

        #subcategoryList .dropdown-item {
            padding: 0.3rem 0.75rem;
            transition: background-color 0.3s ease;
            cursor: pointer;
        }

        .custom-icon-button {
            border: none;
            background: none;
            text-align: center;
            color: #000;
            padding: 0.5rem;
            font-size: 0.85rem;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .custom-icon-button i {
            font-size: 1.5rem;
            margin-bottom: 0.25rem;
        }

        .custom-icon-button:focus,
        .custom-icon-button:hover {
            outline: none;
            box-shadow: none;
            background: none;
        }

        @media (max-width: 768px) {
            .custom-header-wrapper {
                background-color: rgb(255, 255, 255);
                border-bottom-left-radius: 100% 40px;
                border-bottom-right-radius: 100% 40px;
                position: relative;
            }

            #mobileMegaMenu,
            #mobileMainMenu {
                display: none;
                position: absolute;
                width: 100%;
                top: 100%;
                left: 0;
                background-color: white;
                z-index: 999;
                padding: 1rem;
                border-radius: 0 0 15px 15px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }

            #mobileMegaMenu.active,
            #mobileMainMenu.active {
                display: block;
            }

            #mainNavbar {
                height: 20px !important;
            }
        }

        @media (min-width: 769px) {

            #mobileMegaMenu,
            #mobileMainMenu {
                display: none;
            }

            #mainCategoryList {
                display: block !important;
            }
        }

        .btn-dark {
            background-color: #000 !important;
            border-color: #000 !important;
            color: white !important;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .btn-dark:hover {
            background-color: #333 !important;
            border-color: #333 !important;
        }

        .cart-count {
            font-size: 0.75rem;
            color: white;
            border-radius: 50%;
            background-color: red;
            width: 16px;
            height: 16px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
        }

        .btn-kosarica {
            background-color: #106181;
        }

        .btn-kosarica:hover {
            background-color: #871c1c;
        }

		#cartButtonIcon {
			color: #ffffff !important;
		}
		#cartButtonIcon:hover {
			color: #ffffff !important;
		}
		

        .piskotki-obvestilo {
            position: fixed;
            bottom: 0;
            left: 0;
            background: #e8e8e8;
            padding: 20px;
            max-width: 400px;
            z-index: 999;
            height: auto;
            border-top-right-radius: 10px;
        }

        .nav-item {
            margin-bottom: 10px;
        }

        .list-group-item {
            border: none !important;
            background: none !important;
        }

        #sticky-wrapper {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: white;
            /* Match your design */
        }

        #sticky-wrapper.is-sticky,
        #sticky-wrapper-mobile.is-sticky {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: white;
            z-index: 1030;
        }

        #sticky-wrapper nav {
            transition: all 0.3s ease;
        }

        #sticky-wrapper.is-sticky nav {
            /* height: 50px; */
            /* padding-top: 0; */
            padding-bottom: 0;
            transition: all 0.3s ease;
        }

        #sticky-wrapper.is-sticky .container {
            margin: 0 auto;
        }

        #sticky-mobile {
            position: sticky;
            top: 0;
            z-index: 1030;
            background: white;
        }

        #sticky-mobile.is-sticky {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: white;
            z-index: 1030;
        }

        #mainNavbar {
            position: relative;
            top: 0;
            width: 100%;
            z-index: 998;
            height: 70px;
            background-color: transparent;
            transition: all 0.3s ease;
        }

        .sticky-navbar {
            position: fixed !important;
            top: 0;
            z-index: 999;
            height: 50px !important;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .active-cat {
            color: black;
            font-weight: bold;
        }

        #mobileFilterMenu {
            display: none;
            /* Default hidden */
            position: absolute;
            width: 100%;
            top: 100%;
            left: 0;
            background-color: white;
            z-index: 999;
            padding: 1rem;
            border-radius: 0 0 15px 15px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        #mobileFilterMenu.active {
            display: block;
        }

        #mobileTopBanner {
            transition: opacity 0.3s ease;
            opacity: 1;
            /* overflow: hidden; */
            /* height: auto; */
            /* visibility: visible; */
        }

        #mobileTopBanner.fade-out {
            opacity: 0;
            /* height: 0; */
            /* visibility: hidden; */
            /* pointer-events: none; */
        }

        #scrollToTop {
            display: none;
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #333;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 50%;
            font-size: 24px;
            cursor: pointer;
            z-index: 1000;
            transition: opacity 0.3s;
        }

        #scrollToTop:hover {
            background-color: #555;
        }

        .modal {
            z-index: 1060 !important;
        }

        #mobileMenuButtons {
            display: none;
        }

        .modal-backdrop.show {
            display: none !important;
        }

        .active-category {
            font-weight: bold;
        }

        @media (min-width: 990px) {
            .botts {
                min-width: none !important;
            }
        }

        @media (max-width: 990px) {
            .container {
                max-width: none !important;
            }

        }

        @media (min-width: 768px) {
            #eposta {
                max-width: 400px !important;
            }

            .bot-mot {
                justify-content: center !important;
            }
        }

        @media (min-width: 576px) {
            #eposta {
                max-width: 400px !important
            }

            .bot-mot {
                justify-content: center !important;
            }
        }

        .modal-dialog {
            margin-right: 5px !important;
        }



#confirmationModal.modal .modal-dialog {
  margin: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  position: relative !important;
}
#confirmationModalNovice.modal .modal-dialog {
  margin: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  position: relative !important;
}

        .category-card {
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .category-card:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .subcategory-item {
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 1rem;
            text-align: center;
            margin-bottom: 1rem;
            border-radius: 0.5rem;
        }



.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none; /* pomembno */
}
.bottom-bar .bar-item {
    pointer-events: auto; /* samo gumbi naj bodo klikabilni */
}

.bottom-bar .left {
    position: relative;
	left: 5px;
	top: -5px
}

.bottom-bar .right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
	margin-right: 6px;
	margin-bottom: 5px;
}

.btn-circle-icon {
    width: 48px;
    height: 48px;
    background-color: #106181;
    color: #179ED5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    padding: 0;
    transition: background-color 0.2s ease-in-out;
}

.btn-circle-icon:hover {
    background-color: #0d5672;
}

.btn-circle-icon i {
    color: #179ED5;
}

.badge-circle {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: red;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: bold;
    line-height: 1;
}

    .bar-item img {
        width: 24px;
        height: 24px;
        margin-bottom: 0.2rem;
    }



    #mobileFilterMenu2 {
        display: none;
        min-width: 200px;
        z-index: 1000;
    }

    #mobileFilterMenu2.active {
        display: block;
    }


    .filter-label {
        margin-top: 0.3rem;
        color: #002e5b;
        font-size: 0.75rem;
        font-weight: bold;
        line-height: 1;
    }

    .bott {
        min-width: 500px;
    }

    @media (max-width: 769px) {
        .bott {
            min-width: auto !important;
        }
    }

    #mobileFilterMenuBtn2:hover,
    #mobileFilterMenuBtn2:focus,
    #mobileFilterMenuBtn2:active {
        background-color: #106181 !important;
        color: #179ED5 !important;
        border-color: #106181 !important;
        box-shadow: none !important;
    }


.urejanje {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #000;
	text-align: left;
}

.urejanje-kat {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 16px;
	color: #000;
	text-align: left;
}

.urejanjesivo {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #999;
	text-align: left;
}
.urejanjerdece {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #F00;
	text-align: left;
}

.urejanjecenter {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #000;
	text-align: center;
}

.urejanjedesno {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #000;
	text-align: right;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: #03F;
}

a:active {
	text-decoration: none;
}
