.breadcrumbs{
	margin: 0;
    background: #f6f7f9;
}

.category-filter-mobile{
	display: none;
}

.swal2-cancel.btn.btn-secondary{
    border: none;
    background: #f1f1f1;
    color: #222;
    border-radius: 12px;
    padding: 12px 20px;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
}

.swal2-confirm.btn.btn-success{
    border: none;
    background: var(--main-blue);
    color: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    font-family: 'Gilroy';
    font-weight: 500;
    font-size: 16px;
     cursor: pointer;
     margin: 0 5px;
}

.breadcrumbs ul{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	list-style: none;
	column-gap: 10px;
	height: 50px;
	padding:0;
	margin:0;
}

.breadcrumbs-mobile{
	display: none;
}

.breadcrumbs ul li{
	position: relative;
	padding-right: 26px;
}

.breadcrumbs ul li a{
	color:#2f2f2f;
	display: block;
	text-decoration: none;
}

.breadcrumbs ul li span{
	color: var(--main-blue);
}

.breadcrumbs ul li:after{
	content: "";
	width:12px;
	height: 12px;
	background: url('../img/arrow-down-bold.svg');
	background-size: 100%;
	display: block;
	position: absolute;
	right: 3px;
	transform: rotate(-90deg);
	top: 3px;
}

.breadcrumbs ul li:last-child:after{
	display: none;
}

.category-header h1{
	margin:0;
	padding: 20px 0;
	font-size: 28px;
	font-weight: 600;
}

.category-filter-top{
	position: relative;
	padding:10px 0;
	background:#fff;
}

.fake-filter-select{
	width: 300px;
}

.fake-filter-select a{
	height: 70px;
	border: 1px solid #ccc;
	border-radius: 10px;
	width: 100%;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	position: relative;
	text-decoration: none;
}

.category-filter-top .fake-filter-select a {
height: 70px;
    border: 2px solid #c1d1e5;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    background: white;
}

.category-filter-top .fake-filter-select a .ffs-label
{
    color: #2f2f2f;
}

.category-filter-top .ffs-input::placeholder{
    color:#3f3f3f;
}

.fake-filter-select a .ffs-label{
	color:#666;
	font-size: 16px;
	padding: 10px 20px 0;
}

.fake-filter-select a .ffs-current-value{
	color:#333;
	font-size: 22px;
	padding:0 20px;
}

.fake-filter-select a .ffs-arrow-down{
position: absolute;
    right: 20px;
    top: 24px;
    width: 20px;
    height: 20px;
    background: url(../img/arrow-down-bold.svg);
    background-size: 100%;
    display: block;
}

.cft-label {
	    position: absolute;
    top: -23px;
    left: 0;
    background: var(--main-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
}

.category-filter-top .container-inner{
	position: relative;
}

.ctf-left{
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	column-gap: 20px;
}

.ctfrb-content a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f1f1;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    padding: 14px 15px;
    gap: 8px;
}

.ctfrb-content a img{
	width: 16px;
}

.ctfrb-title{
	    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ctf-content{
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.ctf-right{
	flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    column-gap: 20px;
}

.x3{
	display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 2px;
    height: 20px;
}

.x1{
	width: 6px;
	height: 16px;
	border-radius: 4px;
	background: var(--main-blue);
}

.ctf-right-block-15{
	flex:0 0 15%;
}

.category-content{
    flex: 1 1 auto;
}

.category-full{
    width:100%;
}

.category-grid{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	column-gap: 30px;
	row-gap: 30px;
	flex-wrap: wrap;
}

.cg{
	margin: 50px 0;
}

.cg-inner{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
    gap: 30px;
}

.category-filter{
    flex: 0 0 320px;
    max-width: 320px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f1f1f1;
}

.cf-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 20px;
    padding: 25px;
    border-bottom: 2px solid #f1f1f1;
}

@media(max-width: 1024px) {
    .cf-title {
        position: sticky;
        top: 0;
        background: white;
        z-index: 5;
    }
}

.cf-title img{
	width: 24px;
}

.cf-title  span{
	font-size: 20px;
	font-weight: 500;
}

.cf-block .cf-block-title a img{
	width: 18px;
	transform: rotate(-90deg);

}

.cf-block.open .cf-block-title a img{
	transform: rotate(0deg);
}

.cf-block-title{
	margin-bottom: 20px;
}

.cf-block-title a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
    line-height: 16px;
	font-weight: 600;
	text-decoration: none;
	color: #3f3f3f;
}

