/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


#header [data-row*="middle"] {
  z-index: 20;
}

#header [data-row*="bottom"] {
    margin-bottom: -35px;
    max-width: 1246px;
    margin-left: auto;
    margin-right: auto;
	z-index: 5 !important;
}


#header [data-row*="bottom"] .ct-container {
    padding: 0 25px 0 10px !important;
}


/* header podstrani */

.hero-section[data-type="type-1"] {
  text-align: var(--alignment);
  height: 360px;
  background-color: #F9F7F5;
  margin-top: -50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* header trgovina */

[data-prefix="woo_categories"] .hero-section[data-type="type-2"] {
  width: 1296px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 0 160px;
}


/* širina strani */

@media (min-width:1000px){

    .woocommerce-cart [data-vertical-spacing="top:bottom"],
    .woocommerce-checkout [data-vertical-spacing="top:bottom"],
    .woocommerce-account [data-vertical-spacing="top:bottom"],
    .woocommerce-order-received [data-vertical-spacing="top:bottom"],
    .single-product [data-vertical-spacing="top:bottom"]{
        width:1290px;
    }

}


/* google maps */

.google_maps {
	border-radius: 10px;
}

.wp-block-kadence-googlemaps,
.kb-google-maps,
.kb-google-maps iframe {
    border-radius: 12px !important;
    overflow: hidden !important;
}


.menu-item-944 .ct-toggle-dropdown-desktop {
	display: none;
}


.info_polja {
	min-width: 226px;
}

@media (max-width: 768px) {
  
.info_polja {
	min-width: 180px !important;
}
  }



/* vsebina trgovina */


div[data-block="hook:915"]{
  max-width: 986px;
	margin: 0 auto;
}

@media (min-width: 1000px) {
  [data-vertical-spacing="top:bottom"] {
    width: 986px;
  }
}



@media (min-width:1000px) {
    body.page-id-1066 [data-vertical-spacing="top:bottom"],
    body.page-id-1260 [data-vertical-spacing="top:bottom"],
	body.page-id-1252 [data-vertical-spacing="top:bottom"],
	body.page-id-1354 [data-vertical-spacing="top:bottom"],
	body.page-id-1254 [data-vertical-spacing="top:bottom"] {
        width:100%;
    }
}



#menu-storitve-gumb .ct-menu-link {
    width: 200px;
    justify-content: center;
}

nav > ul > .ct-mega-menu-content-width > .sub-menu {
  margin-top: -20px;
  z-index: -1;
  max-width: 1246px;
}

/* VRH */

#free-shipping-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 40px;
    position: relative;
    font-size: 14px;
}

#free-shipping-bar .close-bar {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    opacity: 0.8;
}

#free-shipping-bar .close-bar:hover {
    opacity: 1;
}


table, tr, td, th {
  border-width: 0;
}



/* product card = flex column */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* wrapper za vsebino (Blocksy uporablja to) */
.woocommerce ul.products li.product .ct-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 🔥 cena gre vedno na dno */
.woocommerce ul.products li.product .price {
    margin-top: auto;
}



/* prikaži več brands */


/* Blagovne znamke - show more zgoraj desno */
.kb-block-show-more-container1322_368f82-14 {
    position: relative;
    padding-top: 0;
}

/* Gumb zgoraj desno */
.kb-block-show-more-container1322_368f82-14 .kb-show-more-buttons {
    position: absolute;
    top: -60px;
    right: 0;
    margin: 0 !important;
}



/* Ko je odprto */
.kb-block-show-more-container1322_368f82-14:has(#kb-show-more-0-show-more[aria-expanded="true"]) .kb-show-more-content {
    max-height: 1000px;
}

/* Skrij screen-reader tekst */
.kb-block-show-more-container1322_368f82-14 .kb-show-more-sr-excerpt {
    display: none;
}






.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* 🔥 max 3 vrstice */
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    min-height: 2.4em; /* fallback za enotno višino */
    line-height: 1.2em;
}






.brands-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:30px;
}

.brand-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:20px;
    border:1px solid #eee;
    border-radius:12px;
    transition:.25s;
    background:#fff;
}

