/* MitraMobile Elementor Filter Styles */

/* Basic filter container styles */
.mitramobile-filter-container {
    margin-bottom: 20px;
}

/* Filter button styles */
.mitramobile-filter-button {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mitramobile-filter-button:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.mitramobile-filter-button.active {
    background: #007cba;
    border-color: #007cba;
    color: white;
}

/* Filter dropdown styles */
.mitramobile-filter-dropdown {
    position: relative;
    display: inline-block;
    margin: 4px;
}

.mitramobile-filter-dropdown select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    color: #495057;
    cursor: pointer;
}

/* Loading state */
.mitramobile-filter-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Clear filters button */
.mitramobile-clear-filters {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin: 4px;
}

.mitramobile-clear-filters:hover {
    background: #c82333;
}

/* Two-line clamp for product titles across carousel and grid */
html body .mitramobile-woo-product-carousel .mitramobile-product-title,
html body .mitramobile-woo-product-carousel .mitramobile-product-title a,
html body .mitramobile-woo-product-carousel .woocommerce-loop-product__title,
html body .mitramobile-woo-product-carousel .woocommerce-loop-product__title a,
html body .mitramobile-woo-product-grid .mitramobile-product-title,
html body .mitramobile-woo-product-grid .mitramobile-product-title a,
html body .mitramobile-woo-product-grid .woocommerce-loop-product__title,
html body .mitramobile-woo-product-grid .woocommerce-loop-product__title a,
html body .mitramobile-woo-product-carousel .mitramobile-product-content h1,
html body .mitramobile-woo-product-carousel .mitramobile-product-content h1 a,
html body .mitramobile-woo-product-carousel .mitramobile-product-content h2,
html body .mitramobile-woo-product-carousel .mitramobile-product-content h2 a,
html body .mitramobile-woo-product-carousel .mitramobile-product-content h3,
html body .mitramobile-woo-product-carousel .mitramobile-product-content h3 a,
html body .mitramobile-woo-product-grid .mitramobile-product-content h1,
html body .mitramobile-woo-product-grid .mitramobile-product-content h1 a,
html body .mitramobile-woo-product-grid .mitramobile-product-content h2,
html body .mitramobile-woo-product-grid .mitramobile-product-content h2 a,
html body .mitramobile-woo-product-grid .mitramobile-product-content h3,
html body .mitramobile-woo-product-grid .mitramobile-product-content h3 a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
    min-height: 2.4em !important;
    max-height: 2.4em !important;
}
