/* Box */
.kk-facets{
  margin:10px 0 18px;
  padding:12px;
  border-radius:14px;
  position:relative;
}
.kk-facets-title{
  font-size:13px;
  opacity:.75;
  margin-bottom:10px;
}

/* Rows */
.kk-row{
  margin-bottom:10px;
}
.kk-row:last-child{
  margin-bottom:0;
}
.kk-row-label{
  font-size:12px;
  opacity:.7;
  margin-bottom:6px;
}

/* Pills (type + shape grid) */
.kk-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.kk-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  text-decoration:none!important;
  font-size:13px;
  line-height:1;
  white-space:nowrap;
}
.kk-pill.is-active{
  border-color:rgba(0,0,0,.45);
  font-weight:700;
}
.kk-pill.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* Shape scroll layout */
.kk-shape-scroll{
  display:flex;
  overflow-x:auto;
  gap:8px;
  padding-bottom:4px;
  scroll-snap-type:x mandatory;
}
.kk-shape-scroll::-webkit-scrollbar{
  height:4px;
}
.kk-shape-scroll::-webkit-scrollbar-thumb{
  border-radius:999px;
}

/* Each shape card when scroll layout is active */
.kk-shape-card{
  flex:0 0 auto;
  scroll-snap-align:start;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  padding:8px;
  text-align:center;
  font-size:12px;
  text-decoration:none!important;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  background:#fff;
}
.kk-shape-card.is-active{
  border-color:rgba(0,0,0,.45);
  font-weight:600;
}
.kk-shape-card.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* Shape image & text */
.kk-shape-img-wrap{
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:center;
}
.kk-shape-img-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.kk-shape-name{
  font-size:11px;
  line-height:1.3;
}


@keyframes kk-rug-spin{
  to{transform:rotate(360deg);}
}

/* فید ملایم هنگام سوییچ محصول خانواده (بدون اورلی بزرگ) */
body.kk-page-fade-out{
  opacity: .4;
  transition: opacity .2s ease-out;
}

