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

.ct-media-container img {
 
  display: block;
  margin: 0 auto;
  width: unset;
  border-radius: 4px;
  max-height: 220px;
    
}

[data-products] .product figure {
    height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

[data-products] .product {
    padding: 10px 15px 20px 15px;
   border: 1px solid #f0f0f0;    
}

.ct-product-gallery-container figure {
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ct-product-gallery-container .ct-media-container img {
    max-height: 450px;    
}

body.archive .ct-search-results {
    z-index: -1 !important;    
}

.ct-search-results a {
    border: 1px solid #e0e5eb !important;
    color: #000;
}

 /* piskotki */


.notification-bottom {
    position: fixed;
    display: none;
    width: 100%;
    bottom: 0px;
    left: 0px;
    z-index: 9999;
    padding:5px;
    color: #5e5653;
    background-color: #f6ecec;
    opacity: 0.9;
    text-align: center;
}
    
.notification-bottom a {
    text-decoration: underline; 
    color:#9e2f2f;  
}
    
.notification-bottom a:hover {
    color: #732121 !important;   
}
    
.notification-bottom p {
    color: #000000;
    font-size: 16px;
    line-height: 23px; 
    padding: 8px;  
}
    
.notification-close {
    position: absolute;
    right: 25px;
    top: 5px;
    cursor: pointer;
    font-size: 20px;
    color: #000000;
}
    
.cookie-ok {
        cursor: pointer;
        padding: 0 15px 0 15px;    
}


/*sidebar*/

#sidebar .ct-sidebar {

    background: #f5f7eb;
    padding: 10px;
    border-radius: 10px;
 
}

.product-categories li > a {
    color: #131117;
    font-weight: 500; 
    line-height: 25px;
    font-size: 18px;
}

.product-categories li > a:hover {
    color: #0175bf;    
}

.product-categories li {
    padding: 6px 0 6px 0;
    display: block;
}

.product-categories li .cat-item {
    padding: 6px 0 6px 0;
}

/* Stiliziranje aktivne kategorije */
.product-categories .current-cat > a {
    color: #131117;
    font-weight: 600 !important; 
}

/* Stiliziranje nadrejene kategorije, če je podkategorija aktivna */
.product-categories .current-cat-parent > a {
    color: #131117;
    font-weight: 700;
}

.product-categories .children a {
  color: #4a4a4a; /* Spremeni barvo podkategorije na modro */
  font-weight: normal; /* Normalna teža pisave za podkategorije */
}

/* Stiliziranje podkategorij */
.product-categories .current-cat .children a {
  color: #4a4a4a; /* Spremeni barvo podkategorije na modro #005082; */
  font-weight: normal; /* Normalna teža pisave za podkategorije */
}
/*3 nivo */
.product-categories > li > ul.children > li > ul.children li > a {
  font-size: 16px;
  position: relative;
  padding-left: 16px;
  color: #004e80;
}
/* 3. nivo — li naj ima pikico */
.product-categories > li > ul.children > li > ul.children > li {
  list-style-type: disc;
  list-style-position: inside; /* pikica bo poravnana z besedilom */
}
.product-categories > li > ul.children > li > ul.children li > a:hover {
  color: #0175bf;
  text-decoration: underline;
}
.product-categories > li > ul.children > li > ul.children li {
  padding: 4px 0 4px 0;
}

.product-categories > li > ul.children > li > ul.children > li > a::before {
  content: "•";           /* pikica */
  position: absolute;
  left: 0;
  top: 0;
  color: #004e80;         /* barva pikice – spremeni po želji */
  font-size: 40px;
  line-height: 0.3;
}


.product-sds-download {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    background: #f8f8f8;
    display: inline-flex;
    align-items: center;
}

.product-sds-download a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.product-sds-download a:hover {
    color: #0073aa;
}

.product-sds-icon {
    display: inline-flex;
    margin-right: 0.5rem;
}

.product-sds-icon svg {
    display: block;
}

.product-sds-text {
    font-size: 0.95rem;
}


.order-item-sds {
    margin-top: 4px;
}

.order-item-sds a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    text-decoration: none;
    color: #333;
}

.order-item-sds a:hover {
    color: #0073aa;
}

.order-item-sds-icon svg {
    display: block;
}

.ct-search-results .ct-search-item, .ct-search-results .ct-search-more, .ct-search-results {
    background: #ffffff !important;    
}

.ct-search-results .ct-search-item {
    background: #ffffff !important; 
    padding: 20px;   
}

.ct-search-results {
    padding: 20px;    
}


