section.category_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}


.banner-cont.hs-prim {
    margin-bottom: 30px;
}


article.card {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 15px;
    overflow: hidden;
    position: relative;
    transition: box-shadow .2s ease-in-out;
    display: grid;
}

article.card:hover {
box-shadow: 0 2px 5px 3px #e1e1e1;
}


button.btn-remove-wishlist {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: unset;
}

.btn-remove-wishlist svg {
    width: 25px;
    height: 25px;
    cursor: pointer;
    color: #676968;
    fill: currentColor;
}

.btn-remove-wishlist svg:hover {
    color: #df7e12;
}



button.btn.btn-primary {
    background: #df7e12;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
    position: absolute;
    bottom: 10px;
    right: -80px;
    transition: right .2s ease-in-out;
}

article.card:hover button.btn.btn-primary {
    right: 10px;
}

button.btn.btn-primary:hover {
    background: #d84f19 ;
}

.card__actions {
    width: 50px;
}

.grid_2_columns {
    display: grid;
    grid-template-columns: auto calc(100% - 280px);
    gap: 20px;
}

label.filter_item {
    width: 100%;
    display: flex;
    font-size: 0.9rem;
    line-height: 2;
    gap: 5px;
}

a.active_filter_item {
    display: flex;
}

span.active_filter_remove {
    margin-left: auto;
    color: #d84f19;
}

a.btn.btn-link.filter_clear_all {
    width: 100%;
    display: block;
    text-align: right;
    color: #d84f19;
}

.filter_block a {
    text-decoration: none;
}

.filter_title {
    font-weight: 500;
    color: #df7e12;
    width: 100%;
}

.filter_block .f_cont {
    max-height: 200px;
    overflow: auto;
    transition: max-height .2s ease-in-out;
    margin-top: 5px;

}

.toolbar_right select {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 3px 5px;
}

.category_toolbar {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 12px;
    width: -webkit-fill-available;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.9rem;
    align-items: center;
}

/* контейнер */
.dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* бутон */
.dropdown_btn{
    height:30px;
    padding:0 12px;
    border:1px solid #ebebeb;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background:#fff;
    cursor:pointer;
}

/* менюто – скрито по подразбиране */
.dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: #fff;
    border: 1px solid #ebebeb;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    z-index: 50;
}

/* показване при hover или focus */
.dropdown:hover .dropdown_menu,
.dropdown:focus-within .dropdown_menu{
    display:block;
}

/* линкове */
.dropdown_menu a{
    display:block;
    padding:8px 12px;
    text-decoration:none;
    white-space:nowrap;
}

.dropdown_menu a:hover{
    background:#f5f5f5;
}

.dropdown_menu a.active{
    font-weight:700;
    background:#f0f0f0;
}




a.card__name {
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    color: #282828;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: fit-content;
}


a.card__img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
}





.bye_area {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.card__price {
    display: grid;
    align-items: end;
    text-align: left;
    margin-top: 10px;
    min-height: 30px;
}


.card__price {
    font-size: 1.2rem;
}

.from_price {
    font-size: 1rem;
}

.card__price sup {
    font-size: 75%;
}



nav.pager {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 12px;
    width: -webkit-fill-available;
    margin-top: 10px;
    text-align: right;
}

.filter_block {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 15px 15px 10px 15px;
    width: -webkit-fill-available;
    margin-bottom: 5px;
  
}

span.pg.active {
    font-size: 1.2rem;
    font-weight: 700;
    color: #df7e12;
    width: 25px;
    display: inline-block;
    text-align: center;
}


a.pg {
    text-decoration: none;
    color: #282828;
    padding: 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    min-width: 15px;;
    display: inline-block;
    text-align: center;
    border: 1px solid #ebebeb;
}

span.pg.arrow.disabled {
    display: none;
}


button.btn.btn-primary.btn_buy svg {
    cursor: pointer;
    width: 20px;
    height: 20px;
    color: #fff;
    fill: currentColor;
}


button.filter_open, button.filter_open svg {
display: none;
}



.filter_title_btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:transparent;
  border:0;
  padding:8px 0;
  cursor:pointer;
  text-align:left;
}

