@charset "UTF-8";
/**
 * PowerUP Product Filters Styles
 *
 * Based on the existing Filter Everything Pro styles but adapted for custom plugin.
 *
 * @package PowerUP_Product_Filters
 */
.wpc-filters-main-wrap.style-jenbacher {
  --color: var(--color--jenbach, #007bff);
}
.wpc-filters-main-wrap.style-mwm {
  --color: var(--color--mwm, #28a745);
}
.wpc-filters-main-wrap.style-caterpillar {
  --color: var(--color--caterpillar, #ffc107);
}

.wpc-filters-main-wrap,
.powerup-filters {
  margin-bottom: 30px;
}

.wpc-filter-section {
  border-bottom: 1px solid #e0e0e0;
}
.wpc-filter-section:last-child {
  border-bottom: none;
}

.wpc-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.wpc-filter-title:hover {
  color: var(--color, #333);
}
.wpc-filter-title.active .wpc-filter-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

.wpc-filter-toggle {
  position: relative;
  width: 20px;
  height: 20px;
}
.wpc-filter-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0.65em;
  height: 1.2em;
  background: currentColor;
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQoJPHBhdGggZD0iTTkuNSwxTDUsNkwwLjUsMSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiLz4NCjwvc3ZnPg==);
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEwIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQoJPHBhdGggZD0iTTkuNSwxTDUsNkwwLjUsMSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiLz4NCjwvc3ZnPg==);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  opacity: 1;
  transition: transform 0.3s ease;
}

.wpc-filter-content {
  margin-top: 5px;
  padding-bottom: 15px;
  overflow: hidden;
}

.wpc-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wpc-filter-item {
  margin-bottom: 8px;
}
.wpc-filter-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.wpc-filter-item label:hover {
  color: var(--color, #333);
}

input[type=checkbox].wpc-filter-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  margin-right: 10px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  top: 0;
}
input[type=checkbox].wpc-filter-checkbox:hover {
  border-color: var(--color, #666);
}
input[type=checkbox].wpc-filter-checkbox:checked {
  background-color: var(--color, #007bff);
  border-color: var(--color, #007bff);
}
input[type=checkbox].wpc-filter-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
input[type=checkbox].wpc-filter-checkbox:focus {
  outline: none;
}

.wpc-filter-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wpc-filter-count {
  color: #999;
  font-size: 13px;
  margin-left: 5px;
}

.wpc-filter-hierarchical .wpc-filter-children {
  list-style: none;
  margin: 5px 0 0 25px;
  padding: 0;
}

.wpc-filter-buttons {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.wpc-filter-reset {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f5f5f5;
  color: #333;
}
.wpc-filter-reset:hover {
  background-color: #e0e0e0;
}

html.is-active .powerup-filters,
html.is-active .wpc-filters-main-wrap {
  pointer-events: none;
}
html.is-active #products-wrapper {
  position: relative;
}
html.is-active #products-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
}
html.is-active #products-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--color, #007bff);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (max-width: 768px) {
  .wpc-filters-main-wrap,
  .powerup-filters {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .wpc-filters-main-wrap.active,
  .powerup-filters.active {
    transform: translateY(0);
  }
  .wpc-filters-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
  }
  .wpc-filters-mobile-header h3 {
    margin: 0;
    font-size: 18px;
  }
  .wpc-filters-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
  }
  .wpc-filter-buttons {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px 0 0;
    margin: 15px -20px 0;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 2px solid #e0e0e0;
  }
  .wpc-filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
  }
  .wpc-filters-overlay.active {
    display: block;
  }
  .wpc-filters-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background-color: var(--color, #007bff);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9997;
    transition: all 0.2s ease;
  }
  .wpc-filters-mobile-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  .wpc-filters-mobile-toggle::before {
    content: "☰";
    font-size: 18px;
  }
}
@media (min-width: 769px) {
  .wpc-filters-mobile-header,
  .wpc-filters-overlay,
  .wpc-filters-mobile-toggle {
    display: none;
  }
}
input[type=radio].wpc-sorting-radio {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  top: 0;
}
input[type=radio].wpc-sorting-radio:hover {
  border-color: var(--color, #666);
}
input[type=radio].wpc-sorting-radio:checked {
  background-color: var(--color, #007bff);
  border-color: var(--color, #007bff);
}
input[type=radio].wpc-sorting-radio:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
input[type=radio].wpc-sorting-radio:focus {
  outline: none;
}

.woocommerce-ordering,
.wpc-orderby-select,
form.woocommerce-ordering {
  display: none !important;
}