.brand-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.brand-card img{
    max-width:140px;
    max-height:80px;
    object-fit:contain;
    margin-bottom:15px;
}

.brand-card span{
    color:#222;
    font-weight:600;
    text-align:center;
}





/*  MENU  */

/* header menu */
nav.header-menu{
    display:block !important;
}

nav.header-menu > ul{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

nav.header-menu > ul > li{
    display:block !important;
    float:none !important;
    width:100% !important;
    margin:0 0 10px 0 !important;
    padding:0 !important;
}

nav.header-menu > ul > li > a{
    display:block !important;
    width:100% !important;
    padding:4px 0 !important;
    line-height:1em !important;
    text-decoration:none !important;
}







/* footer menu */

nav.footer-menu{
    display:block !important;
}

nav.footer-menu > ul{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
}

nav.footer-menu > ul > li{
    display:block !important;
    float:none !important;
    width:100% !important;
    margin:0 0 10px 0 !important;
    padding:0 !important;
}

nav.footer-menu > ul > li > a {
    display:block !important;
    width:100% !important;
    padding:8px 0 !important;
    line-height:1em !important;
    text-decoration:none !important;
	color: #707070 !important;
	font-size: 14px !important;
	font-weight: 500 !important;

}

nav.footer-menu > ul > li > a:hover {
	color: #000000 !important;

}


/* KATEGORIJE FOOTER */


.kategorije-footer a {
  color: #707070 !important;
}
.kategorije-footer a:hover {
  color: #000000 !important;
}

.kategorije-footer ul:last-child {
  list-style-type: none;
  font-size: 14px;
  color: #707070 !important;
  padding: 0;
  line-height: 30px;
}

.kategorije-footer .wc-block-product-categories-list-item-count {
  font-size: 12px !important;
  color: #707070 !important;
  padding-left: 5px;
}

/* SIDE MENU */

.ct-panel-content-inner {
  display: block;
}

/* IKONCA LUPA SEARCH */

.ct-search-form[data-form-controls="inside"]:not([data-taxonomy-filter="true"]) [data-button*="icon"] {
  background-color: #A67C00;
}



/* BENER */

.kb-splide[data-slider-dots="true"] {
  margin-bottom: 0 !important;
}

.kb-splide .splide__pagination, .kb-splide ul.splide__pagination.splide__pagination {
    bottom: 30px !important;
}

.splide__pagination__page::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #fff;
}


/* BENER NAVIGACIJA */

.kb-advanced-slider-812_18a838-f9 .splide__pagination__page {
  width: 32px;
  height: 6px;
  border: none;
  border-radius: 0px;
  background: rgba(255,255,255,0.5) !important;
  position: relative;
  overflow: hidden;
}




.splide__pagination li {
    position: relative;
}

/* naslov */
.dot-title {
    position: absolute;
    top: -22px;
    left: 0;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s ease;	
}

.splide__pagination li .splide__pagination__page.is-active + .dot-title {
    opacity: 1;
}


/* fill */
.splide__pagination__page::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #fff;
}

/* animacija */
.splide__pagination__page.is-active::after {
    animation: progressBar 2.5s linear forwards;
}

@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}


/* UVODNA STRAN POSTI */

.home-posts-4 [data-layout="enhanced-grid"] {
    --grid-template-columns: repeat(4, 1fr) !important;
}

.home-posts-4 [data-layout="enhanced-grid"] article {
    grid-column: auto !important;
}

.entries:not([data-cards="cover"]) :is(.entry-button, .entry-meta, .ct-media-container):last-child:not(:only-child) {
  font-size: 14px;
	color: #C9AD97;
}


@media (max-width: 768px) {
  
.home-posts-4 [data-layout="enhanced-grid"] {
    --grid-template-columns: repeat(2, 1fr) !important;
	}
  }




.kt-post-loop812_a426dd-0b .kt-blocks-post-grid-item .entry-title {
  height: 50px;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}





.storitve .kt-blocks-post-grid-item-inner {
	margin-top: -140px;
}

.kt-post-loop812_a426dd-0b .kt-blocks-post-grid-item {
  border-radius: 10px;
}


