/* Filter Button Styles */

.wd-pf-btn button[type="submit"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    width: 100%;
    border-radius: 48px !important;
    background: #0F3F36 !important;
    color: #D8FFB4 !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wd-pf-btn button[type="submit"]:hover {
    background: #0d352d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(15, 63, 54, 0.2);
}

.wd-pf-btn button[type="submit"]:active {
    box-shadow: 0 2px 4px rgba(15, 63, 54, 0.2);
}

/* Button container - vertical layout */
.wd-pf-btn {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    margin-top: 16px;
}

/* Clear button - text link style */
.voltride-clear-all-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent !important;
    color: var(--new-green, #0F3F36) !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px;
    font-size: 12px !important;
    margin-bottom: 12px;
    order: 2;
    margin-top: 4px;
    /* Ensure it stays below if flex order matters */
}

/* Hover state */
.voltride-clear-all-filters:hover {
    color: var(--new-green, #0F3F36) !important;
    text-decoration: underline !important;
}

.voltride-clear-all-filters:active {
    transform: translateY(0) !important;
    text-decoration: underline !important;
}

/* Clear button container (off-canvas) */
.voltride-clear-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.voltride-clear-actions .voltride-clear-all-filters {
    margin: 2px 0 0px;
}

/* Remove bottom spacing from filter wrapper */
.wd-product-filters-wrapp.wd-wpb.wd-wpb {
    margin-bottom: 0px;
}
