.active-header-filter span {
  border-bottom: 0px solid #ffffff;
  color: #FC0784 !important;
}
/*
.active-header-filter:after{
  content: " \f077";
  font-family: FontAwesome;
  display: inline-block;
  font-size:10px;
  float:right;
  margin-top: 7px;
  color: #FC0784 !important;
}*/
.active-header-filter span:hover, .inactive-header-filter span:hover {
  color: #fc0784 !important;
}
#enabled_filters {
    margin: 0 0 10px 0;
    background: #f7f8fc;
    padding: 0 10px 0 5px;
    color: #fc0784; }

#enabled_filters .layered_subtitle {
  font-weight: bold;
  font-size: 12px; }

#enabled_filters ul li {
  padding: 2px 0; }

#enabled_filters li a {
  float: right;
  /*display: inline-block;
  height: 12px;
  width: 12px;
  text-indent: -5000px;*/
  /*background: url(../../../img/icon/delete.gif) no-repeat 0 0 transparent;*/
  /*background: url(./delete.gif) no-repeat 0 0 transparent;*/
  cursor: pointer; }

#layered_block_left .layered_close {
  float: right;
  padding-right: 5px; }

#layered_block_left span.layered_close a,
#layered_block_left span.layered_close a {
  display: block;
  height: 13px;
  width: 13px;
  text-decoration: none;
  text-indent: -5000px;
  background: url(img/icon/less.gif) no-repeat 2px 2px; }

#layered_block_left span.closed a {
  background: url(img/icon/more.gif) no-repeat 2px 2px; }

#layered_block_left .layered_subtitle {
	display: inline-block;
    font-weight: normal;
    font-size: 15px;
    padding: 6px 6px 3px 3px;
    cursor: pointer;
    color: #1a1a1a;
}

#layered_block_left ul {
  clear: both;}

#layered_block_left ul li {
  padding: 0px 0px 0px 2px; }

#layered_block_left ul li label {
  cursor: pointer; }


#layered_block_left ul li {
  list-style-type: none; }

#layered_block_left div > form > div > div {
  /*margin-top: 5px;*/ }

#layered_block_left #enabled_filters, #layered_url_filter_block {
padding-bottom: 5px;
margin-bottom: 0;
margin-top: 0;
border: 1px solid #fc078482;
margin-bottom: 6px;
border-radius: 5px;
background: #fc078414;
}


#layered_block_left #enabled_filters ul li {
  margin-left: 5px;
  padding-left: 0; }

/* Style moved form the template to the css  */
#layered_block_left #enabled_filters ul li:hover {
  background: inherit;
  color: inherit; }
/*
#layered_block_left ul li input.checkbox {

  vertical-align: middle;
  margin-left: 2px; }
  */

  #layered_block_left ul li div.checker span {
  z-index: -1;
  vertical-align: middle;
  left: 31px;
  opacity: 0;
  width: 0px;
  height: 0px;
  }

#layered_block_left ul li .disabled {
  color: #666; }

#layered_block_left .color-option {
  border: 1px solid #666666;
  height: 16px;
  margin-left: 0;
  padding: 0;
  width: 16px; }

#layered_block_left .color-option.disable {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5; }

#layered_block_left .nomargin a {
  display: inline; }

#layered_form .select {
  width: 165px; }

#layered_form .color-option {
     margin-left: 0;
    width: 27px;
    height: 27px;
    padding: 0px;
    border: 1px solid #d6d4d4;
    border-radius: 50%;
	}

#layered_form .color-option.on {
  border: 2px solid #fc0784;
    -webkit-box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 5px 8px 0px rgba(0,0,0,0.15);}

#layered_form input[type=radio] {
  margin-left: 2px;
  vertical-align: middle; }

.layered_price_range {
  margin-left: 7px; }

.layered_price_range_unit {
  margin-right: 7px; }

.layered_slider_container {
  margin: 6px 0 6px 10px;
  width: 91%; }

.layered_slider {
  margin-top: 5px; }

.layered_input_range_min {
  width: 30px; }

.layered_input_range_max {
  width: 40px; }

.layered_list_selected {
  font-weight: bold; }

.layered_list {
  display: block;
  cursor: pointer; }

.layered_list:hover {
  font-weight: bold; }

.layered_ajax_loader p {
  margin: 20px 0;
  text-align: center; }

.hide-action {
  text-align: center;
  text-align: right;
  display: block;
  cursor: pointer; }

.hide-action:hover {
  font-weight: bold; }

.filter-actions{
    display: grid !important;
    gap: 10px;
    margin-top: 5px !important;
    border-top: 1px solid #edeef2  !important;
    padding-top: 5px !important;
}