.cf-checkbox{
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	column-gap: 13px;
	margin-bottom: 15px;
	text-decoration: none;
	color:#3f3f3f;
}

.cf-checkbox input{
	display: none;
}

.checkbox__item {
    min-width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid #dedede;
    background: white;
    margin-top: -2px;
    position: relative;
}

.checked .checkbox__item{
    background: var(--main-blue);
    border:1px solid var(--main-blue);
}

.cf-block-title {
    margin-bottom: 0;
    padding: 25px 14px;
}

.cf-checkbox.checked{
    color: var(--main-blue);
}

.cf-block{
	border-bottom: 2px solid #f1f1f1;
}

.cf-block:last-child{
	border:none;
}

.cf-block-content{
	display: none;
}

.cf-block-content.open{
	display: block;
	padding: 5px 25px 20px;
}

.checkbox__title {
    font-size: 16px;
    font-weight: 400;
}

@media(max-width: 1700px){
	.fake-filter-select {
	    width: 250px;
	}

	.ctf-right {
    flex: 0 0 30%;
    display: flex;
    justify-content: flex-end;
    column-gap: 20px;
}

.ctf-right-block-15 {
    flex: 0 0 20%;
}

}

@media(max-width: 1240px){
	    .fake-filter-select {
        width: 170px;
    }

    .ctf-right{
    	flex: 0 0 39%;
    }
}

@media(max-width: 1024px){
	.ctf-right{
		display: none;
	}

	.fake-filter-select {
        width: 32%;
    }

    .ctf-left {
    padding: 10px 0;
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    column-gap: 20px;
    width: 100%;
    flex: 0 0 100%;
}

.cg-inner{
	flex-direction: column;
}

.category-filter {
    flex: 0 0 100%;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f1f1f1;
    width: 100%;
    display: none;
}

.category-filter-mobile{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;

}

    .category-filter-mobile a.open-filter {
        display: flex
;
        align-items: center;
        justify-content: space-between;
        background: #3076d5;
        border-radius: 8px;
        padding: 14px 24px;
        width: calc(100% - 48px);
        color: white;
        text-decoration: none;
        font-size: 20px;
    }

.category-filter-mobile a img{
	width: 24px;
}

.sort-button{
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 10px;
	text-decoration: none;
	color:#2f2f2f;
}

.view-button{
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 10px;
	text-decoration: none;
	color:#2f2f2f;
	font-size: 18px;
}

.sort-view{
	display: flex
;
    align-items: center;
    justify-content: flex-end;
    column-gap: 20px;
    font-size: 18px;
}

.sort-button img{
	width: 28px;
}

.view-button img{
	width: 28px;
}

    .category-filter-mobile a.open-filter {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #3076d5;
        border-radius: 8px;
        padding: 14px 16px;
        width: 280px;
        color: white;
        text-decoration: none;
        font-size: 20px;
    }

        .category-filter-mobile > a  > img {
        width: 24px;
        filter: contrast(100) invert(1) grayscale(1);
    }

}

.product-one__image img{
    width: 100%;
}