/* header ред */
.filter_title_row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


button.cat_toggle.facet_togglee {
  position: absolute;
  right: 6px;
  top: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.disc_label {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 45px;
    width: 45px;
}

.disc_label div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d84f19;
    font-weight: 700;
    line-height: 1;
}


/* затворено */
.filter_block.facet_block.is-collapsed .facet_body {
  max-height: 0px;
}

/* въртене на стрелката (ако вече имаш :before / background) */
.filter_block.facet_block:not(.is-collapsed) .facet_toggle::before {
  transform: rotate(225deg);



}
button.cat_toggle.facet_toggle {
    border: none;
    background: transparent;
}

    button.cat_toggle.facet_toggle::before {
        content: "";
        width: 10px;
        height: 10px;
        border-right: 2px solid #676968;
        border-bottom: 2px solid #676968;
        transform: rotate(45deg);
        transition: transform .2s ease;
        display: block;
        position: absolute;
        right: 0;
        top: 5px;
      
    }


    .m_filter_title {
    display: none;
}


button.cat_toggle.facet_toggle {
    display: block;
    cursor: pointer;
    position: absolute;
    width: 100%;
    height: 30px;
}


section.category_description {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 12px;
    width: -webkit-fill-available;
    margin-top: 30px;
}


.category_description {
  position: relative;
  margin: 28px 0 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.category_description_inner {
  line-height: 1.65;
  color: #222;
}

.category_description_inner p {
  margin: 0 0 12px;
}

.category_description_inner p:last-child {
  margin-bottom: 0;
}

.category_description_inner h2,
.category_description_inner h3,
.category_description_inner h4 {
  margin: 0 0 12px;
  line-height: 1.3;
}

.category_description_inner ul,
.category_description_inner ol {
  margin: 0 0 12px 22px;
  padding: 0;
}

.category_description_inner img {
  max-width: 100%;
  height: auto;
}

.category_description.is-collapsed .category_description_inner {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

.category_description.is-collapsed .category_description_inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 80%);
}

.category_description_toggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #df7e12;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.category_description_toggle .arrow {
  transition: transform .2s ease;
}

.category_description:not(.is-collapsed) .category_description_toggle .arrow {
  transform: rotate(180deg);
}

@media only screen and (min-width: 1200px){

section.category_grid {
      grid-template-columns: repeat(4, 1fr);
}
}



@media only screen and (max-width: 1200px){


}


@media only screen and (max-width: 992px){

    
}


@media only screen and (min-width: 725px){
button.btn.btn-primary {
    height: 35px;
    width: 50px;
}
    
}


@media only screen and (max-width: 724px){


.grid_2_columns  {
    grid-template-columns: none;
}

section.category_grid {
    gap: 5px;
}

.toolbar_count {
    display: none;
}


button.filter_open {
    border: none;
    background: transparent;
}

button.filter_open svg {
    width: 20px;
    height: 20px;
    color: #676968;
    fill: currentColor;
    display: block;
}


button.filter_open, button.filter_open svg {
    display: block;
}


button.btn.btn-primary {right: 10px;}

article.card {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.filter_area {
    position: fixed;
    top: 0;
    background: #f7f7f7;
    width: 100%;
    z-index: 999;
    box-sizing: border-box;
    left: 0;
    height: 100vh;
    overflow: auto;
    padding: 5px;
    transition: left .2s ease-in-out;
}




    .filter_area.is-hidden {
        left: -100%;
    }

button.c_close.sum {
    background: transparent;
    border: none;
}

.m_filter_title {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    color: #df7e12;
    font-weight: 500;
    padding: 10px;
}



button.btn.btn-primary {
    height: 30px;
    width: 45px;
}

}