/* Create this file as css/product-filter.css in your child theme */
.woo-product-filter-container {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
}

/* Filter Form Styles */
.woo-product-filter-container .filter-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.woo-product-filter-container .filter-form h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.filter-row {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
    font-size: 15px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.filter-group input::placeholder {
    color: #888;
    font-weight: 400;
    opacity: 1;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.15);
    transform: translateY(-1px);
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-inputs input {
    flex: 1;
    min-width: 0;
}

.range-inputs span {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    flex-shrink: 0;
}

/* Filter Actions Group */
.filter-actions-group {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 280px;
}

.filter-actions {
    display: flex;
    gap: 15px;
    width: 100%;
}

.filter-actions button {
    flex: 1;
    max-width: 200px;
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#apply-filters {
    background: #4BDEDE;
    color: black;
    font-family: poppins;
    font-size: 18px;
    line-height: 32px;
    box-shadow: 0 3px 8px rgba(0, 124, 186, 0.3);
}

#apply-filters:hover {
    background: #4BDEDE;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 124, 186, 0.4);
}

#reset-filters {
    background: #666;
    color: white;
    box-shadow: 0 3px 8px rgba(102, 102, 102, 0.3);
}

#reset-filters:hover {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(68, 68, 68, 0.4);
}

/* Loading */
.woo-product-filter-container #loading {
    padding: 30px;
    color: #666;
    font-size: 16px;
    background: #f9f9f9;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
    border: 2px solid #e0e0e0;
}

/* Mobile Toggle for Filter Form */
.filter-form h3.mobile-toggle {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 40px;
}

.filter-form h3.mobile-toggle .arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 18px;
}

.filter-form h3.mobile-toggle.active .arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .filter-row {
        gap: 10px;
    }
    
    .filter-group {
        min-width: 272px;
    }
    
    .filter-actions-group {
        min-width: 270px;
    }
}

@media (max-width: 768px) {
    .filter-row {
        
        gap: 10px;
    }
    
    .filter-group {
        min-width: 100%;
        width: 100%;
    }
    
    .filter-actions-group {
        min-width: 100%;
        width: 100%;
    }
    
    .woo-product-filter-container .filter-form {
        padding: 10px;
    }
    
    .filter-actions button {
        min-height: 48px;
        font-size: 15px;
    }
    
    .range-inputs {
        gap: 70px;
    }
    
    .range-inputs span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .filter-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-actions button {
        width: 100%;
    }
    
    .range-inputs {
        flex-direction: column;
        gap: 8px;
    }
    
    .range-inputs span {
        order: -1;
        text-align: center;
        margin: 5px 0;
    }
}