/* Maxim Advanced Filter - Modern CSS */

.maxim-advanced-filter-container {
    max-width: 95%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Form Container */
.maf-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

/* Smooth focus transitions */
.maf-form * {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Inline select group - first 3 select boxes */
.maf-select-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid #e5e7eb;
}

/* Title */
.maf-title {
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

/* Field Container */
.maf-field {
    margin-bottom: 24px;
}

.maf-field label {
    display: block;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

/* Remove margin from fields inside select group */
.maf-select-group .maf-field {
    margin-bottom: 0;
}

/* First field (keyword) gets special treatment */
.maf-field:first-of-type {
    margin-bottom: 36px;
    position: relative;
}

.maf-field:first-of-type .maf-input {
    font-size: 16px;
    padding: 15px 20px;
}

/* Inputs and Selects */
.maf-input,
.maf-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.2s ease;
    font-weight: 500;
}

.maf-input:hover,
.maf-select:hover {
    border-color: #d1d5db;
    background-color: #fafafa;
}

.maf-input:focus,
.maf-select:focus {
    outline: none;
    border-color: #b83280;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(184, 50, 128, 0.08);
}

/* Placeholder styling for input */
.maf-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Custom select arrow */
.maf-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 48px;
}

.maf-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23b83280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Select option styling */
.maf-select option {
    padding: 10px;
    font-weight: 500;
}

.maf-select option:hover {
    background-color: #f3f4f6;
}

/* Disabled state */
.maf-input:disabled,
.maf-select:disabled,
.maf-input-small:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f9fafb;
}

/* Range Fields - Inline Layout */
.maf-field.maf-range {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.maf-field.maf-range > label {
    flex: 0 0 140px;
    margin-bottom: 0;
    font-weight: 600;
    color: #1f2937;
}

.maf-range .maf-range-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    background: transparent;
    padding: 0;
    border: none;
}