.kadence-post-image-intrisic::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(250,245,241,0) 0%,
        rgba(250,245,241,1) 80%
    );
}

  .kt-blocks-post-loop-block .kt-post-grid-layout-grid-wrap > .kt-blocks-post-grid-item {
    border-radius: 10px;
  }




/* slajder prva stran */

.slick-initialized .slick-slide {
  margin: 0 10px;
}


.slick-track {
    display: flex !important;
}

.slick-slide {
    height: auto !important;
    display: flex !important;
}


.fpslider .slick-arrow.slick-disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}



/* slike loop */

/* === Popravek Blocksy slik: slika naj bo vedno cela v kvadratu === */

/* Glavna WooCommerce mreža + Paše skupaj slike */
.woocommerce ul.products li.product img,
.pase-grid .pase-item img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  display: block;
  border: 0px solid #eee;
  border-radius: 10px;
  padding: 15px;
  box-sizing: border-box;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
}








.woocommerce ul.products li.product img, .pase-grid .pase-item img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  display: block;
  border: 0px solid #eee;
  border-radius: 10px 10px 0 0;
  padding: 0;
  box-sizing: border-box;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
}

.woocommerce-info, .woocommerce-thankyou-order-received, .wc-block-components-notice-banner.is-info {
    --background-color: #FAFAFA !important;
}




/* poskrbimo, da wrapper za slike ima relative */
.woocommerce ul.products li.product,
.woocommerce div.product div.images {
    position: relative;
}








/* carousel */

.kt-post-loop812_a426dd-0b.kt-post-grid-layout-carousel .splide__arrow {
  background-color: #F9F7F5;
  border-radius: 20px;
  height: 32px;
  width: 32px;
}

/*** slick carousel izdelki ***/

.prev_arrow {
	position: absolute;
	width: 32px;
	height: 32px;
	top:250px;
	left:-66px;
	cursor: pointer;
	z-index:9;
	text-align: center;
	display: inline-block;
}

.next_arrow {
	position: absolute;
	width: 32px;
	height: 32px;
	top:250px;
	right:-66px;
	cursor: pointer;
	z-index:9;
	text-align: center;
	display: inline-block;
}



.prev_arrow, .next_arrow {
    width: 32px;
    height: 32px;
    background-color: #fff;
	border-radius: 50%;

}

.prev_arrow:hover,
.next_arrow:hover {
    background-color: #F9F7F5;
}

.prev_arrow::before,
.next_arrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #333;
    border-top: 0;
    border-right: 0;
    position: absolute;
    top: 50%;
}

.prev_arrow::before {
    left: 12px;
    transform: translateY(-50%) rotate(45deg);
}

.next_arrow::before {
    right: 12px;
    transform: translateY(-50%) rotate(-135deg);
}








/* === Checkout Progress Steps blagajna košarica zaključek === */
.checkout-progress {
  width: 100%;
  padding: 0 0 10px 0;
  margin-bottom: 20px;
  text-align: center;
}

.checkout-progress ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 0;
  padding: 0;
}

.checkout-progress li.step {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  color: #999;
}

.checkout-progress li.step::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  width: 30px;
  height: 2px;
  background: #ddd;
  transform: translateY(-50%);
}

.checkout-progress li.step:first-child::before {
  display: none;
}

/* Aktivni korak */
.checkout-progress li.step.active {
  color: #A67C00;
  font-weight: 600;
}

/* Zaključeni koraki */
.checkout-progress li.step.done {
  color: #666666;
}

.checkout-progress li.step.done::before {
  background: #A67C00;
}







/* loop */


.woocommerce ul.products li.product {
  padding: 0 20px 20px 20px;
  text-align: left !important;
}


.product .ct-media-container {
	border-radius: 8px;
}


/* loop značke */

.shop-loop-badges {
    position: absolute;
    z-index: 10;
	top:0;
	right: 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}




.badge-sale,
.badge-new,
.badge-featured {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1.3;
}

.badge-sale {
    background: #DA0D00;
}

.badge-new {
    background: #FF453A;
}