@media (max-width: 767px)   {
  #layered_form div div ul {
  max-height: 300px;
  overflow-x: auto;
  }
  .filter-actions {
    display: grid !important;
  }
}

#layered_form div div ul {
  max-height: fit-content;
  overflow-x: auto;
}


.layered_filter {
	
	/*border-top: 1px solid #eee; */ }
  .layered_filter label {
    font-weight: normal; }
  .layered_filter layered_subtitle {
    font-size: 1.2 em; }
	
#layered_form div div ul::-webkit-scrollbar {

    width: 8px; }

  #layered_form div div ul::-webkit-scrollbar-track {

    background-color: #eaeaea;

    border-left: 1px solid #ccc; }

  #layered_form div div ul::-webkit-scrollbar-thumb {

    background-color: #ccc; }

  #layered_form div div ul::-webkit-scrollbar-thumb:hover {

    background-color: #aaa; }
	


/* MOJE ÚPRAVY - FILTER FARBY + TOOLTIP */
/*
ul#ul_layered_id_attribute_group_3 li, ul#ul_layered_id_attribute_group_10 li{
     width: 27px;
    height: 27px;
    display: inline-block;
    float: left;
    margin: 0 8px 8px 0;
}
ul#ul_layered_id_attribute_group_3, ul#ul_layered_id_attribute_group_10 {
    overflow-x: visible !important;
	max-height: 400px!important;
}
ul#ul_layered_id_attribute_group_3, ul#ul_layered_id_attribute_group_10 {
    display: inline-block;
}

div#layered_block_left a {    font-family: "Open Sans"; font-size: 14px;}
div#layered_block_left span {    font-family: "Open Sans"; font-size: 14px;}
div#layered_block_left label {    font-family: "Open Sans"; font-size: 14px;}
*/
/* TOOLTIP VYPNUTÝ PRI MOBILE*/
/*
@media (max-width: 767px)   {ul#ul_layered_id_attribute_group_3 li label, ul#ul_layered_id_attribute_group_10 li label  {
    display:none !important;
	} }
*/
/* TOOLTIP */

/* pop-up text arrow */
/*
ul#ul_layered_id_attribute_group_3 li label :before, ul#ul_layered_id_attribute_group_10 li label :before {
  content:'';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #484848;
  position:absolute;
  bottom:-5px;
  left:4px;


}
*/
/* text color tooltip*/
/*
ul#ul_layered_id_attribute_group_3 li label a, ul#ul_layered_id_attribute_group_10 li label a{
    color: white;

}
*/
/* text pops up when icon is in hover state */
/*
ul#ul_layered_id_attribute_group_3 li:hover label, ul#ul_layered_id_attribute_group_10 li:hover label {
	width: auto;
    bottom: 69px;
    visibility: visible;
    opacity: 1;
}
*/
/* TOOLTIP */



/* CENTER UPRAVY */
#center_column .layered_filter{
  display: inline-block;
  vertical-align: top;
  /*float:left;*/
  /*width: 33%;
  padding: 0px 15px 0px 0px;*/
}
/*#center_column .layered_filter:nth-child(2n) {
  clear:left;
}*/

div#layered_block_left {
    margin-bottom: -7px;
    background: white;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid #edeef2;
    border-radius: 0;
    border-top: 1px solid #edeef2;
}
@media (max-width: 767px)   {
	div#layered_block_left   {

    background: white;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	} }
div#layered_block_left p.title_block {
    display: none;
}
.page-heading.product-listing {
    display: none;
}

/* Veľkosti ako BOX-y*/
/*
#center_column .layered_filter > ul#ul_layered_id_attribute_group_1 > li {
    width: 105px;
    height: 30px;
}
.layered_filter > ul#ul_layered_id_attribute_group_1 > li {
    width: 40px;
    height: 40px;
    margin: 4px;
    padding: 0;
    display: inline-block;
    background-color: #fff;
    border: 1px solid #d6d4d4;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.layered_filter > ul#ul_layered_id_attribute_group_1 > li > div.checker {
    display: none;
}

.layered_filter > ul#ul_layered_id_attribute_group_1 > li > label {
    width: inherit;
    height: inherit;
    margin: 0;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: #333333;
    font-size: 13px;   
    font-weight: 600;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.layered_filter  ul#ul_layered_id_attribute_group_1  li label:hover {
	background: #666;	
}



.layered_filter > ul#ul_layered_id_attribute_group_1 > li > label:hover, .layered_filter > ul#ul_layered_id_attribute_group_1 > li > label.checked {
    color: #ffffff;
}
*/
/* Veľkosti ako BOX-y*/


