/* valovit-filter-actions.css */

/* hide (x) */
#woo-filters-panel .ct-toggle-close {
  display: none !important;
}

/* hide buttons */
.vf-actions {
  display: none !important;
}

/* hide clear all filters blocksy default (now handled by the inner sidebar) */
.ct-active-filters a:first-of-type {
  display: none !important;
}

.ct-panel-content {
  position: relative !important;
}

.valovit-filter-actions {
  position: fixed !important;
  bottom: 0;
  left: 0;
}

.valovit-filter-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px; /* Adjust padding as needed */
    gap: 10px; /* Space between buttons */
    box-sizing: border-box; /* Include padding in element's total width and height */
    width: 100%;
    
    z-index: 100; /* Ensure it's above other content */
    border-top: 1px solid #eee; /* Optional: Separator from content above */
    background: #fff;
}

/* Base button styles */
.valovit-filter-actions .button {
    flex: 1; /* Make buttons take equal width */
    padding: 12px 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0px;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

.valovit-filter-actions svg {
  width: 14px !important;
  height: auto !important;
  margin-left: 10px !important;
}

/* Clear Filters button style (white with cross icon) */
.valovit-filter-actions button.valovit-filter-clear {
    background-color: #ffffff00 !important;
    color: #000000 !important;
    border: 1px solid #ddd;
    border-radius: 0px !important;
}

.valovit-filter-actions .valovit-filter-clear:hover {
    border-color: #ccc;
}

/* Apply Filters button style (dark with check icon) */
.valovit-filter-actions button.valovit-filter-apply {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #ddd;
    border-radius: 0px !important;
}

.valovit-filter-actions .valovit-filter-apply:hover {
    border-color: #555;
}

/* Adjust for responsive behavior if necessary (e.g., smaller screens) */
@media (max-width: 768px) {
    .valovit-filter-actions {
        flex-direction: column;
        padding: 10px;
    }
    .valovit-filter-actions .button {
        width: 100%;
    }
}