@media(max-width: 1700px){
	.product-one__itemGrid4 {
	    flex: 0 0 calc(23.5% - 60px);
	    width: 24.6%;
	}

	.product-one__image img{
		width: 100%;
	}

	    .product-one__codeReview {
        flex-direction: column;
        align-items: flex-start;
    }

       .product-one__reviewsCount {
        margin-top: 8px;
        font-size: 16px;
        column-gap: 10px;
    }

    .product-one__priceBuy{
    	flex-direction: column;
        align-items: flex-start;
    }

    .product-one__addToCart{
    	margin-top: 15px;
    	width: 100%;
    }

        .product-one__itemGrid4 {
        flex: 0 0 calc(30.9% - 60px);
        width: 33.6%;
    }

    .product-one__cartButton{
    	width: calc( 100% - 40px );

    }
}

@media(max-width: 1480px){
	    .product-one__itemGrid4 {
        flex: 0 0 calc(47.7% - 60px);
        width: 36.6%;
    }
}

@media(max-width: 1240px){
	    .product-one__itemGrid4 {
        flex: 0 0 calc(46.7% - 60px);
        width: 36.6%;
    }
}

@media(max-width: 1024px){
	.category-grid{width: 100%;margin: 0;}
	.product-one__itemGrid4 {
        flex: 0 0 calc(47.5% - 60px);
        width: 36.6%;
    }
    .category-filter-mobile a.open-filter{width: 304px;}

    .cg-inner {
        gap: 0px;
    }

    .sort-view { 
        margin: 30px 0 20px 0;
    }
     .cg{
		margin: 25px 0;
	}
}

@media(max-width: 767px){
	.category-filter-mobile a.open-filter{
		width: 40%;
	}

	    .product-one__itemGrid4 {
        flex: 0 0 calc(47.4% - 60px);
        width: 36.6%;
    }

    .category-grid{
    	column-gap: 0px;
    	justify-content: space-between;
    }

	
}

@media(max-width: 500px){
	    .category-filter-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        flex-direction: column;
    }

        .category-filter-mobile a.open-filter {
        width: 100%;
    }

        .sort-view {
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 20px;
        font-size: 18px;
        width: 100%;
    }

        .ctf-left {
        padding: 10px 0;
        display: flex
;
        align-items: flex-start;
        justify-content: flex-start;
        column-gap: 20px;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
    }

        .fake-filter-select {
        width: 100%;
    }

    .fake-filter-select a{
    	height: 60px;
    }

    .fake-filter-select{
    	margin-bottom: 12px;
    }

    .fake-filter-select a .ffs-arrow-down{
    top:20px;
    }

    .category-header h1 {
    margin: 0;
    padding: 20px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 22px;
	}

	.breadcrumbs{
		display: none;
	}

	.breadcrumbs-mobile{
		display: block;
	}

	.breadcrumbs-mobile ul{
		padding: 0;
	}

	.breadcrumbs-mobile ul li {
		list-style: none;
	}

	    .breadcrumbs-mobile ul li a {
        display: flex;
        column-gap: 15px;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        color: #2f2f2f;
        padding: 14px;
        border-radius: 8px;
        background: #f1f1f1;
    }

	.breadcrumbs-mobile ul li a img{
		width: 14px;
		transform: rotate(-270deg);
	}

	    .header-mid__search {
        position: relative;
        width: 100%;
        margin-left: 0;
    }
	.ctf-left .fake-filter-select{
		display: none;
	}

	.ctf-left .fake-filter-select.active{
		display: flex;
	}
	    .product-one__itemGrid4 {
        flex: 0 0 31%;
        width: 31%;
    }

    .product-one__code{
    	background: none;
    	padding:0;
    }
	
	.product-one__name {
    font-size: 16px;
    margin: 30px 0 10px;
    font-weight: 500;
    line-height: 16px;
}

.product-one__reviewsCount{
	display: none;
}

.product-one__priceValue {
    font-size: 24px;
}

.product-one__cartButton img{
	display: none;
}

    .product-one__cartButton {
        width: calc(100% - 40px);
        justify-content: center;
        height: 44px;
    }

    .category-grid{
    	row-gap: 15px;
    }
	   
}

@media(max-width: 380px){
	 .product-one__itemGrid4 {
        flex: 0 0 calc(100% - 66px);
        width: 100%;
    }

}

