
/* Keep PremiumPress markup, just allow horizontal scrolling for unlimited columns */
#category_selection .sv-cat-row{
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

#category_selection .sv-cat-col{
  flex: 0 0 280px;
  max-width: 280px;
  border-right: 1px solid rgba(0,0,0,.06);
}

#category_selection .sv-cat-col:last-child{
  border-right: 0;
}

#category_selection .sv-ppt-scroll{
  max-height: 400px;
}

#category_selection .catlist > div{
  cursor: pointer;
}


/* Center success overlay + lock interactions after leaf selection */
#category_selection.sv-cat-has-overlay{ position: relative; }

#category_selection .sv-cat-overlay{
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}

#category_selection .sv-cat-overlay.is-visible{
  display: flex;
}

#category_selection .sv-cat-overlay-box{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 22px 26px;
  text-align: center;
  max-width: 520px;
  width: 100%;
}

#category_selection .sv-cat-overlay-box i{
  font-size: 72px;
  line-height: 1;
  margin-bottom: 10px;
  color: #23a455;
}

#category_selection .sv-cat-overlay-text{
  font-size: 16px;
  font-weight: 600;
  color: #222;
  word-break: break-word;
}

/* disable category columns, keep footer buttons clickable */
#category_selection.sv-cat-locked .sv-cat-row{
  pointer-events: none;
  opacity: .25;
}

#category_selection.sv-cat-locked .sv-cat-overlay{
  pointer-events: auto;
}


#category_selection .sv-cat-clearall{
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  font-weight: 600;
}

#category_selection .sv-cat-clearall:hover{
  background: #fafafa;
}
