/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.wk-combination-sort-right {
  margin-bottom: 20px;
}
.product-type-1 .item-inner .element-top {
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #D8D8D8;
}

#wk-combination-footer-view .wk-checkbox .wk-bulk-selection {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid #d8d8d8;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#wk-combination-footer-view .wk-checkbox .wk-bulk-selection::before {
  content: '';
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.12s ease;
}

#wk-combination-footer-view .wk-checkbox .wk-bulk-selection:checked {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

#wk-combination-footer-view .wk-checkbox .wk-bulk-selection:checked::before {
  transform: rotate(45deg) scale(1);
}

#wk-combination-footer-view .wk-checkbox .wk-bulk-selection:disabled {
  border-color: #e4e4e4;
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Make the whole filter checkbox row (box + text) clickable, not just the label text */
.wk-filter-checkbox-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

/* Mobile category menu: move it above the product list (theme only reorders #left-column from 1025px up) and collapse it by default, toggled open by JS via the .is-open class */
@media (max-width: 1024px) {
  #left-column {
    order: -1;
  }

  .block-categories .widget-title {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    margin-bottom: 0;
  }

  .block-categories .widget-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 6px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
  }

  .block-categories.is-open .widget-title::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  .block-categories .block_content {
    display: none;
  }

  .block-categories.is-open .block_content {
    display: block;
  }
}

.wk-show-filters {
  box-shadow: none;
}

.wk-show-filters span {
  font-weight: 700;
}