.elementor-24 .elementor-element.elementor-element-f5545fe{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:35px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-24 .elementor-element.elementor-element-d9def8f{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-24 .elementor-element.elementor-element-d9def8f.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-24 .elementor-element.elementor-element-20d3db0{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:35px;--margin-left:0px;--margin-right:0px;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-24 .elementor-element.elementor-element-8f365ae{--grid-columns:3;--grid-row-gap:5px;--grid-column-gap:5px;--e-loop-nothing-found-message-color:var( --e-global-color-primary );}.elementor-24 .elementor-element.elementor-element-8f365ae .elementor-loop-container{grid-auto-rows:1fr;}.elementor-24 .elementor-element.elementor-element-8f365ae .e-loop-item > .elementor-section, .elementor-24 .elementor-element.elementor-element-8f365ae .e-loop-item > .elementor-section > .elementor-container, .elementor-24 .elementor-element.elementor-element-8f365ae .e-loop-item > .e-con, .elementor-24 .elementor-element.elementor-element-8f365ae .e-loop-item .elementor-section-wrap  > .e-con{height:100%;}.elementor-24 .elementor-element.elementor-element-8f365ae .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-24 .elementor-element.elementor-element-8f365ae .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-24 .elementor-element.elementor-element-8f365ae .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-24 .elementor-element.elementor-element-8f365ae .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-24 .elementor-element.elementor-element-8f365ae .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(max-width:1024px){.elementor-24 .elementor-element.elementor-element-8f365ae{--grid-columns:2;}}@media(max-width:767px){.elementor-24 .elementor-element.elementor-element-8f365ae{--grid-columns:1;}}/* Start custom CSS for loop-grid, class: .elementor-element-8f365ae *//* --- Premium Container Styling --- */
.premium-filter-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    /* Soft Pink Shadow matching your brand */
    box-shadow: 0 12px 35px rgba(255, 62, 108, 0.1); 
    margin-bottom: 40px;
    border: 1px solid #FFF0F3; /* Very light pink border */
    transition: all 0.3s ease;
}

/* --- Responsive Grid Layout --- */
.filter-grid {
    display: grid;
    /* Auto-fit columns: minimum 180px wide, otherwise fill space */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px; /* Spacing between inputs */
    align-items: flex-end; /* Align inputs and button to the bottom line */
}

/* --- Individual Input Fields --- */
.filter-item label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2D3436; /* Dark text */
    margin-bottom: 10px;
}

/* Shared styles for Select and Input */
.filter-item select, 
.filter-item input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #F1F5F9; /* Light gray border */
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #475569;
    background-color: #F8FAFC; /* Very light gray bg */
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    appearance: none; /* Removes default browser styling for modern look */
    -webkit-appearance: none;
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FF3E6C'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

/* Need to remove background image for text input otherwise it shows arrow */
.filter-item input {
    background-image: none;
}

/* Focus State (When user clicks) */
.filter-item select:focus, 
.filter-item input:focus {
    border-color: #FF3E6C; /* Your Brand Pink */
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 62, 108, 0.1); /* Subtle glow effect */
}

/* --- Action Section (Button & Reset) --- */
.filter-action {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Search Button Styling */
.premium-search-btn {
    background: #FF3E6C; /* Brand Pink */
    color: white;
    padding: 10px 0px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 5px 15px rgba(255, 62, 108, 0.2);
}

.premium-search-btn:hover {
    background: #E63560; /* Slightly darker pink on hover */
    transform: translateY(-3px); /* Moves up slightly */
    box-shadow: 0 8px 25px rgba(255, 62, 108, 0.3);
}

/* Reset Link Styling */
.reset-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.reset-link:hover {
    color: #FF3E6C;
}

/* =========================================
   RESPONSIVE BREAKPOINTS (The Key Part)
   ========================================= */

/* Tablet Portrait to Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
    .premium-filter-container { padding: 25px; }
    .filter-grid { gap: 20px; }
    /* Ensure button is readable on medium screens */
    .premium-search-btn { font-size: 15px; padding: 15px 20px; }
}

/* Large Mobile / Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .filter-grid {
        /* Force 2 columns layout on tablets for better spacing */
        grid-template-columns: 1fr 1fr; 
        gap: 15px;
    }
    
    /* Make the action section span full width across the 2 columns */
    .filter-action {
        grid-column: 1 / -1; 
        margin-top: 10px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .premium-filter-container { 
        padding: 20px 15px; /* Tighter padding on mobile */
        border-radius: 15px;
    }

    .filter-grid {
        /* Stack everything in 1 column on small phones */
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Make labels and inputs highly readable */
    .filter-item label { font-size: 13px; margin-bottom: 8px; }
    .filter-item select, .filter-item input { padding: 12px 14px; font-size: 14px; }

    /* Big, easy-to-tap button */
    .premium-search-btn { 
        padding: 14px; 
        font-size: 14px;
    }
}/* End custom CSS */