.accordion-header-filter {
	 padding: 8px 5px 14px 5px;
    cursor: pointer;
    background: #fc0784;
    color: #ffffff;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 0;
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
}





/*Skrytá šípka pri FARBE*/ /*Odstrániť koment pri zobrazení guličiek bez dropdownu*/
/*.nadpis_id_attribute_group_3:after, .nadpis_id_attribute_group_10:after {
	display: none;    
}*/


/*
.ul_layered_id_attribute_group_1 {
	display: none;
    border-top: 0;
    -moz-border-radius: 0 0 5px 5px;
    color: #656565;
}
.ul_layered_id_attribute_group_2 {
	display: none;
    border-top: 0;
    -moz-border-radius: 0 0 5px 5px;
    color: #656565;
}		
.ul_typ_id_feature {
	display: none;    
    background: #ffffff;    
    border-top: 0;
    -moz-border-radius: 0 0 5px 5px;
    color: #656565;
}
.ul_typ_quantity {
	display: none;    
    background: #ffffff;    
    border-top: 0;
    -moz-border-radius: 0 0 5px 5px;
    color: #656565;
}		
*/


/* Filtre - zatvorené - skryté*/ /*Odstrániť ul#ul_layered_id_attribute_group_9 ak chceme blok bez vysúvacieho zoznamu pre farby*/
.ul_filter, ul#ul_layered_id_attribute_group_9 {
	display: none;    
    background: #ffffff;    
    border-top: 0;
    -moz-border-radius: 0 0 5px 5px;
    color: #656565;
}	
/* Filter farby - otvorený */ /*Odstrániť zakomentovaníe BLOCK IMPORTAT, ak chceme blok bez vysúvacieho zoznamu pre farby*/
.ul_layered_id_attribute_group_3, .ul_layered_id_attribute_group_10  {
 /*   display: block !important;*/
}





/* Všetko okrem farby aby bolo v 1 riadku*/
#center_column .layered_filter
{
  display: inline-block;
  /*border: 1px solid #d6d4d4;*/
   /* background: #fcfcfc;*/
   /*
  height: 50px;

  height: 40px;
  width: auto;
  margin: 0px 7px 0px 0px;
  padding: 4px 9px 7px 5px;
  */
}



@media (max-width: 1199px)   {
  /* Všetko okrem farby aby bolo v 1 riadku*/
  #center_column .layered_filter
  {
  width: auto;
  margin: 0px 3px 0 2px;
  padding: 4px 9px 7px 5px;
  }
}

@media (max-width: 991px)   {
  /* Všetko okrem farby aby bolo v 1 riadku*/
  #center_column .layered_filter
  {
    width: auto;
    /*margin-bottom: 4px;*/
  }
}


@media (max-width: 380px)   {
  /* Všetko okrem farby aby bolo v 1 riadku*/
  #center_column .layered_filter.
  {
    width: auto;
  }
}


#center_column .layered_filter.div_typ_quantity_0{
    width: auto;
    display: inline-block;
}

#center_column .layered_filter.div_typ_id_feature_1{
    width: 132px;
    display: inline-block;
}
#center_column .layered_filter.div_typ_id_feature_2, #center_column .layered_filter.div_typ_id_feature_3 {
    width: 110px;
    display: inline-block;
}
/*
#center_column .layered_filter.div_typ_id_feature_39{
    width: 122px;
    display: inline-block;
}*/
#center_column .layered_filter.div_typ_id_attribute_group_9 {
    width: auto;
    display: inline-block;
}

/* Otvnorený blok s filtrami na 100% šírku*/
.layered_filter div ul {
    width: 100%;
    position: absolute;
    z-index: 20;
    background: #f7f8fc;
    left: 0;
    /*
    -webkit-box-shadow: 0 7px 13px rgba(48, 47, 57, 0.3);
    -moz-box-shadow: 0 7px 13px rgba(48, 47, 57, 0.3);
    box-shadow: 0 7px 13px rgba(48, 47, 57, 0.3);*/
	padding: 10px 5px 5px 5px;
	/*margin-top: 10px;*/
  transition: transform 0.3s ease;  /* tu prebehne animácia */
}
/*
ul#ul_layered_id_attribute_group_1 li, ul#ul_layered_id_attribute_group_2 li, ul#ul_layered_id_feature_43 li {

    margin: 0px 5px 0px 3px;

    padding: 5px 4px 0px 6px;
    line-height: 17px;
    display: inline-table;
}

*/

div.ul_filter ul li {
/* display: inline; */
margin: 0px 5px 0px 3px;
/* background: white; */
/* border: 1px solid #ebecef; */
padding: 5px 4px 0px 6px;
line-height: 17px;
display: inline-table;
}