.categories-grid-inner{
    display: flex;
    align-content: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 50px 0;
    gap: 18px;
}

.category-grid-item {
    flex: 0 0 calc(20% - 18px * 4 / 5);
}

@media(max-width: 1240px){
    .category-grid-item{
        flex: 0 0 calc(25% - 18px * 3 / 4);
    }
}

@media(max-width: 900px){
    .category-grid-item{
        flex: 0 0 calc(33.333% - 18px * 2 / 3);
    }
}

@media(max-width: 600px){
    .category-grid-item{
        flex: 0 0 calc(50% - 18px / 2);
    }
}

@media(max-width: 400px){
    
}

.category-grid-item a{
    border-radius: 12px;
    border:1px solid #f1f1f1;
    padding: 15px;
    text-decoration: none;
    display: flex;
    align-content: center;
    justify-content: flex-start;
    flex-direction: column;
    transition: all .3s ease-in-out;
    height: 100%;
    box-sizing: border-box;
}

.category-grid-item a img{
    width:100%;
    height:100%;
    object-fit: contain;
}

.category-grid-item a span{
    font-size: 20px;
    font-weight: 500;
    color: #222;
    min-height: 50px;
    padding: 15px;
    display: flex;
    align-items: flex-end;
    margin-top: auto;
}

.category-grid-item a figure{
    position: relative;
    overflow:hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.category-grid-item a:hover span{
    color:var(--main-blue);
}

.category-grid-item a:hover{
    border: 1px solid var(--main-blue);
}

.category-grid-item a:hover img{
    transform: scale(1.05);
}

.product-one__image figure{
    position: relative;
    width:100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    height: auto;
    display: flex;
    align-content: center;
    justify-content: center;
    overflow:hidden;
    padding: 0;
    margin:0 auto;
    border-radius: 12px;
}

.cg .product-one__like {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 10px;
    font-size: 18px;
    text-decoration: none;
    position: absolute;
    right: 15px;
    top: 25px;
    color: #222;
    background: #ffffffd9;
    z-index: 100;
    border-radius: 12px;
    padding: 5px 10px;
}

/* Pagination - custom */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center; /* or flex-start / flex-end */
  margin: 1.2rem 0;
  padding-left: 0;
  list-style: none;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-size: 14px;
}

/* page item spacing / shape */
.pagination .page-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

/* link base */
.pagination .page-link {
  display: inline-block;
  padding: 8px 12px;
  min-width: 24px;
  text-align: center;
  color: #374151;              /* text color */
  background: none;         /* bg */
  border: 1px solid #ccc;   /* light border */
  transition: all 0.12s ease;
  text-decoration: none;
  border-radius: 10px;
}

/* hover / focus */
.pagination .page-link:hover,
.pagination .page-link:focus {
  transform: scale(1.1);
  text-decoration: none;
  border:1px solid #c1c1c1;
  background: var(--light-blue);
}

/* active page */
.pagination .active .page-link {
  background: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
  font-weight: 600;
  
  transform: none;
}

/* disabled */
.pagination .disabled .page-link {
  color: #9aa3b2;
  background: #f8fafc;
  pointer-events: none;
  border-color: #f1f5f9;
}

/* smaller / compact variant */
.pagination.pagination-sm .page-link {
  padding: 6px 9px;
  font-size: 13px;
  min-width: 34px;
}

/* larger variant */
.pagination.pagination-lg .page-link {
  padding: 10px 14px;
  font-size: 15px;
  min-width: 46px;
}

/* responsive wrap */
@media (max-width: 480px) {
  .pagination {
    gap: 6px;
    font-size: 13px;
  }
  .pagination .page-link { padding: 6px 8px; min-width: 30px; }
}

.search-by-auto .category-inner {
        flex: 0 0 calc(100% - 420px);
}

.no-products-message{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    border-radius: 20px;
    background: #f2f2f2;
}

.no-products-message .npm-image > img{
    width: 200px;
    opacity: .9;
    margin-bottom: 50px;
}

