.mrm-machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    padding: 1rem 0;
}

.mrm-machine-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mrm-machine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mrm-machine-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.mrm-machine-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.mrm-machine-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.mrm-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
}

.mrm-status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.mrm-status-inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.mrm-machine-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.mrm-machine-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mrm-machine-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.mrm-machine-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 12px;
}

.mrm-price-item {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.mrm-price-value {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.125rem;
}

#mrm-contact-form .form-group {
    margin-bottom: 1rem;
}

.mrm-price-label {
    color: #64748b;
    font-size: 0.875rem;
}

.mrm-price-separator {
    color: #cbd5e1;
    font-weight: 300;
}

.mrm-machine-description {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.mrm-machine-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mrm-feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.mrm-contact-btn {
    width: 100%;
    padding: 0.75rem;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mrm-contact-btn:hover {
    background: #2563eb;
}

/* Modal styles */
.mrm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.mrm-modal.active {
    display: flex;
}

.mrm-modal-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mrm-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
}

.mrm-modal-title {
    margin-bottom: 1.5rem;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 640px) {
    .mrm-machines-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.75rem;
    }

    .mrm-machine-image {
        height: 180px;
    }

    .mrm-machine-content {
        padding: 1rem;
    }
}

.mrm-filters {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mrm-filter-btn {
    padding: 0.625rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mrm-filter-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.mrm-filter-btn.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.mrm-filter-btn.active:hover {
    background: #2563eb;
}

.mrm-filter-btn .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mrm-filter-btn:not(.active) .count {
    background: #f1f5f9;
    color: #64748b;
}

.mrm-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
    background: #f8fafc;
    border-radius: 12px;
    width: 100%;
} 