.layered_filter.div_typ_id_attribute_group_3, .layered_filter.div_typ_id_feature_43 {
  height: 34px;
}
#enabled_filters ul li a i::before {
  font-size: 23px;
}

#enabled_filters ul li { 
line-height: 30px;
  font-size: 15px;
  color: #000;
  text-transform: none;
  text-decoration: underline;
}
/*
.layered_price {
  display: none !important;
}*/
/* Základ pre hlavičku filtra */
/* Základ pre hlavičku filtra */
.layered_subtitle_heading {
  position: relative;
  padding-right: 20px;
  cursor: pointer;
  height: 40px;
  width: auto;
  margin: 0px 7px 0px 0px;
  padding: 6px 21px 7px 5px;
}



/* (1) Vždy rovnaký kód FontAwesome, napr. chevron-down (\f078) */
.layered_subtitle_heading::after {
  content: "\f078";
  font-family: "FontAwesome";
  position: absolute;
  right: 0;
  top: 50%;
  color: #fc0784;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;  /* tu prebehne animácia */
}

/* (2) Keď je trieda active-header-filter, tak šípku pootočíme o 180° */
.layered_subtitle_heading.active-header-filter::after {
  transform: translateY(-50%) rotate(180deg);
  color: #fc0784;
  margin-right: 2px;
}


@media (max-width: 767px)   {
  .layered_subtitle_heading {
    position: relative;
    padding-right: 20px;
    cursor: pointer;
    height: 40px;
    width: auto;
    margin: 0px 7px 0px 0px;
    padding: 6px 11px 7px 0px;
  }
  #center_column .layered_filter{
    padding: 4px 5px 7px 5px
  }
}


/**/
/* Overlay, ktorý prekryje celú stránku */

#overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
z-index: 88;
pointer-events: auto;
}
/* Filter, aby bol nad overlayom */
#layered_block_left {
position: relative;         /* alebo absolute/fixed, podľa layoutu */
z-index: 89;              /* vyšší než overlay */
/* prípadne pointer-events: auto, aby bol klikateľný nad overlayom */
}

/* Ak potrebujete, aby iné prvky (napr. hlavička) boli ešte nad overlay,
 *   dajte im z-index > 9990 alebo znížte overlay, podľa potreby. */



/**/
/* Základný štýl labelu – box */
#layered_form li label {
display: inline-block;
padding: 8px 12px;
margin: 4px;
border: 2px solid #ccc;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
background-color: #fff;
color: #333;
}


/* Voliteľné: hover efekt */
#layered_form li label:hover {
background-color: #f2f2f2;
}
/* Základný štýl labelu (štýlujte podľa vlastných predstáv) */
#layered_form li label {
display: inline-block;
padding: 8px 12px;
margin: 4px;
border: 2px solid #ccc;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
}

/* Keď je checkbox zaškrtnutý – label má triedu .selected */
#layered_form li label.selected {
  border: 2px solid #fc0784;
  box-shadow: 0 0 5px #fc0784;
  color: #fc0784;
}


.btn-confirm-filter,
.btn-reset-filter {
  padding: 6px 10px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-confirm-filter {
  background-color: #e91e63;
  color: white;
}

.btn-reset-filter {
  background-color: #f1f1f1;
  color: #333;
}
.filter-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
.filter-actions button {
  font-family: "Open Sans";
}

input.color-option.selected {
  border: 2px solid hotpink;
  box-shadow: 0 0 0 2px white, 0 0 0 4px hotpink;
  border-radius: 50%;
}
.color-option.selected {
  outline: 2px solid #e91e63; /* ružová */
  border-radius: 4px;
}
#layered_form input[type=button].selected {
border: 2px solid hotpink;
box-shadow: 0 0 5px hotpink;
}
.color-option.on,
.layered_color.on,
.layered_color.on{
  border: 2px solid #fc0784 !important;
  box-shadow: 0 0 5px #fc0784;
}


/**/
/* Wrapper okolo UL - pevná výška + scroll */
.filter-wrapper {

  max-height: 250px;
  overflow-y: auto;
  padding-bottom: 50px; /* miesto pre tlačidlá */
}

/* Sticky tlačidlá dolu */
.filter-actions-sticky {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #ddd;
  backdrop-filter: blur(4px);
  background: white;
  padding: 8px 10px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Štýly samotných tlačidiel */
.filter-actions-sticky button {
  flex: 1;
  padding: 6px 10px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Open Sans";
}
.filter-actions-sticky .btn-confirm-filter {
  background-color: #e91e63;
  color: white;
}
.filter-actions-sticky .btn-reset-filter {
  background-color: #f1f1f1;
  color: #333;
}

div.active-header-filter {
  background: #f7f8fc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