.badge-featured {
    background: #A67C00;
}

.shop-loop-category {
    font-size: 16px;
    color: #666;
    margin: 2px 0 6px 0;
	text-decoration: underline;
}

.sale-price del {
  color: #666 !important;
	margin-top: 3px;
}


/* produkt kartica */
.woocommerce ul.products li.product {
    position: relative;
}

/* NOVO badge na sliki */
.badge-new-top {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}




/* loop značke */

.shop-loop-badges{
    position:absolute;
    z-index:50;
    top:10px;
    left:10px;

    display:flex;
    flex-direction:column;
    gap:8px;

    align-items:flex-start;
}

.badge-sale,
.badge-new,
.badge-featured,
.shop-badge{
    color:#fff;
    font-weight:400;
    font-size:12px;
    padding:6px 12px;
    border-radius:4px;
    text-transform:uppercase;
    line-height:1.3;
    width:fit-content;
    max-width:max-content;
}

.badge-sale{
    background:#DA0D00;
}

.badge-new{
    background:#FF453A;
}

.badge-featured{
    background:#A67C00;
}

.shop-loop-category{
    font-size:16px;
    color:#666;
    margin:2px 0 6px 0;
    text-decoration:underline;
}

.sale-price del{
    color:#666 !important;
    margin-top:3px;
}


.woocommerce ul.products li.product .shop-badge-image img{
    padding:0 !important;
}

.shop-badge-image img,
.shop-badge-img img {
    max-width:80px !important;
    height:auto;
	padding: 0;
    display:block;
}








.add_to_cart_button {
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
}

.add_to_cart_button .btn-text {
    display: none;
}

.add_to_cart_button .btn-text:hover {
    background: #C9AD97 !important;
}

.btn-ni-na-zalogi {
    flex: 1;
    background: none !important;
    color: #333;
    padding: 6px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center; /* to je ključ */
	font-size: 14px;
	margin-bottom: 4px;
}


.btn-ni-na-zalogi:hover {
    color: #CAA980;
}

.btn-ni-na-zalogi img {
	display: none;
}



.add_to_cart_button img {
    flex: 0 0 60px;
    background: #EADAC8;
    padding: 12px !important;
    border-radius: 50px !important;
}

.add_to_cart_button:hover img {
    background: #ccc;
}

.add_to_cart_button:hover .btn-text {
    background: #C9AD97;
    color: #fff;
}


.sale-price {
  justify-content: left;
}


[data-products="type-2"] .ct-woo-card-actions {
  border-block: 0;
}

[data-products="type-2"] .ct-woo-card-actions .price:not(:only-child)::after {
  width: 0;
}

[data-products="type-2"] .ct-woo-card-actions:last-child {
  margin-bottom: 0px;
  padding: 0 10px 0 15px;
}
	
[data-products="type-2"] .ct-woo-card-actions .price {
  justify-content: left;
}	
	
	

/* Skrij samo privzeto Blocksy ikono na Add to Cart gumbu */





.added_to_cart {
	width: 100%;
}




.ct-woo-card-actions .button {
	width: 100%;
	display: flex !important;
   justify-content: flex-end !important;
}



.ui-slider-horizontal .ui-slider-range {
  background-color: #A67C00 !important;
}



/* na zalogi */

    .custom-stock {
        color: #14B90C; /* zelena */
        font-weight: 600;
        font-size: 1.1em;
        display: flex;
        align-items: center;
        margin: 10px 0 0 0;
		font-size: 16px;
    }
		
		
	.stock-dot {
    width: 10px;
    height: 10px;
    background-color: #14B90C; /* zelena */
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.25);
}	
		
    .custom-stock .stock-icon {
        width: 20px; /* prilagodi velikost ikone */
        height: auto;
        margin-right: 6px;
        display: inline-block;
    }
    .custom-stock-tekst {
        color: #666666; /* zelena */
        font-weight: 400;
        font-size: 1.1em;
        display: flex;
        align-items: center;
        margin: 0 0 0 10px;
		font-size: 16px;
    }	


    .custom-stock-loop {
        color: #14B90C; /* zelena */
        font-weight: 600;
        font-size: 1.1em;
        display: flex;
        align-items: center;
        margin: 10px 0 0 0;
		font-size: 14px;
    }