.no-products-message .npm-image span{
    font-size: 20px;
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
}

.no-products-message .npm-image{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.no-products-message .npm-image .htm__content{
    margin: 30px 0;
}

.no-products-message .npm-image .htm__content img{
    width: 50px;
}

.checkout-success .no-products-message{
    margin: 50px 0;
}

.ntt .order-id{
    font-size: 26px;
    color: var(--main-blue);
    font-weight: 500;
}

.ntt p{
    font-size: 18px;
    line-height: 20px;
}

.ntt .order-text{
    width: 60%;
    margin: 0 auto;
    text-align: center;
}

.more-order-text{
    color: var(--main-blue);
    font-size: 18px;
    font-weight: 500;
    margin-top: 40px;
}

.no-products-message.ntt .npm-image > img {
    width: 170px;
    opacity: .9;
    margin-bottom: 50px;
}

.category-grid{
    align-items: flex-start;
}

.product-one__name {
    font-size: 20px;
    margin: 30px 0 10px;
    font-weight: 500;
    min-height: 110px;
}

.cf-block-content.open {
    display: block;
    padding: 5px 14px 20px;
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: 18px;
    margin-bottom: 6px;
}

.cf-block-content.open {
  scrollbar-width: thin;
  scrollbar-color: var(--main-blue) transparent;
}

/* For WebKit browsers */
.cf-block-content.open::-webkit-scrollbar {
  width: 8px;
}

.cf-block-content.open::-webkit-scrollbar-track {
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 4px,
    var(--main-blue) 4px,
    var(--main-blue) 6px
  );
  border-radius: 10px;
}

.cf-block-content.open::-webkit-scrollbar-thumb {
  background-color: var(--main-blue);
  border-radius: 10px;
}

.cf-checkbox.checked .checkbox__item::after,
.wf-check.checked .checkbox__item::after {
    content: "";
    position: absolute;
   left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sim-carousel .product-one__image figure{
    width: 100%;
    height: 240px;
}

.sim-carousel .product-one__image figure img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 4px 0 24px;
}

.catalog-loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .6);
    opacity: 0;
    transition: opacity .15s ease;
}

.catalog-loader.active {
    opacity: 1;
}

.catalog-loader__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #d7deea;
    border-top-color: var(--main-blue, #2563eb);
    border-radius: 50%;
    animation: catalogSpin .7s linear infinite;
}

@keyframes catalogSpin {
    to { transform: rotate(360deg); }
}

.active-filters__clear {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: #eef1f6;
    color: #2f2f2f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease;
}

.active-filters__clear:hover {
    background: #e2e6ee;
}

.active-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 8px 14px;
    border-radius: 8px;
    border: 1px solid #e2e6ee;
    background: #fff;
    color: #2f2f2f;
    font-size: 14px;
    text-decoration: none;
    transition: border-color .15s ease;
}

.active-filters__chip:hover {
    border-color: #c3ccdb;
}

.active-filters__chip i {
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    color: #98a2b3;
}

.active-filters__chip:hover i {
    color: #e02424;
}

.ctfrb-current-value {
    white-space: nowrap;
}

.ctfrb-content > a img {
    transition: transform .2s;
}

.ctfrb-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    margin: 0;
    padding: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    z-index: 111;
    list-style: none;
}

.ctfrb-dropdown li a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.wf-check {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 13px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #3f3f3f;
    cursor: pointer;
}

.wf-check.checked {
    color: var(--main-blue);
}

.wf-price-inputs {
    display: flex;
    gap: 10px;
}

.wf-price-inputs input {
    width: 100%;
    height: 42px;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 0 12px;
    font-family: 'Gilroy';
    font-size: 15px;
    box-sizing: border-box;
}

.wf-range {
    position: relative;
    height: 26px;
    margin: 4px 0 14px;
}

.wf-range::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e6ee;
    border-radius: 2px;
}

