.filters_bar_btn {
    align-items: center;
    justify-content: center;
}

.content-reverse {
    flex-direction: row-reverse;
}

/*banner start*/

.catalog-banner-section {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.catalog-banner-container {
    overflow: hidden;
    width: 100%;
}

.wrapperper {
    display: flex;
    transition: all 0.4s ease;
    position: relative;
}

.catalog-banner-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.catalog-banner-item {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* --- hover ефект --- */
.catalog-banner-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.catalog-banner-item:hover img {
    transform: scale(1.02);
    opacity: 0.92;
}

.catalog-banner-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    border-radius: inherit;
}

.catalog-banner-item:hover::after {
    background: rgba(0,0,0,0.15);
}
/* --- кінець hover ефекту --- */

/* Кнопки */
.catalog-banner-prev,
.catalog-banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
}

.catalog-banner-prev { left: 10px; }
.catalog-banner-next { right: 10px; }

.catalog-banner-prev:hover,
.catalog-banner-next:hover {
    background: rgba(0,0,0,0.65);
}

/* Стрілочки */
.catalog-banner-prev::after,
.catalog-banner-next::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform-origin: center center;
}

.catalog-banner-prev::after {
    transform: translate(-40%, -50%) rotate(-135deg);
}

.catalog-banner-next::after {
    transform: translate(-60%, -50%) rotate(45deg);
}

.btn-hidden {
    opacity: 0;
    pointer-events: none;
}

/*banner end*/



.category-filter-title {
    margin-bottom: 15px;
}





/* 40x40 swatch */
.shop-widget-list-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-widget-list-bullets li {
    margin: 0;
}

.shop-widget-list-bullets .checked-filter {
    border: 3px var(--primary) solid;
}

.vf-swatch{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.15);
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;

  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  position: relative;
}

/* image in swatch */
.vf-swatch img{
  width: 40px;
  height:40px;
  object-fit:cover;
  display:block;
}

/* hover zoom */
.custom_filter_value:hover .vf-swatch{
  transform: scale(1.12);
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

.custom_filter_value:hover .bullet-placeholder {
    opacity: 1;
}

/* optional: little gap between swatch and count */
.shop-widget-content{
  display:flex;
  align-items:center;
  gap:10px;
  position: relative;
}

/* screen-reader only text */
.bullet-placeholder {
    position: absolute;
    background: white;
    z-index: 100;
    left: 0;
    top: 50px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}



@media (min-width: 992px) {
    .filters_bar_btn {
        display: none !important;
    }

    .filter_icon {
        display: none;
    }


    .filters_bg {
        display: none;
    }
}


@media (max-width: 992px) {
    .filter_icon {
        position: fixed;
        right: 20px;
        width: 42px;
        height: 42px;
        bottom: 120px;
        border-radius: 100%;
        background-color: var(--primary);
        z-index: 98;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .exit_icon {
        opacity: 1;
        background-color: var(--body);
        position: absolute;
        right: calc(80% + 15px);
        bottom: 60px;
        width: 40px;
        height: 40px;
        border-radius: 100%;
    }


    .filters_bar {
        position: fixed;
        top: 0;
        z-index: 100;
        right: -80%;
        width: 80%;
        background: var(--body);
        overflow-y: scroll;
        height: 100vh;
        transition: var(--transition);
    }

    .filters_bar_active {
        right: 0;
    }

    .filters_bg {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: #000;
        opacity: 0.7;
        z-index: 99;
        top: 0;
        left: 0;
        display: none;
    }

    .top-filter {
        justify-content: space-between;
        -webkit-box-pack: justify;
        flex-direction: column;
        gap: 15px;
    }

    .top-filter > div {
        width: 100%;
    }

    .filters_bar_btn {
        padding: 8px 32px;
        text-transform: capitalize;
        display: flex;
        gap: 8px;
    }


    .filters_bar_btn_active {
        background-color: var(--primary);
        color: var(--body) !important;
    }

    .filters_bar_btn_active path {
        fill: var(--body) !important;
    }
}