.maf-range-inputs span {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Modern input fields for ranges */
.maf-range .maf-input-small {
    flex: 1;
    max-width: 140px;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.maf-range .maf-input-small:focus {
    border-color: #b83280;
    box-shadow: 0 0 0 3px rgba(184, 50, 128, 0.1);
}

/* Hover effect for range containers */
.maf-field.maf-range:hover,
.maf-field.maf-availability:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* Focus within effect */
.maf-field.maf-range:focus-within,
.maf-field.maf-availability:focus-within {
    border-color: #b83280;
    box-shadow: 0 0 0 3px rgba(184, 50, 128, 0.05);
}

/* Remove spinner buttons for number inputs */
.maf-input-small[type="number"]::-webkit-inner-spin-button,
.maf-input-small[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.maf-input-small[type="number"] {
    -moz-appearance: textfield;
}

/* Unit labels styling */
.maf-range-inputs span:last-child {
    min-width: 30px;
    font-weight: 600;
    color: #1f2937;
}

/* Availability Field - Inline Layout */
.maf-field.maf-availability {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.maf-field.maf-availability > label {
    flex: 0 0 140px;
    margin-bottom: 0;
    font-weight: 600;
    color: #1f2937;
}

.maf-availability-input {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    background: transparent;
    padding: 0;
    border: none;
}

.maf-availability-input .maf-input-small {
    flex: 0 0 140px;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
}

.maf-availability-input span:first-child {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.maf-availability-input span:last-child {
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

/* Checkboxes */
.maf-checkboxes {
    margin-top: 25px;
}

.maf-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.maf-checkbox-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.maf-checkboxes label {
    display: flex;
    align-items: center;
    color: #4a5568;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}

.maf-checkboxes label:hover {
    color: #2d3748;
}

.maf-checkboxes input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b83280;
}

/* Submit Button */
.maf-submit {
    margin-top: 30px;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.maf-button {
    background: linear-gradient(135deg, #b83280 0%, #9f2468 100%);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(184, 50, 128, 0.2);
}

.maf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(184, 50, 128, 0.3);
}

.maf-button:active {
    transform: translateY(0);
}

/* Reset Button */
.maf-button-reset {
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.maf-button-reset:hover {
    background: #f3f4f6;
    color: #1f2937;
    border-color: #d1d5db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.maf-button-reset svg {
    transition: transform 0.3s ease;
}

.maf-button-reset:hover svg {
    transform: rotate(90deg);
}

/* Results Container */
.maf-results {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    min-height: 100px;
    display: none;
    overflow-x: auto;
}

.maf-results.active {
    display: block;
}

.maf-results.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
}

.maf-no-results {
    text-align: center;
    color: #718096;
    font-size: 16px;
    padding: 60px 40px;
    animation: fadeIn 0.5s ease-in;
}

/* Stile per emoji */
.maf-no-results-emoji {
    font-size: 80px;
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.7;
}

/* Stile per immagine no results */
.maf-no-results-image {
    margin-bottom: 20px;
}

.maf-no-results-image img {
    width: 120px;
    height: 120px;
    opacity: 0.6;
}

/* Testo del messaggio */
.maf-no-results p {
    margin: 0;
    font-size: 18px;
    color: #4a5568;
    font-weight: 500;
}

/* Animazione fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.maf-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #b83280;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Header */
.maf-results-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.maf-results-header h3 {
    color: #1f2937;
    font-size: 20px;
    margin: 0;
}

/* Product Grid */
.maf-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Force 3 columns on larger screens */
@media (min-width: 1400px) {
    .maf-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.maf-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.maf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Product Image - IMPORTANTE per i badge */
.maf-product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f7fafc;
}

.maf-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   PRODUCT BADGES CSS
   ======================================== */

/* Badge top-left per NEW */
.maf-product-badges.top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

/* Badge top-right per SALE */
.maf-product-badges.top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 10;
}

/* Badge Base Style */
.maf-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: badgeFadeIn 0.4s ease-out;
}

.maf-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.maf-badge-text {
    font-size: 11px;
    line-height: 1;
}

/* Badge Sale - Rosso */
.maf-badge-sale {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.maf-badge-sale:hover {
    background: rgba(220, 38, 38, 0.95);
    transform: scale(1.05);
}

/* Badge New - Verde */
.maf-badge-new {
    background: rgba(16, 185, 129, 0.9);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.maf-badge-new:hover {
    background: rgba(5, 150, 105, 0.95);
    transform: scale(1.05);
}

/* Badge Made in EU (Flagship) - Blu */
.maf-badge-flagship {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.maf-badge-flagship:hover {
    background: rgba(37, 99, 235, 0.95);
    transform: scale(1.05);
}

/* Animazione di entrata */
@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SKU ROW E BADGE EU
   ======================================== */

/* SKU Row - contenitore per SKU e badge EU */
.maf-sku-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    min-height: 24px;
}

/* Product SKU */
.maf-product-sku {
    flex: 1;
    color: #718096;
    font-size: 13px;
    margin: 0;
}

/* Badge EU - icona allineata con SKU */
.maf-badge-eu {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: help;
    flex-shrink: 0;
}

.maf-badge-eu:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.maf-badge-eu svg {
    width: 24px;
    height: 24px;
}

/* Se non c'è SKU ma c'è badge EU */
.maf-sku-row:empty + .maf-badge-eu {
    margin-left: auto;
}

/* Product Info */
.maf-product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.maf-product-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.maf-product-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.maf-product-title a:hover {
    color: #b83280;
}

.maf-product-price {
    font-size: 18px;
    font-weight: 600;
    color: #b83280;
    margin-bottom: 15px;
}

/* Override per rimuovere margine quando c'è la sku-row */
.maf-sku-row + .maf-product-price {
    margin-top: 5px;
}

.maf-product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.maf-spec {
    font-size: 13px;
    color: #4a5568;
}

.maf-label {
    font-weight: 600;
    color: #1f2937;
}

.maf-product-actions {
    margin-top: auto;
    padding-top: 15px;
}

.maf-btn-view {
    display: inline-block;
    background: #b83280;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.maf-btn-view:hover {
    background: #9f2468;
    transform: translateY(-1px);
}

/* Product Colors Display */
.maf-product-colors {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #e2e8f0;
}

/* Container per la lista dei colori - griglia fissa 4 colonne */
.maf-color-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
    max-width: 320px;
}

/* Container per variante colore */
.maf-color-variant {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
}

/* Color item */
.maf-color-item {
    display: flex;
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.maf-color-item:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    border-color: #b83280;
}

/* Nome del colore */
.maf-color-name {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
    max-width: 70px;
    word-wrap: break-word;
    hyphens: auto;
}

/* Colore singolo */
.maf-color-item.single-color .maf-color-full {
    width: 100%;
    height: 100%;
    display: block;
}

/* Colori doppi */
.maf-color-item.dual-color {
    position: relative;
}

.maf-color-item.dual-color .maf-color-outside,
.maf-color-item.dual-color .maf-color-inside {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
}

.maf-color-item.dual-color .maf-color-outside {
    left: 0;
}

.maf-color-item.dual-color .maf-color-inside {
    right: 0;
}

/* Tooltip al hover */
.maf-color-item:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10;
}

/* Colore attivo/selezionato */
.maf-color-item.active {
    border-color: #b83280;
    border-width: 3px;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px #a855a3;
}

/* Nome in grassetto per colore attivo */
.maf-color-variant:has(.maf-color-item.active) .maf-color-name,
.maf-color-variant.has-active .maf-color-name {
    font-weight: bold;
    color: #333;
}

/* ========================================
   CSS PER VARIANTI SINGOLE
   ======================================== */

/* Card con data attribute per variante */
.maf-product-card[data-variant-id] {
    transition: all 0.3s ease;
}

/* Color list per variante singola */
.maf-color-list-single {
    grid-template-columns: auto;
    max-width: none;
    display: inline-flex;
    margin-left: 10px;
}

/* Stile per colore singolo variante */
.maf-product-colors.maf-single-variant {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #e2e8f0;
}

.maf-product-colors.maf-single-variant .maf-label {
    margin-right: 10px;
    flex-shrink: 0;
}

.maf-product-colors.maf-single-variant .maf-color-variant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.maf-product-colors.maf-single-variant .maf-color-item {
    margin-bottom: 0;
}

.maf-product-colors.maf-single-variant .maf-color-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 13px;
}

/* Evidenzia variante con colore filtrato */
.maf-product-card[data-variant-id] .maf-color-item.active {
    border-color: #b83280;
    border-width: 3px;
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(184, 50, 128, 0.2);
}

/* Ottimizzazione visualizzazione varianti */
.maf-products-grid .maf-product-card[data-variant-id] {
    animation: fadeInVariant 0.3s ease-in;
}

@keyframes fadeInVariant {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover su card variante */
.maf-product-card[data-variant-id]:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Badge positioning per varianti */
.maf-product-card[data-variant-id] .maf-product-badges {
    z-index: 10;
}

/* SKU variante evidenziato */
.maf-product-card[data-variant-id] .maf-product-sku {
    font-weight: 500;
    color: #4a5568;
}

/* Colore singolo più prominente */
.maf-single-variant .maf-color-item {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.maf-single-variant .maf-color-item:hover {
    transform: none;
    cursor: default;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
    .maf-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 1024px) {
    /* Mantieni 2 select inline su tablet landscape */
    .maf-select-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .maxim-advanced-filter-container {
        padding: 0 15px;
    }
    
    .maf-form,
    .maf-results {
        padding: 20px;
    }
    
    /* Stack select boxes on tablet */
    .maf-select-group {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    
    .maf-checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stack range fields on mobile */
    .maf-field.maf-range,
    .maf-field.maf-availability {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .maf-field.maf-range > label,
    .maf-field.maf-availability > label {
        flex: none;
        width: 100%;
    }
    
    .maf-range-inputs,
    .maf-availability-input {
        width: 100%;
    }
    
    .maf-range .maf-input-small,
    .maf-availability-input .maf-input-small {
        max-width: none;
    }
    
    .maf-button {
        width: 100%;
    }
    
    .maf-submit {
        flex-direction: column;
        gap: 10px;
    }
    
    .maf-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Badge responsive */
    .maf-product-badges.top-left {
        top: 8px;
        left: 8px;
    }
    
    .maf-product-badges.top-right {
        top: 8px;
        right: 8px;
    }
    
    .maf-badge {
        padding: 4px 9px;
        font-size: 11px;
    }
    
    .maf-badge svg {
        width: 15px;
        height: 15px;
    }
    
    .maf-badge-text {
        font-size: 10px;
    }
    
    /* Badge EU responsive */
    .maf-badge-eu svg {
        width: 20px;
        height: 20px;
    }
    
    .maf-sku-row {
        font-size: 12px;
    }
    
    /* Responsive per varianti singole */
    .maf-product-colors.maf-single-variant {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .maf-color-list-single {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .maxim-advanced-filter-container {
        padding: 0 10px;
    }
    
    .maf-form,
    .maf-results {
        padding: 15px;
    }
    
    .maf-color-list {
        grid-template-columns: repeat(3, 1fr);
        max-width: 240px;
    }
    
    /* Range inputs on very small screens */
    .maf-range-inputs {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .maf-range-inputs span {
        font-size: 13px;
    }
    
    .maf-range .maf-input-small {
        width: calc(50% - 20px);
        min-width: 80px;
    }
    
    /* Badge responsive mobile */
    .maf-product-badges.top-left {
        top: 5px;
        left: 5px;
    }
    
    .maf-product-badges.top-right {
        top: 5px;
        right: 5px;
    }
    
    .maf-badge {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .maf-badge svg {
        width: 14px;
        height: 14px;
    }
    
    .maf-badge-text {
        font-size: 9px;
    }
    
    /* Badge EU mobile */
    .maf-badge-eu {
        padding: 3px;
    }
    
    .maf-badge-eu svg {
        width: 18px;
        height: 18px;
    }
    
    /* No results responsive */
    .maf-no-results {
        padding: 40px 20px;
    }
    
    .maf-no-results-emoji {
        font-size: 60px;
    }
    
    .maf-no-results p {
        font-size: 16px;
    }
}