.wf-range-fill {
    position: absolute;
    top: 8px;
    height: 4px;
    background: var(--main-blue);
    border-radius: 2px;
}

.wf-range input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.wf-range input[type="range"]::-webkit-slider-runnable-track {
    background: none;
    height: 35px;
    border: none;
}

.wf-range input[type="range"]::-moz-range-track {
    background: none;
}

.wf-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--main-blue);
    cursor: pointer;
}

.wf-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--main-blue);
    cursor: pointer;
}

.viewed-carousel {
    margin-top: 80px;
}

.cf-content .category-filter-submit-container:not(:has(> a:not(.none))) {
    display: none;
}

.ctfrb-content { position: relative; display: inline-block; }

.x1{
    width: 4px;
}

.ctfrb-content > a img { transition: transform 0.2s; }
.ctfrb-content.open > a img { transform: rotate(180deg); }
.ctfrb-current-value{
    display: block;
    padding-right: 15px;
     display: flex;
    gap: 10px;
    align-items: center;
}
.ctfrb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  padding: 0;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 111;
}

.ctfrb-content.open .ctfrb-dropdown { display: block; }

.ctfrb-dropdown li { list-style: none; }
.ctfrb-dropdown li a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-radius: 0px;
  border-bottom: 1px solid #f0f0f0;
}
.ctfrb-dropdown li:last-child a { border-bottom: none; }
.ctfrb-dropdown li a:hover { background: #f7f7f7; }
.ctfrb-dropdown li.active a { font-weight: 500; color: #1a6fe8; }

.check { display: none; margin-left: auto; }
.ctfrb-dropdown li.active .check { display: inline; }

.priceview .product-one__priceBuy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 4px;
    margin-top: auto;
}

.priceview .product-one__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.priceview .product-one__priceTitle {
    font-size: 12px;
    color: #888;
    line-height: 1;
}

.priceview .product-one__priceValue {
    font-size: 26px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
}

.priceview .product-one__priceValue .currency {
    font-size: 16px;
    font-weight: 400;
    color: #444;
}

.priceview .product-one__addToCart {
    flex-shrink: 0;
}

.priceview .product-one__cartButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a6fe8;
    color: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
    height: 30px;
}

.priceview .product-one__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100px;
}

.priceview .product-one__cartButton:hover {
    background: #1559c4;
}

.priceview .product-one__cartButton img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

#ctfrb-grid-wrap .ctfrb-dropdown li a {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

#ctfrb-grid-wrap .ctfrb-dropdown li.priceview a {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.grid-icon {
    display: grid;
    gap: 2px;
    width: 28px;
    height: 20px;
    flex-shrink: 0;
}

.grid-icon.x3 {
    grid-template-columns: repeat(3, 5px);
}
.grid-icon.x4 { grid-template-columns: repeat(4, 1fr); }

.grid-icon .x1 {
    background: #aaa;
    border-radius: 2px;
    height: 100%;
}

.grid-icon.pv {
    display: flex;
    gap: 3px;
    align-items: stretch;
}

.grid-icon.pv .pv-img {
    width: 20px;
    background: #aaa;
    border-radius: 2px;
    flex-shrink: 0;
}

.grid-icon.pv .pv-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    flex: 1;
}

.grid-icon.pv .pv-line {
    height: 3px;
    background: #aaa;
    border-radius: 1px;
}

.grid-icon.pv .pv-line.short {
    width: 60%;
}

.grid-icon.pv .pv-price {
    height: 4px;
    background: #1a6fe8;
    border-radius: 1px;
    width: 70%;
    margin-top: 1px;
}

#ctfrb-grid-wrap .ctfrb-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-icon{
    gap: 3px;
}

.x3.rotated{
    transform: rotate(90deg);
}

.x3.rotated .x1{
    width: 4px;
}

.grid-icon.rotated{
    width: 19px;
    margin-right: 10px;
}

.category-grid.priceview {
    flex-direction: column;
    column-gap: 0;
    row-gap: 12px;
}