.stock-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.stock-green {
    background-color: #14B90C;
}

.stock-red {
    background-color: #e74c3c;
}






/* MENU KATEGORIJE */

.cat-menu-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:0;
    padding:0;
    list-style:none;
}

.cat-menu-item{
    margin:0;
}

.cat-main-link{
    display:flex;
    align-items:center;
    gap:6px;
	border: 2px solid #f8f8f8;
    padding:10px 18px;
    border-radius:12px;

    background:#f8f8f8;

    text-decoration:none;
    transition:all .25s ease;
}

.cat-label{
    color:#222;
    font-weight:600;
}

.cat-count{
    color:#888;
    font-size:14px;
}

.cat-main-link:hover, .cat-main-link.cat-active {
    background:#ffffff;
	border: 2px solid #000000;
    transform:translateY(-2px);
}

.cat-main-link:hover .cat-label{
    color:#000;
}

.cat-main-link:hover .cat-count{
    color:#000;
}














[data-footer*="type-1"] .ct-footer [data-column="text:ksnK1k"] {
  display: block;
}



/* FILTRI */

.ui-slider-horizontal .ui-slider-range {
  background-color: #A67C00;
}

.wpc-filters-widget-top-container {
  background: transparent !important;
}



/* BLAGOVNE ZNAMKE GRID */

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
    gap: 20px;
    align-items: center;
}
.brand-item {
    text-align: center;
}
.brand-item img {
    max-height: 60px;
    object-fit: contain;
}


.brand-count{
    opacity:.6;
    font-size:13px;
    margin-left:4px;
}




.ct-pagination {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100%;
	margin-right: 10px;
}

[data-pagination="simple"] > div {
  padding-right: 10px;
}




/* FOOTER */ 

[data-column="text:ksnK1k"] .entry-content::before{
content:"PRODAJNI PROGRAM";
display:block;
font-size:20px;
color: #666666 !important;
font-weight:600;
margin-bottom:30px;
}

[data-column="menu"] nav::before{
content:"POMOČ UPORABNIKOM";
display:block;
font-size:20px;
color: #666666 !important;
font-weight:600;
margin-bottom:30px;
	margin-top: -8px;
}

[data-column="contacts:jSPJDX"] .ct-contact-info::before{
content:"PODPORA STRANKAM";
display:block;
font-size:20px;
color: #666666 !important;
font-weight:600;
margin-bottom:30px;
	margin-top: -8px;
}



/* BADGES NA IZDELKU IN LOOPU */

.steluno-product-badges-row{
display:flex;
gap:8px;
margin-top:15px;
	margin-bottom: 20px;
flex-wrap:wrap;
}

.steluno-badge{
padding:6px 12px;
border-radius:4px;
font-size:12px;
font-weight:600;
color:white;
	line-height: 1.3;
}

.badge-1{
background:#e67e22;
}

.badge-2{
background:#27ae60;
}

.badge-3{
background:#3498db;
}


/* KATEGORIJE GRID */

.kategorije-grid {
    display: grid;
    gap: 20px;
	width: 100%;
}

/* default fallback */
.kategorije-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.kategorije-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.kategorije-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 📱 mobile */
@media (max-width: 768px) {
    .kategorije-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* lihe vrstice (1,3,5...) */
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+1),
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+2) {
  background: #f5f5f5; /* prva barva */
}

/* sode vrstice (2,4,6...) */
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+3),
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+4) {
  background: #efefef; /* druga barva */
}

.kategorije-grid.cols-4 .kategorija-card {
    background: #f5f5f5;
}

.kategorije-grid.cols-3 .kategorija-card {
    background: #f5f5f5;
}



.kategorija-card {
  width: 100%;
  display: flex;
  flex-direction: column;
	text-align: center;
	padding: 30px 0 0 0;
	border-radius: 8px;
  position: relative;
  overflow: hidden;	
}

.kategorija-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.kategorija-card h3 {
  margin: 15px 0;
	font-size: 24px;
	z-index: 3;
}