.category-grid.priceview .product-one__item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    gap: 20px;
}

.category-grid.priceview .product-one__image {
    flex: 0 0 120px;
    width: 120px;
}

.category-grid.priceview .product-one__image figure,
.category-grid.priceview .product-one__image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0;
}

.category-grid.priceview .product-one__likeButton {
    position: relative;
    top: auto;
    right: auto;
    order:99;
}

.category-grid.priceview .product-one__link {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.category-grid.priceview .product-one__name {
    font-size: 15px;
    flex: 1;
    min-width: 0;
}

.category-grid.priceview .product-one__codeReview {
    margin-top: 6px;
    margin-right: 20px;
}

.priceview .category-grid.priceview .product-one__likeButton{
        position: relative;
    top: auto;
    right: auto;
    order: 99;
}

.priceview .product-one__like {
    top: 0;
    right: 0;
    position: relative;
    order: 99;
    display: flex;
}

.product-one__like:hover {
    background: #3076d5d6;
    color: white;
}

.priceview .product-one__name{
    margin:0;
}

.priceview .product-one__image{
    justify-content: flex-start;
    align-items: flex-start;
}

.priceview .product-one__name{
    min-height: auto;
}

.category-grid.priceview .product-one__priceBuy {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.category-grid.priceview .product-one__priceValue {
    font-size: 22px;
}

.category-filter-submit-container {
    position: sticky;
    bottom: 0px;
    border-top: 1px solid #e1d5d599;
    background: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
}

.category-filter-submit {
    margin: 0;
    flex: 1 1 auto;
    text-align: center;
    color: white;
    height: 46px;
    min-width: 0;
    box-sizing: border-box;
    background: var(--main-blue, #3076d5);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.category-filter-submit:hover {
    background: var(--main-blue-hover);
}

.category-filter-clear-x {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    background: #e03939;
    color: #fff;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s;
}

.category-filter-clear-x:not(.none) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-filter-clear-x svg {
    width: 20px;
    height: 20px;
}

.category-filter-clear-x:hover {
    background: #c62f2f;
}

.category-filter-submit-container:not(:has(> .category-filter-submit:not(.none))) .category-filter-clear-x:not(.none) {
    flex: 1 1 auto;
    width: 100%;
}

@media (min-width: 1025px) {
    .category-filter-clear-x {
        display: none !important;
    }
    .cf-content .category-filter-submit-container:not(:has(> .category-filter-submit:not(.none))) {
        display: none;
    }
}

.none {
    display: none;
}

.catalog-loader__filter {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}
.catalog-loader__filter .catalog-loader__spinner {
    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
}

.kuzov{
    position: absolute;
    left: 30px;
    top: 30px;
    z-index: 100;
    background: #1A212B;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 500;
}

/* Subcategory nav slider on category pages (markup only; backend fills items) */
.subcat-nav {
    padding: 20px 0 4px;
}
.subcat-nav__slider.owl-carousel {
    position: relative;
}
.subcat-nav__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    color: #2f2f2f;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 12px 8px;
    height: 100%;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.subcat-nav__card:hover {
    border-color: var(--main-blue);
    box-shadow: 0 6px 16px rgba(48, 118, 213, .08);
}
.subcat-nav__card figure {
    margin: 0 0 8px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.subcat-nav__card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.subcat-nav__card span {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    overflow-wrap: anywhere;
    hyphens: auto;
}

@media (max-width: 767px) {
    .subcat-nav__card {
        padding: 10px 6px;
    }

    .subcat-nav__card figure {
        width: 54px;
        height: 54px;
        margin: 0 0 6px;
    }

    .subcat-nav__card span {
        font-size: 14px;
        line-height: 1.25;
    }
}
@media (min-width: 768px) {
    .subcat-nav__card {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        text-align: left;
        padding: 14px 16px;
    }

    .subcat-nav__card figure {
        margin: 0;
        width: 78px;
        height: 78px;
    }

    .subcat-nav__card span {
        font-size: 16px;
    }
}
.subcat-nav__slider.owl-carousel .owl-item {
    display: flex;
}
.subcat-nav__slider.owl-carousel .owl-item .subcat-nav__card {
    width: 100%;
}
.subcat-nav__slider.owl-carousel .owl-nav button.owl-prev {
    left: -6px;
}
.subcat-nav__slider.owl-carousel .owl-nav button.owl-next {
    right: -6px;
}
.subcat-nav__slider.owl-carousel .owl-nav button.disabled {
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 1024px) {
    .subcat-nav__slider.owl-carousel .owl-nav {
        display: none;
    }
}

/* Підкатегорії: нативна прокрутка зі снапом */
.subcat-nav__scroller {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-left: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: #cdd5e0 transparent;
}

.subcat-nav__scroller::-webkit-scrollbar {
    height: 6px;
}

.subcat-nav__scroller::-webkit-scrollbar-thumb {
    background: #cdd5e0;
    border-radius: 8px;
}

.subcat-nav__scroller::-webkit-scrollbar-track {
    background: transparent;
}

.subcat-nav__scroller .subcat-nav__card {
    flex: 0 0 calc((100% - 8 * 12px) / 9);
    scroll-snap-align: start;
    height: auto;
}

@media (max-width: 1250px) {
    .subcat-nav__scroller .subcat-nav__card {
        flex: 0 0 calc((100% - 6 * 12px) / 7);
    }
}

@media (max-width: 1000px) {
    .subcat-nav__scroller .subcat-nav__card {
        flex: 0 0 calc((100% - 4 * 10px) / 5);
    }
}

@media (max-width: 600px) {
    .subcat-nav__scroller {
        gap: 8px;
        padding-bottom: 8px;
    }

    .subcat-nav__scroller .subcat-nav__card {
        flex: 0 0 calc((100% - 2 * 8px) / 3);
    }
}

.sim-carousel .product-one__image figure {
    width: auto;
    height: auto;
}

.sim-carousel .product-one__image figure img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ── Сторінка /category: перелік категорій із підкатегоріями ───────────── */
.categories_list-grid-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: start;
    margin: 28px 0 50px;
}

.categories_list-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.categories_list-grid-item {
    padding: 18px 18px 16px;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.categories_list-grid-item:hover {
    border-color: #dbe3ef;
    box-shadow: 0 8px 22px rgba(17, 26, 32, 0.06);
}

.categories_list-grid-link {
    display: block;
    text-decoration: none;
}

.categories_list-grid-link figure {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    margin: 0 0 12px;
}

.categories_list-grid-link img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.categories_list-grid-item a span {
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #171a20;
    text-align: center;
    transition: color 0.2s;
}

.categories_list-grid-link:hover span {
    color: var(--main-blue);
}

.categories_list-grid-item > div {
    margin-top: 0;
}

.categories_list-grid-item > div:first-of-type {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f3f6;
}

.categories_list-grid-child {
    display: block;
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.4;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.categories_list-grid-child:hover {
    color: var(--main-blue);
}

@media (max-width: 1480px) {
    .categories_list-grid-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .categories_list-grid-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .categories_list-grid-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin: 20px 0 34px;
    }

    .categories_list-col {
        gap: 14px;
    }

    .categories_list-grid-item {
        padding: 14px 14px 12px;
    }

    .categories_list-grid-link figure {
        height: 72px;
        margin-bottom: 10px;
    }

    .categories_list-grid-item a span {
        font-size: 15px;
    }

    .categories_list-grid-child {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .categories_list-grid-inner {
        grid-template-columns: 1fr;
    }
}


.product-one__lefttext {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    z-index: 2;
    margin: 0;
    width: auto;
    padding: 5px 12px 5px 8px;
    box-sizing: border-box;
    background: #34cb2c;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
}

@media(max-width: 1024px) {
    .product-one__lefttext {
        max-width: 115px;
        border-radius: 14px 2px 2px 2px;
        top: 0;
        left: 0;
    }       
}