.kat-btn {
  color: var(--theme-palette-color-8, #ffffff);
  background: var(--theme-palette-color-1, #1A1A1A);
  line-height: 1;
  font-weight: 400;
  border-radius: 20px;
  border: 1px solid var(--theme-palette-color-1, #1A1A1A);
  padding-top: 13px;
  padding-right: 32px;
  padding-bottom: 13px;
  padding-left: 32px;
	margin: 20px auto;
	min-width: 140px;
	z-index: 3;
}

.kat-btn:hover {
    background-color: var(--theme-palette-color-8, #ffffff);
	color: var(--theme-palette-color-1, #1A1A1A);
	border: 1px solid var(--theme-palette-color-8, #ffffff);
}

.kat-image {
  position: relative;
  display: block;
  overflow: hidden;
}

/* slika */
.kat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
	aspect-ratio: 16 / 9;
}



/* default (fallback) */
.kat-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
}

/* 🔹 lihe vrstice (ista kot #f5f5f5) */
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+1) .kat-image::after,
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+2) .kat-image::after {
  background: linear-gradient(
    to bottom,
    #f5f5f5 0%,
    rgba(245,245,245,0) 100%
  );
}

/* 🔹 sode vrstice (ista kot #efefef) */
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+3) .kat-image::after,
.kategorije-grid.cols-2 .kategorija-card:nth-child(4n+4) .kat-image::after {
  background: linear-gradient(
    to bottom,
    #efefef 0%,
    rgba(239,239,239,0) 100%
  );
}


.kategorije-grid.cols-3 .kat-image::after,
.kategorije-grid.cols-4 .kat-image::after {
  background: linear-gradient(
    to bottom,
    #f5f5f5 0%,
    rgba(245,245,245,1) 40%,
    rgba(245,245,245,0) 100%
  );
}



@media (max-width: 768px) {

	
	
.kategorije-grid {
  gap: 8px;
}	
	
.kat-btn {
	min-width: 80px;
	}

.kategorija-card {
  width: 100%;
  padding: 8px;
}	
	
.kategorija-card img {
  width: 100%;
	min-width: 100%;
  height: auto;
  object-fit: cover;
}	
	
.kategorija-card h3 {
  margin: 10px 0;
	font-size: 20px;
    -webkit-line-clamp: 3;   /* 🔥 max 3 vrstice */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em; /* fallback za enotno višino */
    line-height: 1.2em;	
	
}	


 }


@media (max-width: 768px) {
[data-vertical-spacing*="top"] {
  padding-top: 15px !important;
  }
}


.acc-back-to-top {
    position: sticky;
    bottom: 10px;
    margin-top: 20px;

    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
}

.acc-back-to-top {
    position: absolute;
    right: 20px;
    bottom: 20px;
}


.app-download-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    position: relative;
    display: inline-block;
}

.app-btn img {
    display: block;
    height: 40px; /* prilagodi po želji */
}

/* TOOLTIP */
.app-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 0;
    pointer-events: none;

    background: #fff;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);

    transition: all 0.25s ease;
    z-index: 999;
	width:200px;
}

.app-tooltip img {
    width: 200px;
    height: auto;
}

/* HOVER */
.app-btn:hover .app-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}




.brand-checkboxes{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.brand-checkbox{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;

    padding:8px 12px;

    border:1px solid #e5e5e5;
    border-radius:10px;

    transition:all .2s ease;
}

.brand-checkbox:hover{
    background:#f8f8f8;
    border-color:#ccc;
}

.brand-checkbox input{
    margin:0;
}


/* footer socials */

.is-layout-flex {
display: inline-block !important;
}


.wp-block-social-links .wp-block-social-link.wp-social-link {
  padding-right: 5px;
}


/* dodaj v košarico top */

.ct-drawer-canvas[data-location="start"] .ct-floating-bar {
  display: none;
}


.page-id-1260 table td,
.page-id-1260 table th {
    padding: 20px 30px;
}

.page-id-1260 table tr:nth-child(odd) {
    background-color: #F9F7F5 !important;
}




